ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6713
Committed: Thu Jul 10 12:18:18 2014 UTC (9 years, 11 months ago) by laffer1
File size: 39326 byte(s)
Log Message:
Fix a security vulnerability in the control message API.

Buffer is not properly cleared before sharing with userland.

File Contents

# Content
1 Updating Information for MidnightBSD users.
2
3 20140710:
4 Fix a vulnerability in the control message API. A buffer is not properly cleared
5 before sharing with userland.
6
7 20140701:
8 MKSH R50
9
10 20140630:
11 File 5.19
12
13 20140605:
14 Fix four security issues with OpenSSL
15
16 20140604:
17 Sendmail failed to properly set close-on-exec for open file descriptors.
18
19 ktrace page fault kernel trace entries were set to an incorrect size which resulted
20 in a leak of information.
21
22 20140430:
23 Fix a TCP reassembly bug that could result in a DOS attack
24 of the system. It may be possible to obtain portions
25 of kernel memory as well.
26
27 20140411:
28 Update zlib to 1.2.7
29
30 20140122:
31 Support for username with length 32. Previous limit was 16
32
33 20140114:
34 Fix two security vulnerabilities.
35
36 bsnmpd contains a stack overflow when sent certain queries.
37
38 bind 9.8 when using NSEC3-signed zones zones, will crash with special
39 crafted packets.
40
41 20131228:
42 Imported FreeBSD 9.2 usb stack (plus z87 patches from stable)
43
44 Updated em(4), igb(4) and ixgbe(4)
45
46 MidnightBSD now works with Z87 Intel chipsets.
47
48 20131207:
49 Remove sparc64 architecture. It hasn't been working for awhile
50 and it's not useful for desktops anymore.
51
52 20131205:
53 OpenSSH 6.4p1
54
55 20131203:
56 Perl 5.18.1 imported.
57
58 Update less to v458
59
60 20131130:
61 Remove named from base. We still include the client utilities for
62 now until replacements can be found.
63
64 20131004:
65 rarpd supports vlan(4) and has a pid flag. (from FreeBSD)
66
67 20130917:
68 Support for 65,536 routing tables was added. A new fib specific
69 field has been added to mbuf. This is an increase from 16.
70
71 20130910:
72 Security updates: (kern.osreldate 5001)
73
74 nullfs(5)
75
76 The nullfs(5) implementation of the VOP_LINK(9) VFS operation does not
77 check whether the source and target of the link are both in the same
78 nullfs instance. It is therefore possible to create a hardlink from a
79 location in one nullfs instance to a file in another, as long as the
80 underlying (source) filesystem is the same.
81
82 ifioctl
83
84 As is commonly the case, the IPv6 and ATM network layer ioctl request
85 handlers are written in such a way that an unrecognized request is
86 passed on unmodified to the link layer, which will either handle it or
87 return an error code.
88
89 Network interface drivers, however, assume that the SIOCSIFADDR,
90 SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK requests have been
91 handled at the network layer, and therefore do not perform input
92 validation or verify the caller's credentials. Typical link-layer
93 actions for these requests may include marking the interface as "up"
94 and resetting the underlying hardware.
95
96 20130824:
97 Fix a bug in sendmail 8.14.7 that interferes with how it
98 handles AAAA records interoperating with Microsoft DNS servers.
99 FreeBSD has already reported this to Sendmail and a fix
100 will be included in the next release.
101
102 Subversion 1.8.1 is now in the base system as a static
103 binary. It has limited functionality, but can be used to
104 checkout/commit code. It is named svnlite.
105
106 20130822:
107 Fix two security vulnerabilities.
108
109 Fix an integer overflow in IP_MSFILTER (IP MULTICAST).
110 This could be exploited to read memory by a user process.
111
112 When initializing the SCTP state cookie being sent in INIT-ACK chunks,
113 a buffer allocated from the kernel stack is not completely initialized.
114
115 Import xz 5.0.4
116
117 Import sqlite 3.7.17
118
119 Import BIND 9.8.5-P2
120
121 20130814:
122 mksh R48 imported.
123
124 Sendmail 8.14.7 imported.
125
126 20130717:
127 libmport bug was fixed causing hash verification to fail.
128
129 virtio(4) imported from FreeBSD 9-stable. SCSI support not
130 included.
131
132 20130612:
133 RELENG_0_4 created for 0.4. Development continues on 0.5.
134
135 20130402:
136 Update BIND and OpenSSL to resolve security advisories.
137
138 20130305:
139 MKSH R44 imported.
140
141 20130213:
142 MKSH R42b imported
143
144 20130211:
145 MKSH R42 imported
146
147 20130125:
148 MKSH R41 imported
149
150 20130122:
151 OpenSSH 5.8p2 imported
152
153 SQLite 3.7.15.2 imported
154
155 Fixed a longstanding bug in libmport extrating new index files.
156
157 20120710:
158 BSD licensed sort imported from FreeBSD-CURRENT
159
160 For now, GNU sort is installed as gnusort, but it will
161 go away in time.
162
163 20120708:
164 tcsh 6.18.01 imported.
165
166 NetBSD's iconv imported.
167
168 libc gains strnlen(3), memrchr(3), stpncpy(3).
169
170 20120612:
171 BIND security update related to CVE-2012-1667.
172
173 Zero length resource records can cause BIND to crash resulting
174 in a DOS attack or information disclosure.
175
176 20120407:
177 mksh R40f (fixes regression)
178
179 20120328:
180 mksh R40e
181
182 Perl 5.14.2
183
184 20120229:
185 cpucontrol(8) and cpuctl(4) added from FreeBSD 7-stable.
186
187 20120209:
188 mDNSResponder 333.10 imported
189
190 20111227:
191 import raid5 module for GEOM, graid5(8)
192
193 This is experimental and known to use a lot of kernel
194 memory.
195
196 20111223:
197 telnetd: fix a root exploit from a fixed buffer that was not checked
198
199 pam: don't allow escape from policy path. Exploitable in KDE, etc.
200
201 Fix pam_ssh module:
202
203 If the pam_ssh module is enabled, attackers may be able to gain access
204 to user accounts which have unencrypted SSH private keys.
205
206 This has to due with the way that openssl works. It ignores unencrpted data.
207
208 Fix security issue with chroot and ftpd.
209
210 nsdispatch(3) doesn't know it's working in a chroot and some
211 operations can cause files to get reloaded causing a security
212 hole in things like ftpd.
213
214 20111217:
215 libdialog/dialog upgraded to an lgpl version. As it's not
216 backwardly compatable, include the old libdialog as libodialog
217
218 20111212:
219 mksh r40d imported
220
221 20111210:
222 re(4) and rl(4) updated to support new chips.
223
224 GEOM synced with FreeBSD 7-stable.
225
226 MidnightBSD GPT partition types created in sys/gpt.h and
227 setup in boot loader and GEOM.
228
229 amdsbwd(4) (amd watchdog for south bridge) updated to support
230 8xx series chipset.
231
232 20111207:
233 import bsd grep from FreeBSD/OpenBSD.
234
235 MK_BSD_GREP controls which grep is installed
236 as grep with the other as bsdgrep or gnugrep.
237
238 20111122:
239 mksh vR40c imported.
240
241 20111117:
242 BIND 9.6 ESV R5 P1
243
244 20111107:
245 tzdata 2011n
246
247 20111026:
248 mDNSResponder v320
249
250 BIND 9.6 ESV R5
251
252 20111022:
253 cflow 0.0.6 imported
254
255 20111020:
256 less v436 imported
257
258 amdsbwd(4) AMD southbridge watchdog
259
260 20111019:
261 awk 20110810 imported
262
263 et(4) Agere Gigabit Ethernet/Fast Ethernet driver added, but
264 not included in GENERIC kernel. The kernel module needs
265 testing before we can include it in GENERIC.
266
267 intr_bind code ported to allow an IRQ to be bound to one
268 specific CPU core.
269
270 20111017:
271 Time Zone Data v. 2011l (Released 10 October 2011)
272
273 Updated list of countries (iso3166) to work with new timezone data.
274
275 20111015:
276 Introduce CPU Affinity in MidnightBSD. cpuset(1) can be used
277 to control which core or group of cores can be used for a given
278 process. Several new system calls were added to support this
279 functionality in the running kernel and for 32bit binary
280 compatibility on amd64.
281
282 The scheduler default has been changed to ULE in i386 and
283 amd64. Changes were made to both schedulers (4BSD AND ULE)
284 for this feature.
285
286 This work is based on Jeff Roberson's FreeBSD 7.1 patches.
287
288 20111004:
289 Fix a problem with unix socket handling caused by the recent
290 patch to unix socket path handling. This allows network
291 apps to work under the linuxolator again.
292
293 20111001:
294 Import libfetch & fetch(1) from FreeBSD 9. Passive FTP is
295 now default and an environment variable must be set to use
296 active.
297
298 20110930:
299 Introduce quirks handling for several umass devices including
300 USB cameras. Add workaround for Cyberpower UPS devices.
301
302 Bring in further bug fixes from FreeBSD and NetBSD for alc(4).
303 Stale ip/tcp header pointers are no longer used, lockups fixed
304 when network cable is unplugged on bootup, enable TX checksum
305 offloading.
306
307 Add a new man page for gcache(8), a useful geom class when
308 working with large raid3 sets.
309
310 Restore previous workaround for Cypress pata storage controller.
311
312 20110929:
313 Sync ath(4) with FreeBSD 7.3.
314
315 The following modules are no longer available, and should be
316 removed from loader.conf:
317 ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample
318
319 alc(4) would hibernate when a cable was unplugged and often
320 required bring the interface down and up to "wake up" so that
321 a connection could be established. Disable hibernation.
322
323 20110928:
324 Fix security issues with gzip and compress related to .Z
325 files that are corrupted.
326
327 Fix path validation with unix domain sockets.
328
329 20110917:
330 Remove dependance on mports perl for generating releases as
331 it's in the base system.
332
333 20110914:
334 Import xz 5.0.3 with liblzma 5.0.3
335
336 20110813:
337 synced the sparc64 GENERIC kernel configuration with amd64.
338
339 20110806:
340 sqlite 3.7.7.1 imported
341
342 msearch(1), libmsearch and msearch.import added. msearch(1) provides
343 a full text search command line tool. libmsearch can also be used
344 to build a graphical based search in the future. You can enable
345 index building for msearch in periodic.conf or manually run the
346 /usr/libexec/msearch.index tool. Full text indexes take considerable
347 space in /var. I'm using approximately 500MB currently.
348
349 Fix a long standing bug with the periodic script to check package
350 versions. This will be obsolete with mport though.
351
352 20110710:
353 kdb_enter_why added to MidnightBSD to allow the kernel debugger to
354 know why it's in use and thus script can be run.
355
356 Yet another problem with the perl manifest was fixed
357
358 20110709:
359 cpufreq(1) is a new utility to monitor CPU frequency which may change
360 with use of powerd(8) and cpufreq(4).
361
362 20110612:
363 Update mksh to R40
364
365 Catch up ObsoleteFiles.inc to remove Perl 5.10.x. Good to run when
366 updating current (cd /usr/src && make check-old)
367
368 20110528:
369 Fix CVE-2011-1910 in BIND 9.6.x. This affects caching resolvers.
370
371 20110526:
372 newfs:
373 Raised the default blocksize for UFS/FFS filesystems from
374 16K to 32K and the default fragment size from 2K to 4K.
375
376 This should slightly imporve performance on "advanced format"
377 hard drives such as the WD EARS drives. Drives of this type
378 have emulation modes that slow down with lower sizes. Of course
379 the drive must still be aligned properly when using fdisk.
380
381 20110521:
382 mport tool now has a deleteall command. This can be used to remove
383 all packages from a system.
384
385 A few bugs with the perl 5.14 import have been fixed.
386
387 20110518:
388 Perl 5.14.0
389
390 20110517:
391 Sendmail 8.14.5
392
393 20110314:
394 DRM/DRI code updated to support newer video cards. (FreeBSD 7.1)
395
396 cdevpriv wrappers added
397
398 nss_mdns hack introduced to work around linking problem.
399
400 dnsextd fixed after update to mDNSResponder code.
401
402 20110308:
403 Introduce liblzma & xz 5.0.1 to the base system
404
405 Patch for OpenSSL security issue CVE-2011-0014.
406
407 "OSREVISION 4004"
408
409 nsswitch module for multicast dns (nss_mdns) added.
410
411 tzdata2011c
412
413 20110220:
414 cam(4) syncronized with FreeBSD 7.3.
415
416 20110219:
417 amdtemp(4) updated to support sensors framework.
418
419 20110217:
420 Perl 5.10.1 imported
421
422 20110216:
423 Introduce igb(4) and split Intel Gigabit Ethernet adapters between
424 igb(4) and em(4). Newer devices use igb(4). The code has moved
425 to sys/dev/e1000 for both devices in the kernel. igb(4) has
426 been placed in GENERIC on i386 and amd64.
427
428 Update bfe(4) to support newer devices and WOL.
429
430 20110215:
431 age(4) added.
432
433 20110208:
434 BIND 9.6.3 which fixes a bug with DNSSEC records getting added.
435
436 20110206:
437 eeemon(4) added to monitor Asus Eee PC.
438
439 20110205:
440 OpenSSH 5.7p1
441
442 GNU sort 6.9 (coreutils)
443
444 20110203:
445 one true awk 20100523 imported
446
447 sqlite 3.7.5
448
449 OpenSSL 0.9.8q
450
451 20110202:
452 tcsh 6.17.00
453
454 file 5.05
455
456 20110122:
457 Import it(4) and lm(4), with support for Super I/O hardware monitors. This
458 uses the sensors framework ported by Constantine A. Murenin (GSOC2007)
459
460 20110120:
461 BIND 9.6.2-P3
462
463 sudo 1.7.4-p6
464
465 20110115:
466 Add experimental jme(4) for Jmicron ethernet devices.
467
468 20101130:
469 A double free exists in the SSL client ECDH handling code, when
470 processing specially crafted public keys with invalid prime
471 numbers. [CVE-2010-2939]
472
473 20101120:
474 Several portions of the kernel and userland code related to UFS file
475 systems (and UFS2) cannot properly handle inode counts above 2^31 due
476 to use of int types. Based on a patch from FreeBSD, I've modified
477 our UFS2 implementation to handle unsigned values for inode counts
478 which should allow for file systems greater than 16TB.
479
480 newfs and growfs was also modified.
481
482 20101110:
483 Fix a security issue with pseudofs which could result in running code in kernel
484 context or a kernel panic depending on system configuration. This affects file
485 systems such as procfs for instance.
486
487 20101021:
488 sysrc is a utility to print and modify name/value pairs in /etc/rc.conf easily.
489 This is similar to functions present in many linux distros. The utility was
490 written by Devin Teske for FreeBSD.
491
492 20100920:
493 bzip2 security patch for integer overflow.
494
495 20100905:
496 MidnightBSD RELENG_0_3 branch created. Aggressive development continues here
497 for 0.4.
498
499 20100902:
500 Fix a security issue with libutil that allows users to bypass cpu limits in
501 login.conf in some cases. This combined with OpenSSH for example can allow
502 the user to get more resources than they're allowed.
503
504 20100822:
505 Import Apple's mDNSResponder (mdnsd).
506
507 20100814:
508 libdispatch added to MidnightBSD. This provides functionality found in
509 Mac OS X's GCD. We do not have blocks support yet. As this code is
510 licensed under Apache 2, we create a new MK_APACHE option so that
511 it's not required for all users to run code under a license they
512 may not like.
513
514 20100713:
515 mbuf readonly fix related to sendfile(2) data corruption.
516
517 20100704:
518 brainfuck(1) imported from MirBSD.
519
520 20100505:
521 zlib 1.2.5
522
523 20100430:
524 Sudo 1.7.2p6 imported
525
526 20100321:
527 Update zlib to 1.2.4
528
529 20100319:
530 Removed i586 from default i386 generic kernel.
531
532 20100317:
533 Update to tzdata2010e (time zones). This includes changes in
534 Mexico.
535
536 Add support for several newer sound cards via hda including
537 ATI and Realtek chipsets.
538
539 20100313:
540 CPU detection has been changed. VIA Padlock detection added.
541
542 20100312:
543 Fix a number of bugs and compiler warnings in libmport. Handle
544 plus signs in paths for mport.check-fake
545
546 20100311:
547 mksh R39c
548
549 20100309:
550 Sudo 1.7.2p5
551
552 sqlite3 3.6.23
553
554 mksh R39b
555
556 libffi (ffi) 3.0.9
557
558 20100206:
559 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
560 properly pass arguments to ld.
561
562 re(4) and rl(4) have been updated to support several new
563 realtek chipsets. Performance has been improved on re(4).
564
565 20100204:
566 Fix a bug cropping up on AMD64 MidnightBSD with sftp
567 segfaulting.
568
569 20100116:
570 Import ash changes from FreeBSD (bin/sh) 8-Stable.
571
572 BIND 9.6.1-P2
573
574 20100110:
575 Import Sendmail 8.14.4. Fix for SSL vulnerability.
576
577 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
578 install libc before doing a full buildworld when upating from 0.2 or
579 older current systems.
580
581 kqueue(2) was modified to support portions of libdispatch functionality.
582
583 20100106:
584 Bind security update. Fix a bug with DNSSEC that causes negative
585 cache entries and thus a possible DNS cache poisoning attack.
586
587 Fix a bug in ZFS that can reset permissions on system crashes.
588
589 20091228:
590 amdtemp(4) was added. It allows one to monitor to the temperature
591 of an AMD CPU such as a Phenom.
592
593 20091205:
594 OpenSSL security fix
595
596 The SSL version 3 and TLS protocols support session renegotiation without
597 cryptographically tying the new session parameters to the old parameters.
598
599 20091128:
600 OpenBSD sensors framework imported including sensorsd(8)
601
602 20091126:
603 OpenNTPD 4.4 import
604
605 Update OpenSSH to 5.3p1
606
607 mksh R39
608
609 20091124:
610 cpdup updated from DragonFly to 1.15
611
612 tzdata2009s updated with latest timezone data for November 2009.
613
614 20091010:
615 amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
616 to test current.
617
618 Revert unicode filename fixes from ntfs code. This was causing chaos
619 on amd64 systems.
620
621 20091006:
622 Update timezone data with tzdata2009n with the Pakistan and
623 Argentina changes.
624
625 Sync several userland utilities with versions from FreeBSD 7.0 in
626 sbin and usr.sbin.
627
628 20090919:
629 Update timezone data with tzdate2009m from September 2009.
630
631 20090729:
632 Patch for Bind 9 security vulnerability. a dynmaic update packet
633 can trigger an assertion and cause named to exit
634
635 20090606:
636 Remove PCC from the base system. This compiler will not work
637 as a system compiler for us as we've got some userland investment
638 in C++ code and may have Objective-C in the future. We're stuck
639 with a solution that supports these three languages at a minimum.
640
641 I had wanted to keep it as an optional compiler because it is
642 fast, however too many users want to try to use it for the base
643 system which makes no sense.
644
645 A hack was added for Cypress based usb hard drive enclosures to
646 the kernel. This should cut down on commands it claims to support
647 but does not (at the cam layer). Found while testing ZFS on
648 an external device.
649
650 20090520:
651 The powerd daemon no longer starts automatically to improve
652 compatibility with many systems. However, there is a new
653 installer option in the startup section to enable it. This
654 makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
655 out my new Phenom too.
656
657 20090502:
658 OpenSSH 5.2p1 import
659
660 ale(4) connected to the build. (kernel module only)
661
662 20090501:
663 Imported makefs utility from NetBSD/FreeBSD
664
665 20090422:
666 OpenSSL security update
667
668 The function ASN1_STRING_print_ex does not properly validate the lengths
669 of BMPString or UniversalString objects before attempting to print them.
670
671 20090415:
672 Created a Symbol.map for libc/ohash symbols
673
674 Updated several usr/bin usr/sbin utilities.
675
676 Corrected a bug with Makefile.inc1 causing the bootstrap
677 tools to fail.
678
679 20090405:
680 xorg 7.4 wants to configure its input devices via hald which does not
681 yet work with USB. If the keyboard/mouse does not work in xorg then
682 add
683 Option "AllowEmptyInput" "off"
684 to your ServerLayout section. This will cause X to use the configured
685 kbd and mouse sections from your xorg.conf
686
687 20090403:
688 mksh was disconnected a few day ago do to bugs with
689 buildworld and mports. Now, connect it back
690 for use as /bin/sh with a conditional called
691 MK_ASH. By default, ash is the standard /bin/sh
692 but we may change this later. This will allow further
693 testing by users and developers of mksh without
694 causing an unpleasant default experience. In the
695 long run, we need to fix mksh compatibility.
696
697 20090328:
698 Bring in mksh R37 from CVS. The dot.mkshrc files for root
699 and skel were changed. mksh(1) now replaces ash aka sh(1)
700 as the default /bin/sh. Please report bugs with
701 ports, etc. The ash code will remain in the repo for awhile
702 as I decide if we'll add something like MK_SHELL_ASH as
703 an optional build parameter.
704
705 ahd was disconnected from the lint environment until
706 the compiler bug is sorted (by updating gcc?)
707
708 Remove freebsd-tips from fortune files and change the
709 default for login and profile.
710
711 20090327:
712 Update libarchive to 2.5.5, tar, and add bsdcpio.
713
714 Also previously, ctriv has been connecting Perl 5.10
715 to the build (part of os). This will have an impact
716 on mports.
717
718 20090325:
719 Update Bind to 9.4.3-P1
720
721 Update mksh to R36b
722
723 Update tcpdump to 3.9.8, fix libpcap to work with current.
724
725 Update pnpinfo, sync with FreeBSD.
726
727 20090115:
728 Fix a problem with DNSSEC and BIND.
729
730 20090110:
731 For applications using OpenSSL for SSL connections, an invalid SSL
732 certificate may be interpreted as valid. This could for example be
733 used by an attacker to perform a man-in-the-middle attack.
734
735 Other applications which use the OpenSSL EVP API may similarly be
736 affected.
737
738 Stop cross site request forgery attacks in lukemftpd
739
740 20090104:
741 Import GNU libreadline 5.2
742
743 20090101:
744 Update time zone data to 2008i.
745
746 20081231:
747 Correct a problem where bluetooth and netgraph sockets are not
748 properly initialized.
749
750 Happy 2009.
751
752 20081206:
753 Due to the massive change in the underlying system under way,
754 we're naming the next release 1.0. The sys/sys/param.h was
755 changed accordingly. ipfilter and ncurses were corrected
756 using __MidnightBSD__ tests in the code.
757
758 The GENERIC kernel config was caught up on i386 today. Consider
759 i386 still broken, but amd64 is running again.
760
761 mdoc.local was updated with the new MidnightBSD version info.
762
763 batt(1) was rewritten in C. It now supports several flags and
764 runs about 8 times faster on my laptop. The default output
765 shows the number of minutes of battery life remaining and the
766 percentage. You can use -u to display the number of batteries or
767 -c to get script friendly output. Consult the man page for more.
768
769 20081204:
770 Work has completed on importing ZFS, jemalloc, several
771 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
772 support, improved locking for file desc., audit (openbsm),
773 openssl .98e, nfe, imporved intel high def audio, midi, updated
774 intel gigabit (em), support for several wifi cards (intel), ...
775
776 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
777 data from param.h instead of the FreeBSD version. This means
778 testing is now possible in the ports tree for the version
779 and that any ports or code relying on the FreeBSD version from
780 sys/sys/param.h will need to be fixed.
781
782 20080905:
783 update nve(4) to support new hardware.
784
785 20080801:
786 Import OpenBSM 1.0
787
788 Modify src/release to create 3 isos instead of 2 for packages.
789
790 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
791
792 Many ia64, alpha, powerpc items were removed.
793
794 The recent diffutils 2.8.7 import was fixed.
795
796 20080703:
797 pcc was not installed properly when setting DESTDIR for live cds,
798 or posibly jails.
799
800 20080627:
801 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
802
803 Add glabel to GENERIC.
804
805 Intel ICH8 mobile chipset used on some iMacs included with ata.
806
807 pcc connected to the build on i386. (alternative compiler)
808
809 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
810
811 20080528:
812 Sendmail 8.14.3
813
814 20080516:
815 ssh-vulnkey allows you to look for vulnerable ssh keys that
816 were generated on Debian and Ubuntu hosts over the last
817 few years. sshd can block offending keys with a configuration
818 option.
819
820 The elf note on binaries is now set to MidnightBSD.
821
822 20080514:
823 Fixed a number of problems with pcc. It is not yet connected
824 to the build, but usable on i386 hosts. You may use it
825 by make; make install in /usr/src/usr.bin/pcc. It will
826 install in /usr/local as some of the files conflict with
827 GCC versions. __MidnightBSD__ is defined in PCC as well.
828
829 System headers were fixed to allow pcc to compile many binaries
830 on MidnightBSD. bin/cp will work now for instance.
831
832 20080430:
833 __MidnightBSD__ is now defined via gcc. This can be tested
834 to determine we're running on MidnightBSD in the preprocessor.
835
836 20080429:
837 Import bind 9.4.2 with threading
838
839 libpthread (KSE) and libthr are built earlier
840
841 pcvt(4) removed!
842
843 Alias added for core2 cpus.
844
845 Alpha and PC98 only utilities removed from usr/sbin
846
847 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
848 improved. See the man pages for info.
849
850 periodic scripts will not send emails with empty message bodies.
851 See mailwrapper fix.
852
853 20080410:
854 Sync cpdup with DragonFly. Add parallel transaction support and
855 -l flag to line-buffer stdout and stderr.
856
857 20080406:
858 Import bzip2 1.05
859 Import OpenSSH 4.9p1
860
861 20080322:
862 The default umask was changed to 022.
863
864 /usr/X11R6 paths were removed from several config files.
865
866 .mkshrc files are now installed for root.
867
868 20080316:
869 FIx a problem with gif0 tunnels and neighbors with IPV6.
870
871 20080312:
872 Add lndir from X.org. This aides in the porting of MirPorts.
873
874 New OS versions were added to the mapage code (groff)
875
876 20080310:
877 Correct a buffer overflow in ppp.
878
879 20080308:
880 Remove /usr/X11R6 from manpath config.
881
882 20080307:
883 Atheros driver no longer has several options set
884 which corrects building in tinderbox on all three platforms.
885
886 Added a new macro to sx.h which returns true if the current
887 thread holds an exclusive lock on a specifix sx.
888
889 Removed OS/2's HPFS file system. It's not maintained and
890 I don't know anyone using OS/2 or ecomstation these days.
891 My copy is in the closet collecting dust.
892
893 20080306:
894 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
895 Developers can now use it to check src builds.
896
897 20080303:
898 Add mksh to /etc/shells, made some adjustments to options
899 for mksh builds per suggestion upstream.
900
901 USB HID table updated with modern hardware list.
902
903 Updated BSD family true (we're not in there yet)
904
905 iso3166 file updated and import of tzdata2007k for
906 new time zones.
907
908 Updated mksh to latest version R33.
909
910 20080228:
911 Remplaced the random IP id generation code with a new
912 version by Amit Klein.
913
914 20080221:
915 Sendfile write only permissions fix.
916
917 Removed some HPFS and PC98 code.
918
919 iso639 file sycned with DragonFly.
920
921 20080128:
922 Changed NTP configuration so that ips aren't cached
923 so multiple servers are used.
924
925 Fix an issue with fork() in libpthread.
926
927 20080121:
928 Add virtualization detection to set the HZ rate
929 according to a VM present. VMWare and Parallels
930 should work better like this.
931
932 Change to full x11 install in sysinstall. Add
933 xorg 7 support.
934
935 20080115:
936 Fix the handling of PTY's. CVE-2008-0216
937
938 20080105:
939 mport delete code added, USE_MPORT_TOOLS knob aded.
940
941 20080101:
942 Happy New Year
943
944 20071123:
945 Update sendmail to 8.14.2
946
947 20071120:
948 Update system compiler to gcc 3.4.6.
949
950 20071023:
951 Updated mksh to R31d.
952
953 20070911:
954 Updated mksh to version R31b.
955
956 Fixed stderr output in libpthread. Previously it was
957 written to stdout.
958
959 20070831:
960 Added dot.mkshrc file to support the recent change to
961 mksh from OpenBSD's ksh derived from pdksh.
962
963 Added new firewall configuration. ipfw is enabled by default
964 with a "desktop" configuration. Consult /etc/rc.firewall
965 or ipfw show to see the ruleset used. You can disable
966 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
967 change only effects IPv4. IPv6 does not have a firewall
968 enabled by default.
969
970 20070814:
971 Removed GNU tar source. We've been using BSD tar
972 for awhile.
973
974 20070806:
975 Finished removing umapfs and autofs from the tree.
976
977 20070804:
978 BIND and Tcpdump have been patched for recent vulnerabilities.
979
980 We switched to BSD cpio (pax).
981
982 20070719:
983 Imported cpdup from DragonFly as /bin/cpdup
984
985 20070716:
986 Update GNU cpio to 2.8.
987
988 20070410:
989 cvs was updated to 1.12.13. cvsbug was removed.
990 cvs now behaves similarly to DragonFly's cvs with
991 most of their local changes.
992
993 20070409:
994 RELENG_0_1 was created. More aggresive changes will
995 continue here.
996
997 20070406:
998 Back out propolice. propolice caused several problems
999 with our threading libraries libthr and libpthread.
1000 curthread was often NULL after the patch and many
1001 multithreaded applications would crash. We plan to
1002 work on either bringing in gcc 4.1 or developing a new
1003 patch which also corrects our threading issues later.
1004
1005 It is more important to have a stable system for our
1006 mport work and other projects at this time.
1007
1008 This is not a clean removal. It is recommended that you
1009 have a recently SNAP CD handy. You can either reinstall
1010 or perform a make buildworld and make buildkernel and
1011 make installkernel. Reboot on the cd and copy the contents
1012 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
1013 /usr/lib, and /usr/libexec to the respective directories on
1014 your disk. Then you should be able to boot into single user
1015 mode and run make installworld. You will need to run
1016 chflags noschg on some of the files if you can't overwrite
1017 them.
1018
1019 You will get __guard missing errors since we had to remove
1020 this from libc.
1021
1022 You will need to rebuild any ports built while propolice was
1023 installed.
1024
1025 20070401:
1026 Importing propolice into MidnightBSD. Propolice is going to
1027 provide us with much greater security and stability in the
1028 long run. If upgrading from a pre-propolice system, please
1029 follow the these instructions:
1030
1031 cd /usr/src/lib/libc && make obj && make && make install
1032 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
1033 cd /usr/src/lib/libpthread && make obj && make && make install
1034 cd /usr/src/lib/libthr && make obj && make && make install
1035 buildworld and kernel
1036
1037 It is adviced that any mports which were installed and/or built
1038 prior to the propolice update also be updated. If any errors
1039 or issue are encounted, please contact security@midnightbsd.org
1040 and we will be sure to investigate and come up with an expeditious
1041 fix.
1042
1043 20070314:
1044 Remove send-pr from src.
1045
1046 Switch to NetBSD's gzip.
1047
1048 Bump MBSD minor revision.
1049
1050 20070313:
1051 Imported OpenSSH 4.6p1.
1052
1053 Imported FreeBSD's libarchive and updated tar to work with it.
1054
1055 Disabled debug statements cluttering up /var/log/messages for
1056 the tcp autobuf patch applied previously.
1057
1058 20070312:
1059 Synced several audio changes from FreeBSD 6.1. Removed the
1060 BSD Daemon files from src/share.
1061
1062 20070308:
1063 Added mfi which supports LSI Logic MegaRAID SAS devices including
1064 the Dell perc5i.
1065
1066 20070206:
1067 Imported OpenBSD's sudo into source. Please install
1068 /usr/src/usr.bin/sudo/lib first before building.
1069
1070 Those who install from a snapshot after this date
1071 will not be effected.
1072
1073 20070119:
1074 Added audit group. Be sure to add audit to your /etc/group file
1075 before installing world.
1076
1077 hostapd was updated to 0.4.8.
1078
1079 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
1080 unbreak world.
1081
1082 wpa_supplicant was updated.
1083
1084 For stability and compatibility reasons, it was decided that MidnightBSD
1085 sync with FreeBSD 6.1 Release. Nearly every change between the original
1086 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
1087 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
1088 will not sync every little change with FreeBSD.
1089
1090 20061231:
1091 Updated COPYRIGHT for 2007.
1092
1093 Updated and bumped libutil after importing NetBSD efun(3) functions.
1094
1095 Added MidnightBSD_version and bumped the FreeBSD version as we've
1096 synced all commits between the fork and that version. It is now safe
1097 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
1098 Feb 26, 2006.
1099
1100 Added spell(1) and deroff(1) from NetBSD. Also added additional
1101 dict files to work with it. /usr/share/dict/american,
1102 /usr/share/dict/british and /usr/share/dict/special/math
1103
1104 Numerous man page and bug fixes.
1105
1106 20061226:
1107 Setup /usr/share/examples/cvsup SUPfiles for the new
1108 MidnightBSD CVSup server.
1109
1110 Fix a bug in burncd where it would continue forever while
1111 erasing CDRW media.
1112
1113 Add csup to /usr/bin. csup is a CVSup replacement written
1114 in C.
1115
1116 Fixed a bug with bsnmpd build from Oct 30.
1117
1118 Corrected some race conditions and fixed a few bugs in
1119 geom. Imported changes from FreeBSD RELENG_6.
1120
1121 20061225:
1122 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
1123 that caused long double to long and long long
1124 conversion of negative numbers to always result in -1.
1125
1126 20061221:
1127 Fixed acpi_battery.c to not report an ERROR if no
1128 batteries are present.
1129
1130 Performed some minor updates on the RL and RE NIC drivers.
1131 RL should no longer panic when trying to print errors.
1132
1133 Corrected a bug with TTY.
1134
1135 20061218:
1136 Corrected a bug with libpthread where newly created suspended
1137 threads don't get scheduled.
1138
1139 20061206:
1140 Fixed a typo with the firewire security patch.
1141
1142 20061129:
1143 Minor cleanups to utilities in bin.
1144
1145 Fixed msdos file system short file name behavior to match
1146 FreeBSD.
1147
1148 20061031:
1149 Updated man pages in section 7.
1150
1151 20061030:
1152 Updated sys/dev/drm to support intel 915 and radeon
1153 r300 cards properly.
1154
1155 Synced snmpd with FreeBSD-stable.
1156
1157 Fixed a bug in rm which could cause data loss.
1158
1159 20061027:
1160 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
1161 random, kbdmux, atkbd, and usb were updated. Changes
1162 to clearing registers on SSE enabled processors (i386)
1163 commited.
1164
1165 lukemftpd updated.
1166
1167 openssh rc script was altered which effects initial
1168 seeding.
1169
1170 20061014:
1171 Workaround for em driver problem on shared IRQ.
1172
1173 Started removal of alpha support.
1174
1175 20061013:
1176 ATA driver was updated. USB/USB1/USB2 types added.
1177
1178 20061010:
1179 OpenSSH was updated to 4.4p1.
1180
1181 20060909:
1182 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
1183 the old ntpd daemon.
1184
1185 cat has a new option -D which allows you to timestamp output
1186 on a per line basis.
1187
1188 The kernel has a keyboard mux which allows you to have multiple
1189 keyboard connected simultaneously. USB keyboard support was also
1190 improved with this patch.
1191
1192 The Intel em driver was updated. Network performance was greatly
1193 increased on many systems. Additional models are supported.
1194
1195 The ATA driver was patched to fix a potential deadlock.
1196
1197 Bind was patched to fix a potential denial of service condition.
1198
1199 20060817:
1200 ksh has been added to the base system. If you previously had
1201 the port installed, it will be overwritten on the next buildworld.
1202
1203
1204
1205 To build a kernel
1206 -----------------
1207 If you are updating from a prior version of MidnightBSD (even one just
1208 a few days old), you should follow this procedure. With a
1209 /usr/obj tree with a fresh buildworld,
1210 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
1211 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
1212
1213 To test a kernel once
1214 ---------------------
1215 If you just want to boot a kernel once (because you are not sure
1216 if it works, or if you want to boot a known bad kernel to provide
1217 debugging information) run
1218 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
1219 nextboot -k testkernel
1220
1221 To just build a kernel when you know that it won't mess you up
1222 --------------------------------------------------------------
1223 This assumes you are already running a 6.X system. Replace
1224 ${arch} with the architecture of your machine (e.g. "i386",
1225 "amd64", "ia64", "pc98", "sparc64", etc).
1226
1227 cd src/sys/${arch}/conf
1228 config KERNEL_NAME_HERE
1229 cd ../compile/KERNEL_NAME_HERE
1230 make depend
1231 make
1232 make install
1233
1234 If this fails, go to the "To build a kernel" section.
1235
1236 To rebuild everything and install it on the current system.
1237 -----------------------------------------------------------
1238 # Note: sometimes if you are running current you gotta do more than
1239 # is listed here if you are upgrading from a really old current.
1240
1241 <make sure you have good level 0 dumps>
1242 make buildworld
1243 make kernel KERNCONF=YOUR_KERNEL_HERE
1244 [1]
1245 <reboot in single user> [3]
1246 mergemaster -p [5]
1247 make installworld
1248 make delete-old
1249 mergemaster [4]
1250 <reboot>
1251
1252
1253 To cross-install current onto a separate partition
1254 --------------------------------------------------
1255 # In this approach we use a separate partition to hold
1256 # current's root, 'usr', and 'var' directories. A partition
1257 # holding "/", "/usr" and "/var" should be about 2GB in
1258 # size.
1259
1260 <make sure you have good level 0 dumps>
1261 <boot into -stable>
1262 make buildworld
1263 make buildkernel KERNCONF=YOUR_KERNEL_HERE
1264 <maybe newfs current's root partition>
1265 <mount current's root partition on directory ${CURRENT_ROOT}>
1266 make installworld DESTDIR=${CURRENT_ROOT}
1267 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
1268 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
1269 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
1270 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
1271 <reboot into current>
1272 <do a "native" rebuild/install as described in the previous section>
1273 <maybe install compatibility libraries from src/lib/compat>
1274 <reboot>
1275
1276
1277 To upgrade in-place from 5.x-stable or higher to 6.x-stable
1278 -----------------------------------------------------------
1279 <make sure you have good level 0 dumps>
1280 make buildworld [9]
1281 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
1282 [1]
1283 <reboot in single user> [3]
1284 mergemaster -p [5]
1285 make installworld
1286 make delete-old
1287 mergemaster -i [4]
1288 <reboot>
1289
1290 Make sure that you've read the UPDATING file to understand the
1291 tweaks to various things you need. At this point in the life
1292 cycle of current, things change often and you are on your own
1293 to cope. The defaults can also change, so please read ALL of
1294 the UPDATING entries.
1295
1296 Also, if you are tracking -current, you must be subscribed to
1297 freebsd-current@freebsd.org. Make sure that before you update
1298 your sources that you have read and understood all the recent
1299 messages there. If in doubt, please track -stable which has
1300 much fewer pitfalls.
1301
1302 [1] If you have third party modules, such as vmware, you
1303 should disable them at this point so they don't crash your
1304 system on reboot.
1305
1306 [3] From the bootblocks, boot -s, and then do
1307 fsck -p
1308 mount -u /
1309 mount -a
1310 cd src
1311 adjkerntz -i # if CMOS is wall time
1312 Also, when doing a major release upgrade, it is required that
1313 you boot into single user mode to do the installworld.
1314
1315 [4] Note: This step is non-optional. Failure to do this step
1316 can result in a significant reduction in the functionality of the
1317 system. Attempting to do it by hand is not recommended and those
1318 that pursue this avenue should read this file carefully, as well
1319 as the archives of freebsd-current and freebsd-hackers mailing lists
1320 for potential gotchas.
1321
1322 [5] Usually this step is a noop. However, from time to time
1323 you may need to do this if you get unknown user in the following
1324 step. It never hurts to do it all the time.
1325
1326 [8] In order to have a kernel that can run the 5.x binaries
1327 needed to do an installworld, you must include the COMPAT_FREEBSD5
1328 option in your kernel. Failure to do so may leave you with a system
1329 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
1330 is required to run the 5.x binaries on more recent kernels.
1331
1332 Make sure that you merge any new devices from GENERIC since the
1333 last time you updated your kernel config file.
1334
1335 [9] When checking out sources, you must include the -P flag to have
1336 cvs prune empty directories.
1337
1338 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
1339 "?=" instead of the "=" assignment operator, so that buildworld can
1340 override the CPUTYPE if it needs to.
1341
1342 MAKEOBJDIRPREFIX must be defined in an environment variable, and
1343 not on the command line, or in /etc/make.conf. buildworld will
1344 warn if it is improperly defined.
1345
1346 Copyright information:
1347
1348 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
1349
1350 Redistribution, publication, translation and use, with or without
1351 modification, in full or in part, in any form or format of this
1352 document are permitted without further permission from the author.
1353
1354 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
1355 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1356 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1357 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
1358 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1359 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1360 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1361 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1362 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1363 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1364 POSSIBILITY OF SUCH DAMAGE.
1365
1366 If you find this document useful, and you want to, you may buy the
1367 author a beer.
1368
1369 Contact Warner Losh if you have any questions about your use of
1370 this document.
1371
1372 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
1373 $MidnightBSD$

Properties

Name Value
svn:keywords MidnightBSD=%H