ĵ'182408 169 237 324 320 116 270 230 209 228 858 128 193 186 155 665 399 3206 207 153 3206 138 243 320 320 328 328 457 385 200 191 199 176 204 184 118 106 375 674 310 585 166 200 265 167 164 944 304 370 128 166 147 470 156 310 694 165 321 136 135 135 253 284 372 217 1100 217 366 194 187 151 423 830 182 164 213 490 184 137 150 113 133 364 308 184 164 182 170 171 190 381 184 164 182 170 171 190 144 240 242 423 214 124 124 127 131 185 186 121 309 225 180 121 143 180 148 146 168 249 745 715 643 432 221 345 189 478 344 550 148 386 310 239 325 568 277 259 320 191 190 1396 339 386 361 300 279 370 335 245 184 301 624 163 163 227 227 164 119 139 272 286 745 642 301 205 132 301 128 805 538 392 K 10 svn:author V 4 emax K 8 svn:date V 27 2008-08-28T21:26:03.363686Z K 7 svn:log V 143 MFC SVN rev 181698 Import handy shorthand Bluetooth address (BD_ADDR) utility functions from NetBSD and document them. Obtained from: NetBSD END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-08-28T21:32:07.477201Z K 7 svn:log V 230 MFC SVN rev 181743 Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() and uuid_dec_be() functions. These routines are not part of the DCE RPC API. They are provided for convenience. Reviewed by: marcel Obtained from: NetBSD END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-08-28T21:40:39.962408Z K 7 svn:log V 226 SVN rev 181743 Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() and uuid_dec_be() functions. These routines are not part of the DCE RPC API. They are provided for convenience. Reviewed by: marcel Obtained from: NetBSD END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-28T21:55:40.649988Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-28T22:00:21.327747Z K 7 svn:log V 176 Check invalid BPF codes from bpf_validate(9). Note that it is not critical because bpf_filter(9) returns zero when it encounters invalid code at run time. MFC after: 1 month END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-08-28T22:05:19.033019Z K 7 svn:log V 137 Fix to bug kern/126850. Only dispatch event hander if the interface had a parent (was attached). Reviewed by: EvilSam MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-08-28T22:13:44.253086Z K 7 svn:log V 116 Add support in ifconfig to control the vlan hardware filter feature. Reviewed by: EvilSam and moi MFC after:1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-28T22:19:57.051149Z K 7 svn:log V 134 Merge bpf_filter.c r182412 and remove additional local checks. While I am here, use more realistic value for illegal code test case. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-08-28T22:28:28.343874Z K 7 svn:log V 765 Update to igb driver: - changes in support of the VLAN filter fix to 126850 - removal of a bunch of legacy code that was cruft, if not possibly harmful. - removal of POLLING from this driver, with multiqueue and MSIX it just makes no sense here. - Fix an LRO bug that I've been working on internally, intermittent panics under stress, the problem was releasing the RX ring lock before the LRO flushing. - Following the above fix I now enable LRO by default - For performance reasons increase the default number of RX queues to 4. - Add AIM - "Adaptive Interrupt Moderation", a fancy way of saying that the EITR value is dynamically changed based on the size of packets in the last interrupt interval. - Much goodness to try, enjoy!! END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-28T22:41:31.052499Z K 7 svn:log V 35 Move comments to the right places. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-28T23:52:34.805835Z K 7 svn:log V 97 Fix a typo in r180291 "NAme of the current YP/NIS domain" -> "Name of the current YP/NIS domain" END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-29T00:04:37.350777Z K 7 svn:log V 90 List authentication types supported with "-X" taken from the libtelnet code. PR: 121721 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-29T00:20:05.278324Z K 7 svn:log V 59 MFC r181312: Add EPERM to the ERRORS section. PR: 125746 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-29T00:44:00.541739Z K 7 svn:log V 568 MFC r181312: Add EPERM to the ERRORS section. PR: 125746 > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. _M sys M sys/socket.2 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-29T01:23:16.726693Z K 7 svn:log V 303 Work again to fix the interrupt masking problems. We now recognize that there are 3 different interrupt enable bits, 2 for different families of cards, and 1 for when MSI is used. Also apply a big hammer backstop for cards that aren't recognized. This should fix all of the interrupt issues at boot. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T01:30:26.482275Z K 7 svn:log V 3108 MFC r181953: o Sort includes and add to support endianness. o Removed unneeded header files. o bus_dma(9) fix: - created parent tag with 1GB dma address limit with no alignment restrictions. - set 4096 alignment limit for Tx/Rx descriptor rings. - separate Rx buffer tag from Tx buffer tag such that Tx tag allows up-to 16 segments while Rx buffer tag only allows single segment. - it seems the controller has no alignment restrictions on Tx/Rx buffers. Remove ETHER_ALIGN alignment restriction in Tx/Rx buffers. - created a spare Rx dma map which would be used to cope with failure of loading a dma map. - make sure to load full Tx/Rx descriptor size for Tx/Rx descriptor dma maps, previously bfe(4) used to load single descriptor size for each descriptor rings. I have no idea how it could be run without problems. - don't blindly cast bus_addr_t type to 32bits in bfe_dma_map(). - created bfe_dma_free() to free allocated dma memory/tags. - make sure to invoke bus_dmamap_sync(9) before/after processing descriptor rings/buffers. Because the hardware has severe dma address space limitation, bounce-buffers would be always used on systems with more than 1GB memory during descriptors/buffers access. - added Tx descriptor ring initialization function, bfe_list_tx_init(). - moved producer/consumer index initialization to bfe_list_tx_init() and bfe_list_rx_init() from bfe_chip_reset(). - added bfe_discard_buf() which will update loaded descriptors without unloading/reloading the dma map to speed up error recovery. - implemented Tx side bus_dmamap_load_mbuf_sg(9). The number of segments allowed was chosen to be 16 which should be enough for non-TSO capable hardwares. Setting SOF bit of Tx descriptor is done in the last to avoid potential race. - don't give up sending frames in bfe_start() until the hardware lacks free descriptors. - added XXX comment to second kick command and possible workaround. - implemented Rx side bus_dmamap_load_mbuf_sg(9). - removed bfe_dma_map_desc() as it's not needed anymore after the conversion to bus_dmamap_load_mbuf_sg(9). - added endianness support. With this change bfe(4) should work on any architectures that can create bounce buffers within 1GB address range. - add missing bus_dmamap_sync() in bfe_tx_eof()/bfe_rx_eof(). o Use PCI_BAR instead of hardcoded value to set BARs. Simplified register access with bus_write_4(9)/bus_read_4(9) and removed bfe_btag, bfe_bhandle, bfe_vhandle in softc as it's not used anymore. o Reorder device detach logic such that bfe_detach() is also used for handling driver attach failure case. o Remove unnecessary KASSERT in bfe_detach(). o Remove bfe_rx_cnt, bfe_up, bfe_vpd_prodname, bfe_vpd_readonly in softc. It's not used at all. o Remove BFE_RX_RING_SIZE/BFE_RX_RING_SIZE/BFE_LINK_DOWN. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-08-29T01:34:05.396635Z K 7 svn:log V 110 Don't remove queued SIGCHLD if options contain WNOWAIT, so other threads still can be notified by the signal. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T01:47:45.098026Z K 7 svn:log V 60 Simplify jump instruction range checks. MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T01:48:22.836154Z K 7 svn:log V 3108 MFC r181953: o Sort includes and add to support endianness. o Removed unneeded header files. o bus_dma(9) fix: - created parent tag with 1GB dma address limit with no alignment restrictions. - set 4096 alignment limit for Tx/Rx descriptor rings. - separate Rx buffer tag from Tx buffer tag such that Tx tag allows up-to 16 segments while Rx buffer tag only allows single segment. - it seems the controller has no alignment restrictions on Tx/Rx buffers. Remove ETHER_ALIGN alignment restriction in Tx/Rx buffers. - created a spare Rx dma map which would be used to cope with failure of loading a dma map. - make sure to load full Tx/Rx descriptor size for Tx/Rx descriptor dma maps, previously bfe(4) used to load single descriptor size for each descriptor rings. I have no idea how it could be run without problems. - don't blindly cast bus_addr_t type to 32bits in bfe_dma_map(). - created bfe_dma_free() to free allocated dma memory/tags. - make sure to invoke bus_dmamap_sync(9) before/after processing descriptor rings/buffers. Because the hardware has severe dma address space limitation, bounce-buffers would be always used on systems with more than 1GB memory during descriptors/buffers access. - added Tx descriptor ring initialization function, bfe_list_tx_init(). - moved producer/consumer index initialization to bfe_list_tx_init() and bfe_list_rx_init() from bfe_chip_reset(). - added bfe_discard_buf() which will update loaded descriptors without unloading/reloading the dma map to speed up error recovery. - implemented Tx side bus_dmamap_load_mbuf_sg(9). The number of segments allowed was chosen to be 16 which should be enough for non-TSO capable hardwares. Setting SOF bit of Tx descriptor is done in the last to avoid potential race. - don't give up sending frames in bfe_start() until the hardware lacks free descriptors. - added XXX comment to second kick command and possible workaround. - implemented Rx side bus_dmamap_load_mbuf_sg(9). - removed bfe_dma_map_desc() as it's not needed anymore after the conversion to bus_dmamap_load_mbuf_sg(9). - added endianness support. With this change bfe(4) should work on any architectures that can create bounce buffers within 1GB address range. - add missing bus_dmamap_sync() in bfe_tx_eof()/bfe_rx_eof(). o Use PCI_BAR instead of hardcoded value to set BARs. Simplified register access with bus_write_4(9)/bus_read_4(9) and removed bfe_btag, bfe_bhandle, bfe_vhandle in softc as it's not used anymore. o Reorder device detach logic such that bfe_detach() is also used for handling driver attach failure case. o Remove unnecessary KASSERT in bfe_detach(). o Remove bfe_rx_cnt, bfe_up, bfe_vpd_prodname, bfe_vpd_readonly in softc. It's not used at all. o Remove BFE_RX_RING_SIZE/BFE_RX_RING_SIZE/BFE_LINK_DOWN. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T01:54:48.975836Z K 7 svn:log V 42 Don't call bfe_release_resources() twice. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T02:12:45.111681Z K 7 svn:log V 149 Merge bpf_filter.c r182425 and add test cases for jump range checks. While I am here, fix stupid typos in test0080.h and make it JIT compiler only. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T03:42:27.452627Z K 7 svn:log V 223 MFC r181976: Remove bfe_link in softc and introduce two new flags to mark link state and detach request. While I'm here make sure established link is IFM_10_T or IFM_100_TX as bfe(4) just supports 10/100Mbps media. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T03:56:58.791762Z K 7 svn:log V 223 MFC r181976: Remove bfe_link in softc and introduce two new flags to mark link state and detach request. While I'm here make sure established link is IFM_10_T or IFM_100_TX as bfe(4) just supports 10/100Mbps media. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T04:00:43.544240Z K 7 svn:log V 231 MFC r181992: Because bfe(4) knows interrupt mask value there is no need to read interrupt mask register again. This saves one register access per each interrupt. Also don't try to process frames when driver is not running. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-29T04:14:54.515373Z K 7 svn:log V 231 MFC r181992: Because bfe(4) knows interrupt mask value there is no need to read interrupt mask register again. This saves one register access per each interrupt. Also don't try to process frames when driver is not running. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-29T04:39:46.340923Z K 7 svn:log V 361 Fix a locking mistake in daopen(). If the open fails, which can happen because the media was removed, the periph would get its refcount dropped and ultimately freed before getting unlocked. This created a dangling pointer that was easy to trip over. This fixes a common source of crashes with removaable media, but problems remain and will get tracked down. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-08-29T05:02:10.870635Z K 7 svn:log V 292 Fix mic calculation when final data is entirely in a trailing mbuf; it's unclear if this can happen on freebsd but does appear on netbsd. Identified by Matthias Drochner who came up with an initial change that we then revised together. Reviewed by: thompsa, sephe, avatar MFC after: 2 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-29T07:47:30.966124Z K 7 svn:log V 104 Ensure that the padding calcualtion doesn't return a negative value. Submitted by: kib Approved by: jb END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-29T07:49:48.432811Z K 7 svn:log V 96 Fix mismerges in ZFS from the Dtrace merge. Submitted by: jhb Reviewed by: pjd Approved by: jb END K 10 svn:author V 6 avatar K 8 svn:date V 27 2008-08-29T08:44:51.191296Z K 7 svn:log V 103 Fixing INVARIANTS build by adding 'z' format prefix for size_t typed variable. Reminded by: tinderbox END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-29T09:02:53.481535Z K 7 svn:log V 84 MFC r181997: Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-29T09:27:40.724682Z K 7 svn:log V 107 As "device bm" appears to be specific to powerpc, move it from the global NOTES to powerpc-specific NOTES. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-29T11:56:37.717011Z K 7 svn:log V 89 Remove vendor-sys/ath. On the next vendor import, vendor-sys will most likely be opened. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-29T12:23:51.871924Z K 7 svn:log V 25 Remove unneeded include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-29T12:25:58.339537Z K 7 svn:log V 13 unifdef PC98 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-08-29T13:09:20.579810Z K 7 svn:log V 279 MFC r155086 by pjd: Add buffer corruption protection (RedZone) for kernel's malloc(9). It detects both: buffer underflows and buffer overflows bugs at runtime (on free(9) and realloc(9)) and prints backtraces from where memory was allocated and from where it was freed. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-29T15:02:50.981759Z K 7 svn:log V 582 Backport two small fixes from the MPSAFE TTY branch in Perforce: - Implement IMAXBEL. It turned out the IMAXBEL termios switch was marked as supported, while it had not been implemented. - Don't go into the high watermark when in canonical mode, no data has been canonicalized and the input buffer is full. This caused the terminal to lock up. This prevented users from pressing backspace/^U/etc in such cases. This could easily be simulated by pasting a very big amount of data in a shell with sh(1) in canonical mode. Obtained from: //depot/projects/mpsafetty/... END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-29T15:05:34.847599Z K 7 svn:log V 218 Restore assertion that was removed in r182444. While merging back my changes from Perforce, it seemed I removed a locking assertion that still applies to ttydisc_rint_poll(). Restore it, because it may come in handy. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-29T15:47:53.883514Z K 7 svn:log V 488 - Make witness_watch a 3 state value. 1 means that witness is up and running. 0 means that witness is disabled but that it can be established later again in effective way. -1 means that witness is disabled permanently - Fix a bug causing kernel to panic on witness disabling through witness_watch. lock lists queues were still full of entries and this was causing throubles with debugging stubs (like witness_thread_exit()). Reported by: kris, yongari Sponsored by: Nokia END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T15:49:40.812760Z K 7 svn:log V 73 Make sure BPF program is not bigger than set maximum (net.bpf.maxinsns). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-29T15:55:49.657702Z K 7 svn:log V 104 Ensure that the padding calcualtion doesn't return a negative value. Submitted by: kib Approved by: jb END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-29T16:05:04.442194Z K 7 svn:log V 169 MFC: r178940,r178941,r178946: Clean up several instances of SADE calling itself sysinstall. (do so generically so the same set of changes can be applied to sysinstall) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-29T16:22:22.085890Z K 7 svn:log V 72 MFC: r180986: style(9) specifies that case statements are not indented. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-08-29T17:13:07.623704Z K 7 svn:log V 72 - Give algorithms recommendation. - Keep options in alphabetical order. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-08-29T18:10:18.872908Z K 7 svn:log V 851 By default backup geli metadata to a file. It is quite critical 512 bytes, once it is lost, all data is gone. Option '-B none' can by used to prevent backup. Option '-B path' can be used to backup metadata to a different file than the default, which is /var/backups/.eli. The 'geli init' command also prints backup file location and gives short procedure how to restore metadata. The 'geli setkey' command now warns that even after passphrase change or keys update there could be version of the master key encrypted with old keys/passphrase in the backup file. Add regression tests to verify that new functionality works as expected. Update other regression tests so they don't create backup files. Reviewed by: keramida, rink Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-29T18:54:35.748731Z K 7 svn:log V 211 Disable the KDTRACE options in GENERIC for now. They have not yet been enabled in HEAD, and they really need to be enabled in HEAD first and have some soak time there before they are turned on by default in 7. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T19:10:51.258126Z K 7 svn:log V 276 - Directly match code wherever possible instead of using macros. - Macrofy bitmap table lookup. Constify the table while I am here. - Add missing continue statements in the for loop. Functionally it should be the last remaining fix from: PR: kern/89752 MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T19:32:04.878876Z K 7 svn:log V 35 More convergence towards style(9). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T20:00:55.350835Z K 7 svn:log V 73 Fix the last missing parentheses for a return statement in bpf_filter.c. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T20:07:02.939816Z K 7 svn:log V 54 Merge local copy of bpf_validate() with bpf_filter.c. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-29T20:18:56.195958Z K 7 svn:log V 377 Don't build the dtrace tools during bootstrap tools for now and don't build the kernel with CTF symbols by default. This fixes builds of 7.x on 6.x machines. The build of dtrace tools can be re-enabled when it is fixed to not break 6.x upgrades. I'm not sure if we need to bootstrap the library bits differently (perhaps the libegacy needs to include libelf and libdwarf?). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T20:20:30.130042Z K 7 svn:log V 63 Do not pass validatation level since all issues are fixed now. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-29T20:30:30.029760Z K 7 svn:log V 217 Add the ability to run /usr/sbin/crashinfo on a new core dump automatically during boot. Right now this is disabled by default, but it can be enabled by setting 'crashinfo_enable=YES' in rc.conf. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-29T20:31:41.239184Z K 7 svn:log V 598 For chips with a broken DC_ISR_RX_STATE which f.e. never signals stopped nor the waiting state and also no other means to check whether the receiver is idle (see also r163774), we have no choice than to call mii_tick(9) unconditionally even in the case of the DC_REDUCED_MII_POLL handling as far as the RX side is concerned. This isn't necessarily worse than checking whether RX is idle though because unlike as with TX we're racing with the hardware, which might receive packets any time while we poll the MII, anyway. Reported and tested by: Jacob Owens Reviewed by: yongari MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T20:34:06.826975Z K 7 svn:log V 72 Make bpf_maxinsns visible from ng_bpf.c. Pass me the pointyhat, please. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-08-29T20:42:58.164755Z K 7 svn:log V 228 Fix a bug whereby multicast packets that are looped back locally wind up with the incorrect checksum on the wire when transmitted via devices that do checksum offloading. PR: kern/119635 Reviewed by: rwatson MFC after: 5 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-29T20:58:01.956155Z K 7 svn:log V 43 Connect a forgotten test case to Makefile. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-30T00:20:49.925707Z K 7 svn:log V 38 MFC: sendmail 8.14.3 Approved by: re END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-30T00:21:55.479144Z K 7 svn:log V 38 MFC: sendmail 8.14.3 Approved by: re END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-08-30T00:47:52.969061Z K 7 svn:log V 156 Free the device lock around the call to drm_drawable_free_all() This function manipulates a spin lock and we can't hold a mutex over it. Approved by: kib END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-08-30T00:53:30.609714Z K 7 svn:log V 187 We need to lock around driver unload now. The i915 driver installs it's register map at load time now. We can't remove the map during unload without holding the lock. Approved by: kib END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-08-30T01:00:18.165561Z K 7 svn:log V 275 Don't return EINVAL when trying to unlock. anholt thinks that he added this check as part of some regression testing, but it is failing at least some of the time. I don't want to remove it just yet. I added a bit of debugging to help identify the issue. Approved by: kib END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-30T05:31:23.258473Z K 7 svn:log V 119 When atime wasn't specified, it should get set == mtime. This is much stronger than just asserting that it's not zero. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-30T09:18:27.020549Z K 7 svn:log V 1007 Fix some edge cases in the TTY queues: - In the current design, when a TTY decreases its baud rate, it tries to shrink the queues. This may not always be possible, because it will not free any blocks that are still filled with data. Change the TTY queues to store a `quota' value as well, which means it will not free any blocks when changing the baud rate, but when placing blocks back into the queue. When the amount of blocks exceeds the quota, they get freed. It also fixes some edge cases, where TIOCSETA during read()/ write()-calls could actually make the queue a tiny bit bigger than in normal cases. - Don't leak blocks of memory when calling TIOCSETA when the device driver abandons the TTY while allocating memory. - Create ttyoutq_init() and ttyinq_init() to initialize the queues, instead of initializing them by hand. The new TTY snoop driver also creates an outq, so it's good to have a proper interface to do this. Obtained from: //depot/projects/mpsafetty/... END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2008-08-30T10:25:57.953637Z K 7 svn:log V 122 MFC: Increase statistic counters for enc0 interface when enabled and processing IPSec traffic. Approved by: gnn (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-30T13:20:35.562792Z K 7 svn:log V 269 - Improve some witness_watch operability in code which does perform both lock tracking and checks, doing just the former ones. - Fix a bug where sysctl utility was printing crazy values when setting a new value for debug.witness.watch [0] [0] Reported by: yongari END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-30T13:26:17.205145Z K 7 svn:log V 102 MFC: svn r182045, cvs 1.153 tcp_syncache.c Add an explicit comment why we NULLify the two variables. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-30T13:37:28.097699Z K 7 svn:log V 91 Reflect recent changes to the sysctl debug.witness.watch moving into a tri-state variable. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-08-30T15:04:53.157061Z K 7 svn:log V 58 - Style fix. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-08-30T15:16:40.201619Z K 7 svn:log V 329 - Try to look for MAC address in all SA registers, not only in the first one. U-boot, for example, uses the second register to store MAC.[1] - Use random MAC address if none configured instead of failing. Submitted by: Bjorn Konig [1] Reviewed by: imp Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-30T16:03:22.497015Z K 7 svn:log V 734 - Read ASI_{D,I}TLB_DATA_ACCESS_REG twice in order to work around errata of USIII and beyond (USIII erratum #19, USIII+ erratum #1, USIIIi erratum #1). - Use the cheetah PA mask in {d,i}tlb_va_to_pa_sun4u() for USIII and beyond. This is done so that these functions will still mask the debug bits of spitfire-class CPUs once we increase TD_PA_BITS to match the number of bits used for the PA by cheetah-class CPUs. - Change {d,i}tlb_enter_sun4u() to also set TLB_CTX_KERNEL as the context of the mappings entered. This is more or less cosmetic as TLB_CTX_KERNEL is 0. - Now that we have to distinguish between different sun4u CPUs in the loader anyway, no longer do trial and error when reading the portid property. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-30T16:21:16.489305Z K 7 svn:log V 90 opt_bus.h is supposed to be for subr_bus.c only. There's no need for it in the usb code. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-30T16:23:04.993801Z K 7 svn:log V 72 opt_bus.h isn't needed here. It is supposed to be for subr_bus.c only. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-30T16:24:01.232996Z K 7 svn:log V 120 opt_bus.h isn't needed here anymore. It never was really needed, since usb has no business including it like it did... END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-30T16:49:36.625189Z K 7 svn:log V 398 MFC: svn r182056, cvs 1.154 tcp_syncache.c Cache the cred locally in _syncache_add() while holding the locks, so we can be sure that it's valid. In case we abort early free it again else put it into the syncache. We need the cred in the syncache to be able to restrict what will be exportet by the sysctl helper function syncache_pcblist() (to netstat) within jails. PR: kern/126493 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-30T18:37:55.557915Z K 7 svn:log V 89 Don't clear PSL_RI. Disabling external interrupts doesn't make exceptions unrecoverable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-30T18:38:37.549497Z K 7 svn:log V 42 Add powerpc_sync() as an inline function. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-30T18:39:29.920470Z K 7 svn:log V 55 Call powerpc_sync() instead of using an asm statement. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-30T18:48:17.025407Z K 7 svn:log V 18 Whitespace fixes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-30T18:50:11.055234Z K 7 svn:log V 38 In db_show_mdpcpu(), print MD fields. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-08-30T20:58:34.178522Z K 7 svn:log V 270 Improve the entropy of the source port randomization for network address translation. It turns out this is useful for applications which require source port randomization for security (i.e. dns servers). Discussed with: secteam Requested by: mlaier MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-30T22:35:21.707305Z K 7 svn:log V 216 Document the ulimit -p option in the sh(1) manual page. When I imported the MPSAFE TTY code, I added the -p flag to sh(1)'s ulimit, but I forgot to document it in the appropriate manual page. Requested by: stefanf END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T22:50:08.512519Z K 7 svn:log V 87 MFC r181142, r181145, r181146, r181425, r181427: Add support for "freebsd-update IDS". END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T22:53:55.468430Z K 7 svn:log V 67 MFC r179073: Specify which INDEX files to build via portsnap.conf. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T22:57:30.719298Z K 7 svn:log V 85 MFC r181279: Don't close file descriptor . END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T23:06:02.835620Z K 7 svn:log V 73 MFC r178234: Fix one-byte buffer overflow in configuration file parsing. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T23:08:31.670705Z K 7 svn:log V 74 MFC r181280: Avoid printing bogus error messages if BLOCKSIZE is garbage. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-30T23:10:29.315057Z K 7 svn:log V 93 MFC r181281: Make swprintf("%s", "") not fail randomly depending on uninitialized variables. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-08-30T23:43:56.351021Z K 7 svn:log V 284 MFC: 182025 In nmount(), when we see the "force" option, set the MNT_FORCE flag, but do not persist "force" in the options list, since it is a command, not a persistent property of a mount. Similarly, when we see "reload", set MNT_RELOAD, but delete "reload" from the options list. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T01:14:01.699181Z K 7 svn:log V 87 MFC r181142, r181145, r181146, r181425, r181427: Add support for "freebsd-update IDS". END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T01:22:40.010041Z K 7 svn:log V 67 MFC r179073: Specify which INDEX files to build via portsnap.conf. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T02:16:43.132480Z K 7 svn:log V 85 MFC r181279: Don't close file descriptor . END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T02:18:08.535987Z K 7 svn:log V 73 MFC r178234: Fix one-byte buffer overflow in configuration file parsing. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T02:19:15.435370Z K 7 svn:log V 74 MFC r181280: Avoid printing bogus error messages if BLOCKSIZE is garbage. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-31T02:19:55.056399Z K 7 svn:log V 93 MFC r181281: Make swprintf("%s", "") not fail randomly depending on uninitialized variables. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-31T02:25:20.052617Z K 7 svn:log V 49 Remove restore_intr(). We have intr_restore()... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-31T03:08:26.236578Z K 7 svn:log V 147 Kill dead code. This has been a 'todo' item for a long time and the skelton ioctl handler has decayed beyond usefulness in both of these drivers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-31T03:16:31.348752Z K 7 svn:log V 149 Ioctls that aren't handled by this layer need to return ENOIOCTL, not ENOTTY. Also, make the ucom callback structure easier to read while I'm here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-31T03:22:19.999141Z K 7 svn:log V 330 All the other routines returned EIO from the param routine. Return it from umodem and ufoma. With these changes, umodem kinda works for me now. It certainly gets past the "tip" bug that I found earlier where 115200 wasn't a valid baud rate. This was "broken" in the mpsafetty commit, but in reality, umodem was always broken. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-31T03:39:59.226473Z K 7 svn:log V 121 Make uipaq's ucom callbacks easier to read while I'm hear looking for other why this seems to be broken with my phone... END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-31T04:02:52.337757Z K 7 svn:log V 29 Note that r176226 was MFCed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-31T04:03:59.543580Z K 7 svn:log V 29 Note that r176225 was MFCed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-31T04:05:04.175351Z K 7 svn:log V 32 Record that r176095 was MFC'ed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-31T04:26:43.281139Z K 7 svn:log V 36 Record that r175993 has been MFCed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-31T04:45:21.549530Z K 7 svn:log V 88 MFC r182360,r182470: If atime isn't specified, restore atime == mtime. PR: bin/124915 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-31T04:46:36.219745Z K 7 svn:log V 89 MFC r182360, r182470: If atime isn't specified, restore atime == mtime. PR: bin/124915 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-31T07:03:07.522537Z K 7 svn:log V 26 Record r175710 was MFCed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-31T07:06:02.116247Z K 7 svn:log V 211 Make libarchive_test a little smarter about trying to find its reference files when you don't specify -r. It now checks a couple of likely nearby directories to see if any of them have a particular known file. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-31T07:10:40.181674Z K 7 svn:log V 127 Joerg Sonnenberger's improvements to the shar writer. Significant performance improvements, better quoting of file names, etc. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-31T07:21:46.282971Z K 7 svn:log V 83 New mtree writer, thanks to Joerg Sonnenberger. Obtained from: Joerg Sonnenberger END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-08-31T08:33:41.845401Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-08-31T08:59:10.307644Z K 7 svn:log V 47 MFC r179022 and r179387: Expansion of $LINENO. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-08-31T09:08:11.337748Z K 7 svn:log V 84 MFC r178625 and r178631: Usage of intmax_t and type fixes for arithmetic expansion. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-08-31T09:11:41.068878Z K 7 svn:log V 52 MFC r181017: Fix a crash with invalid redirections. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-08-31T09:14:52.832619Z K 7 svn:log V 50 MFC r182300: Correction to r177497's getopts fix. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-31T09:17:27.229121Z K 7 svn:log V 73 Enable EFI target. While there, make use of the DEFAULT_VECTOR variable. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-08-31T09:28:49.167035Z K 7 svn:log V 155 - Fix comment. - Set U/L bit of generated ethernet address to 1 to not clash with Atmel assigned addresses. Suggested by: yar Approved by: kib (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-31T09:45:04.425260Z K 7 svn:log V 652 MFC r182111: Revert the r167541: "Remove unneeded getinoquota() call in the ufs_access()." The call to getinoquota in ufs_access() serves the purpose of instantiating inode dquot from the vn_open(). Since quotas are accounted only for the inodes with already attached dquot, removal of the call prevented opened inodes from participation in the quota calculations. Since ufs_access() may be called with the vnode being only shared locked, upgrade (and then downgrade) vnode lock if calling getinoquota(). MFC r182115: Put the relocked variable from the r182111 into the #ifdef QUOTA braces to prevent warning about unused var on the !QUOTA kernels. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T10:15:43.367933Z K 7 svn:log V 618 Merge r179308 from head to stable/7: Remove netatm from HEAD as it is not MPSAFE and relies on the now removed NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. Reviewed by: bz Discussed with: bms, bz, harti MFC discussed with: des, peter END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-31T10:17:40.167921Z K 7 svn:log V 551 Disable processing of output data after disabling scroll lock by force. The syscons code disabled scroll lock inside sc_cnputs() if it's going to print a system message. The code currently wants to process any TTY output data as well, but we cannot do this, because the TTY lock is a sleep mutex, while cnputs() picks up a spin mutex. Disable the code for now. It solves a panic when a console message is printed while scroll lock is enabled. One solution would be to initialize a task structure here. Reported by: Paul B. Mahol END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-31T10:37:56.860511Z K 7 svn:log V 340 MFC: r179356, rev. 1.25 ping6.8, 1.34 ping6.c Change the exit status for 0 and 2 to be the same as with ping(1) and be usable in scripts, etc. This also changes the semantics in case when we lose one of n packets. In that case, before we exited by SIG, now we exit with return(0). Submitted by: Gert Doering (gert space.net) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T10:53:23.480581Z K 7 svn:log V 124 Merge r179330 from head to stable/7: Remove now-obsolete Xref to ng_atmpif.4 from netgraph.4. Spotted by: antoine END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T11:39:56.988436Z K 7 svn:log V 248 Merge r179331 from head to stable/7: Remove two netatm-specific test parts. Spotted by: bz For reasons not entirely clear to me, svn merge didn't merge the deletions, so I had to do that manually and apply mergeinfo using --record-only. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T11:41:31.150983Z K 7 svn:log V 93 Update README to reflect removal of netatm/harp test parts some time ago. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T12:42:39.942825Z K 7 svn:log V 381 Merge r180307 from head to stable/7: Clarify comments and prototypes in raw_cb.h: - the protosw entries are used directly - the usrreq functions are library routines, generally wrapped by consumers rather than being used directly - the usrreq structure entries are likewise typically wrapped Remove the rather incorrect #if 0'd pr_input_t prototype for raw_input. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T12:50:01.127957Z K 7 svn:log V 247 Merge r180537 from head to stable/7: Invoke err() with a format string rather than directly with a passed command line argument. Submitted by: Alfredo Ortega Thanks to: Core Security Technologies END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T12:56:03.309451Z K 7 svn:log V 453 Merge r180493 from head to stable/7: The libc acl_valid(3) function validates the contents of a POSIX.1e ACL. This change removes the requirement that an ACL contain no ACL_USER entries with a uid the same as those of a file, or ACL_GROUP entries with a gid the same as those of a file. This requirement is not in the specification, and not enforced by the kernel's ACL implementation. Reported by: Iustin Pop END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-31T12:59:44.338625Z K 7 svn:log V 53 Spell fake_preload_metadata correctly, to fix build. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-08-31T12:59:45.654927Z K 7 svn:log V 293 MFC r182107: Explicitly tell that one needs to start a context address with a backslash if he/she wants to use a non-traditional delimiter, i.e., anything other than a slash. That is, /abc/ works as is, but xabcx needs to be spelled as \xabcx. Add appropriate markup. Bump Dd. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T13:16:45.424148Z K 7 svn:log V 213 In UDPv6, reduce scope of global udbinfo lock during append to last matching socket by dropping it before udp6_append(), and remove duplicate unlocks of udbinfo and inpcb in sysctl return path. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T13:17:54.546396Z K 7 svn:log V 142 Merge r180699 from head to stable/7: Use unsigned int when iterating over groupsets in audit_arg_groupset(). Obtained from: Apple Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T13:24:32.697906Z K 7 svn:log V 228 Merge r180701 from head to stable/7: In preparation to sync Apple and FreeBSD versions of security audit, pick up the Apple Computer -> Apple change in their copyright and license templates. Obtained from: Apple Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T13:35:49.374994Z K 7 svn:log V 471 Merge r180703, r180704, r180706, r180708, r180709, r180711, r180712, and r180715 from head to stable/7: Minor white space synchronization to Apple version of security audit. Comment typo fix. Comment fix. Use #define rather than #define. Generally avoid as a white space anomoly. Further minor white space tweaks. Remove unneeded \ at the end of a macro. Further minor style fixes to audit. Obtained from: Apple, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T14:04:35.926808Z K 7 svn:log V 180 Merge r180716 from head to stable/7: If an AUE_SYSCTL_NONADMIN audit event is selected, generate a record with equivilent content to AUE_SYSCTL. Obtained from: Apple Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-31T14:26:08.805536Z K 7 svn:log V 162 Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions. Manpages are updated accordingly. Tested by: Diego Sardina END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-08-31T14:27:59.580951Z K 7 svn:log V 227 pkill(1) first appeared in /usr/bin, but later it was moved to /bin for the convenience of rc.d. Now it has happily lived there for quite a while. So move the pkill(1) source files from usr.bin to bin, too. Approved by: gad END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T14:40:48.816727Z K 7 svn:log V 95 Merge r180735 from head to stable/7: Minor white space tweak. Obtained from: Apple Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T15:39:06.724050Z K 7 svn:log V 94 Merge r180305 from head to stable/7: Improve approximation of style(9) in raw socket code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T15:55:59.495611Z K 7 svn:log V 1298 Merge r180385 from head to stable/7: Remove unused support for local and foreign addresses in generic raw socket support. These utility routines are used only for routing and pfkey sockets, neither of which have a notion of address, so were required to mock up fake socket addresses to avoid connection requirements for applications that did not specify their own fake addresses (most of them). Quite a bit of the removed code is #ifdef notdef, since raw sockets don't support bind() or connect() in practice. Removing this simplifies the raw socket implementation, and removes two (commented out) uses of dtom(9). Fake addresses passed to sendto(2) by applications are ignored for compatibility reasons, but this is now done in a more consistent way (and with a comment). Possibly, EINVAL could be returned here in the future if it is determined that no applications depend on the semantic inconsistency of specifying a destination address for a protocol without address support, but this will require some amount of careful surveying. NB: This does not affect netinet, netinet6, or other wire protocol raw sockets, which provide their own independent infrastructure with control block address support specific to the protocol. Reviewed by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T16:02:54.053121Z K 7 svn:log V 242 Merge r180390 from head to stable/7: Add sysctl subtree net.raw for generic raw socket infrastructure; expose default send and receive socket buffer sizes using sysctls so that they can be administered centrally. Reviewed by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T16:14:41.892315Z K 7 svn:log V 289 Merge r180391 from head to stable/7: Rather than checking for a NULL so_pcb in raw_attach(), assert that it's non-NULL, as all callers can and should already do the required checking. Update comments a bit more to talk about rawcb allocation for consumers. Reviewed by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T16:27:37.280199Z K 7 svn:log V 264 Merge r180957 from head to stable/7: Marginally decomplicate set/getsockopt code in ip6_output.c by simply using the passed arguments explicitly and unconditionally rather than testing them and calling panic(). The result is the same but easier to read. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T17:04:44.380198Z K 7 svn:log V 203 Merge r181053 from head to stable/7: Further synchronization of copyrights, licenses, white space, etc from Apple and from the OpenBSM vendor tree. Obtained from: Apple Inc., TrustedBSD Project END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-08-31T17:23:45.537231Z K 7 svn:log V 178 Back out r182439 to move device bm to PowerPC-specific NOTES, and replace it by an MFC of r179646, which does the same thing. Suggested by: rwatson Approved by: marcel (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-31T18:04:16.411446Z K 7 svn:log V 273 MFC r179409, r181973, r181974, r181975 - Fix baud on the Oxford OX16PCI954 - Add the Avlab Technology PCI IO 4S-850 4 port serial card. - Add the VScom PCI-100L card. - Add the Decision Computer Inc, PCCOM 8-port serial card. PR: kern/110797, kern/72352, kern/69730 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-31T18:05:00.641820Z K 7 svn:log V 238 MFC r181973, r181974, r181975 - Add the Avlab Technology PCI IO 4S-850 4 port serial card. - Add the VScom PCI-100L card. - Add the Decision Computer Inc, PCCOM 8-port serial card. PR: kern/110797, kern/72352, kern/69730 END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-08-31T18:07:15.815242Z K 7 svn:log V 149 MFC r182195, r182269, r182276 Implement -R support, similar to ping(8)'s -A and -r support, similar to ping(8)'s -a. PR: bin/123752 (inspired by) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-31T18:20:01.219053Z K 7 svn:log V 92 Use a locally assigned address rather than stealing Atmel's which might cause a conflict... END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-31T18:21:15.008490Z K 7 svn:log V 203 A no-op commit to simulate the effect of a forced commit so the file has a new timestamp as needed for mergemaster. A more long term solution to this is needed since svn doesn't support forced commits. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T18:23:42.354960Z K 7 svn:log V 527 Merge r181069 from head to stable/7: In mac_bsdextended's auditctl and acct policy access control checks, return success if the passed vnode pointer is NULL (rather than panicking). This can occur if either audit or accounting are disabled while the policy is running. Since the swapoff control has no real relevance to this policy, which is concerned about intent to write rather than water under the bridge, remove it. PR: kern/126100 Reported by: Alan Amesbury END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-31T18:26:27.170402Z K 7 svn:log V 66 MFC r182361: Google changed the location of the blacklists again. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-31T18:27:44.324219Z K 7 svn:log V 66 MFC r182361: Google changed the location of the blacklists again. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-31T18:29:06.171592Z K 7 svn:log V 129 MFC r182556: A no-op commit to simulate the effect of a forced commit so the file has a new timestamp as needed for mergemaster. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-08-31T18:29:37.141685Z K 7 svn:log V 129 MFC r182556: A no-op commit to simulate the effect of a forced commit so the file has a new timestamp as needed for mergemaster. END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-08-31T18:44:00.414704Z K 7 svn:log V 70 MFC r181825: hw.ata.ata_dma_check_80pin tunable. Approved by: philip END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-31T18:54:35.850813Z K 7 svn:log V 24 fix tiny nti in comment END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-08-31T19:01:02.786078Z K 7 svn:log V 44 MFC r173765 Add -o option to match ping(8) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-08-31T19:03:12.938378Z K 7 svn:log V 176 MFC r176549 Decrease ping6's minimum allowed interval from .01 to .000001. Note that due to the architecture of ping6, you are still limited to kern.hz pings per second. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T19:48:10.916536Z K 7 svn:log V 189 Merge r180965 from head to stable/7: Since we fail IPv6 raw socket allocation if inp->in6p_icmp6filt can't be allocated, there's no need to conditionize use and freeing of it later. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-31T20:03:46.732232Z K 7 svn:log V 652 MFC r182111: Revert the r167541: "Remove unneeded getinoquota() call in the ufs_access()." The call to getinoquota in ufs_access() serves the purpose of instantiating inode dquot from the vn_open(). Since quotas are accounted only for the inodes with already attached dquot, removal of the call prevented opened inodes from participation in the quota calculations. Since ufs_access() may be called with the vnode being only shared locked, upgrade (and then downgrade) vnode lock if calling getinoquota(). MFC r182115: Put the relocked variable from the r182111 into the #ifdef QUOTA braces to prevent warning about unused var on the !QUOTA kernels. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T20:06:20.551369Z K 7 svn:log V 545 Merge r180990 from head to stable/7: Adopt the slightly weaker consistency locking approach used in IPv4 raw sockets for IPv6 raw sockets: separately lock the inpcb for determining the destination address for a connect()'d raw socket at the rip6_send() layer, and then re-acquire the inpcb lock in the rip6_output() layer to query other options on the socket. Previously, the global raw IP socket lock was used, which while correct and marginally more consistent, could add significantly to global raw IP socket lock contention. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T20:08:00.373864Z K 7 svn:log V 204 Merge r181238 from head to stable/7: DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-08-31T20:08:05.462398Z K 7 svn:log V 109 Don't return always 0. Return what we get from exec_mountprog or mount_fs. PR: bin/125154 MFC after: 1 day END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-31T20:08:13.959338Z K 7 svn:log V 37 Trace all PMAP calls using KTR_PMAP. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T20:40:47.021519Z K 7 svn:log V 204 Merge r181240 from head to stable/7: DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-31T20:55:31.941246Z K 7 svn:log V 33 Remove redundant KTR statements. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T21:27:05.221700Z K 7 svn:log V 708 Merge r181254 from head to stable/7: Remove broken code to replace st_mode value with ACCESSPERMS when lstat(2) is called on symlinks -- this code appears never to have worked. The PR this addresses suggests that the intended original behavior is the right one, but as bde points out in the PR comments, we do actually support storing a mode on symlinks, so returning it seems reasonable. This is consistent with Mac OS X, which despite documentation to the contrary does return the mode set on a symlink, but not some other platforms. The Single Unix Spec requires only that the returned bits be "meaningful", which seems at best unhelpful as advice goes. PR: 25018 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T21:54:24.216923Z K 7 svn:log V 441 Merge r180968 from head to stable/7: When copying in and out current ICMPv6 filters on a raw IPv6 socket, lock the inpcb and use a local stack variable to copy to/from userspace so that sooptcopyin()/sooptcopyout() aren't called while holding an rwlock. While here, fix a bug in which a failed sooptcopyin() might lead to partially consistent ICMPv6 filters on the socket by not ignoring the error returned by sooptcopyin(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-31T22:05:31.690929Z K 7 svn:log V 295 Merge r181966 from head to stable/7: Remove comments and #ifdef notyet'd code relating to directly dispatching the IP multicast input code from the output path; we don't allow reentrance of the input path from the IP output path, it must use the netisr due to potential lock recursion. END