‚¬K197861 139 182 233 490 117 156 249 181 191 225 175 132 317 236 1440 329 233 220 235 340 438 390 194 138 134 263 156 127 120 182 134 464 286 203 186 356 171 141 1095 141 162 217 206 147 157 168 165 164 132 214 731 113 248 121 169 214 259 129 166 133 201 133 129 185 242 162 210 167 183 181 426 585 229 369 236 323 242 175 436 143 128 246 353 247 129 174 127 1268 331 131 203 202 356 292 144 277 600 105 246 416 195 171 198 1698 217 429 179 163 223 140 152 176 95 150 152 282 145 174 182 141 168 321 1520 241 290 579 556 121 312 111 203 130 125 159 195 315 436 263 261 388 K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-08T16:05:17.291831Z K 7 svn:log V 90 Allow file system owner to modify system flags if securelevel permits. MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-10-08T17:11:01.870902Z K 7 svn:log V 136 Merge r191009. > Parse 'cmd1 && ! cmd2 | cmd3' correctly, the bang should apply to the entire > pipeline cmd2 | cmd3 and not just cmd2. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-08T17:41:53.595740Z K 7 svn:log V 396 Clean up amd64 suspend/resume code. - Allocate memory for wakeup code after ACPI bus is attached. The early memory allocation hack was inherited from i386 but amd64 does not need it. - Exclude real mode IVT and BDA explicitly. Improve comments about memory allocation and reason for the exclusions. It is a no-op in reality, though. - Remove an unnecessary CLD from wakeup code and re-align. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T18:28:24.886915Z K 7 svn:log V 25 Create my user directory END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T18:44:15.869897Z K 7 svn:log V 64 Import pf .4.5.002 branch to work on make it usable on FreeBSD. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T18:55:12.181611Z K 7 svn:log V 156 Integrate all the changes needed to make pf(4) compile. Mark areas still needing work around ifdef notyet, though they are features as pfsync/pfflow/pflog. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-08T19:45:37.288880Z K 7 svn:log V 87 Properly mark ZFS properties which are not changeable under FreeBSD. Reviewed by: pjd END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-10-08T20:33:12.066863Z K 7 svn:log V 96 Use correct arguments when calling SCTP_RTALLOC(). Approved by: rrs (mentor) MFC after: 0 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-08T20:58:09.902309Z K 7 svn:log V 133 MFC r197727: Put #ifdef INET around parts of the FLOWTABLE code, to unbreak nooptions INET kernel builds. Approved by: re (kib) END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T21:10:58.353727Z K 7 svn:log V 83 Create a dir to better follow guidelines and facilitate contributers on this code. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T21:14:16.909943Z K 7 svn:log V 40 Populate workspace with code from head. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:32:29.264086Z K 7 svn:log V 220 Manually merge r197624 from head to capabilities8: Add audit events for process descriptor system calls, which will appear in a future OpenBSM release. Sponsored by: Google Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:34:40.305847Z K 7 svn:log V 139 Manually merge r197720 from head to capabilities8: Don't comment on stream socket handling in sosend_dgram, since that's not handled. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:37:40.648540Z K 7 svn:log V 1342 Manually merge r197775 from head to capabilities8: First cut at implementing SOCK_SEQPACKET support for UNIX (local) domain sockets. This allows for reliable bi-directional datagram communication over UNIX domain sockets, in contrast to SOCK_DGRAM (M:N, unreliable) or SOCK_STERAM (bi-directional bytestream). Largely, this reuses existing UNIX domain socket code. This allows applications requiring record- oriented semantics to do so reliably via local IPC. Some implementation notes (also present in XXX comments): - Currently we lack an sbappend variant able to do datagrams and control data without doing addresses, so we mark SOCK_SEQPACKET as PR_ADDR. Adding a new variant will solve this problem. - UNIX domain sockets on FreeBSD provide back-pressure/flow control notification for stream sockets by manipulating the send socket buffer's size during pru_send and pru_rcvd. This trick works less well for SOCK_SEQPACKET as sosend_generic() uses sb_hiwat not just to manage blocking, but also to determine maximum datagram size. Fixing this requires rethinking how back-pressure is done for SOCK_SEQPACKET; in the mean time, it's possible to get EMSGSIZE when buffers fill, instead of blocking. Discussed with: benl Reviewed by: bz, rpaulo Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:42:53.988420Z K 7 svn:log V 232 Manually merge r197777 from head to capabilities8: netstat(1) support for UNIX SOCK_SEQPACKET sockets -- changes were required only for the kvm case, as we supported SOCK_SEQPACKET via sysctl already. Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:45:20.428927Z K 7 svn:log V 136 Manually merge r197778 from head to capabilities8: SOCK_SEQPACKET is now supported on UNIX domain sockets. Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:47:22.067256Z K 7 svn:log V 123 Manually merge r197779 from head to capabilities8: Bump unix(4) man page date for SOCK_SEQPACKET. Suggested by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:48:51.687789Z K 7 svn:log V 138 Manually merge r197794 from head to capabilities8: Fix build on amd64, where sysctl arg1 is a pointer. Reported by: Mr Tinderbox END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:52:13.631827Z K 7 svn:log V 243 Manually merge r197804 from head to capabilities8: Add basename_r(3) to complement basename(3). basename_r(3) which accepts a caller-allocated buffer of at least MAXPATHLEN, rather than using a global buffer. Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T21:53:58.560021Z K 7 svn:log V 341 Manually merge r197808 from head to capabilities8: In rtld's map_object(), use pread(..., 0) rather than read() to read the ELF header from the front of the file. As all other I/O on the binary is done using mmap(), this avoids the need for seek privileges on the file descriptor during run-time linking. Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T22:21:53.380436Z K 7 svn:log V 293 Merge TrustedBSD capabilities prototype snapshot from Perforce to capabilities8 project branch; primary development will continue in Perforce, but this branch will allow 8.x users to work with the capabilities parts without braving 9.x. Obtained from: TrustedBSD Project Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T22:26:31.439987Z K 7 svn:log V 98 Sample capabilities kernel configuration. Obtained from: TrustedBSD Project Sponsored by: Google END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:31:19.922779Z K 7 svn:log V 46 Import manually the vendor-sys part of pf(4). END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:33:19.454472Z K 7 svn:log V 42 Import manually the vendor part of pf(4). END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:38:46.403043Z K 7 svn:log V 170 Integrate all the changes needed to make kernel/module pf(4) compile. Mark areas still needing work around ifdef notyet, though they are features as pfsync/pfflow/pflog. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:42:07.066056Z K 7 svn:log V 64 Make pfctl compile as well. This allows pf(4) 4.5 to be tested. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:45:18.427098Z K 7 svn:log V 35 pf_subr.c is gone glory to pf_lb.c END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T22:53:44.646431Z K 7 svn:log V 28 Correct pf tag declaration. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-08T23:01:12.909956Z K 7 svn:log V 90 Remove accidentally slipped in code. Add back in4_cksum.c from previous verison of pf(4). END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-10-09T02:00:32.474155Z K 7 svn:log V 43 Always use --depth files on second+ passes END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-09T03:02:30.911051Z K 7 svn:log V 363 Do not map the trap vectors into the kernel's address space. They are only used in real mode (with the exception of the reset vector, which does not work anyway in conjunction with 64-bit systems, even in bridge mode) and keeping them mapped only serves to make NULL a valid address. This results in silent NULL pointer deferences. Suggested by: Patrick Kerharo END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-09T03:03:26.907995Z K 7 svn:log V 185 Fix a trio of NULL pointer dereferences found after making them fatal. Note: the memory allocation scheme used by ofw_real.c is quite fragile. We need to come up with something better. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-09T06:53:36.263162Z K 7 svn:log V 108 Change the definition of CMSLINK_xx_XX.cm: It can only point to charactermaps, not the cc_CC.charactermaps. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-09T09:12:19.413599Z K 7 svn:log V 90 Merge P4 c169338 to capabilities8: Correct two spelling nits. Submitted by: ceri END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-09T09:18:22.898741Z K 7 svn:log V 259 Merge r197814 from head to stable/8: Remove tcp_input lock statistics; these are intended for debugging only and are not intended to ship in 8.0 as they dirty additional cache lines in a performance-critical per-packet path. Approved by: re (kib, bz) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-09T09:29:59.826078Z K 7 svn:log V 79 Export disk serial numbers for adaX disks. Reviewed by: mav MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-09T09:38:57.198817Z K 7 svn:log V 49 Merge upstream r421: grammar nit in pam.conf(5). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-09T09:42:22.362984Z K 7 svn:log V 1001 If provider is open for writing when we taste it, skip it for classes that depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want to configure partitions on da0 if it is part of gmirror, what we really want is partitions on mirror/foo. During regular work it works like this: if provider is open for writing a class receives the spoiled event from GEOM and detaches, once provider is closed the taste event is send again and class can rediscover its metadata if it is still there. This doesn't work that way when new class arrives, because GEOM gives all existing providers for it to taste, also those open for writing. Classes have to decided on their own if they want to deal with such providers (eg. geom_dev) or not (classes modified by this commit). Reported by: des, Oliver Lehmann Tested by: des, Oliver Lehmann Discussed with: phk, marcel Reviewed by: marcel MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-09T09:42:58.534242Z K 7 svn:log V 49 Merge upstream r421: grammar nit in pam.conf(5). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T10:03:41.925272Z K 7 svn:log V 65 Improved one-line description of this module (taken from NOTES). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-09T10:13:18.858312Z K 7 svn:log V 120 Merge previously omitted gzip.h from Perforce to capabilities8. Obtained from: TrustedBSD Project Sponsored by: Google END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:25:45.890364Z K 7 svn:log V 108 MFC: r197274 Fix the example, -w is the right switch for write failure probability. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:31:36.942299Z K 7 svn:log V 50 MFC: r197275 Fix an xref. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:36:14.630422Z K 7 svn:log V 60 MFC: r197276 Correct a sysctl name. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:41:53.584912Z K 7 svn:log V 71 MFC: r197300 Various mdoc, spelling etc fixes. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:46:55.218723Z K 7 svn:log V 68 MFC: r197310 Fix mdoc, typos, contractions. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-09T13:52:49.270501Z K 7 svn:log V 67 MFC: r197312 Fix setfib(1) section number. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-09T14:30:28.757490Z K 7 svn:log V 32 Fix comment to reflect reality. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-09T14:31:29.365580Z K 7 svn:log V 113 Use long for the bcopy word size instead of int. This is a no-op on the 32-bit systems, but expands well for 64. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-09T15:51:40.364425Z K 7 svn:log V 634 atomic_cmpset_barr_* was added in order to cope with compilers willing to specify their own version of atomic_cmpset_* which could have been different than the membar version. Right now, however, FreeBSD is bound mostly to GCC-like compilers and it is desired to add new support and compat shim mostly when there is a real necessity, in order to avoid too much compatibility bloats. In this optic, bring back atomic_cmpset_{acq, rel}_* to be the same as atomic_cmpset_* and unwind the atomic_cmpset_barr_* introduction. Requested by: jhb Reviewed by: jhb Tested by: Giovanni Trematerra END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-09T16:01:57.304973Z K 7 svn:log V 13 IFC @ 197910 END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-09T19:01:26.557759Z K 7 svn:log V 155 * pflog(4) now compiles * Unbreak ipfw(4) build since the changing of pf(4) tag structure * Fix typos on some KASSERTs NOTE: GENERIC kernel now compiles. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-09T19:23:12.882380Z K 7 svn:log V 29 Actually make pfctl compile. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-10-09T19:30:23.460492Z K 7 svn:log V 74 Do not include vnet.h twice. Approved by: rrs (mentor) MFC after: 3 days END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-09T23:04:15.344070Z K 7 svn:log V 121 * Remove unused uma zone in pf 4.5 * Correct a typo in pf module makefile that has lurked in FreeBSD unbelivably long!!! END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-09T23:38:08.992968Z K 7 svn:log V 166 * Add to initialization/destroy some new pools used in pf(4) * Fix a panic related to trying to allocate memory with M_WAITOK whith the lock held in pf(4) osfp code. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-09T23:56:05.101216Z K 7 svn:log V 32 Merge r195305:196045 from head. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T00:02:18.364471Z K 7 svn:log V 69 Branch off current 8.x code to create a new branch that tracks head. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T00:20:37.017030Z K 7 svn:log V 36 Merge r196045:197918 from stable/8. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T00:27:16.615504Z K 7 svn:log V 103 Branch off current 8.x code to create a new branch that tracks head. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T00:34:30.010835Z K 7 svn:log V 36 Merge r196045:197920 from stable/8. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:03:56.348212Z K 7 svn:log V 32 Merge r196045:197921 from head. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:15:40.787843Z K 7 svn:log V 88 Undo r197921 which merged the wrong set of revisions. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:17:12.107655Z K 7 svn:log V 144 Got ahead of myself and created the new branch before merging the correct set of revisions to the 8.x branch. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:25:11.280399Z K 7 svn:log V 65 Merge 195779:196045 from head. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:28:22.859952Z K 7 svn:log V 112 Branch off current 8.x code to create a new branch that tracks head (take 2). Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-10T01:47:27.455243Z K 7 svn:log V 70 Merge r196045:197926 from stable/8. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T03:32:46.572759Z K 7 svn:log V 91 Fix typo which has survived amazingly long! Approved by: mlaier(mentor) MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-10-10T13:59:18.895762Z K 7 svn:log V 86 Correct include order as indicated by bz. Approved by: re (mentor) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T14:56:34.311842Z K 7 svn:log V 333 Postpone dropping fp till both kq_global and kqueue mutexes are unlocked. fdrop() closes file descriptor when reference count goes to zero. Close method for vnodes locks the vnode, resulting in "sleepable after non-sleepable". For pipes, pipe mutex is before kqueue lock, causing LOR. Reported and tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T15:27:10.788648Z K 7 svn:log V 492 Calculate relocation base for the main object, and apply the relocation adjustment for all virtual addresses encoded into the ELF structures of it. PIE binary could and should be loaded at non-zero mapbase. For sym_zero pseudosymbol used as a return value from find_symdef() for undefined weak symbols, st_value also should be adjusted, since _rtld_bind corrects symbol values by relocbase. Discussed with: bz Reviewed by: kan Tested by: bz (i386, amd64), bsam (linux) MFC after: some time END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T15:28:52.273097Z K 7 svn:log V 136 Do not map segments of zero length. Discussed with: bz Reviewed by: kan Tested by: bz (i386, amd64), bsam (linux) MFC after: some time END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T15:31:24.796817Z K 7 svn:log V 276 Define architectural load bases for PIE binaries. Addresses were selected by looking at the bases used for non-relocatable executables by gnu ld(1), and adjusting it slightly. Discussed with: bz Reviewed by: kan Tested by: bz (i386, amd64), bsam (linux) MFC after: some time END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T15:33:01.157689Z K 7 svn:log V 143 Map PIE binaries at non-zero base address. Discussed with: bz Reviewed by: kan Tested by: bz (i386, amd64), bsam (linux) MFC after: some time END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T16:08:05.315662Z K 7 svn:log V 230 * Make pfsync(4) compile. OpenBSD TDB features are wrapped with notyet for now. * Add Makefile under modules directory to allow pfsync(4) to be built/loaded as module. * Remove dependency of pf(4) module from pfsync(4) internals. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T17:41:16.307202Z K 7 svn:log V 149 * Make possible that pfsync(4) can be loaded as module. * Fix typos which unbreaks GENERIC builds. NOTE: As of now pf 4.5 is working on FreeBSD 8+. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T17:56:18.897232Z K 7 svn:log V 83 pfsync(4) can be loaded at runtime. Remove leftovers notyet defines for pfsync(4). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-10T18:24:54.073905Z K 7 svn:log V 340 MFC change 197721: Fix RTS/CTS flow control, broken by the TTY overhaul. The new TTY interface is fairly simple WRT dealing with flow control, but needed 2 new RX buffer functions with "get-char-from-buf" separated from "advance-buf-pointer" so that the pointer could be advanced only when ttydisc_rint() succeeded. Approved by: re (kib) END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T19:54:45.331388Z K 7 svn:log V 51 * Make pflow(4) compile. TODO: Add locking to it. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T20:26:17.885389Z K 7 svn:log V 36 Remove notyet defines for pflow(4). END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-10T21:10:49.192758Z K 7 svn:log V 153 Fix mergeinfo for r196843 (r196518) and r196997 (r196519). Folks, *please* use 'svn merge' instead of applying patches manually! Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-10T21:17:30.094877Z K 7 svn:log V 260 Refine r195509, instead of checking that vnode type is VBAD, that is set quite late in the revocation path, properly verify that vnode is not doomed before calling VOP. Reported and tested by: Harald Schmalzbauer MFC after: 3 days END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T21:32:33.552250Z K 7 svn:log V 154 * Lock pflow(4) list with pf(4) lock. More advanced schemas needs changes in pf(4) locking itself. * Defer the sending of pflow(4) packets to avoid LORs. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T21:43:04.814695Z K 7 svn:log V 37 Make if_pflow.c known to the kernel. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-10T21:49:04.274846Z K 7 svn:log V 80 Orphaning provider with EXDEV seems weird; perhaps the author meant ENXIO here? END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-10T21:56:39.952826Z K 7 svn:log V 35 Add ifconfig support for pflow(4). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-10T22:17:03.363638Z K 7 svn:log V 1172 In regards to the "Starting foo:" type messages at boot time, create and employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. In the following scripts substitute if/then/fi for the simpler (and more consistent) check_startmsgs &&: faith stf 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-10T22:29:34.049386Z K 7 svn:log V 235 Atheros EEPROM version 4K. This version is mostly based on version 1.4. This is needed by the upcoming AR9285 support. Information on the layout gathered from Linux ath9k. Not yet connected to the build. Tested by: Eugeny Dzhurinsky END K 10 svn:author V 3 das K 8 svn:date V 27 2009-10-11T00:08:55.508297Z K 7 svn:log V 39 Document errno codes added in r144530. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-10-11T01:51:35.866944Z K 7 svn:log V 106 Add pci id's for Intel G41 chipset Submitted by: Artyom Mirgorodsky MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-10-11T01:54:00.905573Z K 7 svn:log V 105 Add support for Intel G41 chipset Submitted by: Artyom Mirgorodsky MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-10-11T05:59:43.343450Z K 7 svn:log V 260 Virtualize the pfil hooks so that different jails may chose different packet filters. ALso allows ipfw to be enabled on on ejail and disabled on another. In 8.0 it's a global setting. Sitting aroung in tree waiting to commit for: 2 months MFC after: 2 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-11T07:03:56.746919Z K 7 svn:log V 195 Add locking around access to parent node, and bail out when the parent node is already freed rather than panicking the system. PR: kern/122038 Submitted by: gk Tested by: pho MFC after: 1 week END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-11T11:00:14.417037Z K 7 svn:log V 52 Fix compilation of all userland utilities of pf(4). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-10-11T12:23:56.415776Z K 7 svn:log V 181 Fix a race condition where a mutex was destroyed while sleeping on it. Found while analyzing a report from julian. It might fix his bug. Approved by: rrs (mentor) MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-11T12:32:25.887920Z K 7 svn:log V 508 - Catch SIGHUP to perform cleanup before exiting. - Exit if getch() returns with an error other than EINTR. Otherwise systat(1) may get stuck in an infinite loop if it doesn't receive SIGHUP when terminal closes. [1] - Remove attempt to clear stdio error indicators. getch() doesn't use stdio, making it useless. [2] - Remove unneeded masking of getch() return value. [2] PR: bin/107171 Reviewed by: bde Approved by: trasz (mentor) Obtained from: OpenBSD [1] Suggested by: bde [2] MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-11T14:27:33.040667Z K 7 svn:log V 13 Remove dupe. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-11T16:23:11.089773Z K 7 svn:log V 153 In nanosleep(2), note that the calling thread is put to sleep, not the whole process. Also explicitely name the parameter that specifies sleep interval. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-11T16:35:12.561852Z K 7 svn:log V 320 MFC r196483,r196634: sh: Fix crash when undefining or redefining a currently executing function Add a reference count to function definitions. Memory may leak if a SIGINT arrives in interactive mode at exactly the wrong time, this will be fixed later by changing SIGINT handling. PR: bin/137640 Approved by: re (kib) END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-11T16:39:16.925599Z K 7 svn:log V 100 MFC r197835: - Document that 'Dell PowerEdge R710' has bce(4) supported NIC. - Bump document date. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-11T16:41:39.355006Z K 7 svn:log V 71 Correct a typo here and actually save DSISR instead of overwriting it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-11T16:44:58.066256Z K 7 svn:log V 98 Correct another typo. Actually save the condition register instead of overwriting r12 by mistake. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-11T16:49:30.268807Z K 7 svn:log V 1604 Currently, when signal is delivered to the process and there is a thread not blocking the signal, signal is placed on the thread sigqueue. If the selected thread is in kernel executing thr_exit() or sigprocmask() syscalls, then signal might be not delivered to usermode for arbitrary amount of time, and for exiting thread it is lost. Put process-directed signals to the process queue unconditionally, selecting the thread to deliver the signal only by the thread returning to usermode, since only then the thread can handle delivery of signal reliably. For exiting thread or thread that has blocked some signals, check whether the newly blocked signal is queued for the process, and try to find a thread to wakeup for delivery, in reschedule_signal(). For exiting thread, assume that all signals are blocked. Change cursig() and postsig() to look both into the thread and process signal queues. When there is a signal that thread returning to usermode could consume, TDF_NEEDSIGCHK flag is not neccessary set now. Do unlocked read of p_siglist and p_pendingcnt to check for queued signals. Note that thread that has a signal unblocked might get spurious wakeup and EINTR from the interruptible system call now, due to the possibility of being selected by reschedule_signals(), while other thread returned to usermode earlier and removed the signal from process queue. This should not cause compliance issues, since the thread has not blocked a signal and thus should be ready to receive it anyway. Reported by: Justin Teller Reviewed by: davidxu, jilles MFC after: 1 month END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-11T16:52:24.859121Z K 7 svn:log V 122 MFC r197835: - Document that 'Dell PowerEdge R710' has bce(4) supported NIC. - Bump document date. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-11T17:04:13.783489Z K 7 svn:log V 336 Tweaks for sigqueue tests: - slightly adjust code for style, sort headers. - in sigqtest2, print received signals, to make it easy to see why test failed. - in sigqtest2, job_control_test(), cover a race by adding sleep after child stopped itself to allow for SIGCHLD due to stop and exit to not be coalesced. MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-11T18:14:18.564596Z K 7 svn:log V 85 MFC r196700: Manual page for mfiutil(8) is in section 8 now. Approved by: re (kib) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-11T18:21:55.824203Z K 7 svn:log V 66 Merge r196045:197958 from head. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-11T20:19:45.556848Z K 7 svn:log V 127 Make openat(2) a cancellation point. This is required by POSIX and matches open(2). Reviewed by: kib, jhb MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-11T20:42:26.981437Z K 7 svn:log V 45 Scan for option ROMs on i386 and amd64 only. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-11T20:46:56.207734Z K 7 svn:log V 55 Fix mismerged files. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-11T20:52:18.855631Z K 7 svn:log V 79 Remove obsolete vimage.h include from SIFTR. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-11T21:25:47.558103Z K 7 svn:log V 4 IFH END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-11T21:28:56.362893Z K 7 svn:log V 56 - Fix CPU divisor mask Repored by: Luiz Otavio O Souza END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-12T07:29:50.998638Z K 7 svn:log V 55 Fix mismerged files. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-12T10:08:58.635664Z K 7 svn:log V 186 Another 3.03 draft bit that I missed in the previous 802.11s stack update. The Mesh Configuration IE has changed quite a bit. Refactor the code to handle this change. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-12T10:09:48.479440Z K 7 svn:log V 53 Fix typo. Submitted by: rdivacky MFC after: 1 month END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-12T10:30:15.232166Z K 7 svn:log V 79 Fix a wrong initialization that snuck in the latest commit. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-12T12:21:37.446620Z K 7 svn:log V 85 MFC: r197274 Fix the example, -w is the right switch for write failure probability. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-12T12:54:34.643181Z K 7 svn:log V 44 MFC: r197312 Fix setfib(1) section number. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-12T14:51:19.126164Z K 7 svn:log V 73 Update for latest 802.11s changes in meshconf format. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-12T15:32:00.480033Z K 7 svn:log V 224 MFC r197643, r197735: When releasing a read/shared lock we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-12T15:46:17.206781Z K 7 svn:log V 1421 MFC r197812: Fix tcsh losing history when tcsh terminates because the pty beneath it is closed. Diagnosed by Ted Anderson: New signal queuing logic was introduced in 6.15 and allows the signal handlers to be run explicitly by calling handle_pending_signals, instead of immediately when the signal is delivered. This function is called at various places, typically when receiving a EINTR from a slow system call such as read or write. In the pty exit case, it was called from xwrite, called from flush, while printing the "exit" message after receiving EOF when reading from the pty (note that the read did not return EINTR but zero bytes, indicating EOF). The SIGHUP handler, phup(), called rechist, which opened the history file and began writing the merged history to it. This process invoked flush recursively to actually write the data. In this case, however, the flush noticed it was being called recursively and decided fail by calling stderror. My conclusion was that the signal was being handled at a bad time. But whether to fix flush not to care about the recursive call, or to handle the signal some other time and when to handle it, was unclear to me. However, by adding an extra call to handle_pending_signals, just after process() returns to main(), I was able to avoid the truncated history after network outages and similar failures. I verified this fix in version 6.17. Approved by: re (kib) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2009-10-12T15:49:48.428276Z K 7 svn:log V 145 Improve the description of sysctl "kern.sugid_coredump". Submitted by: Mel Flynn on -hackers END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-12T15:56:27.686285Z K 7 svn:log V 193 MFC r1979643: When releasing a read/shared lock we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-12T16:05:31.192028Z K 7 svn:log V 482 MFC r197803, r197824, r197910: Per their definition, atomic instructions used in conjuction with memory barriers should also ensure that the compiler doesn't reorder paths where they are used. GCC, however, does that aggressively, even in presence of volatile operands. The most reliable way GCC offers for avoid instructions reordering is clobbering "memory". Not all our memory barriers, right now, clobber memory for GCC-like compilers. Fix these cases. Approved by: re (kib) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-12T16:11:25.037481Z K 7 svn:log V 459 MFC r197803, r197824, r197910: Per their definition, atomic instructions used in conjuction with memory barriers should also ensure that the compiler doesn't reorder paths where they are used. GCC, however, does that aggressively, even in presence of volatile operands. The most reliable way GCC offers for avoid instructions reordering is clobbering "memory". Not all our memory barriers, right now, clobber memory for GCC-like compilers. Fix these cases. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-12T16:47:55.222045Z K 7 svn:log V 29 Witness the birth of svnsup! END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-12T16:51:48.194152Z K 7 svn:log V 219 * First pass at adding virtualization to pf(4). * The rule of V_ is not followed in an attempt to minimize the diff with upstream(hopefully it works). * Fix some whitespaces around. NOTE: The tree might not build now. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-12T16:53:49.427248Z K 7 svn:log V 19 Missed conversion. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-12T16:55:19.111469Z K 7 svn:log V 110 svn_client_get_username_prompt_provider() is deprecated, use svn_auth_get_username_prompt_provider() instead. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-12T16:56:06.986589Z K 7 svn:log V 38 Don't discard user-provided CPPFLAGS. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-12T16:56:28.249641Z K 7 svn:log V 33 We need /usr/local/* in FreeBSD. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-12T17:03:57.696943Z K 7 svn:log V 67 Finish converting all global variables to virtualize declarations. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-12T17:09:35.481429Z K 7 svn:log V 102 libsvn 1.6 segfaults if the config argument to svn_ra_open3() is NULL. Pass in an empty hash instead. END K 10 svn:author V 5 bland K 8 svn:date V 27 2009-10-12T17:10:51.154978Z K 7 svn:log V 220 Link GSS mechanics modules against libgssapi so they will not fail due unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL flag set (which is the default). Reviewed by: dfr, jhb MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-12T18:54:02.138179Z K 7 svn:log V 343 - Do not assign a link-local address when ND6_IFF_IFDISABLED. Adding a tentative address is useless. - Comment out a confused warning message when in6_ifattach_linklocal() fails. This can occur when the interface does not support ioctl(SIOCAIFADDR) (interfaces associated with 802.11 wireless network device drivers, for example). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-12T18:58:42.923617Z K 7 svn:log V 166 Add a MODULE_DEPEND() on the NFS client from dtnfsclient so that dtnfsclient can access NFS client symbols. MFC after: 3 days Discussed with: kib Reported by: markm END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-12T18:59:31.674491Z K 7 svn:log V 164 Export DTrace symbols from nfsclient so that dtnfsclient can get to them. This fixes DTrace with nfsclient built as a module. MFC after: 3 days Reported by: markm END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-12T19:19:08.863241Z K 7 svn:log V 295 Fix the 106/109 USB Japanese keyboard "underscore" issue. Sun Type 6 USB keyboard support added in rev 1.46 conflicted with some scan codes used in Japanese keyboards because the scan code conversion routine was ambiguous for the overlapped codes. PR: ports/134005 Submitted by: YAMASHIRO Jun END