ƒµ;185564 169 377 338 369 407 195 169 188 461 139 2973 185 160 310 253 126 1949 245 245 170 421 172 187 1643 1034 1419 234 120 417 798 355 146 131 1107 158 148 157 157 157 169 189 171 152 149 156 156 217 223 183 186 112 154 124 111 119 165 139 351 259 173 143 109 340 119 119 119 119 119 119 119 119 237 776 242 548 300 182 212 135 720 2003 294 223 111 853 454 152 225 447 370 401 401 243 113 334 334 427 427 293 206 115 135 190 221 150 131 132 117 166 125 119 151 531 142 157 123 885 217 169 201 613 185 228 158 183 131 204 283 236 219 334 1421 247 269 285 393 393 256 256 615 615 310 310 368 258 260 230 589 221 287 427 425 215 322 189 155 261 220 584 151 308 380 190 159 321 757 232 113 136 135 K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-02T15:42:47.474673Z K 7 svn:log V 284 Bug fix from Chelsio which addresses the issue of the device resetting when it sees only received packets. In some cases where a device only recieves data it mistakenly thinks that its transmitting side is broken and resets the device. Obtained from: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-02T16:46:01.225904Z K 7 svn:log V 240 The slip.log file got removed along with the MPSAFE tty work. If slip does ever come back it's probably best if its log file be something that gets added if the user decided they want to run slip instead of having it here unconditionally. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-02T18:13:29.569292Z K 7 svn:log V 271 Remove slip.log. Slip got removed as part of the MPSAFE tty work. If it does come back it would probably be better if users who were interested in slip added appropriate lines instead of this being here unconditionally. Reminded by: tut nhamon com ua END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-02T19:09:08.501214Z K 7 svn:log V 315 Remove "[KEEP THIS!]" from COMPAT_43TTY. It's not really that important. Sgtty is a programming interface that has been replaced by termios over the years. In June we already removed , which exposes the ioctl()'s that are implemented by this interface. The importance of this flag is overrated right now. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-02T19:49:41.290572Z K 7 svn:log V 102 Make the "test" target test the compiled version, instead of the installed version of the md library. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-02T20:48:45.248965Z K 7 svn:log V 76 - Fix a bug where deltas was not sorted on RCS dates _and_ revision number. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-02T20:50:37.474568Z K 7 svn:log V 95 - Print out information about what file that is edited before it is edited instead of after. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-02T21:37:28.511892Z K 7 svn:log V 369 Rather than using hidden includes (with cicular dependencies), directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-12-02T22:45:01.465537Z K 7 svn:log V 42 Improve grammar. Submitted by: Ben Kaduk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-02T23:26:43.343358Z K 7 svn:log V 2875 Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both contrib/openbsm (svn merge) and sys/{bsm,security/audit} (manual merge). - Add OpenBSM contrib tree to include paths for audit(8) and auditd(8). - Merge support for new tokens, fixes to existing token generation to audit_bsm_token.c. - Synchronize bsm includes and definitions. OpenBSM history for imported revisions below for reference. MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project -- OpenBSM 1.1 alpha 2 - Include files in OpenBSM are now broken out into two parts: library builds required solely for user space, and system includes, which may also be required for use in the kernels of systems integrating OpenBSM. Submitted by Stacey Son. - Configure option --with-native-includes allows forcing the use of native include for system includes, rather than the versions bundled with OpenBSM. This is intended specifically for platforms that ship OpenBSM, have adapted versions of the system includes in a kernel source tree, and will use the OpenBSM build infrastructure with an unmodified OpenBSM distribution, allowing the customized system includes to be used with the OpenBSM build. Submitted by Stacey Son. - Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s or asprintf(). Added compat/strlcpy.h for Linux. - Remove compatibility defines for old Darwin token constant names; now only BSM token names are provided and used. - Add support for extended header tokens, which contain space for information on the host generating the record. - Add support for setting extended host information in the kernel, which is used for setting host information in extended header tokens. The audit_control file now supports a "host" parameter which can be used by auditd to set the information; if not present, the kernel parameters won't be set and auditd uses unextended headers for records that it generates. OpenBSM 1.1 alpha 1 - Add option to auditreduce(1) which allows users to invert sense of matching, such that BSM records that do not match, are selected. - Fix bug in audit_write() where we commit an incomplete record in the event there is an error writing the subject token. This was submitted by Diego Giagio. - Build support for Mac OS X 10.5.1 submitted by Eric Hall. - Fix a bug which resulted in host XML attributes not being arguments so that const strings can be passed as arguments to tokens. This patch was submitted by Xin LI. - Modify the -m option so users can select more then one audit event. - For Mac OS X, added Mach IPC support for audit trigger messages. - Fixed a bug in getacna() which resulted in a locking problem on Mac OS X. - Added LOG_PERROR flag to openlog when -d option is used with auditd. - AUE events added for Mac OS X Leopard system calls. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-03T01:48:19.059949Z K 7 svn:log V 89 Update bce(4)'s hardware list to reflect the recent update to driver. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-03T03:20:18.371397Z K 7 svn:log V 64 Update if_iqdrops instead of if_ierrors when m_devget(9) fails. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-03T08:56:01.568834Z K 7 svn:log V 213 Add some PHY magic to enable PHY hibernation and 1000baseT/10baseT power adjustment. This change is required to guarantee correct operation on certain switches. Submitted by: Jie Yang < Jie.Yang <> Atheros com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-03T09:01:12.940727Z K 7 svn:log V 156 AR8113 also need to set DMA read burst value. This should fix occasional DMA read error seen on AR8113. Submitted by: Jie Yang < Jie.Yang <> Atheros com > END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-03T11:48:20.855247Z K 7 svn:log V 34 Use newbus to manage Xen devices. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-03T14:53:59.123161Z K 7 svn:log V 1853 Another, hopefully final set of changes to boot0 and boot0cfg. boot0.S changes: + import a patch from Christoph Mallon to rearrange the various print functions and save another couple of bytes; + implement the suggestion in PR 70531 to enable booting from any valid partition because even the extended partitions that were previously in our kill list may contain a valid boot loader. This simplifies the code and saves some bytes; + followwing up PR 127764, implement conditional code to preserve the 'Volume ID' which might be used by other OS (NT, XP, Vista) and is located at offset 0x1b8. This requires a relocation of the parameter block within the boot sector -- there is no other possible workaround. To address this, boot0cfg has been updated to handle both versions of the boot code; + slightly rearrange the strings printed in the menus to make the code buildable with all options. Given the tight memory budget, this means that with certain options we need to shrink or remove certain labels. and especially: make -DVOLUME_LABEL -DPXE the default options. This means that the newly built boot0 block will preserve the Volume ID, and has the (hidden) option F6 to boot from INT18/PXE. I think the extra functionality is well worth the change. The most visible difference here is that the 'Default: ' string now becomes 'Boot: ' (it can be reverted to the old value but then we need to nuke 1/2 partition name or entries to make up for the extra room). boot0cfg changes: + modify the code to recognise the new boot0 structure (with the relocated options block to make room for the Volume id). + add two options, '-i xxxx-xxxx' to set the volume ID, -e c to modify the character printed in case of bad input PR: 127764 70531 Submitted by: Christoph Mallon (portions) MFC after: 4 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-03T15:07:17.087825Z K 7 svn:log V 152 MFC r185474: Clarify the reason to not use the volatile string as an argument to CTR macros. Note the logging of file and line. Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-03T15:10:31.220188Z K 7 svn:log V 152 MFC r185474: Clarify the reason to not use the volatile string as an argument to CTR macros. Note the logging of file and line. Approved by: re (hrs) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-03T15:23:08.629511Z K 7 svn:log V 75 Add aliases that map architectural event names to fixed function counters. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-03T15:54:35.990776Z K 7 svn:log V 329 Fix a credential reference leak. [1] Close subtle but relatively unlikely race conditions when propagating the vnode write error to other active sessions tracing to the same vnode, without holding a reference on the vnode anymore. [2] PR: kern/126368 [1] Submitted by: rwatson [2] Reviewed by: kib, rwatson MFC after: 4 weeks END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-12-03T16:29:12.470671Z K 7 svn:log V 75 Change new card identification names. Submitted by: LSI MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-03T17:30:36.368578Z K 7 svn:log V 92 Fixes for Core2 Extreme support. Submitted by: "Artem Belevich" END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-12-03T17:54:09.830248Z K 7 svn:log V 1549 Change nfsserver slightly so that it does not trip over the timestamp validation code on ZFS. Problem: when opening file with O_CREAT|O_EXCL NFS has to jump through extra hoops to ensure O_EXCL semantics. Namely, client supplies of 8 bytes (NFSX_V3CREATEVERF) bytes of verification data to uniquely identify this create request. Server then creates a new file with access mode 0, copies received 8 bytes into va_atime member of struct vattr and attempt to set the atime on file using VOP_SETATTR. If that succeeds, it fetches file attributes with VOP_GETATTR and verifies that atime timestamps match. If timestamps do not match, NFS server concludes it has probbaly lost the race to another process creating the file with the same name and bails with EEXIST. This scheme works OK when exported FS is FFS, but if underlying filesystem is ZFS _and_ server is running 64bit kernel, it breaks down due to sanity checking in zfs_setattr function, which refuses to accept any timestamps which have tv_sec that cannot be represented as 32bit int. Since struct timespec fields are 64 bit integers on 64bit platforms and server just copies NFSX_V3CREATEVERF bytes info va_atime, all eight bytes supplied by client end up in va_atime.tv_sec, forcing it out of valid 32bit range. The solution this change implements is simple: it treats NFSX_V3CREATEVERF as two 32bit integers and unpacks them separately into va_atime.tv_sec and va_atime.tv_nsec respectively, thus guaranteeing that tv_sec remains in 32 bit range and ZFS remains happy. Reviewed by: kib END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-03T18:22:36.591506Z K 7 svn:log V 939 Some useful operational extensions to newfs_msdos, especially when preparing images for emulators or flash devices: + option '-C size' to create the underlying image file with given size. Saves doing a 'dd' before, and especially it creates a sparse file + option '-@ offset' to build the FAT image at the specified offset in the image file or device; + make the cluster size adaptive on the filesystem size. Previously the default was 4k which is really unconvenient with large media; now it goes from 512 bytes to 32k depending on filesystem size (i still need to check whether it makes sense to go further up, to 64k or above); + fix default geometry when not specified on the command line, use 63 sectors/255 heads by default. Also trim the size so it exactly a multiple of a track, to avoid complaints in some filesystem code. + document all the above, plus some manual page clarifications. MFC after: 4 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-03T18:36:59.863895Z K 7 svn:log V 1323 Enable operation of newfs on plain files, which is useful when you want to prepare disk images for emulators (though 'makefs' in port can do something similar). This relies on: + minor changes to pass the consistency checks even when working on a file; + an additional option, '-p partition' , to specify the disk partition to initialize; + some changes on the I/O routines to deal with partition offsets. The latter was a bit tricky to implement, see the details in newfs.h: in newfs, I/O is done through libufs which assumes that the file descriptor refers to the whole partition. Introducing support for the offset in libufs would require a non-backward compatible change in the library, to be dealt with a version bump or with symbol versioning. I felt both approaches to be overkill for this specific application, especially because there might be other changes to libufs that might become necessary in the near future. So I used the following trick: - read access is always done by calling bread() directly, so we just add the offset in the (few) places that call bread(); - write access is done through bwrite() and sbwrite(), which in turn calls bwrite(). To avoid rewriting sbwrite(), we supply our own version of bwrite() here, which takes precedence over the version in libufs. MFC after: 4 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-03T18:45:38.530585Z K 7 svn:log V 141 When unloading a 32-bit system call module, restore the sysent vector in the 32-bit system call table instead of the main system call table. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-03T20:02:25.774123Z K 7 svn:log V 26 IF_RELENG_7 185198:185562 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-03T20:28:32.088471Z K 7 svn:log V 322 merge 184954, 185325, 185245 - convert suspend mutex from semaphore to sx lock - make initvalues able to handle an arbitrary number of page directories or page tables at startup - ensure that all pages used as page tables are bzeroed and then mapped read-only - make sure that sysmaps->{CADDR1, CADDR2} are initialized END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-03T22:47:33.484125Z K 7 svn:log V 704 A few bugfixes: - Instead of including protocol info in diffs, strip them before adding deltatext and take this into account when applying the diff later. - Don't use strlen when the string in the RCS file may contain garbage. This got caught in the checksumming before, but was not fixed until now. Instead of using strlen, pass the token length when adding log and text entries to a delta. Add an extra length parameter to duptext() to record the token length. - When adding new branches to a file, add them in at the tail instead of the head of the list to get correct ordering when writing out. - Input stream when diffing was opened twice. - Don't expand keywords in diffs between deltas. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-03T23:00:00.549314Z K 7 svn:log V 258 Don't attempt to clear status updates if we did not do a link state change. As a side effect, this makes the excessive interrupts to disappear which has been observed as a regression in recent stable/7. Reported by: many (on -stable@) Reviewed by: davidch END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-03T23:00:57.771035Z K 7 svn:log V 51 Fix build - cast off_t to (intmax_t) for printing. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T01:24:21.090196Z K 7 svn:log V 37 private branch for integrating arpv2 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-04T01:58:40.332253Z K 7 svn:log V 1009 Add support for newer JMC250/JMC260 revisions. o Chip full mask revision 2 or later controllers have to set correct Tx MAC and Tx offload clock depending on negotiated link speed. o JMC260 chip full mask revision 2 has a silicon bug that can't handle 64bit DMA addressing. Add workaround to the bug by limiting DMA address space to be within 32bit. o Valid FIFO space of receive control and status register was changed on chip full mask revision 2 or later controllers. For these controllers, use default 16QW as it's supposed to be the safest value for maximum PCIe compatibility. JMicron confirmed performance will not be reduced even if the FIFO space is set to 16QW. o When interface is put into suspend/shutdown state, remove Tx MAC and Tx offload clock to save more power. We don't need Tx clock at all in this state. o Added new register definition for chip full mask revision 2 or later controllers. Thanks to JMicron for their continuous support of FreeBSD. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-04T02:16:53.229119Z K 7 svn:log V 62 Add HW MAC counter support for newer JMC250/JMC260 revisions. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T02:23:01.951825Z K 7 svn:log V 54 Integrate arp-v2 patch along with a few compile fixes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T04:11:15.727336Z K 7 svn:log V 63 ensure that start of available memory is after allocated pages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T04:11:41.711603Z K 7 svn:log V 63 ensure that start of available memory is after allocated pages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T04:12:46.045951Z K 7 svn:log V 63 ensure that start of available memory is after allocated pages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T05:15:03.014270Z K 7 svn:log V 75 fix initialization for case of normal kernbase remove unused shutdown code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T05:19:49.712397Z K 7 svn:log V 95 Integrate 185444 and 185578 from dfr Use newbus to managed devices and plug a race in netfront END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T07:28:13.143721Z K 7 svn:log V 77 fix initialization for case of normal kernbase remove unused shutdown code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T07:59:05.643213Z K 7 svn:log V 58 Integrate 185578 from dfr Use newbus to managed devices END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T08:17:34.929411Z K 7 svn:log V 55 Integrate 185578 from dfr Use newbus to manage devices END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-12-04T12:22:11.935731Z K 7 svn:log V 61 - MFC the nullfs(5) manual page Approved by: re@ (blackend) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-12-04T12:23:52.871851Z K 7 svn:log V 61 - MFC the nullfs(5) manual page Approved by: re@ (blackend) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-04T13:31:38.705147Z K 7 svn:log V 119 MFC r185515: > Adjustments to make a tags file a bit more suitable to amd64. Reviewed by: peter Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-04T13:32:25.903672Z K 7 svn:log V 125 MFC r185515: > Adjustments to make a tags file a bit more suitable to amd64. Reviewed by: peter Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-04T13:37:18.231238Z K 7 svn:log V 86 MFC r185517: > Catch up with the disappearance of sys/dev/hfa. Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-04T13:37:54.799269Z K 7 svn:log V 89 MFC r185517: > Catch up with the disappearance of sys/dev/hfa. Approved by: re (kib) END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-04T15:34:53.393741Z K 7 svn:log V 20 Bootstrap mergeinfo END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-04T16:31:08.086221Z K 7 svn:log V 62 Put the MIPS support back in after it was removed in r185029. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-04T16:33:45.448062Z K 7 svn:log V 32 Propagate mergeinfo up the tree END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-04T18:44:54.872104Z K 7 svn:log V 19 Bump for integrate END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-04T18:48:08.708371Z K 7 svn:log V 27 integrate from head@185615 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T20:03:15.659737Z K 7 svn:log V 71 integrate generic sleepq_add and _sleep in order to implement sx_sleep END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-04T20:04:25.259794Z K 7 svn:log V 45 Convert virtual devices over to using newbus END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-04T20:32:53.321224Z K 7 svn:log V 258 Fix a bug with the ael1006 PHY. The bug shows up as persistent but incomplete packet loss, of between 10-30%. The fix is to put the PHY into and take it out of local loopback mode when resetting the interface. Obtained from: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-05T00:01:34.517279Z K 7 svn:log V 167 Free mbuf's when the buf_ring is full Fix a use after free bug in em_xmit if_transmit is now stable on em and no longer leaks mbufs or crashes my machine under load. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-05T04:43:25.746348Z K 7 svn:log V 81 Implement a method described in NetBSD PR 36652 for coping with the BAD VCC bit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-05T04:46:26.417589Z K 7 svn:log V 51 Augment comments, and move things around a smidge. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-05T04:48:04.282429Z K 7 svn:log V 17 Minor style nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-05T05:20:08.294350Z K 7 svn:log V 247 Move to using filter for the change interrupts. Also rework the power interrupt code to be more robust. I've been running these changes for over a year... With these changes, I don't see the ath card going into reset like the code in the tree. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:40:36.017386Z K 7 svn:log V 25 IFC 184756:185625 part 1 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:40:52.995204Z K 7 svn:log V 25 IFC 184756:185625 part 2 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:41:53.202875Z K 7 svn:log V 25 IFC 184756:185625 part 3 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:42:54.439899Z K 7 svn:log V 25 IFC 184756:185625 part 4 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:43:51.753967Z K 7 svn:log V 25 IFC 184756:185625 part 5 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:44:52.521331Z K 7 svn:log V 25 IFC 184756:185625 part 6 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:45:36.740513Z K 7 svn:log V 25 IFC 184756:185625 part 7 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T07:47:03.689630Z K 7 svn:log V 25 IFC 184756:185625 part 8 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-05T11:34:36.542591Z K 7 svn:log V 144 Improve db_backtrace() for compat ia32 on amd64. 32bit image enters the kernel via Xint0x80_syscall(). Submitted by: dchagin MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T13:40:25.344893Z K 7 svn:log V 683 - Invoke MOD_QUIESCE on all modules in a linker file (kld) before unloading any modules. As a result, if any module veto's an unload request via MOD_QUIESCE, the entire set of modules for that linker file will remain loaded and active now rather than leaving the kld in a weird state where some modules are loaded and some are unloaded. - This also moves the logic for handling the "forced" unload flag out of kern_module.c and into kern_linker.c which is a bit cleaner. - Add a module_name() routine that returns the name of a module and use that instead of printing pointer values in debug messages when a module fails MOD_QUIESCE or MOD_UNLOAD. MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2008-12-05T14:37:14.585947Z K 7 svn:log V 145 In a case of CARP status change run through the if_link_state_change() routine, so that devd(8) and others are notified about link state change. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-05T15:00:59.657991Z K 7 svn:log V 455 Major cleaning up and refactoring, including but not limited to: * Move MI Xen headers from to * Try to cut down the amount of times one include cross-includes another * Remove all the linux compatibiity macros in favour of an unobfuscated native FreeBSD style. * Don't multiplex error and result values using negative errno return values. * On FreeBSD, malloc(..., M_WAITOK) doesn't return NULL - simplify accordingly. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-05T15:26:19.027009Z K 7 svn:log V 207 Don't use pmap_mapdev to map HVM memory areas - this is ordinary physical memory and we shouldn't use uncacheable mappings for it. Also, don't leak virtual address space when the grant table size increases. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-12-05T15:27:28.126270Z K 7 svn:log V 90 Fix configuration of the PCI bridge. This got omitted in the initial import of this code. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-12-05T15:31:51.696325Z K 7 svn:log V 119 Avoid confusion and adjust link address range of Marvell Orion kernel so it is the same as for Kirkwood and Discovery. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-12-05T15:50:59.226887Z K 7 svn:log V 43 Add an easier example. Reviewed by: trasz END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T16:47:30.927623Z K 7 svn:log V 627 When the SYSINIT() to load a module invokes the MOD_LOAD event successfully, move that module to the head of the associated linker file's list of modules. The end result is that once all the modules are loaded, they are sorted in the reverse of their load order. This causes the kernel linker to invoke the MOD_QUIESCE and MOD_UNLOAD events in the reverse of the order that MOD_LOAD was invoked. This means that the ordering of MOD_LOAD events that is set by the SI_* paramters to DECLARE_MODULE() are now honored in the same order they would be for SYSUNINIT() for the MOD_QUIESCE and MOD_UNLOAD events. MFC after: 1 month END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-05T17:13:40.287103Z K 7 svn:log V 1907 Some libstand/bootp.c extension (written by Danny Braniss, slightly revised/modified by me) to store dhcp options into kenv variables, so the information is available to the boot loader and can be used to customize the boot process. The change is totally unintrusive, essentially made of a single function to be called while parsing a dhcp response, and a couple of tables to classify options. The values extracted from dhcp options are stored in the kenv environment in one of these forms: + options whose name and type is known are saved as dhcp.name = value (string, or number/ip addresses lists) + unknown options are assumed to be strings and saved as dhcp.option-NNN = "value" + options listed as '__INDIR' and sent on the wire as e.g. option unknown-252 "some.name=the actual value" are saved as some.name = "the actual value" + options listed as '__ILIST' and sent on the wire as e.g. option unknown-249 "a.b=foo bar; c.d= 123; e.f=done" are saved as multiple values a.b="foo bar" c.d="123" e.f="done" As you can see there is quite a bit of flexibility on what can be passed to the loader or the kernel. For the time being the vendor-specific table is mostly disabled, because there is no standard set of options for FreeBSD, and I don't know all the pxe-specific vendor options. Also, applications using libstand may live in memory-constrained environments, so it makes sense to keep these tables as small as possible, especially considering that one can generate arbitrary name=value pairs using site-specific options of type __INDIR or __ILIST (there are 4 __ILIST and 5 __INDIR in the table, numbered 246..249 and 250..254). Actually, considering that probably 75% of the standard dhcp options are totally useless, it might make sense to remove them as well. Submitted by: Danny Braniss MFC after: 4 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T17:44:26.670679Z K 7 svn:log V 201 MFC: Add the nfe(4) driver as an alternative to nve(4). To avoid astonishment, nve(4) takes precedence over nfe(4) in this branch. I have also not added it to GENERIC. Reviewed by: yongari (briefly) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T19:53:12.376253Z K 7 svn:log V 130 MFC: Support for the IC Plus IP101 10/100 PHY and Vitesse VSC8601 PHY that are found on some nvidia parts. Suggested by: yongari END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T20:40:02.438419Z K 7 svn:log V 17 Make world build END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-05T20:50:24.573165Z K 7 svn:log V 760 Several threads in a process may do vfork() simultaneously. Then, all parent threads sleep on the parent' struct proc until corresponding child releases the vmspace. Each sleep is interlocked with proc mutex of the child, that triggers assertion in the sleepq_add(). The assertion requires that at any time, all simultaneous sleepers for the channel use the same interlock. Silent the assertion by using conditional variable allocated in the child. Broadcast the variable event on exec() and exit(). Since struct proc * sleep wait channel is overloaded for several unrelated events, I was unable to remove wakeups from the places where cv_broadcast() is added, except exec(). Reported and tested by: ganbold Suggested and reviewed by: jhb MFC after: 2 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T21:14:30.596905Z K 7 svn:log V 361 MFC: It has been observed on the mailing lists that the different categories of pages don't sum to anywhere near the total number of pages on amd64. This is for the most part because uma_small_alloc() pages have never been counted as wired pages, like their kmem_malloc() brethren. They should be. This changes fixes that. Discussed with: alc (a while ago) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T21:16:13.204143Z K 7 svn:log V 58 add inline helper functions for buf_ring enqueue and free END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-05T21:17:19.054116Z K 7 svn:log V 130 - convert to drbr helper functions - free buf_ring on detach - pass mbuf to bpf in direct transmit case pointed out by: Gallatin END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-05T21:17:54.003257Z K 7 svn:log V 354 Unconditionally use locked addition of zero to tip of the stack for memory barriers on i386. It works as a serialization instruction on all IA32 CPUs. Alternative solution of using {s,l,}fence requires run-time checking of the presense of the corresponding SSE or SSE2 extensions, and possible boot-time patching of the kernel text. Suggested by: many END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-05T21:19:24.984493Z K 7 svn:log V 277 Add simple locking for the in-kernel iconv code. Translation operations do not need any locking. Opening and closing translators is serialized using an sx lock. Note: This depends on the earlier fix to kern_module.c to properly order MOD_UNLOAD events. MFC after: 2 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-05T21:30:13.248178Z K 7 svn:log V 304 MFC r185593: Don't attempt to clear status updates if we did not do a link state change. As a side effect, this makes the excessive interrupts to disappear which has been observed as a regression in recent stable/7. Reported by: many (on -stable@) Reviewed by: davidch Approved by: re (kensmith, kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-05T21:32:30.140452Z K 7 svn:log V 304 MFC r185593: Don't attempt to clear status updates if we did not do a link state change. As a side effect, this makes the excessive interrupts to disappear which has been observed as a regression in recent stable/7. Reported by: many (on -stable@) Reviewed by: davidch Approved by: re (kensmith, kib) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-05T21:40:11.957751Z K 7 svn:log V 150 Re submit code to print the part and serial number for Chelsio cards. The original code was accidentally removed in another commit. MFC after: 1 day END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2008-12-05T22:04:52.833492Z K 7 svn:log V 16 Correct a typo. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-05T22:35:44.810239Z K 7 svn:log V 237 MFC revisions 183648 and 185574: 183648 (simon): Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. 185574 (delphij): Update bce(4)'s hardware list to reflect the recent update to driver. Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-05T22:36:49.892577Z K 7 svn:log V 237 MFC revisions 183648 and 185574: 183648 (simon): Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. 185574 (delphij): Update bce(4)'s hardware list to reflect the recent update to driver. Approved by: re (kib) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-06T01:01:17.809501Z K 7 svn:log V 330 MFC r185576: Add some PHY magic to enable PHY hibernation and 1000baseT/10baseT power adjustment. This change is required to guarantee correct operation on certain switches. MFC r185577: AR8113 also need to set DMA read burst value. This should fix occasional DMA read error seen on AR8113. Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-06T01:11:45.650776Z K 7 svn:log V 330 MFC r185576: Add some PHY magic to enable PHY hibernation and 1000baseT/10baseT power adjustment. This change is required to guarantee correct operation on certain switches. MFC r185577: AR8113 also need to set DMA read burst value. This should fix occasional DMA read error seen on AR8113. Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-06T01:31:07.769187Z K 7 svn:log V 200 Forget current bus power settings on full reset. Chip must be reconfigured. Do not issue command if there is no card, clock or power. Controller will not detect command timeout without clock active. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-06T02:10:53.422524Z K 7 svn:log V 113 Bug fix to support N310 version of Chelsio cards (board ID 1088). Obtained from: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-06T05:41:25.249976Z K 7 svn:log V 21 revert local changes END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:52:01.758522Z K 7 svn:log V 38 2 is more portable than STDERR_FILENO END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:53:05.102821Z K 7 svn:log V 93 Windows build now uses PLATFORM_CONFIG_H macro, so we can eliminate the special case for it. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:55:46.985542Z K 7 svn:log V 123 Minor portability: Declare 'r' only within the conditional block where it's used; S_ISLNK is more portable than S_ISLINK. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:56:43.977774Z K 7 svn:log V 53 New internal archive_string_concat utility function. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:58:24.844119Z K 7 svn:log V 34 Recover from a test failure here. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T05:59:46.650820Z K 7 svn:log V 35 Better reporting of test failures. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:00:52.415893Z K 7 svn:log V 20 Style improvements. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:01:50.367970Z K 7 svn:log V 69 Style: skipping() function correctly counts this as a skipped test. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:02:26.858474Z K 7 svn:log V 28 Recover after test failure. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-06T06:08:12.796959Z K 7 svn:log V 25 revert local mbuf change END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:12:24.701233Z K 7 svn:log V 54 A couple of portability fixes from Joerg Sonnenberger END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:17:18.019397Z K 7 svn:log V 433 Style fixes: * Wrap long declarations to fit 80 chars * #undef macros that shouldn't be exported * Organize the version-dependent conditionals a bit more consistently Speculative: * libarchive 3.0 will (eventually) use int64_t instead of off_t. This is an attempt to avoid some the headaches caused by Linux LFS. (I'll still have to do ugly things for the struct stat references in archive_entry.h, of course.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:18:46.551606Z K 7 svn:log V 45 Structure declarations can't be dllexported. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:20:21.093422Z K 7 svn:log V 60 Use GCC-specific dead function markers only when using GCC. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:23:37.391569Z K 7 svn:log V 26 Style: tabs after #define END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:45:15.185496Z K 7 svn:log V 787 MfP4: Big read filter refactoring. This is an attempt to eliminate a lot of redundant code from the read ("decompression") filters by changing them to juggle arbitrary-sized blocks and consolidate reblocking code at a single point in archive_read.c. Along the way, I've changed the internal read/consume API used by the format handlers to a slightly different style originally suggested by des@. It does seem to simplify a lot of common cases. The most dramatic change is, of course, to archive_read_support_compression_none(), which has just evaporated into a no-op as the blocking code this used to hold has all been moved up a level. There's at least one more big round of refactoring yet to come before the individual filters are as straightforward as I think they should be... END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:50:09.580219Z K 7 svn:log V 119 Conditionalize a bunch of debugging messages; this also eliminates what should be the only remaining stdio dependency. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:55:07.615061Z K 7 svn:log V 72 General improvements to Rockridge parsing and ISO9660 format detection. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T06:57:45.472881Z K 7 svn:log V 103 Strip ";1" and trailing "." from ISO9660 entries. This seems a better match for people's expectations. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:08:08.186950Z K 7 svn:log V 515 New tests: * support for bzip2 file with multiple concatenated bzip2 streams * support for bzip2 file with junk after bzip2 stream * support for gzip file with junk after gzip stream * "fuzz" tester randomly modifies a bunch of input files in order to try to crash libarchive (this found an amusing hang in the ISO9660 code when trying to read images that advertised a zero blocksize). This test is implemented, but commented out for now: * support for gzip file with multiple concatenated gzip streams END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:15:42.501243Z K 7 svn:log V 88 Make the GCC-specific __dead2 markers conditional on whether we're compiling under GCC. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:30:40.193451Z K 7 svn:log V 130 Custom command line parser for cpio; this is a little more code but should be a lot fewer cross-platform compatibility headaches. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:37:14.626540Z K 7 svn:log V 61 Only use GCC-specific __dead2 marker when building with GCC. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:37:55.819252Z K 7 svn:log V 86 bsdtar always supports long options now, so we can remove a documentation disclaimer. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-06T07:38:14.425289Z K 7 svn:log V 34 bsdtar is synced up with 2.5.903a END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-06T09:28:46.046183Z K 7 svn:log V 111 Order the str*.c files mostly alphabetical. Submitted by: Florian Smeets MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-06T09:37:54.019350Z K 7 svn:log V 190 Import the strndup(3) function. Copyright attribution is kept the same as in original NetBSD source. Submitted by: Florian Smeets Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-06T09:38:41.154756Z K 7 svn:log V 141 - convert radix node head lock from mutex to rwlock - make radix node head lock not recursive - fix LOR in rtexpunge - fix LOR in rtredirect END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-12-06T11:21:10.569944Z K 7 svn:log V 123 - correct variable name PR: docs/129448 Submitted by: Kenyon Ralph MFC after: Revision 1.91 is merged END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-06T11:33:10.469884Z K 7 svn:log V 239 Make it possible to use gjournal for the root filesystem. Previously, an unclean shutdown would make it impossible to mount rootfs at boot. PR: kern/128529 Reviewed by: pjd Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-12-06T13:19:54.331004Z K 7 svn:log V 1327 Code from the hack-session known as the IETF (and a bit of debugging afterwards): - Fix protection code for notification generation. - Decouple associd from vtag - Allow vtags to have less strigent requirements in non-uniqueness. o don't pre-hash them when you issue one in a cookie. o Allow duplicates and use addresses and ports to discriminate amongst the duplicates during lookup. - Add support for the NAT draft draft-ietf-behave-sctpnat-00, this is still experimental and needs more extensive testing with the Jason Butt ipfw changes. - Support for the SENDER_DRY event to get DTLS in OpenSSL working with a set of patches from Michael Tuexen (hopefully heading to OpenSSL soon). - Update the support of SCTP-AUTH by Peter Lei. - Use macros for refcounting. - Fix MTU for UDP encapsulation. - Fix reporting back of unsent data. - Update assoc send counter handling to be consistent with endpoint sent counter. - Fix a bug in PR-SCTP. - Fix so we only send another FWD-TSN when a SACK arrives IF and only if the adv-peer-ack point progressed. However we still make sure a timer is running if we do have an adv_peer_ack point. - Fix PR-SCTP bug where chunks were retransmitted if they are sent unreliable but not abandoned yet. With the help of: Michael Teuxen and Peter Lei :-) MFC after: 4 weeks END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2008-12-06T13:23:53.045205Z K 7 svn:log V 150 This is simple testing program for revision 185647. It invokes multiple parallel threads and each thread calls vfork() system call. Approved by: kib END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:32:51.673605Z K 7 svn:log V 171 MFC: r175680, r175728. Document the no-op -r option of BSD xargs(1). PR: docs/106416 Submitted by: Pete Slagle, freebsd-stable at voidcaptain.com Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:37:15.948912Z K 7 svn:log V 187 MFC: r175680, r175728. Document the no-op -r option of BSD xargs(1). PR: docs/106416 Submitted by: Pete Slagle, freebsd-stable at voidcaptain.com Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:38:53.005671Z K 7 svn:log V 295 MFC: r175379, r175380 Document that loader(8) stops reading `loader.conf' when it encounters a syntax error, and add a tip about adding first the `vital' options and then experimental ones. PR: docs/119658 Submitted by: Julian Stacey, jhs at berklix.org Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:40:17.938419Z K 7 svn:log V 295 MFC: r175379, r175380 Document that loader(8) stops reading `loader.conf' when it encounters a syntax error, and add a tip about adding first the `vital' options and then experimental ones. PR: docs/119658 Submitted by: Julian Stacey, jhs at berklix.org Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:41:04.586579Z K 7 svn:log V 158 MFC: r173282 Use getcwd() instead of getwd(). The former includes buffer length checks, so it's probably "safer" to use in mtree. Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:44:09.157210Z K 7 svn:log V 158 MFC: r173282 Use getcwd() instead of getwd(). The former includes buffer length checks, so it's probably "safer" to use in mtree. Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:45:37.515334Z K 7 svn:log V 517 MFC: r172623, r175681, r176182, r176184, and r185217 * Document quotachecks use of the passno field. * Explain how the passno field in /etc/fstab works with fsck and quotacheck in some more detail. * Explain in more detail how the pass number field works. * Remove information about block devices; we don't have this sort of separation between character and block devices anymore. * Enhance the explanation of using filesystem-specific mount options, and add a mount_msdosfs example. Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:47:04.096781Z K 7 svn:log V 517 MFC: r172623, r175681, r176182, r176184, and r185217 * Document quotachecks use of the passno field. * Explain how the passno field in /etc/fstab works with fsck and quotacheck in some more detail. * Explain in more detail how the pass number field works. * Remove information about block devices; we don't have this sort of separation between character and block devices anymore. * Enhance the explanation of using filesystem-specific mount options, and add a mount_msdosfs example. Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:48:11.367029Z K 7 svn:log V 212 MFC: r185519 The times(3) function returns the number of CLK_TCKs since the startup time of FreeBSD, not since the UNIX Epoch. PR: docs/122359 Submitted by: Viktor Štujber Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T13:50:03.384432Z K 7 svn:log V 212 MFC: r185519 The times(3) function returns the number of CLK_TCKs since the startup time of FreeBSD, not since the UNIX Epoch. PR: docs/122359 Submitted by: Viktor Štujber Approved by: re (kib) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T14:20:04.505722Z K 7 svn:log V 270 MFC: r175379, r175380 Document that loader(8) stops reading `loader.conf' when it encounters a syntax error, and add a tip about adding first the `vital' options and then experimental ones. PR: docs/119658 Submitted by: Julian Stacey, jhs at berklix.org END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-12-06T14:23:45.409215Z K 7 svn:log V 164 - Eliminate unused variable. [1] - Check for runt frames entering the stack. [2] Suggested by: ganbold[1], yongari[2] Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T14:33:25.333748Z K 7 svn:log V 162 MFC: r175680, r175728. Document the no-op -r option of BSD xargs(1). PR: docs/106416 Submitted by: Pete Slagle, freebsd-stable at voidcaptain.com END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T14:36:08.484374Z K 7 svn:log V 132 MFC: r173282 Use getcwd() instead of getwd(). The former includes buffer length checks, so it's probably "safer" to use in mtree. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T14:42:36.707093Z K 7 svn:log V 491 MFC: r172623, r175681, r176182, r176184, and r185217 * Document quotachecks use of the passno field. * Explain how the passno field in /etc/fstab works with fsck and quotacheck in some more detail. * Explain in more detail how the pass number field works. * Remove information about block devices; we don't have this sort of separation between character and block devices anymore. * Enhance the explanation of using filesystem-specific mount options, and add a mount_msdosfs example. END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-06T14:45:03.345049Z K 7 svn:log V 129 Correct include path for i386 specific includes. This allows zfs to boot on systems where the loader is built on amd64 systems. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T14:50:46.468893Z K 7 svn:log V 189 MFC: r185519 The times(3) function returns the number of CLK_TCKs since the startup time of FreeBSD, not since the UNIX Epoch. PR: docs/122359 Submitted by: Viktor Štujber END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-12-06T19:09:38.910084Z K 7 svn:log V 333 in_rtalloc1(9) returns a locked route, so make sure that we use RTFREE_LOCKED() here. This macro makes sure the reference count on the route is being managed properly. This elimates another case which results in the following message being printed to the console: rtfree: 0xc841ee88 has 1 refs Reviewed by: bz MFC after: 2 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-06T19:21:56.143339Z K 7 svn:log V 327 Add a -L option to wc(1), for finger compatibility with the GNU wc utility. The -L option can be used to report the length of the longest line wc has seen in one or more files. It is disabled by default, and wc uses the standard `-lwc'. Submitted by: Sheldon Givens, sheldon at sigsegv.ca Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-12-06T19:37:52.657797Z K 7 svn:log V 122 Change the default value for the flag enabling superpage mapping and promotion to "on". Reminded by: jhb Tested by: kris END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-06T19:54:50.362166Z K 7 svn:log V 227 MFC: 185548 and followups. Add new KERN_PROC_* handlers with 32/64 bit stable interfaces. Pack records from sysctl to reduce copyout size. Add helper to unpack and provide a more stable interface. Approved by: re (kensmith) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-06T20:36:46.917546Z K 7 svn:log V 95 MF7: 185716 (head 185548 + followups). KERN_PROC_* kinfo updates. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-06T20:49:08.578562Z K 7 svn:log V 58 Get ready for 7.1-RC1 builds. Approved by: re (implicit) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-06T21:19:26.885322Z K 7 svn:log V 164 The startall variable should default to zero, otherwise the vap is restarted everytime an ioctl happens. While I am here, limit the locking scope to SIOCSIFFLAGS. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-06T21:33:44.828433Z K 7 svn:log V 127 Restore memory clobber, to cause mb on the compiler level too. Use more sane formatting of the assembler. Pointed out by: bde END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-06T21:41:27.811009Z K 7 svn:log V 491 Implement suspend/resume for mmc and mmcsd drivers. Now it is possible to suspend/resume with inserted and active card. To reinitialize card on resume and to detect card change while suspended, implement bus rescan routines. It can also be used by controllers without card presence detection signals or with multiple cards per slot support. While there, cleanup msleep() usage. We have no any rights to exit without "request done" signal from driver as it could lead to modify after free. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-06T21:52:32.225516Z K 7 svn:log V 59 Cleanup msleep() arguments. Move wakeup() out of the lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-06T23:00:48.669547Z K 7 svn:log V 215 Carefully handle memory errors to keep peers compression/encryption state consistent. There are some cases reported where peers fatally getting out of sync without any visible reason. I hope this solve the problem. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-06T23:26:02.872284Z K 7 svn:log V 279 Fix some nasty race conditions in the VIA-CUDA driver that ended up preventing my right mouse button and keyboard LEDs from working due to mangled configuration packets. Fixed several other races and associated problems in the main ADB stack that were exposed while fixing this. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-06T23:55:29.121123Z K 7 svn:log V 96 MFC: 184996: use the correct syscall names in END() for three asm stubs. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T00:41:40.865274Z K 7 svn:log V 65 - fix need for conditional runlock - style changes - add comment END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-07T00:42:15.637561Z K 7 svn:log V 220 Add support for automated reboot after power failure on Apple Core99 machines (G3 laptops, all G4 machines, early G5s, G5 Xserves). The relevant sysctl is named dev.pmu.0.server_mode for mental compatibility with Linux. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-07T02:32:49.793509Z K 7 svn:log V 662 When libthr and rtld start up, there are a number of magic spells cast in order to get the symbol binding state "just so". This is to allow locking to be activated and not run into recursion problems later. However, one of the magic bits involves an explicit call to _umtx_op() to force symbol resolution. It does a wakeup operation on a fake, uninitialized (ie: random contents) umtx. Since libthr isn't active, this is harmless. Nothing can match the random wakeup. However, valgrind finds this and is not amused. Normally I'd just write a suppression record for it, but the idea of passing random args to syscalls (on purpose) just doesn't feel right. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-07T03:33:36.681278Z K 7 svn:log V 137 Add filler man pages for the kinfo functions I added recently. While here, hook up the hexdump(3) man page which wasn't being installed. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-07T05:26:05.837846Z K 7 svn:log V 17 Add my user dir. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-07T05:27:32.907246Z K 7 svn:log V 40 Branch for taskq additions to net80211. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T05:46:17.847623Z K 7 svn:log V 41 don't leak buf ring in to user namespace END