ıg175000 192 109 112 292 101 1188 216 232 311 129 250 311 354 99 205 376 283 191 292 274 520 184 160 117 122 271 488 379 232 210 772 334 152 203 164 179 130 123 130 186 152 160 152 164 156 1148 119 229 230 315 173 154 388 182 103 103 353 400 116 126 433 469 227 217 372 128 157 135 275 537 884 205 216 404 243 259 480 109 148 171 236 884 205 222 184 161 160 151 151 151 151 152 151 145 174 174 174 174 174 175 174 168 245 270 293 221 342 577 285 126 1659 1419 199 170 161 237 254 143 143 302 329 113 184 139 580 184 183 155 162 205 120 165 220 151 174 210 112 124 402 237 171 687 216 184 157 180 163 140 164 199 289 198 246 1380 371 714 132 333 619 191 160 183 669 103 370 1771 133 819 163 177 143 232 136 143 108 182 550 523 147 115 258 980 209 362 218 331 209 218 189 180 533 240 195 K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-12-30T11:19:29.000000Z K 7 svn:log V 15 - Update notes END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-12-30T12:27:31.000000Z K 7 svn:log V 19 Use kbdd_* macros. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-12-30T22:02:50.000000Z K 7 svn:log V 198 If we can't open a calendar file, don't guess why. Check the error return and print a useful message. Prior to this commit, access problems could give rise to messages that the file didn't exist. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-12-30T22:04:04.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-12-31T00:59:16.000000Z K 7 svn:log V 1091 Fix a bug related to sbrk() calls that could cause address space leaks. This is a long-standing bug, but until recent changes it was difficult to trigger, and even then its impact was non-catastrophic, with the exception of revision 1.157. Optimize chunk_alloc_mmap() to avoid the need for unmapping pages in the common case. Thanks go to Kris Kennaway for a patch that inspired this change. Do not maintain a record of previously mmap'ed chunk address ranges. The original intent was to avoid the extra system call overhead in chunk_alloc_mmap(), which is no longer a concern. This also allows some simplifications for the tree of unused DSS chunks. Introduce huge_mtx and dss_chunks_mtx to replace chunks_mtx. There was no compelling reason to use the same mutex for these disjoint purposes. Avoid memset() for huge allocations when possible. Maintain two trees instead of one for tracking unused DSS address ranges. This allows scalable allocation of multi-chunk huge objects in the DSS. Previously, multi-chunk huge allocation requests failed if the DSS could not be extended. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-12-31T01:16:35.000000Z K 7 svn:log V 119 Pass any unmatched slowprotocols frames up the stack instead of dropping them, there are more subtypes than just LACP. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-12-31T03:27:21.000000Z K 7 svn:log V 139 Add missing 'sc->chip_type ==' to an ugly switch statement expression so that for RealTek 8019 cards, we consider AUI as well as BNC bits. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-12-31T03:29:02.000000Z K 7 svn:log V 218 Add Winbond W89C940F to the list. Also, stub in some entries for two Holtek cards that will need some special support later, but leave them commented out for now. These ID's are transcribed from the Linux ne2k-pci.c END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-12-31T03:42:05.000000Z K 7 svn:log V 34 Reduce diffs to vendor's 1.11.17. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-12-31T03:44:54.000000Z K 7 svn:log V 156 - Check the correct variable against NULL in two places. - If the unp_file is NULL that means it has never been internalized and it must be reachable. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-12-31T03:45:51.000000Z K 7 svn:log V 217 - Pause a while after disabling lock profiling and before resetting it to be sure that all participating CPUs have stopped updating it. - Restore the behavior of printing the name of the lock type in the output. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-12-31T06:19:48.000000Z K 7 svn:log V 258 Fix a major chunk-related memory leak in chunk_dealloc_dss_record(). [1] Clean up DSS-related locking and protect all pertinent variables with dss_mtx (remove dss_chunks_mtx). This fixes race conditions that could cause chunk leaks. Reported by: [1] kris END K 10 svn:author V 3 des K 8 svn:date V 27 2007-12-31T11:42:31.000000Z K 7 svn:log V 8 Tabify. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-12-31T11:44:01.000000Z K 7 svn:log V 112 Add device IDs for the ICH9 family. PR: i386/119126 Submitted by: Dan Lukes MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T15:56:03.000000Z K 7 svn:log V 283 Use devclass_get_count() instead of devclass_get_maxunit() to get the correct number of acpi_thermalX devices. Having this wrong caused the acpi_thermal thread to realloc the array of devices on each loop iteration. MFC after: 1 week PR: kern/118497 Submitted by: Pasi Parviainen END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-31T16:45:27.000000Z K 7 svn:log V 186 Add regression tests for UNIX domain socket garbage collection. Should be run from single-user mode, as they look at global open file and inflight descriptor counts to check for leaks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T17:39:24.000000Z K 7 svn:log V 99 MFC: Clean up some of the pts(4) vs pty(4) stuff in grantpt(3) and friends. Approved by: re (gnn) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-12-31T18:38:32.000000Z K 7 svn:log V 197 Fix a few small typos, and remove one duplicate. I'm intentionally not sorting this file since it won't be added to. (Although, if it were sorted the duplicate would have been easier to see.) :) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-31T20:58:50.000000Z K 7 svn:log V 177 Update netisr comment for the SMPng world order: netisr is no longer implemented using the ISR facility, and cannot be triggered by calling splnet()/splx(). MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T21:12:05.000000Z K 7 svn:log V 427 Add very basic support for the kernel to export a list of features. Each feature is represented by a node in the new 'kern.features' sysctl node. A feature is present if the corresponding node is present and evaluates to true. A FEATURE() wrapper macro is added which takes the sysctl node name and a description of the feature as the sole arguments and creates a read-only sysctl node with a value of 1. Discussed on: arch END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T21:12:45.000000Z K 7 svn:log V 92 Include a "pae" feature if an i386 kernel is built with PAE support. Obtained from: Yahoo! END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T22:03:57.000000Z K 7 svn:log V 68 Actually declare the kern.features sysctl node. Pointy hat to: jhb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-12-31T22:09:19.000000Z K 7 svn:log V 21 Happy new year 2008! END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-12-31T22:12:07.000000Z K 7 svn:log V 26 MFC: Happy new year 2008! END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-12-31T23:44:53.000000Z K 7 svn:log V 174 In vfs_scanopt(), make sure that the mount option value is not NULL before calling vsscanf(). PR: 118531 Submitted by: Jaakko Heinonen MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-12-31T23:48:06.000000Z K 7 svn:log V 392 Don't duplicate the whole of arpresolve to arpresolve 2 for the sake of two compares against 0. The negative effect of cache flushing is probably more than the gain by not doing the two compares (the value is almost certainly in register or at worst, cache). Note that the uses of m_freem() are in error cases and m_freem() handles NULL anyhow. So fast-path really isn't changed much at all. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-01-01T01:46:42.000000Z K 7 svn:log V 285 - Place the fhold() in unp_internalize_fp to be more consistent with refs. - Clear all of the gc flags before doing a run. Stale flags were causing us to skip some descriptors. - If a unp socket has been marked REF in a gc pass it can't be dead. Found by: rwatson's test tool. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-01T03:00:17.000000Z K 7 svn:log V 136 MFC: rev 1.149: Fix a broken DIAGNOSTICS/INVARIANTS check to handle a block range that spans two block maps. Approved by: re(kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-01T03:01:03.000000Z K 7 svn:log V 114 MFC: rev 1.149: Fix a broken DIAGNOSTICS/INVARIANTS check to handle a block range that spans two block maps. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-01-01T03:59:17.000000Z K 7 svn:log V 674 Change sysinstall's handling of X11 stuff. Doing it in pieces was probably the right thing to do a while ago but xorg has progressed to the point that for novice users (who are the ones expected to think installing X11 during an install...) it's best to just install the whole x11/xorg metaport for them. This removes the X11 sub-menus and sets it up so you just select whether or not you want X11. While here garbage collect an X11 configuration menu I missed removing when I removed support for attempting xorg configuration from inside sysinstall a while ago. Discussed with: rwatson, kris No objection from: re Release build tested by: rwatson MFC after: 1 week END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-01T06:15:57.000000Z K 7 svn:log V 236 Add the mtree.5 manpage. I'll come back soon and remove the format specification from mtree.8. I also need to reconcile a few issues between this mtree.5 and what is actually implemented in FreeBSD's mtree utility. MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-01T06:17:05.000000Z K 7 svn:log V 55 The mtree.5 file has been moved to src/usr.sbin/mtree. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-01T07:45:09.000000Z K 7 svn:log V 108 MFV of tzdata2007k - Argentinian DST changes - Put SJ in the right location Approved by: grog (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-01-01T07:45:10.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2007k'. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-01T07:47:42.000000Z K 7 svn:log V 85 MFV of tzdata2007k. - Adjust Argentinian DST times. - Add SJ on the right location. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T09:35:58.000000Z K 7 svn:log V 38 MFC: Happy New Year Approved by: re@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T09:36:30.000000Z K 7 svn:log V 31 MFC new year Approved by: re@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T09:37:09.000000Z K 7 svn:log V 38 MFC: Happy new year Approved by: re@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T10:04:10.000000Z K 7 svn:log V 94 follow style(9) more closely and list sys/types.h first after sys/defs.h. Submitted by: max@ END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-01-01T10:25:01.000000Z K 7 svn:log V 56 Add myself and my mentor Approved by: thompsa (mentor) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-01-01T10:29:22.000000Z K 7 svn:log V 64 Add my birthday to the calendar. Approved by: thompsa (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-01T20:36:04.000000Z K 7 svn:log V 60 Correct a style error that was introduced in revision 1.77. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T21:37:09.000000Z K 7 svn:log V 72 Sync to the new PCI device IDs that I added to if_ed_pci.c. Bump date. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T21:41:39.000000Z K 7 svn:log V 64 Forgot to mention RLT80x9 support that was added some time ago. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-01T22:28:04.000000Z K 7 svn:log V 1049 Extensive improvements to the libarchive_test test program that exercises and verifies the libarchive APIs: * Improved error reporting; hexdumps are now provided for many file/memory content differences. * Overall status more clearly counts "tests" and "assertions" * Reference files can now be stored on disk instead of having to be compiled into the test program itself. A couple of tests have been converted to this more natural structure. * Several memory leaks corrected so that leaks within libarchive itself can be more easily detected and diagnosed. * New test: GNU tar compatibility * New test: Zip compatibility * New test: Zero-byte writes to a compressed archive entry * New test: archive_entry_strmode() format verification * New test: mtree reader * New test: write/read of large (2G - 1TB) entries to tar archives (thanks to recent performance work, this test only requires a few seconds) * New test: detailed format verification of cpio odc and newc writers * Many minor additions/improvements to existing tests as well. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-01T22:29:22.000000Z K 7 svn:log V 27 Minor nits. Add xr to sn. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-01-01T23:58:18.000000Z K 7 svn:log V 135 New release notes: ddb(4) capture, ddb(4) scripting, textdump(4), ncurses 5.6-20071222, tzdata2007k. Bump copyright date while here. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:19:49.000000Z K 7 svn:log V 132 Include Guido's copyright for the fnmatch() code I cribbed from. (It's in the C source, just wasn't in the COPYING file until now.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:21:27.000000Z K 7 svn:log V 217 Use archive_entry_strmode() instead of a local bsdtar_strmode(). (This does a couple of things that the standard library's strmode() doesn't; it proved useful in bsdcpio as well, so I pushed it down into libarchive.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:23:00.000000Z K 7 svn:log V 76 Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:24:10.000000Z K 7 svn:log V 57 Fill in the approximate date when tar(1) first appeared. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:27:14.000000Z K 7 svn:log V 290 A couple of miscellaneous fixes: * prototypes for optarg/optind on platforms that don't already have them * Disambiguate version number macros * Remove unnecessary PACKAGE_NAME macro * Hook for forthcoming bsdtar test suite * Sync version number up with the portable distribution END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-01-02T00:28:44.000000Z K 7 svn:log V 85 Remove the old bsdtar test scripts; something much better is almost ready to commit. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-02T01:19:17.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-02T01:45:31.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-02T04:43:47.000000Z K 7 svn:log V 260 Defer setting either PG_CACHED or PG_FREE until after the free page queues lock is acquired. Otherwise, the state of a reservation's pages' flags and its population count can be inconsistent. That could result in a page being freed twice. Reported by: kris END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-02T08:54:39.000000Z K 7 svn:log V 307 Provide a legitimate pindex to vm_page_alloc() in pmap_growkernel() instead of writing apologetic comments. As it turns out, I need every kernel page table page to have a legitimate pindex to support superpage promotion on kernel memory. Correct a nearby style error: Pointers should be compared to NULL. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-02T17:09:15.000000Z K 7 svn:log V 24 A few whitespace fixes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-02T18:48:27.000000Z K 7 svn:log V 31 Note what is too {short,long}. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-01-02T20:31:14.000000Z K 7 svn:log V 340 Follow the current fashion of gratuitously stomping into other peoples code with irrelevant changes[1]: Use bus_{read|write_*() instead of bus_space_{read|write}_*() for purely stylistic reasons. Due to compiler optimizations and inlining, this is for all practical purposes without effect in the compiled code. [1] NB: Approved by: sos END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-01-02T20:33:54.000000Z K 7 svn:log V 376 If the disk reports that it support the Compact Flash Association command set, announce BIO_DELETE capability and issue ATA_CFA_ERASE when we get one. Once we issue more BIO_DELETE, this will improve lifetime, and possibly write speed of Flash based devices which have usable flash adaptation layers. For now, about the only usage is the newfs(1) -E flag. Approved by: sos END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-02T23:26:11.000000Z K 7 svn:log V 131 style(9) + kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-01-03T00:18:03.000000Z K 7 svn:log V 121 The break() system call takes a pointer argument, not an integer. This change fixes output for break() on LP64 systems. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-01-03T01:26:59.000000Z K 7 svn:log V 278 - In sysctl_kern_file skip fdps with negative lastfiles. This can happen if there are no files open. Accounting for these can eventually return a negative value for olenp causing sysctl to crash with a bad malloc. Reported by: Pawel Worach END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-03T06:31:41.000000Z K 7 svn:log V 36 Modernize comment about diagnostic. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-03T06:35:04.000000Z K 7 svn:log V 65 Fix obsolete comment. pmap_remove_all is the function we're in. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-03T06:44:12.000000Z K 7 svn:log V 43 Use correct function name in panic message END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-03T07:34:34.000000Z K 7 svn:log V 182 Add an access type parameter to pmap_enter(). It will be used to implement superpage promotion. Correct a style error in kmem_malloc(): pmap_enter()'s last parameter is a Boolean. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-03T12:28:57.000000Z K 7 svn:log V 444 ffs_balloc_ufsX() routines, in the case of recovering from the failed allocation, free the indirect blocks before clearing the disk pointers, that could lead to the softupdate inconsistencies in the case of the machine or disk crash at the wrong time. Rearrange the recover code to do the ffs_blkfree() after the second ffs_syncvnode(), that clears the pointers chain. Proposed and reviewed by: tegge Tested by: Peter Holm MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-03T12:31:44.000000Z K 7 svn:log V 791 MFC rev. 1.106: Do not allow the SNPSTTY ioctl for the snoop device that has a tty attached. Otherwise, the snp->snp_tty would be overwritten, while the tty line discipline still set to the snpdisc. Then snplwrite() causes panic because ttytosnp() cannot find the snp. (And do it at the proper place, from rev. 1.107). MFC rev. 1.107: The snp_target == NULL implies the snp_tty == NULL. Remove the code that is put under snp_target == NULL and snp_tty != NULL clause. In snpclose(), do the snp_detach() before scheduling the snp device destruction. Otherwise, after the return from snpclose(), the snp device is already removed from the snp_list, but tty is still in snooped state. Any attempt to do i/o on such tty cause panic because ttytosnp() returns NULL. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-03T12:40:55.000000Z K 7 svn:log V 112 MFC rev. 1.107: Plug the leaks in the present implementation of the linux_openat(). Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-01-03T15:19:31.000000Z K 7 svn:log V 124 Add missing sb_sndptr* fields to db_print_sockbuf(). While here change %d to %u for u_ints. Discussed with: rwatson, kmacy END K 10 svn:author V 3 des K 8 svn:date V 27 2008-01-03T17:54:26.000000Z K 7 svn:log V 311 Add an internal utility function to simplify the many, many places where the number of bytes read is actually not important as long as we have at least what we ask for. Illustrate its benefits by using it throughout the ZIP support code, except for the few cases where it doesn't apply. Approved by: kientzle END K 10 svn:author V 3 des K 8 svn:date V 27 2008-01-03T18:30:37.000000Z K 7 svn:log V 150 Crib {be,le}{16,32,64}{dec,enc} from src/sys/sys/endian.h and use it instead of home-rolled [iu][248] in the ZIP support code. Approved by: kientzle END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-01-03T20:54:34.000000Z K 7 svn:log V 163 - loader(8) is not a part of boot(8) and is not its second stage. Reported by: Yoshihiko Sarumaru Reviewed by: trhodes MFC-after: 3 days END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-01-03T23:22:13.000000Z K 7 svn:log V 384 Enable both sbrk(2)- and mmap(2)-based memory acquisition methods by default. This has the disadvantage of rendering the datasize resource limit irrelevant, but without this change, legitimate uses of more memory than will fit in the data segment are thwarted by default. Fix chunk_alloc_mmap() to work correctly if initial mapping is not chunk-aligned and mapping extension fails. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-04T03:08:49.000000Z K 7 svn:log V 14 more style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-04T03:09:28.000000Z K 7 svn:log V 53 Make a few messages more consistant with the others. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-04T03:21:21.000000Z K 7 svn:log V 76 MFC: rev. 1.76: 'netstat -A -p tcp' prints the Tcpcb pointer in the 1st col END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-04T04:33:13.000000Z K 7 svn:log V 143 In the vm_map_stack(), check for the specified stack region wraparound. Reported and tested by: Peter Holm Reviewed by: alc MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-04T04:53:21.000000Z K 7 svn:log V 791 MFC rev. 1.106: Do not allow the SNPSTTY ioctl for the snoop device that has a tty attached. Otherwise, the snp->snp_tty would be overwritten, while the tty line discipline still set to the snpdisc. Then snplwrite() causes panic because ttytosnp() cannot find the snp. (And do it at the proper place, from rev. 1.107). MFC rev. 1.107: The snp_target == NULL implies the snp_tty == NULL. Remove the code that is put under snp_target == NULL and snp_tty != NULL clause. In snpclose(), do the snp_detach() before scheduling the snp device destruction. Otherwise, after the return from snpclose(), the snp device is already removed from the snp_list, but tty is still in snooped state. Any attempt to do i/o on such tty cause panic because ttytosnp() returns NULL. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-04T04:56:07.000000Z K 7 svn:log V 112 MFC rev. 1.107: Plug the leaks in the present implementation of the linux_openat(). Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-04T08:19:52.000000Z K 7 svn:log V 129 Modernize this man page a little by describing the pci driver of today, rather than details relevant only to the 3.x pci driver. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-01-04T08:26:22.000000Z K 7 svn:log V 92 Dummy man page for pcib. We should write a real one and I hope this gets the ball rolling. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T12:57:34.000000Z K 7 svn:log V 67 - This driver will first appear in 6.3, not 7.0 MFC after: 0 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T12:58:09.000000Z K 7 svn:log V 66 - This driver will has already appeared in 6.2 MFC after: 0 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T12:59:34.000000Z K 7 svn:log V 57 MFC r1.2 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T12:59:56.000000Z K 7 svn:log V 57 MFC r1.9 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:00:16.000000Z K 7 svn:log V 57 MFC r1.8 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:01:04.000000Z K 7 svn:log V 57 MFC r1.3 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:01:38.000000Z K 7 svn:log V 58 MFC r1.13 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:02:04.000000Z K 7 svn:log V 57 MFC r1.4 - This driver will first appear in 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:02:42.000000Z K 7 svn:log V 51 MFC r1.7 - This driver has already appeared in 6.2 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:09:04.000000Z K 7 svn:log V 80 MFC r1.8 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:11:59.000000Z K 7 svn:log V 80 MFC r1.2 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:12:19.000000Z K 7 svn:log V 80 MFC r1.9 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:12:47.000000Z K 7 svn:log V 80 MFC r.18 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:13:44.000000Z K 7 svn:log V 80 MFC r1.3 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:14:06.000000Z K 7 svn:log V 81 MFC r1.13 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:14:32.000000Z K 7 svn:log V 80 MFC r1.4 - This driver will first appear in 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:15:02.000000Z K 7 svn:log V 74 MFC r1.7 - This driver has already appeared in 6.2 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:22:09.000000Z K 7 svn:log V 150 MFC r1.39 - Adjust INDEX file name to INDEX-7 so that it matches the major FreeBSD version number, as it is named after that Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:32:32.000000Z K 7 svn:log V 175 MFC r1.62: - Document icase variable of make search, which can be used to control case-sensitivity r1.63: - Document PORT_DBDIR r1.64: - Remove incomplete sentence fragment END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-04T13:33:01.000000Z K 7 svn:log V 198 MFC r1.62: - Document icase variable of make search, which can be used to control case-sensitivity r1.63: - Document PORT_DBDIR r1.64: - Remove incomplete sentence fragment Approved by: re (hrs) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-01-05T04:47:31.000000Z K 7 svn:log V 127 - Restore timeslicing code for all bit SCHED_FIFO priority classes. Reported by: Peter Jeremy END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-01-05T08:35:56.000000Z K 7 svn:log V 247 Fall back to the binary-specified interpreter (ld-elf.so.1) if the ABI override binary isn't found. This could probably be smoother, but it is what I did in p4 change #126891 on 2007/09/27. It should solve the "ld-elf32.so.1"-in-chroot problem. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-01-05T08:54:51.000000Z K 7 svn:log V 484 In sequential_heuristic(): - spell 16384 as 16384 and not as BKVASIZE. 16384 is (not quite) just a magic size that works well in practice. BKVASIZE should be MAXBSIZE (65536), but is 16384 because i386's don't have enough kva for it to be MAXBSIZE; 16384 works (not so well) for it for much the same reasons that it works well in the heuristic. - expand and/or add comments about this and other details. - don't explicitly inline this function. - fix some other style bugs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-05T12:36:35.000000Z K 7 svn:log V 192 After applying LCONVPATH() to the path, do use the converted path instead of original user-mode string in the linux_stat() and linux_lstat() syscalls. Tested by: Peter Holm MFC after: 3 days END K 10 svn:author V 4 grog K 8 svn:date V 27 2008-01-05T21:39:21.000000Z K 7 svn:log V 33 "redacted" replaced for clarity. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-01-05T22:58:51.000000Z K 7 svn:log V 1562 On FreeBSD GCC 4.2.x checks for the existence of pthread_cancel() in order to determine whether a program is running with multithreading support. This check causes __gthread_active_p() to always return 1 however, regardless of whether the program was actually compiled with -pthread or not, due to the fact that the FreeBSD libc contains a pthread_cancel() stub. Fix this by using the __gthread_active_p() version that GCC uses for Solaris and which actively checks for a working POSIX threads implementation (if such functions exist) instead of checking for the mere existence of corresponding functions. On platforms without TLS support, i.e. on arm and sparc64 due to the lack of GNU TLS support for these archs in binutils 2.15., the false positives returned by __gthread_active_p() for non-threaded programs cause the exception handling implementation GCC uses in this case to crash. This is because GCC assumes that the POSIX threading functions actually work when __gthread_active_p() returns 1 while in fact the corresponding stubs in libc just immediately return. Given that __gthread_active_p() is also used in a couple of other places besides exception handling, this bug has great potential to also cause problems in other areas and on all archs. This is committed to RELENG_7 directly in order to get a fix into RELENG_7_0 as soon as possible while allowing to loop the official fix back into the vendor branch and not taking gthr-posix.h off the vendor branch in HEAD. PR: 119289 Reviewed by: obrien (plus style fix) Approved by: re (kensmith) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-01-05T23:04:59.000000Z K 7 svn:log V 1322 Merge from RELENG_7: 1.1.1.8.2.1 On FreeBSD GCC 4.2.x checks for the existence of pthread_cancel() in order to determine whether a program is running with multithreading support. This check causes __gthread_active_p() to always return 1 however, regardless of whether the program was actually compiled with -pthread or not, due to the fact that the FreeBSD libc contains a pthread_cancel() stub. Fix this by using the __gthread_active_p() version that GCC uses for Solaris and which actively checks for a working POSIX threads implementation (if such functions exist) instead of checking for the mere existence of corresponding functions. On platforms without TLS support, i.e. on arm and sparc64 due to the lack of GNU TLS support for these archs in binutils 2.15., the false positives returned by __gthread_active_p() for non-threaded programs cause the exception handling implementation GCC uses in this case to crash. This is because GCC assumes that the POSIX threading functions actually work when __gthread_active_p() returns 1 while in fact the corresponding stubs in libc just immediately return. Given that __gthread_active_p() is also used in a couple of other places besides exception handling, this bug has great potential to also cause problems in other areas and on all archs. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-01-05T23:21:32.000000Z K 7 svn:log V 101 Clean up after previous commit (typo fixes, removed contractions, utilized .Tn and capitalized PCI). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-01-05T23:27:59.000000Z K 7 svn:log V 73 Use our standard section 4 SYNOPSIS, utilize .Tn and fix capitalization. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-01-05T23:41:15.000000Z K 7 svn:log V 64 mdoc and language fixes for the previous commit, also bump .Dd. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-06T07:13:35.000000Z K 7 svn:log V 142 Update iso3166 with the data from Newsletter VI-1 2007-09-21: Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF). Approved by: re (ken smith) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-06T07:25:43.000000Z K 7 svn:log V 159 Update iso3166 with the data from Newsletter VI-1 2007-09-21: Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF). MFC of rev 1.17 Approved by: re (ken smith) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-06T07:30:02.000000Z K 7 svn:log V 49 MFC of tzdata2007k. Approved by: re (ken smith) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-01-06T07:36:08.000000Z K 7 svn:log V 49 MFC of tzdata2007k. Approved by: re (ken smith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-01-06T12:12:44.000000Z K 7 svn:log V 209 When the ms/req fields exceed 1 second, drop the fractions to fit more digits. This is unfortunately necessary with some flash based devices which can get hundreds of seconds behind with softupdates enabled. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-06T18:51:04.000000Z K 7 svn:log V 236 Shrink the size of struct vm_page on amd64 and i386 by eliminating pv_list_count from struct md_page. Ever since Peter rewrote the pv entry allocator for amd64 and i386 pv_list_count has been correctly maintained but otherwise unused. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-01-07T00:36:09.000000Z K 7 svn:log V 18 Add a missing \n. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-01-07T01:18:16.000000Z K 7 svn:log V 90 Fix mvec code to handle the case of the packet zone this was missed in the initial import END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-01-07T02:26:29.000000Z K 7 svn:log V 43 sem_post() requires to return -1 on error. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-01-07T07:47:21.000000Z K 7 svn:log V 485 Add a forward compatability hook so that current cvs can recognize future CVSROOT/config file options that control keyword expansion. cvs-1.12 has its own $Id$ expansion controls and they're configured in CVSROOT/config rather than CVSROOT/options. The problem is that current cvs-1.11.x doesn't understand the future keywords..... Add trivial forward support for the new keywords for when cvs-1.12 hits the tree down the road. CVSROOT/options won't be going away - cvsup uses it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-01-07T09:02:02.000000Z K 7 svn:log V 90 MFC: rev 1.4: forward compatability with cvs-1.12 repository Approved by: re (kensmith) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-01-07T09:08:53.000000Z K 7 svn:log V 89 MFC: rev 1.4: forward compatability with cvs-1.12 repository Approved by: re (kensmith) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-01-07T09:11:23.000000Z K 7 svn:log V 61 MFC: rev 1.4: forward compatability with cvs-1.12 repository END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-01-07T09:14:37.000000Z K 7 svn:log V 68 Add the SparkLAN RT2573, found in HP s3200n Obtained from: OpenBSD END K 10 svn:author V 3 des K 8 svn:date V 27 2008-01-07T09:46:39.000000Z K 7 svn:log V 112 Add support for ICH8M. PR: kern/119351 Submitted by: Takeharu KATO MFC after: 1 week END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2008-01-07T10:31:17.000000Z K 7 svn:log V 23 Typo; s/relied/replied END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-01-07T11:31:55.000000Z K 7 svn:log V 69 Fix incorrect dependencies of zyd(4). Approved by: thompsa (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-07T14:51:17.000000Z K 7 svn:log V 125 - ipmi(4) appeared in FreeBSD 6.2, not in 5.3 Submitted by: brix, Michael Fuckner MFC after: 0 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-07T14:53:38.000000Z K 7 svn:log V 57 MFC r1.10: - ipmi(4) appeared in FreeBSD 6.2, not in 6.3 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-07T14:53:59.000000Z K 7 svn:log V 80 MFC r1.10: - ipmi(4) appeared in FreeBSD 6.2, not in 6.3 Approved by: re (hrs) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-07T14:55:20.000000Z K 7 svn:log V 115 Forced commit to note that the previous commit log should have been: - ipmi(4) appeared in FreeBSD 6.2, not in 6.3 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T15:49:35.000000Z K 7 svn:log V 20 MFC of tzdata2007k. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-01-07T16:47:30.000000Z K 7 svn:log V 27 Fix typos and date format. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-01-07T16:51:24.000000Z K 7 svn:log V 305 g_vfs_close() wants the sx topology lock held while executing, so just add correct locking to the operation of unmounting. This will prevent debugging kernels from panicking if mounting a non-hpfs partition (I'm not sure if this can be a problem with a successful mounting operation though). MFC: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T18:50:25.000000Z K 7 svn:log V 144 Only use sockoptname() to parse socket option names for SOL_SOCKET requests. MFC after: 3 days Reported by: Michiel Boland michiel boland.org END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-01-07T19:41:13.000000Z K 7 svn:log V 75 Reflect the fact that tzdata was updated to 2007k. Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T20:05:19.000000Z K 7 svn:log V 594 Make ftruncate a 'struct file' operation rather than a vnode operation. This makes it possible to support ftruncate() on non-vnode file types in the future. - 'struct fileops' grows a 'fo_truncate' method to handle an ftruncate() on a given file descriptor. - ftruncate() moves to kern/sys_generic.c and now just fetches a file object and invokes fo_truncate(). - The vnode-specific portions of ftruncate() move to vn_truncate() in vfs_vnops.c which implements fo_truncate() for vnode file types. - Non-vnode file types return EINVAL in their fo_truncate() method. Submitted by: rwatson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-01-07T21:00:18.000000Z K 7 svn:log V 119 - Reflect tzdata2007k update; - Simplified Chinese translation: catchup with English version. Approved by: re (hrs) END K 10 svn:author V 4 brix K 8 svn:date V 27 2008-01-07T21:15:45.000000Z K 7 svn:log V 91 MFC: (revision 1.2) Add reload functionality. Approved by: re (kensmith), erwin (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T21:27:25.000000Z K 7 svn:log V 65 MFC: Use devclass_get_count() instead of devclass_get_maxunit(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T21:27:50.000000Z K 7 svn:log V 88 MFC: Use devclass_get_count() instead of devclass_get_maxunit(). Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T21:29:29.000000Z K 7 svn:log V 71 MFC: Fix a typo in regards to the ENOENT error. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T21:29:57.000000Z K 7 svn:log V 48 MFC: Fix a typo in regards to the ENOENT error. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-07T21:40:11.000000Z K 7 svn:log V 72 Add COMPAT_FREEBSD7 and enable it in configs that have COMPAT_FREEBSD6. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-01-07T22:03:19.000000Z K 7 svn:log V 102 Free MAC label on a POSIX semaphore when the semaphore is freed. MFC after: 3 days Submitted by: jhb END K 10 svn:author V 4 brix K 8 svn:date V 27 2008-01-07T23:12:45.000000Z K 7 svn:log V 195 MFC: - src/sys/dev/usb/usb_quirks.c (revision 1.64) - src/sys/dev/usb/usbdevs (revision 1.333) Update quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x. Approved by: re (kensmith), erwin (mentor) END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-01-08T01:11:40.000000Z K 7 svn:log V 104 Fix logic in skipcount handling (used to sample every 1/N lock operations to reduce profiling overhead) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-08T04:45:24.000000Z K 7 svn:log V 153 Lock the vnode interlock while reading v_usecount to update si_usecount in a cdev in devfs_reclaim(). MFC after: 3 days Reviewed by: jeff (a while ago) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-08T04:53:28.000000Z K 7 svn:log V 1286 Close a race in the kern.ttys sysctl handler that resulted in panics in dev2udev() when a tty was being detached concurrently with the sysctl handler: - Hold the 'tty_list_mutex' lock while we read all the fields out of the struct tty for copying out later. Previously the pty(4) and pts(4) destroy routines could set t_dev to NULL, drop their reference on the tty and destroy the cdev while the sysctl handler was attempting to invoke dev2udev() on the cdev being destroyed. This happened when the sysctl handler read the value of t_dev prior to it being set to NULL either due to it being stale or due to timing races. By holding the list lock we guarantee that the destroy routines will block in ttyrel() in that case and not destroy the cdev until after we've copied all of our data. We may see a NULL cdev pointer or we may see the previous value, but the previous value will no longer point to a destroyed cdev if we see it. - Fix the ttyfree() routine used by tty device drivers in their detach methods to use ttyrel() on the tty so we don't leak them. Also, fix it to use the same order of operations as pty/pts destruction (set t_dev NULL, ttyrel(), destroy_dev()) so it cooperates with the sysctl handler. MFC after: 3 days Tested by: avatar END K 10 svn:author V 3 dds K 8 svn:date V 27 2008-01-08T07:22:43.000000Z K 7 svn:log V 278 A new configuration variable, daily_status_mail_rejects_shorten, allows the rejected mail reports to tally the rejects per blacklist without providing details about individual sender hosts. The default configuration keeps the reports in their original form. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-01-08T08:00:06.000000Z K 7 svn:log V 621 Welcome unzip(1), a pure BSD drop-in replacement for ports/unzip. In its current state, it can handle all but four of the 991 zip files (including jar files) I was able to identify in the ports tree. The remaining four are two self-extracting archives and two which have garbage preceding the first local header. This limitation is a feature of libarchive(3) which I am currently working to resolve. The code is unnecessarily large due to the need to emulate the exact command-line syntax and behaviour of ports/unzip. My initial incompatible implementation was one quarter the size of the one I am committing here. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-01-08T08:30:30.000000Z K 7 svn:log V 40 Convert a PMAP_DIAGNOSTIC to a KASSERT. END K 10 svn:author V 5 harti K 8 svn:date V 27 2008-01-08T12:55:56.000000Z K 7 svn:log V 238 Add an additional make variable EXTRAMIBSYMS which allows to specify definition files that are used only for extracting symbols. This is useful for inter-module dependencies and files containing only enum-definitions. MFC after: 4 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-01-08T14:58:41.000000Z K 7 svn:log V 525 When MAC is enabled in the kernel, fix a panic triggered by a locking assertion hit in swapoff_one() when we un-mount a swap partition. We should be using curthread where we used thread0 before. This change also replaces the thread argument with a credential argument, as the MAC framework only requires the cred. It should be noted that this allows the machine to be rebooted without panicing with "cannot differ from curthread or NULL" when MAC is enabled. Submitted by: rwatson Reviewed by: attilio MFC after: 2 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-08T15:36:06.000000Z K 7 svn:log V 97 - This driver will first appear in FreeBSD 6.3, not 7.0 Submitted by: thompsa MFC after: 0 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-08T15:37:39.000000Z K 7 svn:log V 66 MFC r1.5: - This driver will first appear in FreeBSD 6.3, not 7.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-01-08T15:37:57.000000Z K 7 svn:log V 89 MFC r1.5: - This driver will first appear in FreeBSD 6.3, not 7.0 Approved by: re (hrs) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-01-08T16:00:24.000000Z K 7 svn:log V 574 - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end). As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ MFC after: 2 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-08T19:08:58.000000Z K 7 svn:log V 9 un-__P() END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-01-08T21:10:13.000000Z K 7 svn:log V 274 Honour the logical current working directory ($PWD) when using config's -d destdir option. For an automounted src tree using the logical cwd in the Makefile keeps amd(8)'s mount timeout refreshed. Code to check $PWD's validity cribbed from pwd(1). Discussed on hackers@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-08T21:58:16.000000Z K 7 svn:log V 1677 Add a new file descriptor type for IPC shared memory objects and use it to implement shm_open(2) and shm_unlink(2) in the kernel: - Each shared memory file descriptor is associated with a swap-backed vm object which provides the backing store. Each descriptor starts off with a size of zero, but the size can be altered via ftruncate(2). The shared memory file descriptors also support fstat(2). read(2), write(2), ioctl(2), select(2), poll(2), and kevent(2) are not supported on shared memory file descriptors. - shm_open(2) and shm_unlink(2) are now implemented as system calls that manage shared memory file descriptors. The virtual namespace that maps pathnames to shared memory file descriptors is implemented as a hash table where the hash key is generated via the 32-bit Fowler/Noll/Vo hash of the pathname. - As an extension, the constant 'SHM_ANON' may be specified in place of the path argument to shm_open(2). In this case, an unnamed shared memory file descriptor will be created similar to the IPC_PRIVATE key for shmget(2). Note that the shared memory object can still be shared among processes by sharing the file descriptor via fork(2) or sendmsg(2), but it is unnamed. This effectively serves to implement the getmemfd() idea bandied about the lists several times over the years. - The backing store for shared memory file descriptors are garbage collected when they are not referenced by any open file descriptors or the shm_open(2) virtual namespace. Submitted by: dillon, peter (previous versions) Submitted by: rwatson (I based this on his version) Reviewed by: alc (suggested converting getmemfd() to shm_open()) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-01-08T22:01:26.000000Z K 7 svn:log V 41 Regen for shm_open(2) and shm_unlink(2). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-01-08T23:48:31.000000Z K 7 svn:log V 722 Remove explicit calling of lockmgr() with the NULL argument. Now, lockmgr() function can only be called passing curthread and the KASSERT() is upgraded according with this. In order to support on-the-fly owner switching, the new function lockmgr_disown() has been introduced and gets used in BUF_KERNPROC(). KPI, so, results changed and FreeBSD version will be bumped soon. Differently from previous code, we assume idle thread cannot try to acquire the lockmgr as it cannot sleep, so loose the relative check[1] in BUF_KERNPROC(). Tested by: kris [1] kib asked for a KASSERT in the lockmgr_disown() about this condition, but after thinking at it, as this is a well known general rule, I found it not really necessary. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-01-09T00:02:43.000000Z K 7 svn:log V 67 Fix a last second typo about recent lockmgr_disown() introduction. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-01-09T00:03:50.000000Z K 7 svn:log V 81 Bump FreeBSD_version in order to reflect lockmgr_disown() function introduction. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-01-09T02:10:32.000000Z K 7 svn:log V 47 Add lockmgr_disown() and relative explanation. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-01-09T06:29:49.000000Z K 7 svn:log V 137 Fix KASSERT in m_free_fast - the LIST_EMPTY check only applies to packet headers. In the non packet header case there may be data there. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-01-09T08:01:08.000000Z K 7 svn:log V 42 EXT_PACKET is one of the valid mbuf types END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-01-09T08:01:42.000000Z K 7 svn:log V 49 don't decrement ref count below 1 for EXT_PACKET END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-01-09T08:08:56.000000Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-01-09T08:12:24.000000Z K 7 svn:log V 88 make nqsets a uint32_t so that sysctl will work add 2 fields for allowing queue dumping END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-01-09T08:55:10.000000Z K 7 svn:log V 453 MFC important fixes by sos@: Implement a workaround of the datacorruption problem on ServerWorks HT1000 chipsets. The HT1000 DMA engine seems to not always like 64K transfers and sometimes barfs data all over memory leading to instant chrash and burn. Also fix 48bit adressing issues, apparently newer chips needs 16bit writes and not the usual fifo thing. HW donated by: Travis Mikalson at TerraNovaNet Original work: sos Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-01-09T08:55:51.000000Z K 7 svn:log V 426 MFC important fixes by sos@: Implement a workaround of the datacorruption problem on ServerWorks HT1000 chipsets. The HT1000 DMA engine seems to not always like 64K transfers and sometimes barfs data all over memory leading to instant chrash and burn. Also fix 48bit adressing issues, apparently newer chips needs 16bit writes and not the usual fifo thing. HW donated by: Travis Mikalson at TerraNovaNet Original work: sos END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-01-09T09:38:53.000000Z K 7 svn:log V 56 Revise the TECHNICAL DETAILS section. Reviewed by: skv END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-01-09T10:42:47.000000Z K 7 svn:log V 23 Improve some comments. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-01-09T13:35:31.000000Z K 7 svn:log V 165 Fix some style bugs (mainly, use explicit shifts when accessing bit-fields even if the shift count happens to be 0, sort declarations, and spell __inline normally). END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-01-09T15:03:03.000000Z K 7 svn:log V 887 Simplify the ifdefs: - fix this to compile with C++ by casting ints to enums in a few places and by using the correct parameter type for _fpsetprec(). Remove __cplusplus ifdefs which disabled the buggy code. - remove __CC_SUPPORTS___INLINE ifdefs. `__inline' vs `inline', and either of these #defined away, are supposed to be handled by very old ifdefs in . Thus the __CC_SUPPORTS___INLINE macro is not needed here (or anywhere else that it used). It is less needed here than in most places, since this file is userland-only and userland is far from supporting INTEL_COMPILER. The __CC_SUPPORTS___INLINE__ macro which was used here is even less needed. It is to support spelling `inline' as `__inline__' instead of the usual spelling `__inline'. Fix some style bugs that I missed in the previous commit (remove unused asms and sort more variables). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T15:19:22.000000Z K 7 svn:log V 116 MFC rev. 1.392: In the vm_map_stack(), check for the specified stack region wraparound. Approved by: re (kensmith) END K 10 svn:author V 3 mux K 8 svn:date V 27 2008-01-09T15:23:36.000000Z K 7 svn:log V 269 MFC route.c@1.125 and route.h@1.68: Add a workaround for a deadlock between the rt_setgate() and rt_check() functions. It is easily triggered by running routed, and, I expect, by running any other daemon that uses routing sockets. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T15:30:34.000000Z K 7 svn:log V 125 MFC rev. 1.89, 1.90: Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls. Approved by: re (kensmith) END K 10 svn:author V 3 mux K 8 svn:date V 27 2008-01-09T15:38:49.000000Z K 7 svn:log V 238 MFC route.c@1.125 and route.h@1.68: Add a workaround for a deadlock between the rt_setgate() and rt_check() functions. It is easily triggered by running routed, and, I expect, by running any other daemon that uses routing sockets. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T15:59:15.000000Z K 7 svn:log V 116 MFC rev. 1.392: In the vm_map_stack(), check for the specified stack region wraparound. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T16:03:02.000000Z K 7 svn:log V 125 MFC rev. 1.89, 1.90: Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T16:07:32.000000Z K 7 svn:log V 97 MFC rev. 1.89, 1.90: Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-01-09T16:08:39.000000Z K 7 svn:log V 88 MFC rev. 1.392: In the vm_map_stack(), check for the specified stack region wraparound. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-09T16:46:14.000000Z K 7 svn:log V 437 Bring in fix for Binutils PR other/16240: Check for a failure return from cplus_demangle_type. This is the rev 1.50-1.51 change. Our addr2line, etc.. would crash if used on C++ code that contains certain symbol types. One example is _ZN13PatternDriver23StringScalarDeleteValueC1ERKNS_25ConflateStringScalarValueERKNS_25AbstractStringScalarValueERKNS_12TemplateEnumINS_12pdcomplementELZNS_16complement_namesEELZNS_14COMPLEMENTENUMEEEE END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-01-09T16:46:14.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r175189, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-01-09T16:46:15.000000Z K 7 svn:log V 99 This commit was manufactured by cvs2svn to create tag 'libiberty-vendor-binutils_2_15_cvsrev_1_51'. END