ĵ]170749 168 570 160 220 339 148 130 241 171 132 148 183 241 211 138 133 193 241 256 259 132 141 248 284 165 121 1402 265 257 209 206 171 214 486 221 169 168 280 237 469 262 135 149 132 345 156 205 181 263 350 197 251 259 129 570 452 190 325 248 319 753 188 162 128 277 341 193 2379 1509 461 110 407 166 130 215 311 286 752 217 126 117 133 135 146 157 219 234 274 187 501 225 356 389 405 192 342 179 664 2367 395 352 165 531 965 444 180 1483 330 180 415 164 550 253 174 315 123 241 140 145 234 162 624 220 119 446 152 365 416 113 176 225 138 171 175 276 137 293 263 115 116 207 136 1428 142 206 155 368 558 323 370 440 157 900 143 390 284 115 647 105 189 160 186 455 492 496 282 1757 193 163 K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-06-15T02:53:51.000000Z K 7 svn:log V 476 - Conditionally pickup Giant around the network interface ioctl routines if we are running with !mpsafenet - Change un-conditional Giant acquisition around ifpromisc to occur only if we are running with !mpsafenet With these locking bits in place, we can now remove the Giant requirement from BPF, so drop the D_NEEDGIANT device flag. This change removes Giant acquisitions around BPF device handlers (read, write, ioctl etc). MFC after: 1 month Discussed with: rwatson END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-15T02:54:32.000000Z K 7 svn:log V 68 MFC 1.4: note panic if struct selinfo is used without being zeroed. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T03:16:48.000000Z K 7 svn:log V 127 - Add VRF id to sctp_ifa structure, needed mainly in panda but useful during deletes of ifa's in diff VRF's when applicable. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-06-15T03:21:20.000000Z K 7 svn:log V 241 You can never have enough documentation. Document the SENDMAIL_ALIASES, SENDMAIL_MAP_SRC, SENDMAIL_MAP_TYPE, and SENDMAIL_START_SCRIPT .Xr make.conf 5 variables. These are used in .Pa /etc/mail/Makefile . PR: conf/40548 MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-06-15T04:41:15.000000Z K 7 svn:log V 54 Add a man page for wlan_amrr Reviewed by: sam, sephe END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:06:13.000000Z K 7 svn:log V 34 Virgin import of diffutils 2.8.7. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:06:13.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r170754, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-06-15T07:06:14.000000Z K 7 svn:log V 75 This commit was manufactured by cvs2svn to create tag 'diff-vendor-v2_8_7'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:08:19.000000Z K 7 svn:log V 36 Localized regeneration of config.h. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:09:34.000000Z K 7 svn:log V 52 Update build skeleton after diffutils 2.8.7 update. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:17:50.000000Z K 7 svn:log V 87 Remove old files that no longer exist in latest distribution or removed during import. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:17:50.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r170759, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:22:26.000000Z K 7 svn:log V 114 Remove files that were taken off vendor branch. Difference against vendor branch is now maintained in patchsets. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:28:00.000000Z K 7 svn:log V 42 Add a list of removed files during import END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:36:39.000000Z K 7 svn:log V 37 Update instructions about upgrading. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:49:35.000000Z K 7 svn:log V 97 Apply vendor patch that implements 1/2 as aliases of l/r. Requested by: dmalone, Chuck Swiger END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T07:49:35.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r170764, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-15T08:53:23.000000Z K 7 svn:log V 159 Pullup revision 1.191 date: 2007/03/12 09:13:13; author: sos; state: Exp; lines: +1 -1 Fix support for the VIA8237A SATA part. HW sponsored by: Bob Bishop END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T10:10:40.000000Z K 7 svn:log V 166 Make perr() variadic and add perrx() to use in cases where errno is irrelevant. Some code duplication can be reduced if perr() is variadic and perrx() is available. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T10:12:37.000000Z K 7 svn:log V 40 Catch up with perr() becoming variadic. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T10:34:36.000000Z K 7 svn:log V 49 Actually use new features of perr() and perrx(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T11:22:10.000000Z K 7 svn:log V 155 Split the FILES list across multiple lines as in rc.d/Makefile so that the change history stays easily readable as the number of PAM-aware services grows. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T11:33:13.000000Z K 7 svn:log V 191 Locked out and expired accounts shouldn't be accessible via remote mailbox protocols. Add pam_unix to the `account' function class, too, for imap and pop3 to actually implement this policy. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-15T11:35:11.000000Z K 7 svn:log V 68 Re-enable raw dump format support on i386 and amd64 for /dev/fwmem. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-15T12:02:16.000000Z K 7 svn:log V 29 Add PAM support to atrun(8). END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-06-15T12:03:07.000000Z K 7 svn:log V 1308 Third stage of unbreaking printing of pseudo-nice values (realtime priorities, etc.) in the NICE field: Use a combination of pri_native and pri_user instead of pri_level to guess the original realtime priority. Using pri_level here has been wrong since 2001/02/12. Using only pri_native here would be correct if the kernel actually initialized it reasonably. (The kernel exports its raw td_base_priority as pri_native, but userland mostly wants a refined base priority). Give up on waiting pri_native to work correctly and only use it when there is nothing better (for kthreads). This should reduce printing of bizarre pseudo-nice values. Bizarre values are still printed if we observe a transient borrowed priority for a kthread (transient borrowing is the main thing that makes the raw td_base_priority almost useless in userland), or if there is a kernel bug. One current kernel bug involves the kernel idprio thread pagezero permanently changing its priority from PRI_MAX_IDLE (255) to PUSER (160). Then the bizarre value "ki-6" is printed instead of "ki31". Here "-6" is PRI_MIN_IDLE - PUSER = -64 truncated to 2 characters. We are observing a transient borrowed priority that has become permanent due to a bug. ps/print.c:priorityr() needs similar changes (including ones in stage 2 here). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-15T12:09:16.000000Z K 7 svn:log V 167 - Add an option to change escape character. - Use CTRL macro. - Make target reset work on telnet port. - Add a key bind to invoke kgdb on the terminal. (experimental) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-06-15T14:41:11.000000Z K 7 svn:log V 159 The i386 "fixit" floppy began overflowing, most likely due to the new gcc. Replace vi(1) with ed(1) as the editor to make the contents fit on a floppy again. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-15T15:20:56.000000Z K 7 svn:log V 112 In setaudit_addr(), drop the process lock in error cases. Submitted by: Peter Holm (BugMaster) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-06-15T15:41:22.000000Z K 7 svn:log V 112 New release notes: 802.11 stack megacommit, IPX-over-IP gone, SSM, pam_nologin(8) change, GNU Diffutils 2.8.7. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-06-15T16:09:47.000000Z K 7 svn:log V 76 Simplify/optimize RB_NFIND(). Submitted by: Andriy Gapon END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-15T17:55:44.000000Z K 7 svn:log V 121 Add a new counter for retransmitted packets due to SACK. PR: bin/112881 Submitted by: Phil Rosenthal END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T17:59:57.000000Z K 7 svn:log V 393 - Issue one, new stack reduction left packet_drop handling still thinking it had the whole chunk. This could cause a crash if a large packet drop came in. Fixed by adjusting the trunc length down to the limit. - Large sacks with lots of segments could also have same issue. Changed duplicate and segment handling to use proper get_m_ptr function to pull each block from mbuf chains. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-15T18:00:10.000000Z K 7 svn:log V 128 Consistently indent the R() macro for fields on the right-side of the display to make the code easier to read. PR: bin/112881 END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-15T18:02:34.000000Z K 7 svn:log V 77 Convert magic to a uintptr_t. This should get rid of some warnings on gcc4. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-15T18:12:58.000000Z K 7 svn:log V 76 Expand TCP counters from 9 digits to 12. MFC after: 1 week PR: bin/112881 END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-06-15T18:59:10.000000Z K 7 svn:log V 187 Stub out imported IGMPv3 definitions which clash with those of the XORP router; the IGMPv3 definitions will be updated at a later point in time when IGMPv3/MLDv2 support is fully merged. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T19:28:58.000000Z K 7 svn:log V 144 - Update the comment lines in sctp_input.c - We need to init the INP_LOCK since otherwise for non-SMP kernels you crash when you set the TOS. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-06-15T19:33:58.000000Z K 7 svn:log V 375 - Fix an off by one error in sched_pri_range. - In tdq_choose() only assert that a thread does not have too high a priority (low value) for the queue we removed it from. This will catch bugs in priority elevation. It's not a serious error for the thread to have too low a priority as we don't change queues in this case as an optimization. Reported by: kris END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T19:49:13.000000Z K 7 svn:log V 169 When removing a stream from the output-stream-wheel, if its the first stream we saw we must update the starting point in the wheel, else we may loop in an endless loop. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-06-15T20:02:02.000000Z K 7 svn:log V 41 Fix build warnings Submitted by: mjacob@ END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T20:23:41.000000Z K 7 svn:log V 57 Remove extraneous extern (its gotten from sctp_sysctl.h) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-15T20:54:12.000000Z K 7 svn:log V 40 Name change SCTP_KTR_SUBSYS -> KTR_SCTP END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-15T21:32:51.000000Z K 7 svn:log V 253 Though we are only called for the three security protocols we can handle, document those sprotos using an IPSEC_ASSERT so that it will be clear that 'spi' will always be initialized when used the first time. Found with: Coverity Prevent(tm) CID: 2533 END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-15T21:34:12.000000Z K 7 svn:log V 65 s,#,*, in a multi-line comment. This is C. No functional change. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-15T21:45:41.000000Z K 7 svn:log V 108 The mac address must be written a word length at a time, it was having no effect before. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-06-15T21:54:26.000000Z K 7 svn:log V 86 Remove stale 'XXX implement' comments for syscalls which have since been implemented. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-06-15T22:00:16.000000Z K 7 svn:log V 167 Fix junk/zero filling for realloc(). Junk filling was missing in one case, and zero filling was broken in a way that could cause memory corruption. Update comments. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-15T22:23:33.000000Z K 7 svn:log V 258 Looking at {ah,esp}_input_cb it seems we might be able to end up without an mtag in ipsec4_common_input_cb. So in case of !IPCOMP (AH,ESP) only change the m_tag_id if an mtag was passed to ipsec4_common_input_cb. Found with: Coverity Prevent(tm) CID: 2523 END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-06-15T22:32:33.000000Z K 7 svn:log V 101 Add information about the implications of using mmap(2) instead of sbrk(2). Submitted by: bmah, jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-15T22:35:59.000000Z K 7 svn:log V 159 With the current code 'src' is never NULL. Nevertheless move the check for NULL before dereferencing the pointer. Found with: Coverity Prevent(tm) CID: 2528 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-15T22:54:11.000000Z K 7 svn:log V 163 Garbage collect some debug code that not only no longer could work but in fact probably causes a random pointer dereferences. Garbage collect the tp variable too. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-15T22:56:12.000000Z K 7 svn:log V 34 Garbage collect unused variables. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-06-15T22:58:14.000000Z K 7 svn:log V 475 Prototype (but functional) Linux-ish /dev/nvram interface to the extra 114 bytes of cmos ram in the PC clock chip. The big difference between this and the Linux version is that we do not recalculate the checksums for bytes 16..31. We use this at work when cloning identical machines - we can copy the bios settings as well. Reading /dev/nvram gives 114 bytes of data but you can seek/read/write whichever bytes you like. Yes, this is a "foot, gun, fire!" type of device. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-15T23:45:39.000000Z K 7 svn:log V 360 Add a missing return so that we drop out in case of an error and do not continue with a NULL pointer. [1] While here change the return of the error handling code path above. I cannot see why we should always return 0 there. Neither does KAME nor do we in here for the similar check in all the other functions. Found with: Coverity Prevent(tm) [1] CID: 2521 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-15T23:49:54.000000Z K 7 svn:log V 95 Initialize some variables that GCC4.2 thinks might possibly be used without being initialized. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-16T00:15:14.000000Z K 7 svn:log V 233 In case of failure we can directly return ENOBUFS because 'result' is still NULL and we do not need to free anything. That allows us to gc the entire goto parts and a now unused variable. Found with: Coverity Prevent(tm) CID: 2519 END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-16T00:33:47.000000Z K 7 svn:log V 155 - Matthew's changes to get inlines out, plus a few of my own to deal with the VRF inline function -> becomes a macro now. Submitted by: Matthew Jacobs END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-16T00:59:41.000000Z K 7 svn:log V 221 - Lock sbp_write_cmd() and ORB_POINTER_ACTIVE flag. - Remove unnecessary timestamps. - Return CAM_RESRC_UNAVAIL for ORB shortage. - Fix a lock problem when doorbell is used. - Fix a potential bug for unordered execution. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-16T01:56:05.000000Z K 7 svn:log V 656 MFp4: Add tmpfs, an efficient memory file system. Please note that, this is currently considered as an experimental feature so there could be some rough edges. Consult http://wiki.freebsd.org/TMPFS for more information. For now, connect tmpfs to build on i386 and amd64 architectures only. Please let us know if you have success with other platforms. This work was developed by Julio M. Merino Vidal for NetBSD as a SoC project; Rohit Jalan ported it from NetBSD to FreeBSD. Howard Su and Glen Leeder are worked on it to continue this effort. Obtained from: NetBSD via p4 Submitted by: Howard Su (with some minor changes) Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-16T02:04:44.000000Z K 7 svn:log V 92 MFp4: Add regression tests for tmpfs. Obtained from: NetBSD via p4 Submitted by: Howard Su END K 10 svn:author V 7 davidch K 8 svn:date V 27 2007-06-16T02:27:03.000000Z K 7 svn:log V 66 - Migrated IPMI fix from RELENG_6. - Added additional debug code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-16T02:35:29.000000Z K 7 svn:log V 32 Add a manual page for tmpfs(5). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-16T02:43:44.000000Z K 7 svn:log V 180 In previous releases of FreeBSD we have enforced -EfGm, and the new less(1) version enforced only -Em. Restore old behavior in respect with POLA. Submitted by: ru (on -current@) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-16T02:54:19.000000Z K 7 svn:log V 244 Disable TSO support. Without bus_dma clean up and increment of number of Tx descriptors it's hard to guarantee correct Tx operation in TSO case. The TSO support would be enabled again when I get more feeback from re(4) patch posted to current. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-16T03:28:18.000000Z K 7 svn:log V 100 - Raise max range of sctp_logging sysctl so panda does not disallow us to turn on logging levels. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-16T03:37:28.000000Z K 7 svn:log V 2283 Last (again ?!?) major commit for RELENG_7, featuring total Giant eradication in/from userland path, countless locking fixes, etc. - General sleep call through msleep(9) has been converted to condvar(9) with better consistencies. - Heavily guard every possible "slow path" entries (open(), close(), few ioctl()s, sysctls), but once it entering "fast path" (io, interrupt started), they are free to fly on their own. - Rearrange locking sequences, resulting better concurrency and serialization. Large part doesn't even need locking at all, and will be removed in future. Less clutter, except in few places due to lock ordering. - Anonymous mixer object creation/deletion to simplify mixer handling beyond typical mixer ioctls. Submitted by: chibis (with modifications) - Add few mix_[get|set|..] functions to avoid calling mixer_ioctl() directly using cryptic arguments. - Locking fixes to avoid possible deadlock with (still under Giant) USB. - Better simplex/duplex device handling. - Recover mmap() functionality for recording, which has been lost since 2.2.x - 3.x (the introduction of newpcm). Full-duplex mmap still doesn't work (due to VM/page design), but people still can mmap both by opening each direction separately. mmaped playback is guarantee to work either way. - New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page mapping, due to recent changes in linux compatibility layer which require it. All linux applications that using sound + mmap() (mostly games) require this to be enabled. Disabled by default. - Other goodies.. too many, that will increase releng7 shareholder value and make users of releng6 (and below) cry ;) * This commit should be atomic. If anything goes wrong (not counting problem originated from elsewhere), I will not hesitate to revert everything back within 12 hours. This substantial changes itself not a rocket science and the process has begun for almost 2 years, and lots of incremental changes are already in place during that period of time. * Some issues does occur in snd_emu10kx (note the 'x') due to various internal locking issues and it is currently being worked on by chibis. Tested by: chibis (Yuriy Tsibizov), joel, Alexandre Vieira, many innocent souls... END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-16T04:57:06.000000Z K 7 svn:log V 1415 Enable the new physical memory allocator. This allocator uses a binary buddy system with a twist. First and foremost, this allocator is required to support the implementation of superpages. As a side effect, it enables a more robust implementation of contigmalloc(9). Moreover, this reimplementation of contigmalloc(9) eliminates the acquisition of Giant by contigmalloc(..., M_NOWAIT, ...). The twist is that this allocator tries to reduce the number of TLB misses incurred by accesses through a direct map to small, UMA-managed objects and page table pages. Roughly speaking, the physical pages that are allocated for such purposes are clustered together in the physical address space. The performance benefits vary. In the most extreme case, a uniprocessor kernel running on an Opteron, I measured an 18% reduction in system time during a buildworld. This allocator does not implement page coloring. The reason is that superpages have much the same effect. The contiguous physical memory allocation necessary for a superpage is inherently colored. Finally, the one caveat is that this allocator does not effectively support prezeroed pages. I hope this is temporary. On i386, this is a slight pessimization. However, on amd64, the beneficial effects of the direct-map optimization outweigh the ill effects. I speculate that this is true in general of machines with a direct map. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-16T05:13:48.000000Z K 7 svn:log V 368 Correct state machine handling of AUTH -> AUTH transitions that pass through wpa_supplcant. If a sta is deauth'd (e.g. due to inactivity) with roaming mode set to manual then a subsequent MLME assoc request will be incorrectly handled and the station will never reauthenticate. To fix this interpret a reason code of zero as sufficient to send an auth request frame. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-16T05:25:53.000000Z K 7 svn:log V 18 Update a comment. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-16T05:42:26.000000Z K 7 svn:log V 311 Check for a NULL return from rpcclnt_buildheader- it can fail if the passed in auth_type is unacceptable to rpcauth_buildheader- this avoids a null pointer panic. Clean up allocations if this happens. This also quiets a gcc 4.2 complaint about ussing mheadend without it being initialized. Reviewed by: alfred END K 10 svn:author V 5 danfe K 8 svn:date V 27 2007-06-16T07:01:15.000000Z K 7 svn:log V 72 Document default values for timeout and retry count. Approved by: fjoe END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-16T08:07:08.000000Z K 7 svn:log V 36 MFC periodic/daily/480.status-ntpd. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-16T08:26:00.000000Z K 7 svn:log V 120 o Add an example how to create /etc/mtree style mtree(8) files. PR: docs/113667 Submitted by: edwin MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-16T09:25:23.000000Z K 7 svn:log V 219 'spi' and the return value of ntohl are unsigned. Remove the extra >=0 check which was always true. Document the special meaning of spi values of 0 and 1-255 with a comment. Found with: Coverity Prevent(tm) CID: 2047 END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-16T14:03:15.000000Z K 7 svn:log V 193 - Better handle sending large pkt-drops. We were not triming the data with m_adj if a large pkt arrived with a bad csum some systems can't handle you not triming the tail (think panda :-D) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-06-16T14:39:25.000000Z K 7 svn:log V 660 Never define the generated rpc server main function with storage type "static". The header file generated by "rpcgen -h" will always declare it as extern, leading to a "static after extern" error being issued by gcc-4.2. This caused only a warning in gcc-3.x, but it has been wrong all the time. This change does not modify the code generated by "rpcgen -m", it only affects rpcgen used to generate server stubs with a local main function. This is the minimal patch. It does not remove the now obsolete "storage" parameter from write_program() and write_programs() in an attempt to keep differences to other systems' versions of rpcgen as small as possible. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-16T14:42:08.000000Z K 7 svn:log V 122 - Bump ncurses share library version for the coming RELENG_7 Pointed out by: jhb Approved by: delphij (mentor) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-06-16T15:03:33.000000Z K 7 svn:log V 31 The iop34x has 128 interrupts. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-06-16T16:50:53.000000Z K 7 svn:log V 21 Add xfs(5) man page. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-06-16T18:13:26.000000Z K 7 svn:log V 38 Work around a malloc locking problem. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-06-16T18:20:29.000000Z K 7 svn:log V 40 Work around the other uses of M_WAITOK. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-06-16T18:22:19.000000Z K 7 svn:log V 51 Revert an accidental change from the previous rev. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2007-06-16T19:23:14.000000Z K 7 svn:log V 63 Per request (to core) by the person refered to in the comment. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-16T20:24:55.000000Z K 7 svn:log V 124 o Do not warn if the process exits before we get its name. PR: bin/113777 Submitted by: Dmitrij Tejblum MFC after: 1 week END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-16T20:36:39.000000Z K 7 svn:log V 139 Use signed int, since all the samples are in that form. This will help future implementation of soft amplifier with variable/relative 0db. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2007-06-16T20:49:49.000000Z K 7 svn:log V 179 Forced commit to clarify preceding unclear commit message: - core was contacted by Joerg Peter Schley requesting 2 comment lines be removed with his name & email address in it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-16T21:07:51.000000Z K 7 svn:log V 95 If attempting to cache a "busy", panic instead of printing a diagnostic message and returning. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T21:31:53.000000Z K 7 svn:log V 405 - Define data of struct gfb_font a const as it's only used to supply font data and remove the array size from the definition as f.e. the gallant 12 x 22 font data is 256 * 44 in size, exceeding the previously hard- coded size. - Declare the bold8x16 instance of struct gfb_font as const as it's not intended to be changed at run-time as a whole either. - Use __FBSDID in xboxfb.c Tested by: rink END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T21:38:04.000000Z K 7 svn:log V 129 Sync the styles of sys/boot/ofw/libofw/openfirm.c and sys/dev/ofw/openfirm.c with themselves, with each-other and with style(9). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T21:46:15.000000Z K 7 svn:log V 260 - Remove dupe and unused declarations and prototypes. - Add missing prototypes. - Define global variables not used outside of this module as static. - Replace some outdated hard-coded functions names in panic strings with __func__. - Fix some style(9) bugs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T21:48:50.000000Z K 7 svn:log V 293 Move the gallant 12 x 22 font data from a .h to a .c so it doesn't need to be compiled into every driver making use of it. Use a const instance of struct gfb_font for this as the font isn't intended to be changed at run-time and in order to accompany the font data with height and width info. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T22:30:38.000000Z K 7 svn:log V 309 - Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by moving OF_set_mmfsa_traptable() (SUNW,set-trap-table with the two arguments used here is specific to sun4v) to MD code. - In sys/dev/ofw/openfirm.h remove prototypes for unimplemented functions and unused Solaris compatibility macros. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T22:34:16.000000Z K 7 svn:log V 97 In OF_init() check the return value of OF_getprop(). Found with: Coverity Prevent(tm) CID: 679 END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:07:53.000000Z K 7 svn:log V 246 Remove the code for displaying the OFW hostid during boot for the reasons outlined in the comment removed along with it, because the OFW hostid has no real meaning for FreeBSD and mainly so the OFW hostid is not confused with the FreeBSD hostid. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:10:00.000000Z K 7 svn:log V 84 Export mc146818_def_{read,write}() so the front-end can make use of them if needed. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:17:23.000000Z K 7 svn:log V 568 - Flesh out the support for the EBus variant which actually is the RTC function of a National Semiconductor PC87317/PC97317. This consists of using the century register the same way Solaris does for compatibility reasons. Once there is a MD power(4) we'd also want to interface the APC (Advanced Power Control) functionality of the same chip function with it. - Use a macro for the device description and take advantage of ISA_PNP_PROBE() setting the device description. - Use the generated typedefs for the prototypes of the device interface functions. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:26:00.000000Z K 7 svn:log V 2270 - Add support for sending IPIs with USIII and greater sun4u CPUs. These CPUs use an enhanced layout of the interrupt vector dispatch and dispatch status registers in order to allow sending IPIs to multiple targets simultaneously. Thus support for these CPUs was put in a newly added cheetah_ipi_selected(). This is intended to be pointed to by cpu_ipi_selected, which now is a function pointer, in order to avoid cpu_impl checks once booted. Alternatively it can point to spitfire_ipi_selected(), which was renamed from cpu_ipi_selected(). Consequently cpu_ipi_send() was also renamed to spitfire_ipi_send() (there's no need for a cheetah equivalent of this so far). Initialization of the cpu_ipi_selected pointer and other requirements is done in mp_init(), which was renamed from mp_tramp_alloc(), as cpu_mp_start() isn't called on UP systems while cpu_ipi_selected() is. As a side-effect this allows to make mp_tramp static to sys/sparc64/sparc64/mp_machdep.c. For the sake of avoiding #ifdef SMP and for keeping the history in place cheetah_ipi_selected() and spitfire_ipi_{selected,send}() where not put into/moved to sys/sparc64/sparc64/{cheetah,spitfire}.c - Add some CTASSERTs and KASSERTs ensuring that MAXCPU doesn't exceed the data types we use to store the CPU bit fields or the number of USIII and greater CPUs supported by the current cheetah_ipi_selected() implementation (which for JBus-CPUs is only 4; that should be fine though as according to OpenSolaris there are no sun4u machines with more than 4 JBus-CPUs). - In cpu_mp_start() don't enumerate and start more than MAXCPU CPUs as we can't handle more than that. - In cpu_mp_start() check for upa-portid vs. portid depending on cpu_impl for consistency with nexus(4). - In spitfire_ipi_selected() add KASSERTs ensuring that a CPU isn't told to IPI itself as sun4u CPUs just can't do that. - In spitfire_ipi_send() do a MEMBAR #Sync after writing the interrupt vector data as we want to make sure the payload was actually written before we trigger the dispatch. - In spitfire_ipi_send() also verify IDR_BUSY when checking whether the dispatch was successful as it has to be cleared for this to be the case. - Remove some redundant variables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:27:59.000000Z K 7 svn:log V 299 - In gem_bitwait() check that the bit clears/was set in the content of the register rather than in the offset describing the register. - In gem_reset_rx() let gem_bitwait() check for the Rx reset bit rather than the Tx reset bit to clear. Obtained from: OpenBSD (same/similar bugs being fixed) END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:30:57.000000Z K 7 svn:log V 256 - Remove zstty spin lock for no longer existing zs(4). - Move the rtc_mtx spin lock out from under #ifdef SMP as it's just not SMP-specific. - Add a new spin lock pcib_mtx for locking "fast" interrupt handlers of host-to-PCI bridge drivers on sparc64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-16T23:33:57.000000Z K 7 svn:log V 73 only register a ithread handler if the card requests an ithread handler. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-16T23:41:43.000000Z K 7 svn:log V 434 Rather than passing SUSER_RUID into priv_check_cred() to specify when a privilege is checked against the real uid rather than the effective uid, instead decide which uid to use in priv_check_cred() based on the privilege passed in. We use the real uid for PRIV_MAXFILES, PRIV_MAXPROC, and PRIV_PROC_LIMIT. Remove the definition of SUSER_RUID; there are now no flags defined for priv_check_cred(). Obtained from: TrustedBSD Project END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:46:41.000000Z K 7 svn:log V 869 - Use the newly introduced pcib_mtx spin lock to lock psycho_ce(), allowing it to be a filter/"fast" handler. Locking the interrupt handlers with a spin lock is mainly a requirement in schizo(4) but as we ought to register the spin lock anyway it should not hurt to take advantage of it in psycho(4). - Pass both a driver_filter_t and a driver_intr_t argument to psycho_set_intr(), allowing to get rid of the FAST interrupt flag hack. - Don't register the over-temperature interrupt handler as filter/ "fast" handler so shutdown_nice() can acquire the process lock. - Use bus_{read,write}_8() instead of bus_space_{read,write}_8() in order to get rid of sc_bushandle and sc_bustag in the softc. - Correct the debug output for adjusting the subordinate bus number. - Remove the banal and outdated above psycho_filter_stub(). - Fix some white space nits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-16T23:49:41.000000Z K 7 svn:log V 348 - Don't register the over-temperature and power-fail interrupt handlers as filter/"fast" handlers so shutdown_nice() can acquire the process lock. - Use bus_{read,write}_8() instead of bus_space_{read,write}_8() in order to get rid of sc_bushandle and sc_bustag in the softc. - Remove the banal and outdated comment above sbus_filter_stub(). END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-06-17T00:09:51.000000Z K 7 svn:log V 83 Also mark writecombine as enabled when PAT is used to enable it rather than MTRRs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-17T00:17:15.000000Z K 7 svn:log V 1386 - Make better use of the global chosen, memory and mmu handles instead of obtaining them over and over again and pretending we could do anything useful without them (for chosen this includes adding a declaration and initializing it in OF_init()). - In OF_init() if obtaining the memory or mmu handle fails just call OF_exit() instead of panic() as the loader hasn't initialized the console at these early stages yet and trying to print out something causes a hang. With OF_exit() one at least has a change to get back to the OFW boot monitor and debug the problem. - Fix OF_call_method() on 64-bit machines (this is a merge of sys/dev/ofw/openfirm.c rev 1.6). - Replace OF_alloc_phys(), OF_claim_virt(), OF_map_phys() and OF_release_phys() in the MI part of the loader with wrappers around OF_call_method() in the sparc64. Beside the fact that they duplicate OF_call_method() the formers should never have been in the MI part of the loader as contrary to the OFW spec they use two-cell physical addresses. - Remove unused functions which are also MD dupes of OF_call_method(). - In sys/boot/sparc64/loader/main.c add __func__ to panic strings as different functions use otherwise identical panic strings and make some of the panic strings a tad more user-friendly instead of just mentioning the name of the function that returned an unexpected result. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T00:31:24.000000Z K 7 svn:log V 234 Simplification to quiet a gcc4.2 warning. Just by setting match.s_addr to nonzero you fulfill the same function as the variable 'cmp'. so you might as well zero match and test against it later. Reviewed by: timeout on review request END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T00:33:34.000000Z K 7 svn:log V 85 Replace incorrect local OFFSET_OF macro with the correct and generic offsetof macro. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-17T00:43:50.000000Z K 7 svn:log V 318 Fix build on arm: time_t on arm is 64 bits while long is 32 bits, so subsequent compile time assertion: sizeof inf->stat.st_mtime <= sizeof sec Would fail because of that. This change is suitable for general consumption as well, but fix it in our local patchset as we are near a code freeze. Submitted by: cognet END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-06-17T00:43:51.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-17T01:36:02.000000Z K 7 svn:log V 457 - For sctp_input/sctp6_input add announcment when a packet arrives (debug) - re-factor the packet drop in sctp_output a bit more, we don't need the trim after all, but the size calc is now corrected. - When a assoc is in the COOKIE-ECHO/COOKIE-WAIT state and the user closes, it should not matter if data is queued, the assoc should be purged. - In error leg a missing free_chunk when iph comes in NULL (should not happen but just in case). END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-17T01:57:08.000000Z K 7 svn:log V 160 - Forced commit to update who actually did this code (I forgot the obtained from in the original line) Obtained from: Weongyo Jeong (weongyo.jeong@gmail.com) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:07:11.000000Z K 7 svn:log V 79 Make gcc4.2 happy and zero save_ip for the unlikely (blackhole != 0) codepath. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:12:21.000000Z K 7 svn:log V 219 gcc4.2 somehow doesn't believe that finaldst can stay stable between where it's initialized and where it's checked twice such that the origingal destination address is saved. Make it happier and trim things down a bit. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:14:27.000000Z K 7 svn:log V 28 Initialize reqpage to zero. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:17:48.000000Z K 7 svn:log V 145 Make sure object is NULL- there is a possible case where you could fall through to it being used w/o being set. Put a break in the default case. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:19:05.000000Z K 7 svn:log V 45 Don't declare inline a function which isn't. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:21:58.000000Z K 7 svn:log V 50 Initialize lastaddr to zero to make gcc4.2 happy. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:27:45.000000Z K 7 svn:log V 138 Check for pte being NULL in return from pmap_pte_pde- unlikely or even impossible, but it's better ot have a panic and a quiesced gcc4.2. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:32:18.000000Z K 7 svn:log V 67 Initialize mouse resolution to zero if converting from OLD to NEW. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-06-17T04:33:38.000000Z K 7 svn:log V 529 - switch adapter and port lock over to using sx so that resources can be allocated atomically - add debug macros for printing lock initialization / teardown - add buffers to port_info and adapter to allow each lock to have a unique name - destroy mutexes initialized by cxgb_offload_init - remove recursive calls to ADAPTER_LOCK - move callout_drain calls so that they don't occur with the lock held - ensure that only as many qsets as are needed are initialized and destroyed MFC after: 3 days Sponsored by: Chelsio Inc. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:37:57.000000Z K 7 svn:log V 124 Try a cheap way to get around gcc4.2 believing that user arguments to system calls can change across intervening functions. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-17T04:40:33.000000Z K 7 svn:log V 24 Initialize key to zero. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-06-17T05:55:54.000000Z K 7 svn:log V 350 Prepare for future integration between CAM and newbus. xpt_bus_register now takes a device_t to be the parent of the bus that is being created. Most SIMs have been updated with a reasonable argument, but a few exceptions just pass NULL for now. This argument isn't used yet and the newbus integration likely won't be ready until after 7.0-RELEASE. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-17T06:10:43.000000Z K 7 svn:log V 58 Flush remaining malloc() cleanups (M_NOWAIT -> M_WAITOK). END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-17T07:18:23.000000Z K 7 svn:log V 272 Use bus_dma to get a page in the first 4 GB. Since the physical address of the magic string is passed in a 32-bit register, we can't use high memory in the PAE case. This also eliminates a use of vtophys(). Tested by: Jeff Shimbo MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-17T07:33:59.000000Z K 7 svn:log V 323 Expand USB_DO_ATTACH inline. Remove device_t dv, since it is no longer needed. Add sizeof(device_t) to replace sizeof dv. Change device_detach(dev) to device_detach(dev->subdevs[i]) since the type of dev isn't right! Not sure when this was introduced, but it likely would lead to a crash on disconnect. MFC After: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-17T07:34:34.000000Z K 7 svn:log V 21 Remove USB_DO_ATTACH END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-17T09:38:27.000000Z K 7 svn:log V 79 MFC: Remove compat ifdefs for version < 500014 Approved by: rwatson (mentor) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-17T10:20:55.000000Z K 7 svn:log V 127 Increase buffer size of DV stream to prevent buffer overrun caused by long blocking of file I/O (i.e. zfs). MFC after: 3 days END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-17T10:40:25.000000Z K 7 svn:log V 41 Document hw.firewire.phydma_enable knob. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-17T10:46:19.000000Z K 7 svn:log V 74 MFC: Suppress compiler optimization so that orb[1] must be written first. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-17T14:02:31.000000Z K 7 svn:log V 83 Note PAM support in atrun(8). Sort FILES section while there. Touch document date. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-17T14:45:28.000000Z K 7 svn:log V 183 o style(9) nit. o shorten explainations which are over 80 columns in console. o group rows o clean up and change explanations a little bit. Obtained from: weongyo.jeong@gmail.com END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-06-17T15:21:09.000000Z K 7 svn:log V 42 Fix a compile error from the last change. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-17T15:53:11.000000Z K 7 svn:log V 198 Reassign default unit to a valid unit, be it during attach or detach. If nothing is available, set to something that is purely ridiculous so the next valid attach will notice it. Tested by: chibis END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-17T16:15:56.000000Z K 7 svn:log V 168 Add sysctl/tunable "hw.snd.default_auto", which is useful (especially for non-root users) to automatically assign default unit to a newly attach device like USB audio. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-17T16:24:49.000000Z K 7 svn:log V 23 Expand USB_MATCH_START END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-06-17T16:44:08.000000Z K 7 svn:log V 21 Remove unused softc. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-06-17T16:53:45.000000Z K 7 svn:log V 114 This is a forced (and belated) commit to record that these files were repocopied from src/tools/tools/recoverdisk END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-17T17:19:21.000000Z K 7 svn:log V 44 MFC: add support for probing HPET via table END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-17T17:25:53.000000Z K 7 svn:log V 1334 Add PAM support to cron(8). Now cron(8) will skip commands scheduled by unavailable accounts, e.g., those locked, expired, not allowed in at the moment by nologin(5), or whatever, depending on cron's pam.conf(5). This applies to personal crontabs only, /etc/crontab is unaffected. In other words, now the account management policy will apply to commands scheduled by users via crontab(1) so that a user can no longer use cron(8) to set up a delayed backdoor and run commands during periods when the admin doesn't want him to. The PAM check is done just before running a command, not when loading a crontab, because accounts can get locked, expired, and re-enabled any time with no changes to their crontabs. E.g., imagine that you provide a system with payed access, or better a cluster of such systems with centralized account management via PAM. When a user pays for some days of access, you set his expire field respectively. If the account expires before its owner pays more, its crontab commands won't run until the next payment is made. Then it'll be enough to set the expire field in future for the commands to run again. And so on. Document this change in the cron(8) manpage, which includes adding a FILES section and touching the document date. X-Security: should benefit as users have access to cron(8) by default END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-17T17:28:41.000000Z K 7 svn:log V 50 MFC: add hooks for HPET missed in previous commit END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-17T18:46:26.000000Z K 7 svn:log V 113 Remove USBGETSOFTC, USB_ATTACH_START, USB_DETACH_START and USB_DECLARE_DRIVER_INIT from the usb network drivers. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-17T19:02:05.000000Z K 7 svn:log V 61 Spelling nit due to my lamenglishness. Noticed by: brueffer END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-17T19:27:46.000000Z K 7 svn:log V 275 Back out last change to inpcb_free. Turns out we need to hold off freeing if there is data pending ... someone might do send/close. Which means we want the data to go and then close it after startup. Added comments to the code as well to note that this is done for a reason. END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-06-17T20:27:54.000000Z K 7 svn:log V 462 Fix a (very) longstanding bug in moused(8) affecting high-resolution rodents when linear acceleration (-a) was enabled with a <1 value to slow them down. Previously, rounding errors would eat small movements so the mouse had to be moved a certain distance to get any movement at all. We now calculate the rounding errors and take them into account when reporting movement. PR: bin/113749 Submitted by: Oliver Fromme MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-06-17T21:51:43.000000Z K 7 svn:log V 229 Silence some gcc 4 warnings. It is expected that the bpf_movein() routine will intialize the the header length and re-initialize the mbuf pointer to reference the mbuf that is allocated after moving user supplied packet data in. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-17T22:19:19.000000Z K 7 svn:log V 274 Have gpart synthesize a disk geometry if the underlying provider don't have it. Some partitioning schemes, as well as file systems, operate on the geometry and without it such schemes (e.g. MBR) and file systems (e.g. FAT) can't be created. This is useful for memory disks. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-17T23:20:43.000000Z K 7 svn:log V 343 Apply a vendor patch that fixes very annoying bug which caused the cursor not to return to the place it should when -w is used with -e. Note that this is a commit against -HEAD because we already have the file off the vendor branch. Reported by: Tom Uffner (on -current@) Obtained from: http://www.greenwoodsoftware.com/less/less-405.tar.gz END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-17T23:43:37.000000Z K 7 svn:log V 65 - The packet log needs to copy all of the buffer not to the end. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-06-17T23:52:17.000000Z K 7 svn:log V 805 MFC: - switch over to standard method for initializing cdevs (contributed by scottl@) - break out timer_reclaim_task to be per-port - move msix teardown into separate function - fix bus_setup_intr for msi-x for the multi-port case so that msi-x resources are not corrupted on unload - handle 10/100/1000 base-T media and auto negotiation - bind qset to cpu even for singleq case - white space cleanups - remove recursive PORT_LOCK - move mtu setting to separate function - stop and re-init port when changing mtu - replace all direct references to m_data with calls to mtod - handle attach failure better by not trying to de-initialize taskqueues when they have not been allocated - no longer default to jumbo frames - fix gcc-4.2 signedness compile errors Sponsored by: Chelsio Inc. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-18T00:29:55.000000Z K 7 svn:log V 51 Fix compile problem using older acpi-ca interface. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-06-18T00:36:54.000000Z K 7 svn:log V 292 Track whether the current read stream supports seek(). For now, we assume yes unless seek has previously failed, but I fear I'll have to avoid seeks under other circumstances. (For instance, tape drives on FreeBSD seem to return garbage from lseek().) Also, optimize away zero-byte skips. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-18T01:43:13.000000Z K 7 svn:log V 187 MFp4: fix two locking problems: - Hold TMPFS_LOCK while updating tm_pages_used. - Hold vm page while doing uiomove. This will hopefully fix all known panics. Submitted by: Howard Su END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-06-18T01:50:03.000000Z K 7 svn:log V 19 Fix library names. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-18T02:04:38.000000Z K 7 svn:log V 554 Eliminate unnecessary checks from vm_pageout_clean(): The page that is passed to vm_pageout_clean() cannot possibly be PG_UNMANAGED because it came from the inactive queue and PG_UNMANAGED pages are not in any page queue. Moreover, PG_UNMANAGED pages only exist in OBJT_PHYS objects, and all pages within a OBJT_PHYS object are PG_UNMANAGED. So, if the page that is passed to vm_pageout_clean() is not PG_UNMANAGED, then it cannot be from an OBJT_PHYS object and its neighbors from the same object cannot themselves be PG_UNMANAGED. Reviewed by: tegge END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-06-18T02:05:17.000000Z K 7 svn:log V 11 missed add END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-06-18T02:09:08.000000Z K 7 svn:log V 96 Add mbstate clear missed in one of the cases. Move overflow check for fseek as early as needed. END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-06-18T02:13:04.000000Z K 7 svn:log V 67 Add rewind() to the list of functions which may fail and set errno END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-18T02:15:58.000000Z K 7 svn:log V 94 minor style(9) polishing # but we need a usb_match function, if we don't already have one... END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-06-18T04:35:36.000000Z K 7 svn:log V 357 MFC: You can never have enough documentation. Document the SENDMAIL_ALIASES, SENDMAIL_MAP_SRC, SENDMAIL_MAP_TYPE, and SENDMAIL_START_SCRIPT .Xr make.conf 5 variables. These are used in .Pa /etc/mail/Makefile . PR: conf/40548 Revision Changes Path 1.140 +40 -0 src/share/man/man5/make.conf.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-06-18T04:36:10.000000Z K 7 svn:log V 394 Sort SENDMAIL_* entries so I can... MFC: You can never have enough documentation. Document the SENDMAIL_ALIASES, SENDMAIL_MAP_SRC, SENDMAIL_MAP_TYPE, and SENDMAIL_START_SCRIPT .Xr make.conf 5 variables. These are used in .Pa /etc/mail/Makefile . PR: conf/40548 Revision Changes Path 1.140 +40 -0 src/share/man/man5/make.conf.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-06-18T04:36:31.000000Z K 7 svn:log V 398 Sort the SENDMAIL_* entries so I can... MFC: You can never have enough documentation. Document the SENDMAIL_ALIASES, SENDMAIL_MAP_SRC, SENDMAIL_MAP_TYPE, and SENDMAIL_START_SCRIPT .Xr make.conf 5 variables. These are used in .Pa /etc/mail/Makefile . PR: conf/40548 Revision Changes Path 1.140 +40 -0 src/share/man/man5/make.conf.5 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-06-18T05:44:38.000000Z K 7 svn:log V 187 Add a namedb/master directory for the zone files I'm about to add, and switch to the more "normal" way of installing files for the namedb directory so that we can pick up the new subdir. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-06-18T05:58:23.000000Z K 7 svn:log V 1661 Bring our default named configuration more in line with current best practices: 1. The old way of generating the localhost zones was not optimal both because they did not exist by default, and because they were not really aligned with BCP. There is no need to have the dynamic data that the make-localhost script generated, and good reasons to do this more "by the book." 2. In named.conf a. Clean up white space b. Add/clarify a few comments c. Slave zones from the root servers instead of using a hints file. This has several advantages, as described in the comments. d. Significantly revamp the default zones, including the forward localhost zone, and the reverse zones for IPv4 and IPv6 loopback addresses. There are extensive comments describing what is included and why. Interested readers should take the time to review the RFCs mentioned in the comments. There is also relevant information about the motivations for hosting these zones in the "work in progress" Internet-Draft, http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt or its successor. It's also worth noting that a significant number of these empty zones are already included by default in the named binary without any user configuration. e. Because we're including a lot of examples of both local forward zones and slave zones in the default configuration, eliminate some of those examples. 3. Add new localhost-{forward|reverse} zone files, and an "empty" zone to support the changes in 2.d. above. The empty zone file isn't really empty in order to avoid a warning from BIND about a zone file that doesn't contain any A or AAAA records. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-06-18T06:29:45.000000Z K 7 svn:log V 99 Drop the default zones that are now covered by the new zones that were added in the last revision. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-18T07:54:27.000000Z K 7 svn:log V 67 Update comment: kernel privileges are, in fact sorted by subsytem. END