1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
|
<articleinfo>
<title>&os;/&arch; &release.current; Release Notes</title>
<corpauthor>The &os; Project</corpauthor>
<pubdate>$FreeBSD$</pubdate>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<year>2003</year>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<holder role="mailto:doc@FreeBSD.org">The &os; Documentation Project</holder>
</copyright>
<legalnotice id="trademarks" role="trademarks">
&tm-attrib.freebsd;
&tm-attrib.ibm;
&tm-attrib.ieee;
&tm-attrib.intel;
&tm-attrib.sparc;
&tm-attrib.general;
</legalnotice>
<abstract>
<para>The release notes for &os; &release.current; contain a summary
of the changes made to the &os; base system on the
&release.branch; development line.
This document lists applicable security advisories that were issued since
the last release, as well as significant changes to the &os;
kernel and userland.
Some brief remarks on upgrading are also presented.</para>
</abstract>
</articleinfo>
<sect1 id="intro">
<title>Introduction</title>
<para>This document contains the release notes for &os;
&release.current; on the &arch.print; hardware platform. It
describes recently added, changed, or deleted features of &os;.
It also provides some notes on upgrading
from previous versions of &os;.</para>
<![ %release.type.current [
<para>The &release.type; distribution to which these release notes
apply represents the latest point along the &release.branch; development
branch since &release.branch; was created. Information regarding pre-built, binary
&release.type; distributions along this branch
can be found at <ulink url="&release.url;"></ulink>.</para>
]]>
<![ %release.type.snapshot [
<para>The &release.type; distribution to which these release notes
apply represents a point along the &release.branch; development
branch between &release.prev; and the future &release.next;.
Information regarding
pre-built, binary &release.type; distributions along this branch
can be found at <ulink url="&release.url;"></ulink>.</para>
]]>
<![ %release.type.release [
<para>This distribution of &os; &release.current; is a
&release.type; distribution. It can be found at <ulink
url="&release.url;"></ulink> or any of its mirrors. More
information on obtaining this (or other) &release.type;
distributions of &os; can be found in the <ulink
url="&url.books.handbook;/mirrors.html"><quote>Obtaining
&os;</quote> appendix</ulink> to the <ulink
url="&url.books.handbook;/">&os;
Handbook</ulink>.</para>
]]>
<para>All users are encouraged to consult the release errata before
installing &os;. The errata document is updated with
<quote>late-breaking</quote> information discovered late in the
release cycle or after the release. Typically, it contains
information on known bugs, security advisories, and corrections to
documentation. An up-to-date copy of the errata for &os;
&release.current; can be found on the &os; Web site.</para>
</sect1>
<sect1 id="new">
<title>What's New</title>
<para>This section describes
the most user-visible new or changed features in &os;
since &release.prev;.
In general, changes described here are unique to the &release.branch;
branch unless specifically marked as &merged; features.
</para>
<para>Typical release note items
document recent security advisories issued after
&release.prev;,
new drivers or hardware support, new commands or options,
major bug fixes, or contributed software upgrades. They may also
list changes to major ports/packages or release engineering
practices. Clearly the release notes cannot list every single
change made to &os; between releases; this document focuses
primarily on security advisories, user-visible changes, and major
architectural improvements.</para>
<sect2 id="security">
<title>Security Advisories</title>
<para>A temporary file vulnerability in &man.texindex.1;, which
could allow a local attacker to overwrite files in the context
of a user running the &man.texindex.1; utility, has been fixed.
For more details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:01.texindex.asc">FreeBSD-SA-06:01.texindex</ulink>. &merged;</para>
<para>A temporary file vulnerability in the &man.ee.1; text
editor, which could allow a local attacker to overwrite files in
the context of a user running &man.ee.1;, has been fixed. For
more details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:02.ee.asc">FreeBSD-SA-06:02.ee</ulink>. &merged;</para>
<para>Several vulnerabilities in the &man.cpio.1; utility have
been corrected. For more
details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc">FreeBSD-SA-06:03.cpio</ulink>. &merged;</para>
<para>An error in &man.ipfw.4; IP fragment handling, which could
cause a crash, has been fixed. For more
details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:04.ipfw.asc">FreeBSD-SA-06:04.ipfw</ulink>. &merged;</para>
<para>A potential buffer overflow in the IEEE 802.11 scanning code
has been corrected. For more
details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:05.80211.asc">FreeBSD-SA-06:05.80211</ulink>. &merged;</para>
<para>Two instances in which portions of kernel memory could be
disclosed to users have been fixed. For more details see
security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:06.kmem.asc">FreeBSD-SA-06:06.kmem</ulink>. &merged;</para>
<para>A logic bug in the IP fragment handling in &man.pf.4;, which
could cause a crash under certain circumstances, has been fixed.
For more details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:07.pf.asc">FreeBSD-SA-06:07.pf</ulink>. &merged;</para>
<para arch="i386,amd64">An information disclosure issue found in the
&os; kernel running on 7th- and 8th-generation AMD processors
has been fixed. For more details see security advisory <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:14.fpu.asc">FreeBSD-SA-06:14.fpu</ulink>. &merged;</para>
</sect2>
<sect2 id="kernel">
<title>Kernel Changes</title>
<para>&man.acpi.4; now has basic support for the HPET time counter.</para>
<para>The &man.acpi.ibm.4; driver now supports setting the fan control
mode to manual or automatic, and adjusting the fan speed if the
fan control mode is manual. To enable manual control of the fan speed,
the sysctl variable <varname>dev.acpi_ibm.<replaceable>0</replaceable>.fan</varname>
needs to be set to zero (manual). This should only be used with
extreme precaution, as disabling automatic fan control might
overheat the hardware and lead to permanent damage.</para>
<para>The &man.ddb.4; debugger now provides the <literal>show lock</literal>
command. If the argument has a valid lock class,
this displays various information about the lock and calls a
new function pointer in lock_class (lc_ddb_show) to dump class-specific
information about the lock as well (such as the owner of a mutex or
xlock'ed sx lock). &merged;</para>
<para>The &man.ddb.4; debugger now provides the <literal>show sleepq</literal>
command. This takes a wait channel as an argument and looks
for a sleep queue associated with that wait channel.</para>
<para><filename>DEFAULTS</filename> kernel configuration files
for each platform have been added. &merged;</para>
<para>A bug in file descriptor handling such that simple
<literal>close(0); dup(fd)</literal> sequence does not return
descriptor <literal>0</literal> in some cases, has been fixed.</para>
<para>The &man.firmware.9; subsystem has been added. This allows
to load binary data into the kernel via a specially crafted module.
&merged;</para>
<para>The &man.gdb.1; remote debugging interface now supports
copying console messages to a remote debugger instance.
To enable this, set <literal>debug.gdbcons="1"</literal>
in <filename>loader.conf</filename>, enter <literal>boot -d;
gdb; step</literal> from the loader prompt,
then attach &man.gdb.1; from a remote machine.
The sysctl variable <varname>debug.gdbcons</varname> can be
used to turn on/off this functionality.</para>
<para>&man.hwpmc.4; and &man.pmcstat.8; now support profiling
of dynamically loaded kernel modules and
<function>dlopen()</function>'ed shared objects.
&man.pmcstat.8; can now log over a network socket
to a remote host.</para>
<para>The &man.random.4; entropy device driver is now MPSAFE.
&merged;</para>
<para>The <literal>SIGCHLD</literal> signal queuing has been
added. For each child process whose status has been changed,
a SIGCHLD instance is queued. If the signal is still pending,
and the process changed status several times, the signal information
is updated to reflect the latest process status.
There is a loader tunable <varname>kern.sigqueue.queue_sigchild</varname>
which can control the behavior, setting it to zero disables the
<literal>SIGCHLD</literal> queuing feature.</para>
<para arch="amd64,i386">Instead of dumping the whole physical
memory, the kernel now defaults to dump only pages that are
actively mapped into kvm. A new sysctl variable
<varname>debug.minidump</varname>
can be used to turn off this behavior when set to zero.</para>
<para>A new sysctl variable <varname>kern.malloc_stats</varname>
has been added. This allows to export kernel malloc
statistics via a binary structure stream.</para>
<para>A new sysctl variable <varname>kern.elf[32|64].can_exec_dyn</varname>
has been added. This allows to execute a <literal>ET_DYN</literal> binary
(shared object) when the variable is set to <literal>1</literal>.
This is set to <literal>0</literal> by default and useful for some
Linux scripts which expect to be able to execute
<filename>/lib/ld-linux.so.2</filename>.</para>
<para>A new sysctl variable <varname>kern.elf[32|64].can_exec_dyn</varname>
has been removed. Instead the <varname>brandinfo</varname>
structure has been extended to be able to provide the
<literal>BI_CAN_EXEC_DYN</literal> flag for all brands that usually
allow executing ELF dynamic binaries.</para>
<para>A new sysctl variable <varname>kern.forcesigexit</varname>
has been added. This forces a process
to sigexit if a trap signal is being held by the current thread or
ignored by the current process and is enabled by default.</para>
<para>RedZone, a buffer corruption protection for kernel &man.malloc.9;
facility has been implemented. This detects both of buffer underflows and
buffer overflows bugs at runtime on &man.free.9; and &man.realloc.9;,
and prints backtraces from where memory was allocated and from where
it was freed. For more details, see the &man.redzone.9; manual page.</para>
<para>A new sysctl variable <varname>security.mac.biba.interfaces_equal</varname>
which makes all network interfaces be created with the label
<literal>biba/equal(equal-equal)</literal>, has been added.
This is useful where programs such as &man.dhclient.8; and &man.ppp.8;.
which initialize network interfaces do not have any labeling support.
This variable is set as <literal>0</literal>(disabled) by default.
&merged;</para>
<para>A new sysctl variable <varname>vm.zone_stats</varname>
has been added. This allows to export &man.uma.9; allocator
statistics via a binary structure stream.</para>
<para>The sysctl variable <varname>hw.pci.do_powerstate</varname>
has been changed from a boolean to a range.
<literal>0</literal> means no power management,
<literal>1</literal> means conservative power management which
any device class that has caused problems is added to the watch list,
<literal>2</literal> means aggressive power management where
any device class that is not fundamental to the system is added to the list,
and <literal>3</literal> means power them all down unconditionally.
The default is <literal>1</literal>.</para>
<para arch="ia64">The <filename>GENERIC</filename> kernel now enables
SMP support by default.</para>
<para>Sample kernel configuration files
<filename>src/sys/<replaceable>arch</replaceable>/conf/MAC</filename>
for the Mandatory Access Control framework have been added.</para>
<para><varname>POSIX_TIMERS</varname> support has been updated to 200112L.</para>
<para>An experimental support for POSIX message queue has been
implemented.</para>
<para>The support for Xbox, whose architecture is nearly identical
has been added. For details of the latest development,
see <ulink url="http://xbox-bsd.nl"></ulink>.</para>
<sect3 id="boot">
<title>Boot Loader Changes</title>
<para>A new option <option>-S</option>,
which allows setting the <filename>boot2</filename>
serial console speed in the <filename>/boot.config</filename>
file or on the <prompt>boot:</prompt> prompt line,
has been added.</para>
<para arch="i386,amd64">A new loader tunable
<varname>comconsole_speed</varname> to change
the serial console speed has been added.
If the previous stage boot loader requested a serial console
then the default speed is determined from the current serial port
speed, and otherwise it is set to 9600 or the value of
the kernel option <literal>BOOT_COMCONSOLE_SPEED</literal>
at compile time. &merged;</para>
<!-- Above this line, order boot loader changes by keyword-->
</sect3>
<sect3 id="proc">
<title>Hardware Support</title>
<para>The &man.acpi.thermal.4; driver now supports
passive cooling. &merged;</para>
<para>The &man.cardbus.4; driver now supports
<filename>/dev/cardbus<replaceable>%d</replaceable>.cis</filename>.</para>
<para arch="i386,pc98">The &man.ce.4; driver,
which supports Cronyx Tau-PCI/32 adapters, has been added.
&merged;</para>
<para>Support for the PadLock Security Co-processor in VIA C3
processors has been added to the &man.crypto.9; subsystem.
&merged;</para>
<para>A bug which prevents the &man.ichsmb.4; kernel module
from unloading has been fixed.</para>
<para arch="i386,amd64">&man.ipmi.4;, an OpenIPMI compatible driver,
has been added.
OpenIPMI (Intelligent Platform Management Interface) is an open
standard designed to enable remote monitoring and control of server,
networking and telecommunication platforms.</para>
<para>The &man.kbdmux.4; driver has been integrated into &man.syscons.4; and
the <devicename>kbd</devicename> device driver.
By default &man.syscons.4; will look for the &man.kbdmux.4;
keyboard first, and then, if not found, look for any keyboard.
Switching to &man.kbdmux.4; can be done at boot time by loading
the <literal>kbdmux</literal> kernel module via &man.loader.8;,
or at runtime via &man.kldload.8; and releasing the active
keyboard. &merged;</para>
<para arch="amd64,i386">The &man.kbdmux.4; driver has been included in the
<filename>GENERIC</filename> kernel by default.
Also, the <quote>Boot FreeBSD with USB keyboard</quote>
menu item in the boot loader menu has been removed
since this fixes USB keyboard probing problems.
&merged;</para>
<para arch="ia64">The loader tunable <varname>debug.mpsafevfs</varname>
is set to <literal>1</literal> by default.</para>
<para>The &man.sab.4; driver has been removed (it has been
superceded by the &man.scc.4; driver).</para>
<para>The &man.scc.4; driver has been added.
This provides generic support for serial communications
controllers and delegates the control over each channel
and mode to a subordinate driver such as &man.uart.4;.</para>
<para arch="amd64">The smbios(4) driver support for amd64 has been
added.</para>
<para>The tnt4882(4) driver which supports National Instruments
PCI-GPIB card has been added.</para>
<para arch="alpha,amd64,i386,ia64,sparc64">The &man.uart.4; driver has been included in the
<filename>GENERIC</filename> kernel by default.
When both &man.sio.4; and &man.uart.4; can handle a serial port,
&man.sio.4; will claim it.</para>
<para>The &man.uart.4; driver now supports LOM (Lights Out Management)
and RSC (Remote System Control) devices as console.</para>
<para arch="i386">A new loader tunable
<varname>hw.apic.enable_extint</varname> has been added.
This tunable can be used not to mask the ExtINT pin on the first
I/O APIC. At least one chipset for Intel Pentium III seems
to need this even though all of the pins in the 8259A's are masked.
The default is still to mask the ExtINT pin.</para>
<para arch="i386">Support has been improved for
so-called <quote>legacy-free</quote> hardware, in particular,
i386 systems without AT-style keyboard controllers such as the
Macbook Pro.</para>
<sect4 id="mm">
<title>Multimedia Support</title>
<para>The &man.agp.4; driver now supports ATI IGP chipsets.
&merged;</para>
<para>The &man.sound.4; driver now supports
wider range sampling rate, multiple precisions choice,
and 24/32 bit PCM format conversion. &merged;</para>
<para>The &man.snd.als4000.4; driver is now MPSAFE. &merged;</para>
<para>The &man.snd.atiixp.4; driver has been added.
This supports ATI IXP 200/300/400 series audio controllers. &merged;</para>
<para>The &man.snd.atiixp.4; driver now supports
suspend and resume features.</para>
<para>The &man.snd.cmi.4; driver is now MPSAFE.</para>
<para>The &man.snd.es137x.4; driver is now MPSAFE. &merged;</para>
<para>The &man.snd.ich.4; driver is now MPSAFE. &merged;</para>
<para>The &man.snd.solo.4; driver is now MPSAFE. &merged;</para>
<para>The &man.snd.via8233.4; driver is now MPSAFE. &merged;</para>
<para>The &man.snd.via82c686.4; driver is now MPSAFE. &merged;</para>
<para arch="amd64">The &man.speaker.4; driver now supports &os;/amd64. &merged;</para>
<para>The &man.uaudio.4; driver now supports 24/32 bit audio
formats and conversion.</para>
</sect4>
<sect4 id="net-if">
<title>Network Interface Support</title>
<para>The &man.ath.4; driver has been updated to
version 0.9.16.16. &merged;</para>
<para arch="i386,amd64">The &man.bce.4; driver, which supports Broadcom
NetXtreme II (BCM5706/BCM5708) PCI/PCIe Gigabit Ethernet controllers,
has been added. For more details, see &man.bce.4;. &merged;</para>
<para>A bug which prevents the &man.bfe.4; driver from working
on a system with over 1GB RAM has been fixed. &merged;</para>
<para>The &man.bge.4; driver's Jumbo frame support is now MPSAFE.</para>
<para>The &man.bge.4; driver now supports big-endian
architectures such as sparc64.</para>
<para>The &man.bge.4; driver now supports &man.polling.4; mode.
&merged;</para>
<para>The &man.dc.4; driver is now MPSAFE. &merged;</para>
<para>The &man.de.4; driver has been converted to the &man.bus.dma.9;
API and is now MPSAFE.</para>
<para>The &man.ed.4; driver is now MPSAFE.</para>
<para>The &man.el.4; driver has been removed.</para>
<para>The &man.em.4; driver now supports big-endian
architectures such as sparc64. &merged;</para>
<para>The &man.em.4; driver has been updated to
version 3.2.18 from Intel, and now supports
82571 and 82572 based adapters.</para>
<para>The &man.em.4; driver now includes
initial support for suspend and resume features.</para>
<para>The &man.em.4; driver has been improved on
its performance by using a fast interrupt handler and taskqueue
instead of ithread handler. This change can be disabled
by defining <literal>NO_EM_FASTINTR</literal> kernel option
for debugging purpose.</para>
<para>The &man.iwi.4; driver now supports big-endian
architectures such as sparc64.</para>
<para>The &man.le.4; driver, which supports AMD Am7900 LANCE
and Am79C9xx PCnet NICs and is based on NetBSD's implementation,
has been added. While the &man.lnc.4; driver also supports these
NICs, this driver has several advantages over it such as
MPSAFE, ALTQ, VLAN_MTU, ifmedia, and 32-bit DMA for PCI
variants. &merged;</para>
<para>The &man.lge.4; driver is now MPSAFE. &merged;</para>
<para>The &man.my.4; driver is now MPSAFE. &merged;</para>
<para arch="i386,amd64">The &man.myri10ge.4; driver,
which supports Myricom Myri10GE 10 Gigabit Ethernet
adapters, has been added. For more details, see
&man.myri10ge.4;.</para>
<para>The &man.nve.4; driver has been updated to version 1.0-0310
(23-Nov-2005).</para>
<para>The &man.pcn.4; driver is now MPSAFE. &merged;</para>
<para>The &man.re.4; driver now supports D-Link DGE-528(T)
Gigabit Ethernet card.</para>
<para>The &man.sf.4; driver is now MPSAFE. &merged;</para>
<para>The &man.sk.4; driver is now MPSAFE.</para>
<para>The &man.ste.4; driver is now MPSAFE.</para>
<para>The &man.ti.4; driver now supports big-endian
architectures such as sparc64.</para>
<para>The &man.ufoma.4; driver for
FOMA (third generation mobile phone system by NTT DoCoMo, Inc.
in Japan) has been added.
This should support other third generation mobile phones
since the driver is based on USB Implementation Guideline
from MCPC (Mobile Computing Promotion Consortium) in Japan.</para>
<para>The vgapci(4) driver has been added. This is a stub
device driver for VGA PCI devices and serves as a bus
so that other drivers such as drm(4),
&man.acpi.video.4;, and &man.agp.4; can attach to
it thus allowing multiple drivers for the same device.</para>
</sect4>
</sect3>
<sect3 id="net-proto">
<title>Network Protocols</title>
<para>The &man.arp.8; retransmission algorithm has been
rewritten as that ARP requests are retransmitted without
suppression, while there is demand for such ARP entry.
Due to this change, a sysctl variable
<varname>net.link.ether.inet.host_down_time</varname>
has been removed. &merged;</para>
<para>The &man.arp.8; now supports a sysctl variable
<varname>net.link.ether.inet.log_arp_permanent_modify</varname>
to suppress logging of attempts to modify
permanent ARP entries. &merged;</para>
<para>The &man.arp.8; utility now allows <option>-i</option>
option with <option>-d</option> and <option>-a</option> options
to allow all entries for a given interface to be removed.</para>
<para arch="amd64,i386,pc98">An experimental BPF Just-In-Time compiler
has been implemented. To enable this,
<literal>options BPF_JITTER</literal> kernel option is needed,
and a sysctl variable <varname>net.bpf.jitter.enable</varname>
can be used to disable this feature.</para>
<para>The &man.gre.4; driver, which is for GRE encapsulation
found in RFC 1701 and RFC 1702 now supports IPv6 over GRE.</para>
<para>The &man.if.bridge.4; bridge driver now supports
creating span ports, which transmit a copy of every frame
received by the bridge. This feature can be enabled
by using &man.ifconfig.8;. &merged;</para>
<para>The &man.if.bridge.4; bridge driver now supports
RFC 3378 EtherIP. This change makes it possible to
add &man.gif.4; interfaces to bridges, which will then
send and receive IP protocol 97 packets.
Packets are Ethernet frames with an EtherIP header prepended.
&merged;</para>
<para>The path MTU discovery for multicast packets in the &os;
&man.ip6.4; stack has been disabled by default because
notifying path MTU by a lot of routers in multicast
can be a kind of distributed Denial-of-Service attack to a router.
This feature can be re-enabled by using a new sysctl variable
<varname>net.inet6.ip6.mcast_pmtu</varname>. &merged;</para>
<para>The &man.ipfw.4; IP packet filter now supports IPv6.
The &man.ip6fw.8; packet filter is deprecated and will be removed
in the future releases. &merged;</para>
<para>The &man.ipfw.4; now supports substitution of the action
argument with the value obtained from table lookup,
which allows some optimization of rulesets.
This is now applicable only to <literal>pipe</literal>,
<literal>queue</literal>,
<literal>divert</literal>,
<literal>tee</literal>,
<literal>netgraph</literal>,
and <literal>ngtee</literal> rules. &merged;
For example, the following rules will throw different
packets to different pipes:</para>
<programlisting>pipe 1000 config bw 1000Kbyte/s
pipe 4000 config bw 4000Kbyte/s
table 1 add x.x.x.x 1000
table 1 add x.x.x.y 4000
pipe tablearg ip from table(1) to any</programlisting>
<para>The &man.natm.4;, Native Mode ATM protocol layer is now MPSAFE.</para>
<para>The &man.ng.bpf.4; Netgraph node now supports BPF Just-In-Time compiler.
Also, the sysctl has been changed from <varname>net.bpf.jitter.enable</varname>
to <varname>net.bpf_jitter.enable</varname> and this controls
both &man.bpf.4; and &man.ng.bpf.4; now.</para>
<para>The &man.ng.iface.4; Netgraph node now supports &man.altq.4;.
&merged;</para>
<para>A bug has been fixed in which NFS over TCP would not reconnect
when the server sent a FIN. This problem had occurred
with Solaris NFS servers. &merged;</para>
<para>The sysctl variable <varname>net.inet.ip.portrange.reservedhigh</varname>
and <varname>net.inet.ip.portrange.reservedlow</varname>
can be used with IPv6 now.</para>
<para>A new sysctl variable <varname>net.inet.icmp.reply_from_interface</varname>
has been added. This allows the &man.icmp.4;
reply to non-local packets generated with
the IP address the packet came through in.
This is useful for routers to show in &man.traceroute.8;
the actual path a packet has taken instead of
the possibly different return path.</para>
<para>A new sysctl variable <varname>net.inet.icmp.quotelen</varname>
has been added. This allows to change length of
the quotation of the original packet in an ICMP reply.
The minimum of 8 bytes is internally enforced.
The maximum quotation is the remaining space in the
reply mbuf. This option is added in response to the
issues raised in I-D
<filename>draft-gont-icmp-payload-00.txt</filename>.</para>
<para>The &man.icmp.4; now always quotes the entire TCP header
when responding and allocate an mbuf cluster if needed.
This change fixes the TCP issues raised in I-D
<filename>draft-gont-icmp-payload-00.txt</filename>.</para>
<para>A new socket option <literal>IP_MINTTL</literal> has been added.
This may be used to set the minimum acceptable
TTL a packet must have when received on a socket.
All packets with a lower TTL are silently dropped,
and this works on already connected/connecting and
listening sockets for RAW, UDP, and TCP. This option
is only really useful when set to 255 preventing packets
from outside the directly connected networks reaching
local listeners on sockets. Also, this option allows
userland implementation of <quote>The Generalized TTL
Security Mechanism (GTSM)</quote> found in RFC 3682.</para>
<para>The stealth forwarding now supports IPv6 as well as IPv4.
This behavior can be controlled by using a new sysctl variable
<varname>net.inet6.ip6.stealth</varname>.</para>
<para>A bug that <literal>IPV6_V6ONLY</literal> socket option
does not work for UDP has been fixed.</para>
<para>The TCP bandwidth-delay product limiting feature has
been disabled when the RTT is below a certain threshold.
This optimization does not make sense on a LAN as it has
trouble figuring out the maximal bandwidth due to the coarse
tick granularity. A new sysctl variable
<varname>net.inet.tcp.inflight.rttthresh</varname> specifies
the threshold in milliseconds below which this feature
will disengage. It defaults to 10ms. &merged;</para>
</sect3>
<sect3 id="disks">
<title>Disks and Storage</title>
<para>The &man.aac.4; driver now supports the Adaptec 2610SA SATA-RAID
controller in some Hewlett-Packard machines.</para>
<para>The &man.amr.4; driver has been improved on its performance
and now supports full 64-bit DMA. While this feature is
enabled by default, this can be forced off by setting the
<varname>hw.amr.force_sg32</varname> loader tunable for
debugging purpose.
&merged;</para>
<para>The &man.amr.4; driver now supports &man.ioctl.2; requests
necessary for Linux LSI MegaRaid tools on &os;'s Linux emulation
environment.
&merged;</para>
<para>The &man.ata.4; driver now supports a workaround
for some controllers whose DMA does not work properly
in 48bit mode. For the suspicious controllers
the PIO mode will be used for access to over 137GB areas.
&merged;</para>
<para>The &man.ata.4; driver now supports the ITE IT8211F IDE controller,
and Promise PDC40718 and PDC40719 chip found in Promise
Fasttrak TX4300.
&merged;</para>
<para>The &man.ata.4; driver now supports DMA for kernel crash dump
and crash dumping to &man.ataraid.4; device.
&merged;</para>
<para>The &man.ata.4; driver now supports USB mass storage class
devices. To enable it, a line <literal>device atausb</literal>
in the kernel configuration file or loading the
<filename>atausb</filename> kernel module is needed.
Note that this conflicts &man.umass.4; and cannot coexist with
each other.</para>
<para>The &man.ataraid.4; driver now supports
JMicron ATA RAID metadata. &merged;</para>
<para>The <literal>GEOM_LABEL</literal> class now supports
Ext2FS, NTFS, and ReiserFS. &merged;</para>
<para>The <literal>GEOM_MIRROR</literal> class now supports
kernel crash dump to the GEOM providers.
&merged;</para>
<para>The <literal>GEOM_MIRROR</literal> and <literal>GEOM_RAID3</literal>
classes now support sysctl variables
<varname>kern.geom.mirror.disconnect_on_failure</varname>
and
<varname>kern.geom.graid3.disconnect_on_failure</varname>
to control whether failed components will be disconnected or not.
The default value is <literal>1</literal> to preserve the current
behavior, and if it is set to <literal>0</literal> such components
are not disconnected and the kernel will try to still use them
(only first error will be logged).
This is helpful for the case of multiple broken components (in
different places), so actually all data is available.
The broken components will be visible in <command>gmirror list</command>
or <command>graid3 list</command> output with flag
<literal>BROKEN</literal>.
&merged;</para>
<para>The <literal>GEOM_MIRROR</literal> and <literal>GEOM_RAID3</literal>
classes now use parallel I/O request for synchronization
to improve the performance. New sysctl variables
<varname>kern.geom.mirror.sync_requests</varname> and
<varname>kern.geom.raid3.sync_requests</varname>
define how many parallel I/O requests should be used.
Also, sysctl variables
<varname>kern.geom.mirror.reqs_per_sync</varname>,
<varname>kern.geom.mirror.syncs_per_sec</varname>,
<varname>kern.geom.raid3.reqs_per_sync</varname>, and
<varname>kern.geom.raid3.syncs_per_sec</varname>
are deprecated and have been removed.
&merged;</para>
<para>A new GEOM class <literal>GEOM_ZERO</literal> has been added.
It creates very huge provider (41PB) <filename>/dev/gzero</filename>
and mainly for performance testing.
On <literal>BIO_READ</literal> request it zero-fills
<varname>bio_data</varname> and on <literal>BIO_WRITE</literal>
it does nothing.
&merged;</para>
<para>The GEOM class kernel module <filename>g_md.ko</filename>
has been renamed to <filename>geom_md.ko</filename>
for consistency.</para>
<para arch="amd64,i386">The &man.hptmv.4; driver has been updated and now supports
amd64 as well as PAE.</para>
<para>The &man.mfi.4; driver, which supports
the LSI MegaRAID SAS controller family, has been added.
&merged;</para>
<para>The &man.mpt.4; driver has been updated to support
various new features such as RAID volume and RAID member
state/settings reporting, periodic volume re-synchronization
status reporting, and sysctl variables for volume
re-synchronization rate, volume member write cache status,
and volume transaction queue depth.</para>
<para>The &man.mpt.4; driver now supports SAS HBA (partially),
64-bit PCI, and large data transfer.</para>
<para>The &man.twa.4; driver has been updated to the 9.3.0.1
release on the 3ware Web site. &merged;</para>
<para>A new GEOM-based disk encryption facility, GEOM_ELI, has been
added. It uses the &man.crypto.9; framework for hardware acceleration
and supports different cryptographic algorithms. See &man.geli.8; for
more information. &merged;</para>
<para>The &man.geli.8; now supports loading keyfiles before root
file system is mounted. &merged;
For example, the following entries
can be used in <filename>/boot/loader.conf</filename> to enable
it:</para>
<programlisting>geli_da0_keyfile0_load="YES"
geli_da0_keyfile0_type="da0:geli_keyfile0"
geli_da0_keyfile0_name="/boot/keys/da0.key0"
geli_da0_keyfile1_load="YES"
geli_da0_keyfile1_type="da0:geli_keyfile1"
geli_da0_keyfile1_name="/boot/keys/da0.key1"
geli_da0_keyfile2_load="YES"
geli_da0_keyfile2_type="da0:geli_keyfile2"
geli_da0_keyfile2_name="/boot/keys/da0.key2"
geli_da1s3a_keyfile0_load="YES"
geli_da1s3a_keyfile0_type="da1s3a:geli_keyfile0"
geli_da1s3a_keyfile0_name="/boot/keys/da1s3a.key"</programlisting>
<para>The &man.umass.4; driver now supports
<literal>PLAY_MSF</literal>,
<literal>PLAY_TRACK</literal>,
<literal>PLAY_TRACK_REL</literal>,
<literal>PAUSE</literal>,
<literal>PLAY_12</literal> commands so that
the &man.cdcontrol.1; utility can handle USB CD drive.</para>
</sect3>
<sect3 id="fs">
<title>File Systems</title>
<para>A part of the FreeBSD NFS subsystem (the interface with
the protocol stack and callouts) is now MPSAFE.</para>
<para>An initial support of SGI's XFS filesystem has been
added.</para>
</sect3>
<sect3>
<title>Contributed Software</title>
<para><application>Intel ACPI-CA</application>
has been updated to 20051021.</para>
<para><application>DRM</application> has
been updated to a snapshot from DRI CVS as of 20051202. &merged;</para>
<para>TrustedBSD <application>OpenBSM</application> distribution,
version 1.0 alpha 5, an implementation of the documented Sun Basic
Security Module (BSM) Audit API and file format, as well as local
extensions to support the Mac OS X and FreeBSD operating systems
has been added. This also includes command line tools for audit
trail reduction and conversion to text, as well as documentation
of the commands, file format, and APIs.
For this functionality, the <literal>AUDIT</literal> kernel option,
<filename>/var/audit</filename> directory, and
<literal>audit</literal> group have been added.</para>
</sect3>
</sect2>
<sect2 id="userland">
<title>Userland Changes</title>
<para>Padding of <varname>ai_addrlen</varname>
in <varname>struct addrinfo</varname> has been removed,
which was originally for the ABI compatibility.
For example, this change break the ABI compatibility of
&man.getaddrinfo.3; function on 64-bit architecture including
&os;/alpha, &os;/amd64, &os;/ia64, and &os;/sparc64.</para>
<para>OpenBSM userland tools including &man.audit.8;,
&man.auditd.8;,
&man.auditreduce.1;,
&man.praudit.1; have been added.</para>
<para>The &man.bsdiff.1; and &man.bspatch.1; utilities
have been added. These are tools for constructing and
applying binary patches.</para>
<para>The &man.bsnmpd.1; utility now supports the Host Resources
MIB described in RFC 2790. &merged;</para>
<para>The &man.cmp.1; utility now supports an <option>-h</option>
flag to compare the symbolic link itself rather than the
file that the link points to.</para>
<para>The &man.config.8; utility now supports the <literal>nocpu</literal>
directive, which cancels the effect of a
previous <literal>cpu</literal> directive. &merged;</para>
<para>The &man.config.8; utility now reads <filename>DEFAULTS</filename>
kernel configuration file if it exists in the current directory
before the specified configuration file. &merged;</para>
<para>The &man.csh.1; utility now supports NLS catalog.
Note that this requires installing
the <filename role="package">shells/tcsh_nls</filename> port.
&merged;</para>
<para>The csup(1) utility has been imported.
This is an implementation of CVSup-compatible client written
in C language. Note that it currently supports checkout mode
only.</para>
<para>The &man.devd.8; utility now supports a <option>-f</option> option
to specify a configuration file. &merged;</para>
<para>The &man.ftpd.8; utility now creates a PID file
<filename>/var/run/ftpd.pid</filename> even when
no <option>-p</option> option is specified. &merged;</para>
<para>The &man.gbde.8; utility now supports
<option>-k</option> and <option>-K</option> options
to specify a key file in addition to a passphrase.</para>
<para>The &man.getfacl.1; utility now supports
a <option>-q</option> flag to suppress the per-file header
comment listing the file name, owner, and group.
&merged;</para>
<para>The &man.gpt.8; utility now supports setting GPT partition labels.</para>
<para>The &man.gvinum.8; utility now supports commands
to rename objects and to move a subdisk from
one drive to another. &merged;</para>
<para>The &man.gvinum.8; utility now supports
<command>resetconfig</command> sub-command.</para>
<para>An implementation of Generic Security Service API (GSS-API)
version 2 and its C binding described in RFC2743 and RFC2744
has been added. This is a new extensible GSS-API layer which
can support GSS-API plugins, similar the the Solaris
implementation, and the Kerberos 5 GSS mechanism has
been rewritten as a plugin library for the new implementation.</para>
<para>The &man.ifconfig.8; utility now supports
a <option>-k</option> flag to allow printing
potentially sensitive keying material to standard output.
This sensitive information will not be printed by default.</para>
<para>The &man.ifconfig.8; utility now supports a <option>-tunnel</option>
parameter, which is just an alias for <option>deletetunnel</option>,
yet is more convenient and easier to type.</para>
<para>The <option>-vlandev</option> parameter to &man.ifconfig.8;
no longer requires a network interface as its argument. The
argument still is supported for backward compatibility, but now
it is deprecated and its use is discouraged.</para>
<para>The &man.jail.8; utility pports a <option>-J
<replaceable>jid_file</replaceable></option> option to
write out a JidFile, similar to a PidFile, containing
the jailid, path, hostname, IP and the command used to start
the jail. &merged;</para>
<para>The &man.kdump.1; utility now supports a <option>-H</option>
flag, which causes kdump to print an additional field holding
the threadid. &merged;</para>
<para>The &man.kdump.1; program now supports a <option>-s</option>
flag to suppress the display of I/O data. &merged;</para>
<para>The &man.kenv.1; utility now supports a <option>-q</option>
flag to suppress warnings.</para>
<para>The &man.kgdb.1; now supports a <option>-w</option>
option to open kmem-based targets in read-write mode.
This allows one to use kgdb on <filename>/dev/mem</filename>
and be able to patch memory on a live system.</para>
<para>The &man.libarchive.3; library now supports
POSIX.1e-style Extended Attribute.</para>
<para>The <application>libc</application> library now includes
initial implementation of symbol maps and symbol version
definitions.</para>
<para>The <application>libedit</application> library has been
updated from the NetBSD source tree as of August 2005.</para>
<para>The <application>libm</application> library now includes
initial implementation of symbol maps and symbol version
definitions.</para>
<para>The &man.libmemstat.3; library has been added.
This is for use by debugging and monitoring applications
in tracking kernel memory statistics. It provides an
abstracted interface to &man.uma.9; and &man.malloc.9;
statistics, wrapped around the binary stream sysctl variables
for the allocators. &merged;</para>
<para>The &man.ln.1; utility now supports
an <option>-F</option> flag which allows to delete existing
empty directories, when creating symbolic links.
&merged;</para>
<para>The &man.locate.1; utility now supports
a <option>-0</option> flag to make this utility
interoperable with &man.xargs.1;'s <option>-0</option> flag.
&merged;</para>
<para>The &man.ls.1; utility now supports
an <option>-I</option> flag to disable the automatic
<option>-A</option> flag for the superuser. &merged;</para>
<para>The &man.ls.1; utility now supports
an <option>-U</option> flag to use the file creation
time for sorting.</para>
<para>The &man.mdconfig.8; utility now supports XML
output of the device listing. Currently
<command>list</command> and <command>query</command>
sub-command support this feature.</para>
<para>The &man.mdconfig.8; utility's <option>-u</option> option
now supports specifying multiple devices separated
by comma character.</para>
<para>The &man.mdmfs.8; utility now supports a <option>-P</option> flag
to allow skipping &man.newfs.8; process
when using a vnode-backed disk.</para>
<para>The &man.mdmfs.8; utility now supports a <option>-E</option> flag
to allow to specify location of the &man.mdconfig.8;
utility instead of using the default one
(<filename>/sbin/mdconfig</filename>).</para>
<para>A new function &man.memmem.3; has been implemented in
<filename>libc</filename>. This is the binary equivalent to
&man.strstr.3; and found in <filename>glibc</filename>.</para>
<para>The &man.mergemaster.8; utility now supports
an <option>-A</option> option to explicitly specify
an architecture to pass through to the underlying makefiles.
&merged;</para>
<para>The &man.mount.8; <literal>nodev</literal> option has
been removed.</para>
<para>The &man.mount.8; now supports &man.mqueuefs.5;.</para>
<para>The &man.moused.8; daemon now supports an <option>-H</option> flag
to enable horizontal virtual scrolling similar to a
<option>-V</option> flag for vertical virtual scrolling.
&merged;</para>
<para>The &man.netstat.1; utility now supports an
<option>-h</option> flag for interface stats mode,
which prints all interface statistics in human readable form.</para>
<para>The &man.netstat.1; utility now supports
printing &man.ipsec.4; protocol statistics if the
kernel was compiled with <literal>FAST_IPSEC</literal>
rather than the KAME IPSEC stack.
Note that the output of <command>netstat -s -p ipsec</command>
differs depending on which stack is compiled into
the kernel since they each keep different statistics. &merged;</para>
<para>The &man.periodic.8; daily script now supports
display of the status of &man.gmirror.8;, &man.graid3.8;,
&man.gstripe.8;, and &man.gconcat.8; devices.
Note that these are disabled by default. &merged;</para>
<para>A new function, &man.pidfile.3;, which provides reliable
pidfiles handling, has been implemented in
<filename>libutil</filename>. &merged;</para>
<para>The &man.ping.8; utility now supports <quote>a sweeping
ping</quote> in which &man.icmp.4; payload of
packets being sent is increased with given step.
This is useful for testing problematic channels, MTU issues
or traffic policing functions in networks.</para>
<para>The &man.pkill.1; utility now supports a
<option>-F</option> option which allows to
restrict matches to a process whose PID is stored in the
pidfile file. When another new option <option>-L</option>
is also specified, the pidfile file must be locked with the
&man.flock.2; syscall or created with &man.pidfile.3;.</para>
<para>The &man.pkill.1; utility now supports a
<option>-I</option> flag which works like <option>-i</option>
of &man.rm.1;. When this flag is specified, &man.pkill.1;
will ask for confirmation before sending a signal to
each matching process.</para>
<para>The &man.powerd.8; program now supports a
<option>-P</option> option which allows to specify pidfile.</para>
<para>The DNS resolver library in &os;'s <application>libc</application>
has been updated to BIND9's one.</para>
<para>The &man.rfcomm.sppd.1; now supports service name
in addition to <option>-c</option> option with channel number.
The supported names are: DUN (Dial-Up Networking), FAX (Fax),
LAN (LAN Access Using PPP), and SP (Serial Port). &merged;</para>
<para>The &man.rpcgen.1; utility now generates headers and stub files
which can be used with ANSI C compilers by default.</para>
<para>The &man.rtld.1; runtime linker now supports ELF symbol versioning
using GNU semantics. This implementation aims to be compatible
with symbol versioning support as implemented by GNU libc and
documented in <ulink url="http://people.redhat.com/~drepper/symbol-versioning"></ulink>
and LSB 3.0. Also, <function>dlvsym()</function>
function has been added to
allow lookups for a specific version of a given symbol.</para>
<para>The &man.sh.1; utility now supports <literal>times</literal>
built-in command.</para>
<para>The &man.snapinfo.8; utility, which shows snapshot locations
on UFS filesystems, has been added. &merged;</para>
<para>The &man.strtonum.3; library function has been implemented
based on OpenBSD's implementation. This is an improved version of
&man.strtoll.3;. &merged;</para>
<para>The &man.sysctl.8; utility now supports a <option>-q</option>
flag to suppress a limited set of warnings and errors.</para>
<para>The &man.truss.1; utility now supports an <option>-s</option>
flag for the same functionality as the strace utility
(<filename role="package">devel/strace</filename>).</para>
<para arch="ppc">The &man.truss.1; utility now supports &os;/ppc.</para>
<para>The &man.usbd.8; utility has been removed.
The &man.devd.8; utility and its configuration
file now support functionality which is equivalent to it.</para>
<para>The &man.xargs.1; utility now supports a <option>-r</option>
flag which makes the command execution when the standard input
does not contain any non-whitespace-characters. &merged;</para>
<para>The shared library version number of all libraries have
been updated due to some possible ABI changes. The libraries
include: snmp_*, libdialog, libg2c, libobjc,
libreadline, libregex, libstdc++, libkrb5, libalias, libarchive,
libbegemot, libbluetooth, libbsnmp, libbz2, libc_r, libcrypt,
libdevstat, libedit, libexpat, libfetch, libftpio, libgpib,
libipsec, libkiconv, libmagic, libmp, libncp, libncurses,
libnetgraph, libngatm, libopie, libpam, libpthread, libradius,
libsdp, libsmb, libtacplus, libthr, libthread_db, libugidfw,
libusbhid, libutil, libvgl, libwrap, libypclnt, libm, libcrypto,
libssh, and libssl.</para>
<para>The <function>wcsdup()</function> function has been
implemented. This function is popular in Microsoft and GNU
systems.</para>
<sect3 id="rc-scripts">
<title><filename>/etc/rc.d</filename> Scripts</title>
<para>The <filename>auditd</filename> script for
OpenBSM &man.auditd.8; has been added.</para>
<para>The <filename>bluetooth</filename> script
has been added. This script will be called from
&man.devd.8; in response to device attachment/detachment
events and to stop/start particular device without unplugging
it by hand. The configuration parameters are in
<filename>/etc/defaults/bluetooth.device.conf</filename>,
and can be overridden by using
<filename>/etc/bluetooth/<replaceable>$device</replaceable>.conf</filename>
(where <replaceable>$device</replaceable> is <devicename>ubt0</devicename>,
<devicename>btcc0</devicename>, and so on.)
For more details, see &man.bluetooth.conf.5;. &merged;</para>
<para>The <filename>ftpd</filename> script for
stand-alone &man.ftpd.8; has been added.</para>
<para>The <filename>gbde_swap</filename> script has
been removed in favor a new <filename>encswap</filename>
script which also supports &man.geli.8; for swap
encryption.</para>
<para>The <filename>geli</filename> and <filename>geli2</filename>
scripts has been added for &man.geli.8; device
configuration on boot.</para>
<para>The <filename>ike</filename> script for
IPsec IKE daemon has been removed because no such daemon
is included in the base system.</para>
<para>The <filename>hcsecd</filename> and
<filename>sdpd</filename> scripts have been added
for &man.hcsecd.8; and &man.sdpd.8; daemons.
These daemons can run even if no Bluetooth devices
are attached to the system, but both daemons depend on
Bluetooth socket layer and thus disabled by default.
Bluetooth sockets layer must be either loaded
as a module or compiled into kernel before the daemons can run.
&merged;</para>
<para>The <filename>hostapd</filename> script for
&man.hostapd.8; has been added. &merged;</para>
<para>The <filename>netif</filename> script now supports
<varname>ipv4_addrs_<replaceable>ifn</replaceable></varname>,
which adds one or more IPv4 address from a ranged list in
CIRD notation. &merged; For example:</para>
<programlisting>ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"</programlisting>
<para>The <filename>rcconf.sh</filename> in <filename>/etc/rc.d</filename>
has been removed and a variable <varname>early_late_divider</varname>,
which designates the script to separate the early and late stages
of the boot process, has been added.</para>
<para>The <filename>rc.initdiskless</filename> now uses &man.tar.1;
instead of &man.pax.1; because the &man.pax.1; needs a writable
temporary directory.</para>
<para>The <filename>pccard</filename> script has been removed
since OLDCARD is deprecated.</para>
<para>The <filename>ppp-user</filename> script has been renamed to
<filename>ppp</filename>. &merged;</para>
<para>The <varname>removable_interfaces</varname> variable
has been removed.</para>
<para>A new keyword <literal>NOAUTO</literal> in
<varname>ifconfig_<replaceable>ifn</replaceable></varname>
has been added. This prevents configuration of an interface
at boot time or via <filename>/etc/pccard_ether</filename>,
and allows <filename>/etc/rc.d/netif</filename>
to be used to start and stop an interface
on a purely manual basis.</para>
</sect3>
</sect2>
<sect2 id="contrib">
<title>Contributed Software</title>
<para><application>BIND</application> has been updated from 9.3.1
to 9.3.2. &merged;</para>
<para><application>BSNMPD</application> has been updated from
1.11 to 1.12.</para>
<para><application>GNU Readline library</application>
has been updated from 5.0 to 5.1.</para>
<para><application>GNU Troff</application>
has been updated from version 1.19 to version 1.19.2.
&merged;</para>
<para><application>IPFilter</application> has been updated from
4.1.8 to 4.1.10.</para>
<para><application>OpenSSH</application> has been updated from
4.2p1 to 4.3p1.</para>
<para><application>hostapd</application>
has been updated from version 0.3.9 to version 0.4.8.
&merged;</para>
<para><application>sendmail</application> has been updated from
8.13.4 to 8.13.6. &merged;</para>
<para>The timezone database has been updated from the
<application>tzdata2005l</application> release to the
<application>tzdata2005r</application> release. &merged;</para>
<para><application>WPA Supplicant</application>
has been updated from version 0.3.9 to version 0.4.8.
&merged;</para>
<para><application>zlib</application>
has been updated from version 1.2.2 to version 1.2.3.</para>
</sect2>
<sect2 id="ports">
<title>Ports/Packages Collection Infrastructure</title>
<para>The &man.pkg.add.1; now supports an <option>-F</option>
flag to disable checking whether the same package is already
installed or not.</para>
<para>The &man.pkg.add.1; program now supports an <option>-P</option>
flag, which is the same as the <option>-p</option> flag
except that the given prefix is also used recursively for the
dependency packages if any. &merged;</para>
<para>The &man.pkg.add.1; and &man.pkg.create.1; utilities now support
a <option>-K</option> flag to save packages to the current directory
(or <varname>PKGDIR</varname> if defined) by default.
&merged;</para>
<para>The &man.pkg.create.1; program now supports an <option>-x</option>
flag to support basic regular expressions for package name,
an <option>-E</option> flag for extended regular
expressions, and a <option>-G</option> for exact matching. &merged;</para>
<para>The &man.pkg.version.1; utility now supports an <option>-o</option>
flag to show the origin recorded on package generation
instead of the package name, and an <option>-O</option> flag
to list packages whose registered origin is origin only.
&merged;</para>
<para>The &man.portsnap.8; utility (<filename>sysutils/portsnap</filename>)
has been added into the &os; base system. This is a secure,
easy to use, fast, lightweight, and generally good way for
users to keep their ports trees up to date. &merged;</para>
<para>A incorrect handling of <varname>HTTP_PROXY_AUTH</varname>
in the &man.portsnap.8; utility has been fixed. &merged;</para>
<para>The startup scripts from the <varname>local_startup</varname>
directory now evaluated by using &man.rcorder.8; with scripts
in the base system. &merged;</para>
<para>The suffix of startup scripts from the Ports Collection
has been removed. This means <filename>foo.sh</filename>
is renamed to <filename>foo</filename>, and now
scripts whose name is something like
<filename>foo.ORG</filename> will also be invoked.
You are recommended to reinstall packages which install
such scripts and remove extra files in the
<varname>local_startup</varname> directory. &merged;</para>
<para>New <filename>rc.conf</filename> variables,
<varname>ldconfig_local_dirs</varname> and
<varname>ldconfig_local32_dirs</varname> have been added.
These hold lists of local &man.ldconfig.8; directories.
&merged;</para>
<para>The <command>@cwd</command> command in
<filename>pkg-plist</filename> now allows
no directory argument. If no
directory argument is given, it will set current
working directory to the first prefix given by the
<command>@cwd</command> command. &merged;</para>
</sect2>
<sect2 id="releng">
<title>Release Engineering and Integration</title>
<para>The default partition sizing algorithm of the
&man.sysinstall.8; utility has been changed.</para>
<itemizedlist>
<listitem>
<para>On systems where the disk capacity is larger than (3 * RAMsize + 10GB),
the default sizes will now be as follows:</para>
<informaltable frame="none" pgwide="0">
<tgroup cols="2">
<colspec colwidth="1*">
<colspec colwidth="2*">
<thead>
<row>
<entry>Partition</entry>
<entry>Size</entry>
</row>
</thead>
<tbody>
<row><entry>swap</entry><entry>RAMsize * 2</entry></row>
<row><entry><filename>/</filename></entry><entry>512 MB</entry></row>
<row><entry><filename>/tmp</filename></entry><entry>512 MB</entry></row>
<row><entry><filename>/var</filename></entry><entry>1024 MB + RAMsize</entry></row>
<row><entry><filename>/usr</filename></entry><entry>the rest (8GB or more)</entry></row>
</tbody>
</tgroup>
</informaltable>
</listitem>
<listitem>
<para>On systems where the disk capacity is larger than
(RAMsize / 8 + 2 GB), the default sizes will be
in the following ranges, with space allocated
proportionally:</para>
<informaltable frame="none" pgwide="0">
<tgroup cols="2">
<colspec colwidth="1*">
<colspec colwidth="2*">
<thead>
<row>
<entry>Partition</entry>
<entry>Size</entry>
</row>
</thead>
<tbody>
<row><entry>swap</entry><entry>from RAMsize / 8 to RAMsize * 2</entry></row>
<row><entry><filename>/</filename></entry><entry>from 256MB to 512MB</entry></row>
<row><entry><filename>/tmp</filename></entry><entry>from 128MB to 512MB</entry></row>
<row><entry><filename>/var</filename></entry><entry>from 128MB to 1024MB</entry></row>
<row><entry><filename>/usr</filename></entry><entry>from 1536MB to 8192MB</entry></row>
</tbody>
</tgroup>
</informaltable>
</listitem>
<listitem>
<para>On systems with even less disk space, the existing behavior is not
changed.</para>
</listitem>
</itemizedlist>
<para>A bug that <filename>CHECKSUM.MD5</filename> includes
an incorrect checksum of the file itself has been fixed.</para>
<para>A new &man.make.1; target <command>make showconfig</command>
has been added in <filename>src/Makefile</filename>
to show build configuration of the &os; source tree.</para>
<para>The <filename>src.conf</filename> file, which
contains settings that will apply to every build involving
the &os; source tree, has been added.
For details, see &man.build.7; and &man.src.conf.5;.</para>
<para>The supported version of
the <application>GNOME</application> desktop environment
(<filename role="package">x11/gnome2</filename>) has been
updated from 2.10.2 to 2.12.3. &merged;</para>
<para>The supported version of
the <application>KDE</application> desktop environment
(<filename role="package">x11/kde3</filename>) has been
updated from 3.4.2 to 3.5.1. &merged;</para>
<para>The supported version of
the <application>Perl</application> interpreter
(<filename role="package">lang/perl5.8</filename>) has been updated
from 5.8.7 to 5.8.8. &merged;</para>
<para>The supported version of
the <application>&xorg;</application> windowing system
(<filename role="package">x11/xorg</filename>) has been updated
from 6.8.2 to 6.9.0. &merged;</para>
</sect2>
<sect2 id="doc">
<title>Documentation</title>
<para>Documentation of existing functionality has been improved by
the addition of the following manual pages:
&man.acpi.sony.4;, &man.snd.mss.4;, &man.snd.t4dwave.4;.</para>
</sect2>
</sect1>
<sect1 id="upgrade">
<title>Upgrading from previous releases of &os;</title>
<para></para>
<important>
<para>Upgrading &os; should, of course, only be attempted after
backing up <emphasis>all</emphasis> data and configuration
files.</para>
</important>
</sect1>
|