ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 9196
Committed: Thu Nov 3 11:37:50 2016 UTC (7 years, 6 months ago) by laffer1
File size: 60920 byte(s)
Log Message:
document patch

File Contents

# Content
1 Updating Information for MidnightBSD users.
2
3 20161103:
4 OpenSSL security patch
5
6 Due to improper handling of alert packets, OpenSSL would consume an excessive
7 amount of CPU time processing undefined alert messages.
8
9 20161015:
10 libarchive 3.2.1
11
12 xz 5.2.2
13
14 20161013:
15 Sync ZFS code with Illuminos/FreeBSD 9.2. Added support for
16 feature flags, pool version 5000. This also includes some
17 bug fixes and performance optimizations.
18
19 20160925:
20 Import NetBSD vis(3) and unvis(3) as well as mtree.
21
22 one-true-awk 20121220
23
24 inetd now honors kern.ipc.somaxconn value.
25
26 netmap synced with FreeBSD 9.2
27
28 linuxolator now has dtrace probes.
29
30 bsdgrep now correctly handles -m to exclude only one file.
31
32 UFS file systems can now be resized in read-write mode due to the new
33 write suspension feature.
34
35 Basic support added for Intel Raid Recover Technology.
36
37 GMIRROR & GRAID3 now mark volumes clean on shutdown earlier to help with ZFS issues.
38
39 Highpoint hpt27xx now in GENERIC kernel.
40
41 20160923:
42 Security update for OpenSSL
43
44 A malicious client can send an excessively large OCSP Status Request extension.
45 If that client continually requests renegotiation, sending a large OCSP Status
46 Request extension each time, then there will be unbounded memory growth on the
47 server. [CVE-2016-6304]
48
49 An overflow can occur in MDC2_Update() either if called directly or through
50 the EVP_DigestUpdate() function using MDC2. If an attacker is able to supply
51 very large amounts of input data after a previous call to EVP_EncryptUpdate()
52 with a partial block then a length check can overflow resulting in a heap
53 corruption. [CVE-2016-6303]
54
55 If a server uses SHA512 for TLS session ticket HMAC it is vulnerable to a
56 DoS attack where a malformed ticket will result in an OOB read which will
57 ultimately crash. [CVE-2016-6302]
58
59 The function BN_bn2dec() does not check the return value of BN_div_word().
60 This can cause an OOB write if an application uses this function with an
61 overly large BIGNUM. This could be a problem if an overly large certificate
62 or CRL is printed out from an untrusted source. TLS is not affected because
63 record limits will reject an oversized certificate before it is parsed.
64 [CVE-2016-2182]
65
66 The function TS_OBJ_print_bio() misuses OBJ_obj2txt(): the return value is
67 the total length the OID text representation would use and not the amount
68 of data written. This will result in OOB reads when large OIDs are presented.
69 [CVE-2016-2180]
70
71 Some calculations of limits in OpenSSL have used undefined pointer arithmetic.
72 This could cause problems with some malloc implementations. [CVE-2016-2177]
73
74 Operations in the DSA signing algorithm should run in constant time in order to
75 avoid side channel attacks. A flaw in the OpenSSL DSA implementation means that
76 a non-constant time codepath is followed for certain operations. [CVE-2016-2178]
77
78 In a DTLS connection where handshake messages are delivered out-of-order those
79 messages that OpenSSL is not yet ready to process will be buffered for later
80 use. Under certain circumstances, a flaw in the logic means that those messages
81 do not get removed from the buffer even though the handshake has been completed.
82 An attacker could force up to approx. 15 messages to remain in the buffer when
83 they are no longer required. These messages will be cleared when the DTLS
84 connection is closed. The default maximum size for a message is 100k. Therefore
85 the attacker could force an additional 1500k to be consumed per connection.
86 [CVE-2016-2179]
87
88 A flaw in the DTLS replay attack protection mechanism means that records that
89 arrive for future epochs update the replay protection "window" before the MAC
90 for the record has been validated. This could be exploited by an attacker by
91 sending a record for the next epoch (which does not have to decrypt or have a
92 valid MAC), with a very large sequence number. This means that all subsequent
93 legitimate packets are dropped causing a denial of service for a specific
94 DTLS connection. [CVE-2016-2181]
95
96 In OpenSSL 1.0.2 and earlier some missing message length checks can result in
97 OOB reads of up to 2 bytes beyond an allocated buffer. There is a theoretical
98 DoS risk but this has not been observed in practice on common platforms.
99 [CVE-2016-6306]
100
101 20160918:
102 With the addition of auditdistd(8), a new auditdistd user is now
103 depended on during installworld. "mergemaster -p" can be used to add
104 the user prior to installworld.
105
106 The VFS KBI was changed with the merge of several nullfs
107 optimizations and fixes. All filesystem modules must be
108 recompiled.
109
110 20160916:
111 The random(4) support for the VIA hardware random number
112 generator (`PADLOCK') is no longer enabled unconditionally.
113 Add the PADLOCK_RNG option in the custom kernel config if
114 needed. The GENERIC kernels on i386 and amd64 do include the
115 option, so the change only affects the custom kernel
116 configurations.
117
118 A new version of ZFS (pool version 5000) has been merged.
119 Starting with this version the old system of ZFS pool versioning
120 is superseded by "feature flags". This concept enables forward
121 compatibility against certain future changes in functionality of ZFS
122 pools. The first two read-only compatible "feature flags" for ZFS
123 pools are "com.delphix:async_destroy" and "com.delphix:empty_bpobj".
124 For more information read the new zpool-features(7) manual page.
125 Please refer to the "ZFS notes" section of this file for information
126 on upgrading boot ZFS pools.
127
128 20160906:
129 Add support for the MosChip MCS9904 four serial ports
130 controller.
131
132 Add support for walltimestamp in DTrace.
133
134 Various gdb improvments.
135
136 ZFS
137 Import the zio nop-write improvement from Illumos. To reduce I/O,
138 nop-write omits overwriting data if the checksum (cryptographically
139 secure) of new data matches the checksum of existing data.
140 It also saves space if snapshots are in use.
141
142 It currently works only on datasets with enabled compression, disabled
143 deduplication and sha256 checksums.
144
145 Add loader(8) tunable to enable/disable nopwrite functionality:
146 vfs.zfs.nopwrite_enabled
147
148 Introduce a new dataset aclmode setting "restricted" to protect ACL's
149 being destroyed or corrupted by a drive-by chmod.
150
151 New loader-only tunables:
152 vfs.zfs.sync_pass_deferred_free
153 vfs.zfs.sync_pass_dont_compress
154 vfs.zfs.sync_pass_rewrite
155
156 chkgrp(8) add support for q flag
157
158 Fix problem with the Samsung 840 PRO series SSD detection.
159 The device reports support for SATA Asynchronous Notification in its
160 IDENTIFY data, but returns error on attempt to enable that feature.
161 Make SATA XPT of CAM only report these errors, but not fail the device.
162
163 20160905:
164 Add a resource limit for the total number of kqueues
165 available to the user. Kqueue now saves the ucred of the
166 allocating thread, to correctly decrement the counter on close.
167 Based on FreeBSD SVN 256849
168
169 Import netcat from OpenBSD 5.2
170
171 20160904:
172 Introduced experimental TCP sysctls starting with
173 net.inet.tcp.experimental.initcwnd10
174
175 20160814:
176 switched default desktop port to midnightbsd-desktop. This gives us flexibility to change it
177 in the release after the fact.
178
179 tzdata 2016a
180
181 20160811:
182 libdispatch 210
183
184 Added quirks for several models of SSDs to enable advanced format/4k mode. List includes
185 Samsung 830, 840, 850 and 750 series, Intel x25 and a few Toshiba models. Also
186 added WD Red drives.
187
188 Updated list of pci device vendors.
189
190 Updated list of usb devices.
191
192 20160807:
193 Implement several changes to libmport to fix some memory corruption issues.
194
195 20160806:
196 sqlite3 3.13.0
197
198 20160805:
199 Merged fixes for libmport that improve error handling when installing packages. Also
200 support mkdir -p like behavior for plist entries.
201
202 20160531:
203 Fix four security issues with MidnightBSD.
204
205 The implementation of TIOCGSERIAL ioctl(2) does not clear the output
206 struct before sending to userland in the linux emulation layer.
207
208 The compat 43 stat(2) system call exposes kernel stack to userland.
209
210 libarchive - CVE-2015-2304 and CVE-2013-0211 fix issues with
211 cpio directory traversal and an integer signedness error in the archive
212 write zip data routine.
213
214
215 20160528:
216 Fixed minor issues with mined(1) and msearch(1).
217
218 20160526:
219 Add support for Ivybridge and Haswell Intel CPUs to hwpmc(4).
220
221 Fix libpmc(3) build with clang compiler.
222
223 20160519:
224 Kernel Security updates
225
226 atkbd(4) - Incorrect signedness comparison in the ioctl(2) handler allows a malicious
227 local user to overwrite a portion of the kernel memory.
228
229 Incorrect argument handling in sendmsg(2)
230
231 Incorrect argument handling in the socket code allows malicious local
232 user to overwrite large portion of the kernel memory.
233
234 20160505:
235 OpenSSL security patch
236
237 The padding check in AES-NI CBC MAC was rewritten to be in constant time
238 by making sure that always the same bytes are read and compared against
239 either the MAC or padding bytes. But it no longer checked that there was
240 enough data to have both the MAC and padding bytes. [CVE-2016-2107]
241
242 An overflow can occur in the EVP_EncodeUpdate() function which is used for
243 Base64 encoding of binary data. [CVE-2016-2105]
244
245 An overflow can occur in the EVP_EncryptUpdate() function, however it is
246 believed that there can be no overflows in internal code due to this problem.
247 [CVE-2016-2106]
248
249 When ASN.1 data is read from a BIO using functions such as d2i_CMS_bio()
250 a short invalid encoding can casuse allocation of large amounts of memory
251 potentially consuming excessive resources or exhausting memory.
252 [CVE-2016-2109]
253
254 20160412:
255 0.8 stable branch created. Continue development as 0.9.
256
257 Fix several issues with wait6 system call addition.
258
259 20160409:
260 libmport now supports two new plist formats:
261 @(root,wheel,4775) myfile
262 @dir(root,wheel,775) mydir
263
264 On delete, absoluate paths are now handled properly.
265
266 20160317:
267 OpenSSH doesn't have the luck of the Irish.
268
269 Fix a security issue with OpenSSH X11 forwarding that can allow an attacker
270 run shell commands on the call to xauth.
271
272 Incorrect argument validation in sysarch(2)
273
274 A special combination of sysarch(2) arguments, specify a request to
275 uninstall a set of descriptors from the LDT. The start descriptor
276 is cleared and the number of descriptors are provided. Due to invalid
277 use of a signed intermediate value in the bounds checking during argument
278 validity verification, unbound zero'ing of the process LDT and adjacent
279 memory can be initiated from usermode.
280
281 Patch obtained from FreeBSD.
282
283 20160229:
284 top now displays information on ZFS arc cache.
285
286 20160228:
287 llvm + clang 3.3 is now the default compiler in MidnightBSD.
288
289 20160222:
290 Introduce pipe2 to linux emulation layer.
291
292 20160114:
293 OpenSSL
294
295 The signature verification routines will crash with a NULL pointer dereference
296 if presented with an ASN.1 signature using the RSA PSS algorithm and absent
297 mask generation function parameter. [CVE-2015-3194]
298
299 When presented with a malformed X509_ATTRIBUTE structure, OpenSSL will leak
300 memory. [CVE-2015-3195]
301
302 If PSK identity hints are received by a multi-threaded client then the values
303 are incorrectly updated in the parent SSL_CTX structure. [CVE-2015-3196]
304
305 Fix security on bsnmpd configuration file during installation.
306
307 TCP MD5 signature denial of service
308
309 A programming error in processing a TCP connection with both TCP_MD5SIG
310 and TCP_NOOPT socket options may lead to kernel crash.
311
312 SCTP
313
314 A lack of proper input checks in the ICMPv6 processing in the SCTP stack
315 can lead to either a failed kernel assertion or to a NULL pointer
316 dereference. In either case, a kernel panic will follow.
317
318 20160102:
319 Happy New Year
320
321 20151101:
322 Increase kern.ipc.somaxconn default to 256.
323
324 20151017:
325 Add initial statistics api to libmport and a driver to print
326 it in mport(1).
327
328 20151002:
329 Revised rpcbind(8) patch to fix issues with NIS
330
331 20150930:
332 In rpcbind(8), netbuf structures are copied directly, which would result in
333 two netbuf structures that reference to one shared address buffer. When one
334 of the two netbuf structures is freed, access to the other netbuf structure
335 would result in an undefined result that may crash the rpcbind(8) daemon.
336
337 20150926:
338 libmport now supports @preexec, @postexec, @preunexec and @postunexec
339 to replace @exec and @unexec.
340
341 pre exec runs afer pre-install scripts but before actual installation
342
343 post exec runs after install but before post install scripts and
344 pkg message.
345
346 pre unexec runs before pre uninstall scripts
347
348 post unexec runs before de-install scripts and after file removal.
349
350 20150917:
351 Fix kqueue write events for files > 2GB
352
353 20150825:
354 kernel:
355 fix a security issue on amd64 where the GS segment CPU register can be changed via
356 userland value in kernel mode by using an IRET with #SS or #NP exceptions.
357
358 openssh:
359 A programming error in the privileged monitor process of the sshd(8)
360 service may allow the username of an already-authenticated user to be
361 overwritten by the unprivileged child process.
362
363 A use-after-free error in the privileged monitor process of he sshd(8)
364 service may be deterministically triggered by the actions of a
365 compromised unprivileged child process.
366
367 A use-after-free error in the session multiplexing code in the sshd(8)
368 service may result in unintended termination of the connection.
369
370 20150818:
371 expat security fix
372
373 20150815:
374 libc changes:
375 setmode(3) now returns errno consistently on error.
376 libc will compile without error using clang
377
378 20150814:
379 wait6 system call added.
380
381 date(1) now handles non numeric numbers passed to -r
382 like GNU coreutils for improved compatibility.
383
384 20150811:
385 ata(4) AMD Hudson2 SATA controller support.
386 Intel lynxpoint SATA.
387
388 Fix some const warnings when building several device drivers
389 with llvm/clang.
390
391 Sync cas(4) with FreeBSD 9-stable.
392
393 Fix some minor issues with ath(4).
394
395 20150809:
396 xz 5.0.8
397
398 20150808:
399 libmport now logs installation and removal of packages to syslog.
400
401 20150805:
402 routed - fix a potential security issue where traffic from outside
403 the network can disrupt routing.
404
405 bsd patch - fix a bug with ed(1) scripts allowing unsanitized input
406 to run.
407
408 20150802:
409 jansson 2.7 library added. (libjansson is a JSON library in C)
410
411 20150728:
412 Heimdal 1.5.2 (kerberos implementation)
413
414 OpenSSL 1.0.1o
415
416 cpucontrol(8) now supports VIA CPUs. Synced with FreeBSD 9.2.
417
418 TCP Resassemly resource exhaustion bug:
419 There is a mistake with the introduction of VNET, which converted the
420 global limit on the number of segments that could belong to reassembly
421 queues into a per-VNET limit. Because mbufs are allocated from a
422 global pool, in the presence of a sufficient number of VNETs, the
423 total number of mbufs attached to reassembly queues can grow to the
424 total number of mbufs in the system, at which point all network
425 traffic would cease.
426 Obtained from: FreeBSD 8
427
428 OpenSSH
429
430 Fix two security vulnerabilities:
431 OpenSSH clients does not correctly verify DNS SSHFP records when a server
432 offers a certificate. [CVE-2014-2653]
433
434 OpenSSH servers which are configured to allow password authentication
435 using PAM (default) would allow many password attempts. A bug allows
436 MaxAuthTries to be bypassed. [CVE-2015-5600]
437
438
439 Switch to bsdpatch (from FreeBSD & OpenBSD)
440
441 20150726:
442 BSD Sort updated
443
444 sqlite 3.8.10.2
445
446 20150725:
447 Import reallocarray from OpenBSD's libc.
448
449 The reallocarray() function is similar to realloc() except it operates on
450 nmemb members of size size and checks for integer overflow in the
451 calculation nmemb * size.
452
453 20150722:
454 Fix a bug where TCP connections transitioning to LAST_ACK
455 state can get stuck. This can result in a denial of service.
456
457 20150715:
458 libmport now supports @shell and @sample in plists. This means that
459 a shell port can automatically add an entry to /etc/shells and remove
460 it upon uninstallation. For sample files, a copy is made without the
461 .sample extension if one does not exist and it is removed automatically
462 only if the md5 hash of the two files is the same.
463
464 20150709:
465 flex 2.5.39
466
467 20150702:
468 ZFS in MidnightBSD now supports lz4 compression. You can enable it
469 with zfs set compression=lz4 pool/path.
470
471 Verify it's working with
472 zfs get compressratio pool/path
473 du -h -s *
474
475 Note you must write new data when turning on compression to see
476 changes. Existing files are not compressed.
477
478 Note: While we used the same basic implementation of lz4 that
479 FreeBSD and OpenZFS uses, we did not yet implement features support
480 and the zfs version still reports 28. This may come in a future update
481 to ZFS.
482
483 20150621:
484 libmport now automatically stops services when deleting packages.
485
486 The package must have installed an rc.d script in /usr/local/etc
487 for this to work. This is equivalent to running service <name> onestop
488
489 20150618:
490 Sendmail
491
492 With the recent changes to OpenSSL to block 512 bit certificates,
493 sendmail can't connect with TLS to some servers.
494
495 Increase the default size to 1024 bit for client connections to
496 match the server configuration.
497
498 ZFS
499
500 Added ZFS TRIM support which is enabled by default. To disable
501 ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf.
502
503 Creating new ZFS pools and adding new devices to existing pools
504 first performs a full device level TRIM which can take a significant
505 amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0
506 to disable this behaviour.
507
508 ZFS TRIM requires the underlying device support BIO_DELETE which
509 is currently provided by methods such as ATA TRIM and SCSI UNMAP
510 via CAM, which are typically supported by SSD's.
511
512 Stats for ZFS TRIM can be monitored by looking at the sysctl's
513 under kstat.zfs.misc.zio_trim.
514
515 rc.d
516
517 Reworked handling of cleanvar and FILESYSTEMS so that FILESYSTEMS
518 implies everything is mounted and ready to go.
519
520 Changed how ip6addressctl maps IPv6 on startup.
521
522 20150613:
523 tzdata 2015d
524
525 20150612:
526 OpenSSL 0.9.8zg
527
528 20150419:
529 MidnightBSD 0.6 stable branch created. Continue 0.7
530 development.
531
532 20150418:
533 sqlite 3.8.9
534
535 20150407:
536 Fix two security vulnerabilities:
537
538 The previous fix for IGMP had an overflow issue. This has been corrected.
539
540 ipv6: The Neighbor Discover Protocol allows a local router to advertise a
541 suggested Current Hop Limit value of a link, which will replace
542 Current Hop Limit on an interface connected to the link on the MidnightBSD
543 system.
544
545 20150319:
546 OpenSSL 0.9.8.zf
547
548 mksh R50e
549
550 Apple mDNSResponder 561.1.1
551
552 20150306:
553 Upgrade OpenSSL to 0.9.8ze
554
555 20150225:
556 Fix two security vulnerabilities.
557
558 1. BIND servers which are configured to perform DNSSEC validation and which
559 are using managed keys (which occurs implicitly when using
560 "dnssec-validation auto;" or "dnssec-lookaside auto;") may exhibit
561 unpredictable behavior due to the use of an improperly initialized
562 variable.
563
564 CVE-2015-1349
565
566 2. An integer overflow in computing the size of IGMPv3 data buffer can result
567 in a buffer which is too small for the requested operation.
568
569 This can result in a DOS attack.
570
571 20141211:
572 Fix a security issue with file and libmagic that can allow
573 an attacker to create a denial of service attack on any
574 program that uses libmagic.
575
576 20141109:
577 Fix building perl during buildworld when the GDBM port is installed.
578
579 20141106:
580 tzdata 2014i
581
582 20141102:
583 serf 1.3.8
584
585 20141031:
586 tnftp 20141031 fixes a security vulnerability with tnftp,
587 CVE-2014-8517.
588
589 20141028:
590 OpenSSL 0.9.8zc
591
592 20141021:
593 Fix several security vulnerabilities in routed, rtsold,
594 and namei with respect to Capsicum sandboxes looking up
595 nonexistent path names and leaking memory.
596
597 The input path in routed(8) will accept queries from any source and
598 attempt to answer them. However, the output path assumes that the
599 destination address for the response is on a directly connected
600 network.
601
602 Due to a missing length check in the code that handles DNS parameters,
603 a malformed router advertisement message can result in a stack buffer
604 overflow in rtsold(8).
605
606 20141011:
607 mksh R50d - fix field splitting regression and null
608 pointer dereference
609
610 xz 5.0.7
611
612 OpenSSH 6.6p1
613
614 20141004:
615 mksh R50c - security update for environment var bug with
616 foo vs foo+
617
618 20141002:
619 sqlite 3.8.6
620
621 sudo 1.7.8 - some issues with the current version, but we're slowly
622 getting up to date.
623
624 20141001:
625 mksh R50b
626
627 libmport now supports plist commands @dir, @owner, @group, @mode.
628
629 sudo 1.7.6p2
630
631 20140916:
632 Fix a security issue with TCP SYN.
633
634 When a segment with the SYN flag for an already existing connection arrives,
635 the TCP stack tears down the connection, bypassing a check that the
636 sequence number in the segment is in the expected window.
637
638 20140909:
639 Fixed a bug with our clearenv(3) implementation that caused segfaults
640 with some programs including Dovecot.
641
642 OpenSSL security patch:
643
644 The receipt of a specifically crafted DTLS handshake message may cause OpenSSL
645 to consume large amounts of memory. [CVE-2014-3506]
646
647 The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak
648 memory. [CVE-2014-3507]
649
650 A flaw in OBJ_obj2txt may cause pretty printing functions such as
651 X509_name_oneline, X509_name_print_ex et al. to leak some information from
652 the stack. [CVE-2014-3508]
653
654 OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to
655 a denial of service attack. [CVE-2014-3510]
656
657 20140902:
658 We're now 0.6-CURRENT
659
660 Update USB quirks to support K70 Corsair keyboard, and several
661 other devices.
662
663 20140827:
664 Perl 5.18.2
665
666 20140728:
667 Jails now run shutdown scripts.
668
669 20140710:
670 Fix a vulnerability in the control message API. A buffer is not properly cleared
671 before sharing with userland.
672
673 20140701:
674 MKSH R50
675
676 20140630:
677 File 5.19
678
679 20140605:
680 Fix four security issues with OpenSSL
681
682 20140604:
683 Sendmail failed to properly set close-on-exec for open file descriptors.
684
685 ktrace page fault kernel trace entries were set to an incorrect size which resulted
686 in a leak of information.
687
688 20140430:
689 Fix a TCP reassembly bug that could result in a DOS attack
690 of the system. It may be possible to obtain portions
691 of kernel memory as well.
692
693 20140411:
694 Update zlib to 1.2.7
695
696 20140122:
697 Support for username with length 32. Previous limit was 16
698
699 20140114:
700 Fix two security vulnerabilities.
701
702 bsnmpd contains a stack overflow when sent certain queries.
703
704 bind 9.8 when using NSEC3-signed zones zones, will crash with special
705 crafted packets.
706
707 20131228:
708 Imported FreeBSD 9.2 usb stack (plus z87 patches from stable)
709
710 Updated em(4), igb(4) and ixgbe(4)
711
712 MidnightBSD now works with Z87 Intel chipsets.
713
714 20131207:
715 Remove sparc64 architecture. It hasn't been working for awhile
716 and it's not useful for desktops anymore.
717
718 20131205:
719 OpenSSH 6.4p1
720
721 20131203:
722 Perl 5.18.1 imported.
723
724 Update less to v458
725
726 20131130:
727 Remove named from base. We still include the client utilities for
728 now until replacements can be found.
729
730 20131004:
731 rarpd supports vlan(4) and has a pid flag. (from FreeBSD)
732
733 20130917:
734 Support for 65,536 routing tables was added. A new fib specific
735 field has been added to mbuf. This is an increase from 16.
736
737 20130910:
738 Security updates: (kern.osreldate 5001)
739
740 nullfs(5)
741
742 The nullfs(5) implementation of the VOP_LINK(9) VFS operation does not
743 check whether the source and target of the link are both in the same
744 nullfs instance. It is therefore possible to create a hardlink from a
745 location in one nullfs instance to a file in another, as long as the
746 underlying (source) filesystem is the same.
747
748 ifioctl
749
750 As is commonly the case, the IPv6 and ATM network layer ioctl request
751 handlers are written in such a way that an unrecognized request is
752 passed on unmodified to the link layer, which will either handle it or
753 return an error code.
754
755 Network interface drivers, however, assume that the SIOCSIFADDR,
756 SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK requests have been
757 handled at the network layer, and therefore do not perform input
758 validation or verify the caller's credentials. Typical link-layer
759 actions for these requests may include marking the interface as "up"
760 and resetting the underlying hardware.
761
762 20130824:
763 Fix a bug in sendmail 8.14.7 that interferes with how it
764 handles AAAA records interoperating with Microsoft DNS servers.
765 FreeBSD has already reported this to Sendmail and a fix
766 will be included in the next release.
767
768 Subversion 1.8.1 is now in the base system as a static
769 binary. It has limited functionality, but can be used to
770 checkout/commit code. It is named svnlite.
771
772 20130822:
773 Fix two security vulnerabilities.
774
775 Fix an integer overflow in IP_MSFILTER (IP MULTICAST).
776 This could be exploited to read memory by a user process.
777
778 When initializing the SCTP state cookie being sent in INIT-ACK chunks,
779 a buffer allocated from the kernel stack is not completely initialized.
780
781 Import xz 5.0.4
782
783 Import sqlite 3.7.17
784
785 Import BIND 9.8.5-P2
786
787 20130814:
788 mksh R48 imported.
789
790 Sendmail 8.14.7 imported.
791
792 20130717:
793 libmport bug was fixed causing hash verification to fail.
794
795 virtio(4) imported from FreeBSD 9-stable. SCSI support not
796 included.
797
798 20130612:
799 RELENG_0_4 created for 0.4. Development continues on 0.5.
800
801 20130402:
802 Update BIND and OpenSSL to resolve security advisories.
803
804 20130305:
805 MKSH R44 imported.
806
807 20130213:
808 MKSH R42b imported
809
810 20130211:
811 MKSH R42 imported
812
813 20130125:
814 MKSH R41 imported
815
816 20130122:
817 OpenSSH 5.8p2 imported
818
819 SQLite 3.7.15.2 imported
820
821 Fixed a longstanding bug in libmport extrating new index files.
822
823 20120710:
824 BSD licensed sort imported from FreeBSD-CURRENT
825
826 For now, GNU sort is installed as gnusort, but it will
827 go away in time.
828
829 20120708:
830 tcsh 6.18.01 imported.
831
832 NetBSD's iconv imported.
833
834 libc gains strnlen(3), memrchr(3), stpncpy(3).
835
836 20120612:
837 BIND security update related to CVE-2012-1667.
838
839 Zero length resource records can cause BIND to crash resulting
840 in a DOS attack or information disclosure.
841
842 20120407:
843 mksh R40f (fixes regression)
844
845 20120328:
846 mksh R40e
847
848 Perl 5.14.2
849
850 20120229:
851 cpucontrol(8) and cpuctl(4) added from FreeBSD 7-stable.
852
853 20120209:
854 mDNSResponder 333.10 imported
855
856 20111227:
857 import raid5 module for GEOM, graid5(8)
858
859 This is experimental and known to use a lot of kernel
860 memory.
861
862 20111223:
863 telnetd: fix a root exploit from a fixed buffer that was not checked
864
865 pam: don't allow escape from policy path. Exploitable in KDE, etc.
866
867 Fix pam_ssh module:
868
869 If the pam_ssh module is enabled, attackers may be able to gain access
870 to user accounts which have unencrypted SSH private keys.
871
872 This has to due with the way that openssl works. It ignores unencrpted data.
873
874 Fix security issue with chroot and ftpd.
875
876 nsdispatch(3) doesn't know it's working in a chroot and some
877 operations can cause files to get reloaded causing a security
878 hole in things like ftpd.
879
880 20111217:
881 libdialog/dialog upgraded to an lgpl version. As it's not
882 backwardly compatable, include the old libdialog as libodialog
883
884 20111212:
885 mksh r40d imported
886
887 20111210:
888 re(4) and rl(4) updated to support new chips.
889
890 GEOM synced with FreeBSD 7-stable.
891
892 MidnightBSD GPT partition types created in sys/gpt.h and
893 setup in boot loader and GEOM.
894
895 amdsbwd(4) (amd watchdog for south bridge) updated to support
896 8xx series chipset.
897
898 20111207:
899 import bsd grep from FreeBSD/OpenBSD.
900
901 MK_BSD_GREP controls which grep is installed
902 as grep with the other as bsdgrep or gnugrep.
903
904 20111122:
905 mksh vR40c imported.
906
907 20111117:
908 BIND 9.6 ESV R5 P1
909
910 20111107:
911 tzdata 2011n
912
913 20111026:
914 mDNSResponder v320
915
916 BIND 9.6 ESV R5
917
918 20111022:
919 cflow 0.0.6 imported
920
921 20111020:
922 less v436 imported
923
924 amdsbwd(4) AMD southbridge watchdog
925
926 20111019:
927 awk 20110810 imported
928
929 et(4) Agere Gigabit Ethernet/Fast Ethernet driver added, but
930 not included in GENERIC kernel. The kernel module needs
931 testing before we can include it in GENERIC.
932
933 intr_bind code ported to allow an IRQ to be bound to one
934 specific CPU core.
935
936 20111017:
937 Time Zone Data v. 2011l (Released 10 October 2011)
938
939 Updated list of countries (iso3166) to work with new timezone data.
940
941 20111015:
942 Introduce CPU Affinity in MidnightBSD. cpuset(1) can be used
943 to control which core or group of cores can be used for a given
944 process. Several new system calls were added to support this
945 functionality in the running kernel and for 32bit binary
946 compatibility on amd64.
947
948 The scheduler default has been changed to ULE in i386 and
949 amd64. Changes were made to both schedulers (4BSD AND ULE)
950 for this feature.
951
952 This work is based on Jeff Roberson's FreeBSD 7.1 patches.
953
954 20111004:
955 Fix a problem with unix socket handling caused by the recent
956 patch to unix socket path handling. This allows network
957 apps to work under the linuxolator again.
958
959 20111001:
960 Import libfetch & fetch(1) from FreeBSD 9. Passive FTP is
961 now default and an environment variable must be set to use
962 active.
963
964 20110930:
965 Introduce quirks handling for several umass devices including
966 USB cameras. Add workaround for Cyberpower UPS devices.
967
968 Bring in further bug fixes from FreeBSD and NetBSD for alc(4).
969 Stale ip/tcp header pointers are no longer used, lockups fixed
970 when network cable is unplugged on bootup, enable TX checksum
971 offloading.
972
973 Add a new man page for gcache(8), a useful geom class when
974 working with large raid3 sets.
975
976 Restore previous workaround for Cypress pata storage controller.
977
978 20110929:
979 Sync ath(4) with FreeBSD 7.3.
980
981 The following modules are no longer available, and should be
982 removed from loader.conf:
983 ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample
984
985 alc(4) would hibernate when a cable was unplugged and often
986 required bring the interface down and up to "wake up" so that
987 a connection could be established. Disable hibernation.
988
989 20110928:
990 Fix security issues with gzip and compress related to .Z
991 files that are corrupted.
992
993 Fix path validation with unix domain sockets.
994
995 20110917:
996 Remove dependance on mports perl for generating releases as
997 it's in the base system.
998
999 20110914:
1000 Import xz 5.0.3 with liblzma 5.0.3
1001
1002 20110813:
1003 synced the sparc64 GENERIC kernel configuration with amd64.
1004
1005 20110806:
1006 sqlite 3.7.7.1 imported
1007
1008 msearch(1), libmsearch and msearch.import added. msearch(1) provides
1009 a full text search command line tool. libmsearch can also be used
1010 to build a graphical based search in the future. You can enable
1011 index building for msearch in periodic.conf or manually run the
1012 /usr/libexec/msearch.index tool. Full text indexes take considerable
1013 space in /var. I'm using approximately 500MB currently.
1014
1015 Fix a long standing bug with the periodic script to check package
1016 versions. This will be obsolete with mport though.
1017
1018 20110710:
1019 kdb_enter_why added to MidnightBSD to allow the kernel debugger to
1020 know why it's in use and thus script can be run.
1021
1022 Yet another problem with the perl manifest was fixed
1023
1024 20110709:
1025 cpufreq(1) is a new utility to monitor CPU frequency which may change
1026 with use of powerd(8) and cpufreq(4).
1027
1028 20110612:
1029 Update mksh to R40
1030
1031 Catch up ObsoleteFiles.inc to remove Perl 5.10.x. Good to run when
1032 updating current (cd /usr/src && make check-old)
1033
1034 20110528:
1035 Fix CVE-2011-1910 in BIND 9.6.x. This affects caching resolvers.
1036
1037 20110526:
1038 newfs:
1039 Raised the default blocksize for UFS/FFS filesystems from
1040 16K to 32K and the default fragment size from 2K to 4K.
1041
1042 This should slightly imporve performance on "advanced format"
1043 hard drives such as the WD EARS drives. Drives of this type
1044 have emulation modes that slow down with lower sizes. Of course
1045 the drive must still be aligned properly when using fdisk.
1046
1047 20110521:
1048 mport tool now has a deleteall command. This can be used to remove
1049 all packages from a system.
1050
1051 A few bugs with the perl 5.14 import have been fixed.
1052
1053 20110518:
1054 Perl 5.14.0
1055
1056 20110517:
1057 Sendmail 8.14.5
1058
1059 20110314:
1060 DRM/DRI code updated to support newer video cards. (FreeBSD 7.1)
1061
1062 cdevpriv wrappers added
1063
1064 nss_mdns hack introduced to work around linking problem.
1065
1066 dnsextd fixed after update to mDNSResponder code.
1067
1068 20110308:
1069 Introduce liblzma & xz 5.0.1 to the base system
1070
1071 Patch for OpenSSL security issue CVE-2011-0014.
1072
1073 "OSREVISION 4004"
1074
1075 nsswitch module for multicast dns (nss_mdns) added.
1076
1077 tzdata2011c
1078
1079 20110220:
1080 cam(4) syncronized with FreeBSD 7.3.
1081
1082 20110219:
1083 amdtemp(4) updated to support sensors framework.
1084
1085 20110217:
1086 Perl 5.10.1 imported
1087
1088 20110216:
1089 Introduce igb(4) and split Intel Gigabit Ethernet adapters between
1090 igb(4) and em(4). Newer devices use igb(4). The code has moved
1091 to sys/dev/e1000 for both devices in the kernel. igb(4) has
1092 been placed in GENERIC on i386 and amd64.
1093
1094 Update bfe(4) to support newer devices and WOL.
1095
1096 20110215:
1097 age(4) added.
1098
1099 20110208:
1100 BIND 9.6.3 which fixes a bug with DNSSEC records getting added.
1101
1102 20110206:
1103 eeemon(4) added to monitor Asus Eee PC.
1104
1105 20110205:
1106 OpenSSH 5.7p1
1107
1108 GNU sort 6.9 (coreutils)
1109
1110 20110203:
1111 one true awk 20100523 imported
1112
1113 sqlite 3.7.5
1114
1115 OpenSSL 0.9.8q
1116
1117 20110202:
1118 tcsh 6.17.00
1119
1120 file 5.05
1121
1122 20110122:
1123 Import it(4) and lm(4), with support for Super I/O hardware monitors. This
1124 uses the sensors framework ported by Constantine A. Murenin (GSOC2007)
1125
1126 20110120:
1127 BIND 9.6.2-P3
1128
1129 sudo 1.7.4-p6
1130
1131 20110115:
1132 Add experimental jme(4) for Jmicron ethernet devices.
1133
1134 20101130:
1135 A double free exists in the SSL client ECDH handling code, when
1136 processing specially crafted public keys with invalid prime
1137 numbers. [CVE-2010-2939]
1138
1139 20101120:
1140 Several portions of the kernel and userland code related to UFS file
1141 systems (and UFS2) cannot properly handle inode counts above 2^31 due
1142 to use of int types. Based on a patch from FreeBSD, I've modified
1143 our UFS2 implementation to handle unsigned values for inode counts
1144 which should allow for file systems greater than 16TB.
1145
1146 newfs and growfs was also modified.
1147
1148 20101110:
1149 Fix a security issue with pseudofs which could result in running code in kernel
1150 context or a kernel panic depending on system configuration. This affects file
1151 systems such as procfs for instance.
1152
1153 20101021:
1154 sysrc is a utility to print and modify name/value pairs in /etc/rc.conf easily.
1155 This is similar to functions present in many linux distros. The utility was
1156 written by Devin Teske for FreeBSD.
1157
1158 20100920:
1159 bzip2 security patch for integer overflow.
1160
1161 20100905:
1162 MidnightBSD RELENG_0_3 branch created. Aggressive development continues here
1163 for 0.4.
1164
1165 20100902:
1166 Fix a security issue with libutil that allows users to bypass cpu limits in
1167 login.conf in some cases. This combined with OpenSSH for example can allow
1168 the user to get more resources than they're allowed.
1169
1170 20100822:
1171 Import Apple's mDNSResponder (mdnsd).
1172
1173 20100814:
1174 libdispatch added to MidnightBSD. This provides functionality found in
1175 Mac OS X's GCD. We do not have blocks support yet. As this code is
1176 licensed under Apache 2, we create a new MK_APACHE option so that
1177 it's not required for all users to run code under a license they
1178 may not like.
1179
1180 20100713:
1181 mbuf readonly fix related to sendfile(2) data corruption.
1182
1183 20100704:
1184 brainfuck(1) imported from MirBSD.
1185
1186 20100505:
1187 zlib 1.2.5
1188
1189 20100430:
1190 Sudo 1.7.2p6 imported
1191
1192 20100321:
1193 Update zlib to 1.2.4
1194
1195 20100319:
1196 Removed i586 from default i386 generic kernel.
1197
1198 20100317:
1199 Update to tzdata2010e (time zones). This includes changes in
1200 Mexico.
1201
1202 Add support for several newer sound cards via hda including
1203 ATI and Realtek chipsets.
1204
1205 20100313:
1206 CPU detection has been changed. VIA Padlock detection added.
1207
1208 20100312:
1209 Fix a number of bugs and compiler warnings in libmport. Handle
1210 plus signs in paths for mport.check-fake
1211
1212 20100311:
1213 mksh R39c
1214
1215 20100309:
1216 Sudo 1.7.2p5
1217
1218 sqlite3 3.6.23
1219
1220 mksh R39b
1221
1222 libffi (ffi) 3.0.9
1223
1224 20100206:
1225 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
1226 properly pass arguments to ld.
1227
1228 re(4) and rl(4) have been updated to support several new
1229 realtek chipsets. Performance has been improved on re(4).
1230
1231 20100204:
1232 Fix a bug cropping up on AMD64 MidnightBSD with sftp
1233 segfaulting.
1234
1235 20100116:
1236 Import ash changes from FreeBSD (bin/sh) 8-Stable.
1237
1238 BIND 9.6.1-P2
1239
1240 20100110:
1241 Import Sendmail 8.14.4. Fix for SSL vulnerability.
1242
1243 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
1244 install libc before doing a full buildworld when upating from 0.2 or
1245 older current systems.
1246
1247 kqueue(2) was modified to support portions of libdispatch functionality.
1248
1249 20100106:
1250 Bind security update. Fix a bug with DNSSEC that causes negative
1251 cache entries and thus a possible DNS cache poisoning attack.
1252
1253 Fix a bug in ZFS that can reset permissions on system crashes.
1254
1255 20091228:
1256 amdtemp(4) was added. It allows one to monitor to the temperature
1257 of an AMD CPU such as a Phenom.
1258
1259 20091205:
1260 OpenSSL security fix
1261
1262 The SSL version 3 and TLS protocols support session renegotiation without
1263 cryptographically tying the new session parameters to the old parameters.
1264
1265 20091128:
1266 OpenBSD sensors framework imported including sensorsd(8)
1267
1268 20091126:
1269 OpenNTPD 4.4 import
1270
1271 Update OpenSSH to 5.3p1
1272
1273 mksh R39
1274
1275 20091124:
1276 cpdup updated from DragonFly to 1.15
1277
1278 tzdata2009s updated with latest timezone data for November 2009.
1279
1280 20091010:
1281 amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
1282 to test current.
1283
1284 Revert unicode filename fixes from ntfs code. This was causing chaos
1285 on amd64 systems.
1286
1287 20091006:
1288 Update timezone data with tzdata2009n with the Pakistan and
1289 Argentina changes.
1290
1291 Sync several userland utilities with versions from FreeBSD 7.0 in
1292 sbin and usr.sbin.
1293
1294 20090919:
1295 Update timezone data with tzdate2009m from September 2009.
1296
1297 20090729:
1298 Patch for Bind 9 security vulnerability. a dynmaic update packet
1299 can trigger an assertion and cause named to exit
1300
1301 20090606:
1302 Remove PCC from the base system. This compiler will not work
1303 as a system compiler for us as we've got some userland investment
1304 in C++ code and may have Objective-C in the future. We're stuck
1305 with a solution that supports these three languages at a minimum.
1306
1307 I had wanted to keep it as an optional compiler because it is
1308 fast, however too many users want to try to use it for the base
1309 system which makes no sense.
1310
1311 A hack was added for Cypress based usb hard drive enclosures to
1312 the kernel. This should cut down on commands it claims to support
1313 but does not (at the cam layer). Found while testing ZFS on
1314 an external device.
1315
1316 20090520:
1317 The powerd daemon no longer starts automatically to improve
1318 compatibility with many systems. However, there is a new
1319 installer option in the startup section to enable it. This
1320 makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
1321 out my new Phenom too.
1322
1323 20090502:
1324 OpenSSH 5.2p1 import
1325
1326 ale(4) connected to the build. (kernel module only)
1327
1328 20090501:
1329 Imported makefs utility from NetBSD/FreeBSD
1330
1331 20090422:
1332 OpenSSL security update
1333
1334 The function ASN1_STRING_print_ex does not properly validate the lengths
1335 of BMPString or UniversalString objects before attempting to print them.
1336
1337 20090415:
1338 Created a Symbol.map for libc/ohash symbols
1339
1340 Updated several usr/bin usr/sbin utilities.
1341
1342 Corrected a bug with Makefile.inc1 causing the bootstrap
1343 tools to fail.
1344
1345 20090405:
1346 xorg 7.4 wants to configure its input devices via hald which does not
1347 yet work with USB. If the keyboard/mouse does not work in xorg then
1348 add
1349 Option "AllowEmptyInput" "off"
1350 to your ServerLayout section. This will cause X to use the configured
1351 kbd and mouse sections from your xorg.conf
1352
1353 20090403:
1354 mksh was disconnected a few day ago do to bugs with
1355 buildworld and mports. Now, connect it back
1356 for use as /bin/sh with a conditional called
1357 MK_ASH. By default, ash is the standard /bin/sh
1358 but we may change this later. This will allow further
1359 testing by users and developers of mksh without
1360 causing an unpleasant default experience. In the
1361 long run, we need to fix mksh compatibility.
1362
1363 20090328:
1364 Bring in mksh R37 from CVS. The dot.mkshrc files for root
1365 and skel were changed. mksh(1) now replaces ash aka sh(1)
1366 as the default /bin/sh. Please report bugs with
1367 ports, etc. The ash code will remain in the repo for awhile
1368 as I decide if we'll add something like MK_SHELL_ASH as
1369 an optional build parameter.
1370
1371 ahd was disconnected from the lint environment until
1372 the compiler bug is sorted (by updating gcc?)
1373
1374 Remove freebsd-tips from fortune files and change the
1375 default for login and profile.
1376
1377 20090327:
1378 Update libarchive to 2.5.5, tar, and add bsdcpio.
1379
1380 Also previously, ctriv has been connecting Perl 5.10
1381 to the build (part of os). This will have an impact
1382 on mports.
1383
1384 20090325:
1385 Update Bind to 9.4.3-P1
1386
1387 Update mksh to R36b
1388
1389 Update tcpdump to 3.9.8, fix libpcap to work with current.
1390
1391 Update pnpinfo, sync with FreeBSD.
1392
1393 20090115:
1394 Fix a problem with DNSSEC and BIND.
1395
1396 20090110:
1397 For applications using OpenSSL for SSL connections, an invalid SSL
1398 certificate may be interpreted as valid. This could for example be
1399 used by an attacker to perform a man-in-the-middle attack.
1400
1401 Other applications which use the OpenSSL EVP API may similarly be
1402 affected.
1403
1404 Stop cross site request forgery attacks in lukemftpd
1405
1406 20090104:
1407 Import GNU libreadline 5.2
1408
1409 20090101:
1410 Update time zone data to 2008i.
1411
1412 20081231:
1413 Correct a problem where bluetooth and netgraph sockets are not
1414 properly initialized.
1415
1416 Happy 2009.
1417
1418 20081206:
1419 Due to the massive change in the underlying system under way,
1420 we're naming the next release 1.0. The sys/sys/param.h was
1421 changed accordingly. ipfilter and ncurses were corrected
1422 using __MidnightBSD__ tests in the code.
1423
1424 The GENERIC kernel config was caught up on i386 today. Consider
1425 i386 still broken, but amd64 is running again.
1426
1427 mdoc.local was updated with the new MidnightBSD version info.
1428
1429 batt(1) was rewritten in C. It now supports several flags and
1430 runs about 8 times faster on my laptop. The default output
1431 shows the number of minutes of battery life remaining and the
1432 percentage. You can use -u to display the number of batteries or
1433 -c to get script friendly output. Consult the man page for more.
1434
1435 20081204:
1436 Work has completed on importing ZFS, jemalloc, several
1437 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
1438 support, improved locking for file desc., audit (openbsm),
1439 openssl .98e, nfe, imporved intel high def audio, midi, updated
1440 intel gigabit (em), support for several wifi cards (intel), ...
1441
1442 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
1443 data from param.h instead of the FreeBSD version. This means
1444 testing is now possible in the ports tree for the version
1445 and that any ports or code relying on the FreeBSD version from
1446 sys/sys/param.h will need to be fixed.
1447
1448 20080905:
1449 update nve(4) to support new hardware.
1450
1451 20080801:
1452 Import OpenBSM 1.0
1453
1454 Modify src/release to create 3 isos instead of 2 for packages.
1455
1456 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
1457
1458 Many ia64, alpha, powerpc items were removed.
1459
1460 The recent diffutils 2.8.7 import was fixed.
1461
1462 20080703:
1463 pcc was not installed properly when setting DESTDIR for live cds,
1464 or posibly jails.
1465
1466 20080627:
1467 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
1468
1469 Add glabel to GENERIC.
1470
1471 Intel ICH8 mobile chipset used on some iMacs included with ata.
1472
1473 pcc connected to the build on i386. (alternative compiler)
1474
1475 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
1476
1477 20080528:
1478 Sendmail 8.14.3
1479
1480 20080516:
1481 ssh-vulnkey allows you to look for vulnerable ssh keys that
1482 were generated on Debian and Ubuntu hosts over the last
1483 few years. sshd can block offending keys with a configuration
1484 option.
1485
1486 The elf note on binaries is now set to MidnightBSD.
1487
1488 20080514:
1489 Fixed a number of problems with pcc. It is not yet connected
1490 to the build, but usable on i386 hosts. You may use it
1491 by make; make install in /usr/src/usr.bin/pcc. It will
1492 install in /usr/local as some of the files conflict with
1493 GCC versions. __MidnightBSD__ is defined in PCC as well.
1494
1495 System headers were fixed to allow pcc to compile many binaries
1496 on MidnightBSD. bin/cp will work now for instance.
1497
1498 20080430:
1499 __MidnightBSD__ is now defined via gcc. This can be tested
1500 to determine we're running on MidnightBSD in the preprocessor.
1501
1502 20080429:
1503 Import bind 9.4.2 with threading
1504
1505 libpthread (KSE) and libthr are built earlier
1506
1507 pcvt(4) removed!
1508
1509 Alias added for core2 cpus.
1510
1511 Alpha and PC98 only utilities removed from usr/sbin
1512
1513 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
1514 improved. See the man pages for info.
1515
1516 periodic scripts will not send emails with empty message bodies.
1517 See mailwrapper fix.
1518
1519 20080410:
1520 Sync cpdup with DragonFly. Add parallel transaction support and
1521 -l flag to line-buffer stdout and stderr.
1522
1523 20080406:
1524 Import bzip2 1.05
1525 Import OpenSSH 4.9p1
1526
1527 20080322:
1528 The default umask was changed to 022.
1529
1530 /usr/X11R6 paths were removed from several config files.
1531
1532 .mkshrc files are now installed for root.
1533
1534 20080316:
1535 FIx a problem with gif0 tunnels and neighbors with IPV6.
1536
1537 20080312:
1538 Add lndir from X.org. This aides in the porting of MirPorts.
1539
1540 New OS versions were added to the mapage code (groff)
1541
1542 20080310:
1543 Correct a buffer overflow in ppp.
1544
1545 20080308:
1546 Remove /usr/X11R6 from manpath config.
1547
1548 20080307:
1549 Atheros driver no longer has several options set
1550 which corrects building in tinderbox on all three platforms.
1551
1552 Added a new macro to sx.h which returns true if the current
1553 thread holds an exclusive lock on a specifix sx.
1554
1555 Removed OS/2's HPFS file system. It's not maintained and
1556 I don't know anyone using OS/2 or ecomstation these days.
1557 My copy is in the closet collecting dust.
1558
1559 20080306:
1560 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
1561 Developers can now use it to check src builds.
1562
1563 20080303:
1564 Add mksh to /etc/shells, made some adjustments to options
1565 for mksh builds per suggestion upstream.
1566
1567 USB HID table updated with modern hardware list.
1568
1569 Updated BSD family true (we're not in there yet)
1570
1571 iso3166 file updated and import of tzdata2007k for
1572 new time zones.
1573
1574 Updated mksh to latest version R33.
1575
1576 20080228:
1577 Remplaced the random IP id generation code with a new
1578 version by Amit Klein.
1579
1580 20080221:
1581 Sendfile write only permissions fix.
1582
1583 Removed some HPFS and PC98 code.
1584
1585 iso639 file sycned with DragonFly.
1586
1587 20080128:
1588 Changed NTP configuration so that ips aren't cached
1589 so multiple servers are used.
1590
1591 Fix an issue with fork() in libpthread.
1592
1593 20080121:
1594 Add virtualization detection to set the HZ rate
1595 according to a VM present. VMWare and Parallels
1596 should work better like this.
1597
1598 Change to full x11 install in sysinstall. Add
1599 xorg 7 support.
1600
1601 20080115:
1602 Fix the handling of PTY's. CVE-2008-0216
1603
1604 20080105:
1605 mport delete code added, USE_MPORT_TOOLS knob aded.
1606
1607 20080101:
1608 Happy New Year
1609
1610 20071123:
1611 Update sendmail to 8.14.2
1612
1613 20071120:
1614 Update system compiler to gcc 3.4.6.
1615
1616 20071023:
1617 Updated mksh to R31d.
1618
1619 20070911:
1620 Updated mksh to version R31b.
1621
1622 Fixed stderr output in libpthread. Previously it was
1623 written to stdout.
1624
1625 20070831:
1626 Added dot.mkshrc file to support the recent change to
1627 mksh from OpenBSD's ksh derived from pdksh.
1628
1629 Added new firewall configuration. ipfw is enabled by default
1630 with a "desktop" configuration. Consult /etc/rc.firewall
1631 or ipfw show to see the ruleset used. You can disable
1632 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
1633 change only effects IPv4. IPv6 does not have a firewall
1634 enabled by default.
1635
1636 20070814:
1637 Removed GNU tar source. We've been using BSD tar
1638 for awhile.
1639
1640 20070806:
1641 Finished removing umapfs and autofs from the tree.
1642
1643 20070804:
1644 BIND and Tcpdump have been patched for recent vulnerabilities.
1645
1646 We switched to BSD cpio (pax).
1647
1648 20070719:
1649 Imported cpdup from DragonFly as /bin/cpdup
1650
1651 20070716:
1652 Update GNU cpio to 2.8.
1653
1654 20070410:
1655 cvs was updated to 1.12.13. cvsbug was removed.
1656 cvs now behaves similarly to DragonFly's cvs with
1657 most of their local changes.
1658
1659 20070409:
1660 RELENG_0_1 was created. More aggresive changes will
1661 continue here.
1662
1663 20070406:
1664 Back out propolice. propolice caused several problems
1665 with our threading libraries libthr and libpthread.
1666 curthread was often NULL after the patch and many
1667 multithreaded applications would crash. We plan to
1668 work on either bringing in gcc 4.1 or developing a new
1669 patch which also corrects our threading issues later.
1670
1671 It is more important to have a stable system for our
1672 mport work and other projects at this time.
1673
1674 This is not a clean removal. It is recommended that you
1675 have a recently SNAP CD handy. You can either reinstall
1676 or perform a make buildworld and make buildkernel and
1677 make installkernel. Reboot on the cd and copy the contents
1678 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
1679 /usr/lib, and /usr/libexec to the respective directories on
1680 your disk. Then you should be able to boot into single user
1681 mode and run make installworld. You will need to run
1682 chflags noschg on some of the files if you can't overwrite
1683 them.
1684
1685 You will get __guard missing errors since we had to remove
1686 this from libc.
1687
1688 You will need to rebuild any ports built while propolice was
1689 installed.
1690
1691 20070401:
1692 Importing propolice into MidnightBSD. Propolice is going to
1693 provide us with much greater security and stability in the
1694 long run. If upgrading from a pre-propolice system, please
1695 follow the these instructions:
1696
1697 cd /usr/src/lib/libc && make obj && make && make install
1698 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
1699 cd /usr/src/lib/libpthread && make obj && make && make install
1700 cd /usr/src/lib/libthr && make obj && make && make install
1701 buildworld and kernel
1702
1703 It is adviced that any mports which were installed and/or built
1704 prior to the propolice update also be updated. If any errors
1705 or issue are encounted, please contact security@midnightbsd.org
1706 and we will be sure to investigate and come up with an expeditious
1707 fix.
1708
1709 20070314:
1710 Remove send-pr from src.
1711
1712 Switch to NetBSD's gzip.
1713
1714 Bump MBSD minor revision.
1715
1716 20070313:
1717 Imported OpenSSH 4.6p1.
1718
1719 Imported FreeBSD's libarchive and updated tar to work with it.
1720
1721 Disabled debug statements cluttering up /var/log/messages for
1722 the tcp autobuf patch applied previously.
1723
1724 20070312:
1725 Synced several audio changes from FreeBSD 6.1. Removed the
1726 BSD Daemon files from src/share.
1727
1728 20070308:
1729 Added mfi which supports LSI Logic MegaRAID SAS devices including
1730 the Dell perc5i.
1731
1732 20070206:
1733 Imported OpenBSD's sudo into source. Please install
1734 /usr/src/usr.bin/sudo/lib first before building.
1735
1736 Those who install from a snapshot after this date
1737 will not be effected.
1738
1739 20070119:
1740 Added audit group. Be sure to add audit to your /etc/group file
1741 before installing world.
1742
1743 hostapd was updated to 0.4.8.
1744
1745 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
1746 unbreak world.
1747
1748 wpa_supplicant was updated.
1749
1750 For stability and compatibility reasons, it was decided that MidnightBSD
1751 sync with FreeBSD 6.1 Release. Nearly every change between the original
1752 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
1753 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
1754 will not sync every little change with FreeBSD.
1755
1756 20061231:
1757 Updated COPYRIGHT for 2007.
1758
1759 Updated and bumped libutil after importing NetBSD efun(3) functions.
1760
1761 Added MidnightBSD_version and bumped the FreeBSD version as we've
1762 synced all commits between the fork and that version. It is now safe
1763 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
1764 Feb 26, 2006.
1765
1766 Added spell(1) and deroff(1) from NetBSD. Also added additional
1767 dict files to work with it. /usr/share/dict/american,
1768 /usr/share/dict/british and /usr/share/dict/special/math
1769
1770 Numerous man page and bug fixes.
1771
1772 20061226:
1773 Setup /usr/share/examples/cvsup SUPfiles for the new
1774 MidnightBSD CVSup server.
1775
1776 Fix a bug in burncd where it would continue forever while
1777 erasing CDRW media.
1778
1779 Add csup to /usr/bin. csup is a CVSup replacement written
1780 in C.
1781
1782 Fixed a bug with bsnmpd build from Oct 30.
1783
1784 Corrected some race conditions and fixed a few bugs in
1785 geom. Imported changes from FreeBSD RELENG_6.
1786
1787 20061225:
1788 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
1789 that caused long double to long and long long
1790 conversion of negative numbers to always result in -1.
1791
1792 20061221:
1793 Fixed acpi_battery.c to not report an ERROR if no
1794 batteries are present.
1795
1796 Performed some minor updates on the RL and RE NIC drivers.
1797 RL should no longer panic when trying to print errors.
1798
1799 Corrected a bug with TTY.
1800
1801 20061218:
1802 Corrected a bug with libpthread where newly created suspended
1803 threads don't get scheduled.
1804
1805 20061206:
1806 Fixed a typo with the firewire security patch.
1807
1808 20061129:
1809 Minor cleanups to utilities in bin.
1810
1811 Fixed msdos file system short file name behavior to match
1812 FreeBSD.
1813
1814 20061031:
1815 Updated man pages in section 7.
1816
1817 20061030:
1818 Updated sys/dev/drm to support intel 915 and radeon
1819 r300 cards properly.
1820
1821 Synced snmpd with FreeBSD-stable.
1822
1823 Fixed a bug in rm which could cause data loss.
1824
1825 20061027:
1826 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
1827 random, kbdmux, atkbd, and usb were updated. Changes
1828 to clearing registers on SSE enabled processors (i386)
1829 commited.
1830
1831 lukemftpd updated.
1832
1833 openssh rc script was altered which effects initial
1834 seeding.
1835
1836 20061014:
1837 Workaround for em driver problem on shared IRQ.
1838
1839 Started removal of alpha support.
1840
1841 20061013:
1842 ATA driver was updated. USB/USB1/USB2 types added.
1843
1844 20061010:
1845 OpenSSH was updated to 4.4p1.
1846
1847 20060909:
1848 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
1849 the old ntpd daemon.
1850
1851 cat has a new option -D which allows you to timestamp output
1852 on a per line basis.
1853
1854 The kernel has a keyboard mux which allows you to have multiple
1855 keyboard connected simultaneously. USB keyboard support was also
1856 improved with this patch.
1857
1858 The Intel em driver was updated. Network performance was greatly
1859 increased on many systems. Additional models are supported.
1860
1861 The ATA driver was patched to fix a potential deadlock.
1862
1863 Bind was patched to fix a potential denial of service condition.
1864
1865 20060817:
1866 ksh has been added to the base system. If you previously had
1867 the port installed, it will be overwritten on the next buildworld.
1868
1869
1870
1871 To build a kernel
1872 -----------------
1873 If you are updating from a prior version of MidnightBSD (even one just
1874 a few days old), you should follow this procedure. With a
1875 /usr/obj tree with a fresh buildworld,
1876 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
1877 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
1878
1879 To test a kernel once
1880 ---------------------
1881 If you just want to boot a kernel once (because you are not sure
1882 if it works, or if you want to boot a known bad kernel to provide
1883 debugging information) run
1884 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
1885 nextboot -k testkernel
1886
1887 To just build a kernel when you know that it won't mess you up
1888 --------------------------------------------------------------
1889 This assumes you are already running a 6.X system. Replace
1890 ${arch} with the architecture of your machine (e.g. "i386",
1891 "amd64", "ia64", "pc98", "sparc64", etc).
1892
1893 cd src/sys/${arch}/conf
1894 config KERNEL_NAME_HERE
1895 cd ../compile/KERNEL_NAME_HERE
1896 make depend
1897 make
1898 make install
1899
1900 If this fails, go to the "To build a kernel" section.
1901
1902 To rebuild everything and install it on the current system.
1903 -----------------------------------------------------------
1904 # Note: sometimes if you are running current you gotta do more than
1905 # is listed here if you are upgrading from a really old current.
1906
1907 <make sure you have good level 0 dumps>
1908 make buildworld
1909 make kernel KERNCONF=YOUR_KERNEL_HERE
1910 [1]
1911 <reboot in single user> [3]
1912 mergemaster -p [5]
1913 make installworld
1914 make delete-old
1915 mergemaster [4]
1916 <reboot>
1917
1918
1919 To cross-install current onto a separate partition
1920 --------------------------------------------------
1921 # In this approach we use a separate partition to hold
1922 # current's root, 'usr', and 'var' directories. A partition
1923 # holding "/", "/usr" and "/var" should be about 2GB in
1924 # size.
1925
1926 <make sure you have good level 0 dumps>
1927 <boot into -stable>
1928 make buildworld
1929 make buildkernel KERNCONF=YOUR_KERNEL_HERE
1930 <maybe newfs current's root partition>
1931 <mount current's root partition on directory ${CURRENT_ROOT}>
1932 make installworld DESTDIR=${CURRENT_ROOT}
1933 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
1934 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
1935 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
1936 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
1937 <reboot into current>
1938 <do a "native" rebuild/install as described in the previous section>
1939 <maybe install compatibility libraries from src/lib/compat>
1940 <reboot>
1941
1942
1943 To upgrade in-place from 5.x-stable or higher to 6.x-stable
1944 -----------------------------------------------------------
1945 <make sure you have good level 0 dumps>
1946 make buildworld [9]
1947 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
1948 [1]
1949 <reboot in single user> [3]
1950 mergemaster -p [5]
1951 make installworld
1952 make delete-old
1953 mergemaster -i [4]
1954 <reboot>
1955
1956 Make sure that you've read the UPDATING file to understand the
1957 tweaks to various things you need. At this point in the life
1958 cycle of current, things change often and you are on your own
1959 to cope. The defaults can also change, so please read ALL of
1960 the UPDATING entries.
1961
1962 Also, if you are tracking -current, you must be subscribed to
1963 freebsd-current@freebsd.org. Make sure that before you update
1964 your sources that you have read and understood all the recent
1965 messages there. If in doubt, please track -stable which has
1966 much fewer pitfalls.
1967
1968 [1] If you have third party modules, such as vmware, you
1969 should disable them at this point so they don't crash your
1970 system on reboot.
1971
1972 [3] From the bootblocks, boot -s, and then do
1973 fsck -p
1974 mount -u /
1975 mount -a
1976 cd src
1977 adjkerntz -i # if CMOS is wall time
1978 Also, when doing a major release upgrade, it is required that
1979 you boot into single user mode to do the installworld.
1980
1981 [4] Note: This step is non-optional. Failure to do this step
1982 can result in a significant reduction in the functionality of the
1983 system. Attempting to do it by hand is not recommended and those
1984 that pursue this avenue should read this file carefully, as well
1985 as the archives of freebsd-current and freebsd-hackers mailing lists
1986 for potential gotchas.
1987
1988 [5] Usually this step is a noop. However, from time to time
1989 you may need to do this if you get unknown user in the following
1990 step. It never hurts to do it all the time.
1991
1992 [8] In order to have a kernel that can run the 5.x binaries
1993 needed to do an installworld, you must include the COMPAT_FREEBSD5
1994 option in your kernel. Failure to do so may leave you with a system
1995 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
1996 is required to run the 5.x binaries on more recent kernels.
1997
1998 Make sure that you merge any new devices from GENERIC since the
1999 last time you updated your kernel config file.
2000
2001 [9] When checking out sources, you must include the -P flag to have
2002 cvs prune empty directories.
2003
2004 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
2005 "?=" instead of the "=" assignment operator, so that buildworld can
2006 override the CPUTYPE if it needs to.
2007
2008 MAKEOBJDIRPREFIX must be defined in an environment variable, and
2009 not on the command line, or in /etc/make.conf. buildworld will
2010 warn if it is improperly defined.
2011
2012 Copyright information:
2013
2014 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
2015
2016 Redistribution, publication, translation and use, with or without
2017 modification, in full or in part, in any form or format of this
2018 document are permitted without further permission from the author.
2019
2020 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
2021 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2022 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2023 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
2024 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2025 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2026 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2027 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2028 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2029 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2030 POSSIBILITY OF SUCH DAMAGE.
2031
2032 If you find this document useful, and you want to, you may buy the
2033 author a beer.
2034
2035 Contact Warner Losh if you have any questions about your use of
2036 this document.
2037
2038 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
2039 $MidnightBSD$

Properties

Name Value
svn:keywords MidnightBSD=%H