From owner-cvs-src@FreeBSD.ORG Sun Aug 5 05:40:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 694AE16A418; Sun, 5 Aug 2007 05:40:53 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 52CBC13C428; Sun, 5 Aug 2007 05:40:53 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l755erBv046043; Sun, 5 Aug 2007 05:40:53 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l755erCD046042; Sun, 5 Aug 2007 05:40:53 GMT (envelope-from kib) Message-Id: <200708050540.l755erCD046042@repoman.freebsd.org> From: Konstantin Belousov Date: Sun, 5 Aug 2007 05:40:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm device_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 05:40:53 -0000 kib 2007-08-05 05:40:52 UTC FreeBSD src repository Modified files: sys/vm device_pager.c Log: Do not acquire Giant unconditionally around the calls to the cdevsw d_mmap methods. prep_cdevsw() already installs the shims that acquire/drop Giant for the methods of a driver that specified the D_NEEDGIANT flag. Reviewed by: alc Approved by: re (kensmith) Revision Changes Path 1.81 +0 -5 src/sys/vm/device_pager.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 07:38:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C9F16A418; Sun, 5 Aug 2007 07:38:10 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E23FC13C428; Sun, 5 Aug 2007 07:38:09 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l757c9x6055240; Sun, 5 Aug 2007 07:38:09 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l757c9Tl055239; Sun, 5 Aug 2007 07:38:09 GMT (envelope-from maxim) Message-Id: <200708050738.l757c9Tl055239@repoman.freebsd.org> From: Maxim Konovalov Date: Sun, 5 Aug 2007 07:38:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 rtentry.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 07:38:10 -0000 maxim 2007-08-05 07:38:09 UTC FreeBSD src repository Modified files: share/man/man9 rtentry.9 Log: o round-type -> round-trip. PR: docs/115082 Submitted by: Jordan Gordeev Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.25 +1 -1 src/share/man/man9/rtentry.9 From owner-cvs-src@FreeBSD.ORG Sun Aug 5 07:39:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F28CC16A419; Sun, 5 Aug 2007 07:39:30 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D986513C459; Sun, 5 Aug 2007 07:39:30 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l757dUbJ055325; Sun, 5 Aug 2007 07:39:30 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l757dU6c055324; Sun, 5 Aug 2007 07:39:30 GMT (envelope-from maxim) Message-Id: <200708050739.l757dU6c055324@repoman.freebsd.org> From: Maxim Konovalov Date: Sun, 5 Aug 2007 07:39:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 vpo.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 07:39:31 -0000 maxim 2007-08-05 07:39:30 UTC FreeBSD src repository Modified files: share/man/man4 vpo.4 Log: o Iomage -> Iomega. PR: docs/115208 Submitted by: John Nielsen Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.23 +1 -1 src/share/man/man4/vpo.4 From owner-cvs-src@FreeBSD.ORG Sun Aug 5 11:20:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACFE116A420; Sun, 5 Aug 2007 11:20:34 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 92FBD13C4B3; Sun, 5 Aug 2007 11:20:34 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75BKYTq081249; Sun, 5 Aug 2007 11:20:34 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75BKYAK081248; Sun, 5 Aug 2007 11:20:34 GMT (envelope-from marius) Message-Id: <200708051120.l75BKYAK081248@repoman.freebsd.org> From: Marius Strobl Date: Sun, 5 Aug 2007 11:20:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/re if_re.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 11:20:34 -0000 marius 2007-08-05 11:20:33 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: Initialize the rl_vlanctl field of the descriptors to zero (in order to clear RL_TDESC_VLANCTL_TAG). This fixes sending packets in the native VLAN when running both tagged and an untagged VLAN over the same trunk and descriptors are recycled. Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.94 +1 -0 src/sys/dev/re/if_re.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 11:28:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E585F16A418; Sun, 5 Aug 2007 11:28:19 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E3F7013C428; Sun, 5 Aug 2007 11:28:19 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75BSJcE081750; Sun, 5 Aug 2007 11:28:19 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75BSJ4r081749; Sun, 5 Aug 2007 11:28:19 GMT (envelope-from marius) Message-Id: <200708051128.l75BSJ4r081749@repoman.freebsd.org> From: Marius Strobl Date: Sun, 5 Aug 2007 11:28:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 11:28:20 -0000 marius 2007-08-05 11:28:19 UTC FreeBSD src repository Modified files: sys/dev/dc if_dc.c if_dcreg.h Log: o In order to reduce bug and code duplication fold handling of NICs requiring DC_TX_ALIGN or DC_TX_COALESCE, which was previously done in dc_start_locked(), into dc_encap(). o In dc_encap(): - If m_defrag() fails just drop the packet like other NIC drivers do. This should only happen when there's a mbuf shortage, in which case it was possible to end up with an IFQ full of packets which couldn't be processed as they couldn't be defragmented as they were taking up all the mbufs themselves. This includes adjusting dc_start_locked() to not trying to prepend the mbuf (chain) if dc_encap() has freed it. - Likewise, if bus_dmamap_load_mbuf() fails as dc_dma_map_txbuf() failed, free the mbuf possibly allocated by the above call to m_defrag() and drop the packet. o In dc_txeof(): - Don't clear IFF_DRV_OACTIVE unless there are at least 6 free TX descriptors. Further down the road dc_encap() will bail if there are only 5 or fewer free TX descriptors, causing dc_start_locked() to abort and prepend the dequeued mbuf again so it makes no sense to pretend we could process mbufs again when in fact we won't. While at it replace this magic 5 with a macro DC_TX_LIST_RSVD. - Just always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case. o In dc_dma_map_txbuf() there's no need to set sc->dc_cdata.dc_tx_err to error if the latter is != 0, bus_dmamap_load_mbuf() already returns the same error value in that case anyway. o For less overhead, convert to use bus_dmamap_load_mbuf_sg() for loading RX buffers. o Remove some banal and/or outdated comments. Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.192 +30 -67 src/sys/dev/dc/if_dc.c 1.54 +1 -2 src/sys/dev/dc/if_dcreg.h From owner-cvs-src@FreeBSD.ORG Sun Aug 5 11:56:45 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98FCE16A418; Sun, 5 Aug 2007 11:56:45 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9546D13C458; Sun, 5 Aug 2007 11:56:45 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75BujRh083346; Sun, 5 Aug 2007 11:56:45 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75BujLn083345; Sun, 5 Aug 2007 11:56:45 GMT (envelope-from marius) Message-Id: <200708051156.l75BujLn083345@repoman.freebsd.org> From: Marius Strobl Date: Sun, 5 Aug 2007 11:56:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sparc64/include iommureg.h iommuvar.h src/sys/sparc64/pci psycho.c psychoreg.h src/sys/sparc64/sbus sbus.c sbusreg.h src/sys/sparc64/sparc64 iommu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 11:56:45 -0000 marius 2007-08-05 11:56:44 UTC FreeBSD src repository Modified files: sys/sparc64/include iommureg.h iommuvar.h sys/sparc64/pci psycho.c psychoreg.h sys/sparc64/sbus sbus.c sbusreg.h sys/sparc64/sparc64 iommu.c Log: - Divorce the IOTSBs, which so far where handled via a global list instead of per IOMMU, so we no longer need to program all of them identically in systems having multiple IOMMUs. This continues the rototilling of the nexus(4) done about 5 months ago, which amongst others changed nexus(4) and the drivers for host-to-foo bridges to provide bus_get_dma_tag methods, allowing to handle DMA tags in a hierarchical way and to link them with devices. This still doesn't move the silicon bug workarounds for Sabre (and in the uncommitted schizo(4) for Tomatillo) bridges into special bus_dma_tag_create() and bus_dmamap_sync() methods though, as w/o fully newbus'ified bus_dma_tag_create() and bus_dma_tag_destroy() this still requires too much hackery, i.e. per-child parent DMA tags in the parent driver. - Let the host-to-foo drivers supply the maximum physical address of the IOMMU accompanying the bridges. Previously iommu(4) hard- coded an upper limit of 16GB, which actually only applies to the IOMMUs of the Hummingbird and Sabre bridges. The Psycho variants as well as the U2S in fact can can translate to up to 2TB, i.e. translate to 41-bit physical addresses. According to the recently available Tomatillo documentation these bridges even translate to 43-bit physical addresses and hints at the Schizo bridges doing 43 bits as well. This fixes the issue the FreeBSD 6.0 todo list item "Max RAM on sparc64" was refering to and pretty much obsoletes the lack of support for bounce buffers on sparc64. Thanks to Nathan Whitehorn for pointing me at the Tomatillo manual. Approved by: re (kensmith) Revision Changes Path 1.8 +2 -3 src/sys/sparc64/include/iommureg.h 1.16 +19 -10 src/sys/sparc64/include/iommuvar.h 1.68 +12 -7 src/sys/sparc64/pci/psycho.c 1.13 +4 -0 src/sys/sparc64/pci/psychoreg.h 1.45 +8 -8 src/sys/sparc64/sbus/sbus.c 1.3 +3 -1 src/sys/sparc64/sbus/sbusreg.h 1.45 +47 -114 src/sys/sparc64/sparc64/iommu.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 12:58:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB7F16A418; Sun, 5 Aug 2007 12:58:35 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2EA13C48E; Sun, 5 Aug 2007 12:58:35 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75CwZSc098368; Sun, 5 Aug 2007 12:58:35 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75CwZQ6098367; Sun, 5 Aug 2007 12:58:35 GMT (envelope-from bde) Message-Id: <200708051258.l75CwZQ6098367@repoman.freebsd.org> From: Bruce Evans Date: Sun, 5 Aug 2007 12:58:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 12:58:35 -0000 bde 2007-08-05 12:58:34 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Silently fix up the estimated next free cluster number from the fsinfo sector, instead of failing the whole mount if it is garbage. Fields in the fsinfo sector are only advisory, so there are better sanity checks than this, and we already silently fix up the only other advisory field in the fsinfo (the free cluster count). This wasn't handled quite right in rev.1.92, 1.117, or in NetBSD. 1.92 also failed the whole mount for the non-garbage magic value 0xffffffff 1.117 fixed this well enough in practice since garbage values shouldn't occur in practice, but left the error handling larger and more convoluted than necessary. Now we handle the magic value as a special case of fixing up all out of bounds values. Also fix up the estimated next free cluster number when there is no fsinfo sector. We were using 0, but CLUST_FIRST is safer. Approved by: re (kensmith) Revision Changes Path 1.169 +12 -10 src/sys/fs/msdosfs/msdosfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 16:16:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EAE16A418; Sun, 5 Aug 2007 16:16:16 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 32EF213C45A; Sun, 5 Aug 2007 16:16:16 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75GGGb3018243; Sun, 5 Aug 2007 16:16:16 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75GGGe4018242; Sun, 5 Aug 2007 16:16:16 GMT (envelope-from bz) Message-Id: <200708051616.l75GGGe4018242@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sun, 5 Aug 2007 16:16:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ipfw ipfw.8 src/share/man/man4 ipsec.4 src/sys/conf NOTES options src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h src/sys/netinet6 ip6_ipsec.c ip6_ipsec.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 16:16:16 -0000 bz 2007-08-05 16:16:15 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 share/man/man4 ipsec.4 sys/conf NOTES options sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h sys/netinet6 ip6_ipsec.c ip6_ipsec.h Log: Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL. Also rename the related functions in a similar way. There are no functional changes. For a packet coming in with IPsec tunnel mode, the default is to only call into the firewall with the "outer" IP header and payload. With this option turned on, in addition to the "outer" parts, the "inner" IP header and payload are passed to the firewall too when going through ip_input() the second time. The option was never only related to a gif(4) tunnel within an IPsec tunnel and thus the name was very misleading. Discussed at: BSDCan 2007 Best new name suggested by: rwatson Reviewed by: rwatson Approved by: re (bmah) Revision Changes Path 1.203 +2 -2 src/sbin/ipfw/ipfw.8 1.22 +3 -3 src/share/man/man4/ipsec.4 1.1448 +4 -4 src/sys/conf/NOTES 1.604 +1 -1 src/sys/conf/options 1.331 +1 -1 src/sys/netinet/ip_input.c 1.7 +3 -3 src/sys/netinet/ip_ipsec.c 1.2 +1 -1 src/sys/netinet/ip_ipsec.h 1.6 +3 -3 src/sys/netinet6/ip6_ipsec.c 1.2 +1 -1 src/sys/netinet6/ip6_ipsec.h From owner-cvs-src@FreeBSD.ORG Sun Aug 5 16:30:13 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8CD716A417; Sun, 5 Aug 2007 16:30:13 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7FEFC13C483; Sun, 5 Aug 2007 16:30:13 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 9D75741C64E; Sun, 5 Aug 2007 18:30:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 00IcBJFTAJRg; Sun, 5 Aug 2007 18:30:11 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 0DDC741C655; Sun, 5 Aug 2007 18:30:11 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2CC32444885; Sun, 5 Aug 2007 16:30:05 +0000 (UTC) Date: Sun, 5 Aug 2007 16:30:05 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200708051616.l75GGGe4018242@repoman.freebsd.org> Message-ID: <20070805161921.P87821@maildrop.int.zabbadoz.net> References: <200708051616.l75GGGe4018242@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: cvs commit: src/sbin/ipfw ipfw.8 src/share/man/man4 ipsec.4 src/sys/conf NOTES options src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h src/sys/netinet6 ip6_ipsec.c ip6_ipsec.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 16:30:13 -0000 On Sun, 5 Aug 2007, Bjoern A. Zeeb wrote: > bz 2007-08-05 16:16:15 UTC > > FreeBSD src repository > > Modified files: > sbin/ipfw ipfw.8 > share/man/man4 ipsec.4 > sys/conf NOTES options > sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h > sys/netinet6 ip6_ipsec.c ip6_ipsec.h > Log: > Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL. > Also rename the related functions in a similar way. > There are no functional changes. > > For a packet coming in with IPsec tunnel mode, the default is > to only call into the firewall with the "outer" IP header and > payload. > > With this option turned on, in addition to the "outer" parts, > the "inner" IP header and payload are passed to the > firewall too when going through ip_input() the second time. > > The option was never only related to a gif(4) tunnel within > an IPsec tunnel and thus the name was very misleading. > > Discussed at: BSDCan 2007 > Best new name suggested by: rwatson > Reviewed by: rwatson > Approved by: re (bmah) > > Revision Changes Path > 1.203 +2 -2 src/sbin/ipfw/ipfw.8 > 1.22 +3 -3 src/share/man/man4/ipsec.4 > 1.1448 +4 -4 src/sys/conf/NOTES > 1.604 +1 -1 src/sys/conf/options > 1.331 +1 -1 src/sys/netinet/ip_input.c > 1.7 +3 -3 src/sys/netinet/ip_ipsec.c > 1.2 +1 -1 src/sys/netinet/ip_ipsec.h > 1.6 +3 -3 src/sys/netinet6/ip6_ipsec.c > 1.2 +1 -1 src/sys/netinet6/ip6_ipsec.h For netinet6 you will find the "helper" functions which are still unused. ip6_input() will need the same check that ip_input() has if we want feature parity with legacy IP (being able to not filter on the "inner" header/payload from an IPsec tunnel mode) I am unsure why it's not yet there. Anyone know a reason other than "just missing"? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. From owner-cvs-src@FreeBSD.ORG Sun Aug 5 16:33:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5434316A41A; Sun, 5 Aug 2007 16:33:07 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6AE13C45B; Sun, 5 Aug 2007 16:33:07 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75GX7Os019901; Sun, 5 Aug 2007 16:33:07 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75GX7Qs019900; Sun, 5 Aug 2007 16:33:07 GMT (envelope-from truckman) Message-Id: <200708051633.l75GX7Qs019900@repoman.freebsd.org> From: Don Lewis Date: Sun, 5 Aug 2007 16:33:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/rpc.statd statd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 16:33:07 -0000 truckman 2007-08-05 16:33:06 UTC FreeBSD src repository Modified files: usr.sbin/rpc.statd statd.c Log: The call to init_file() needs to be moved outside the loop in statd.c, otherwise mmap() gets called multiple times, which eventually fails due to address space exhaustion on i386. Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.15 +1 -1 src/usr.sbin/rpc.statd/statd.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 16:55:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2778616A417; Sun, 5 Aug 2007 16:55:41 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2607813C45D; Sun, 5 Aug 2007 16:55:41 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75GtfWq029796; Sun, 5 Aug 2007 16:55:41 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75GteYH029794; Sun, 5 Aug 2007 16:55:41 GMT (envelope-from rink) Message-Id: <200708051655.l75GteYH029794@repoman.freebsd.org> From: Rink Springer Date: Sun, 5 Aug 2007 16:55:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libdisk open_disk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 16:55:41 -0000 rink 2007-08-05 16:55:40 UTC FreeBSD src repository Modified files: lib/libdisk open_disk.c Log: Improve error handling in libdisk while parsing the kern.geom.conftxt sysctl. Previously, any parse error will result in the calling program exiting with an unpleasant message. This change will cause libdisk to issue a warning and ignore lines it cannot parse instead of bluntly terminating the unfortunate enough program. This change will allow you to use sysinstall if you have a NTFS parition with a space in the name (such as 'Win Xp'). In such a case, a line like the following will appear in the kern.geom.conftxt output: 2 LABEL ntfs/Win Xp 209818635264 512 i 0 o 0 As the fields are space-separated, libdisk would go beserk and exit the program. This would happen if using FreeBSD 7.0 snapshot images (as GEOM_LABEL is in the installation kernel as well), thus making it impossible to install FreeBSD without renaming your NTFS paritions. Reported by: Dwight Berendse Nod from: phk Reviewed by: imp Approved by: re (bmah), imp (mentor) MFC after: 1 month Revision Changes Path 1.11 +38 -19 src/lib/libdisk/open_disk.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 18:19:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BCB216A41A; Sun, 5 Aug 2007 18:19:39 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E405C13C458; Sun, 5 Aug 2007 18:19:38 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75IJcYo039718; Sun, 5 Aug 2007 18:19:38 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75IJccX039717; Sun, 5 Aug 2007 18:19:38 GMT (envelope-from marcel) Message-Id: <200708051819.l75IJccX039717@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 5 Aug 2007 18:19:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/include ia64_cpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 18:19:39 -0000 marcel 2007-08-05 18:19:38 UTC FreeBSD src repository Modified files: sys/ia64/include ia64_cpu.h Log: In ia64_set_rr(), don't perform data serialization. This allows us to do the data serializations once after writing multiple region registers, as is done in pmap_switch(). All existing calls to ia64_set_rr() are followed with calls to ia64_srlz_d(). Approved by: re (blanket) Revision Changes Path 1.23 +1 -1 src/sys/ia64/include/ia64_cpu.h From owner-cvs-src@FreeBSD.ORG Sun Aug 5 21:00:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B923216A418; Sun, 5 Aug 2007 21:00:31 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9413013C47E; Sun, 5 Aug 2007 21:00:31 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75L0V2W063158; Sun, 5 Aug 2007 21:00:31 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75L0VJj063157; Sun, 5 Aug 2007 21:00:31 GMT (envelope-from thompsa) Message-Id: <200708052100.l75L0VJj063157@repoman.freebsd.org> From: Andrew Thompson Date: Sun, 5 Aug 2007 21:00:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net if_lagg.c if_lagg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 21:00:31 -0000 thompsa 2007-08-05 21:00:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_lagg.c if_lagg.h Log: MFC if_lagg.c r1.17-18, if_lagg.h r1.10 - Avoid holding the softc lock when using copyout(). - Propagate the largest set of interface capabilities supported by all lagg ports to the lagg interface. - Use the MTU from the first interface as the lagg MTU, all extra interfaces must be the same. Revision Changes Path 1.11.2.5 +109 -43 src/sys/net/if_lagg.c 1.7.2.3 +0 -1 src/sys/net/if_lagg.h From owner-cvs-src@FreeBSD.ORG Sun Aug 5 21:04:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1019616A41A; Sun, 5 Aug 2007 21:04:33 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F2E1913C457; Sun, 5 Aug 2007 21:04:32 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75L4WZk065083; Sun, 5 Aug 2007 21:04:32 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75L4WM3065082; Sun, 5 Aug 2007 21:04:32 GMT (envelope-from alc) Message-Id: <200708052104.l75L4WM3065082@repoman.freebsd.org> From: Alan Cox Date: Sun, 5 Aug 2007 21:04:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm device_pager.c phys_pager.c swap_pager.c vm_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 21:04:33 -0000 alc 2007-08-05 21:04:32 UTC FreeBSD src repository Modified files: sys/vm device_pager.c phys_pager.c swap_pager.c vm_pager.c Log: Consider a scenario in which one processor, call it Pt, is performing vm_object_terminate() on a device-backed object at the same time that another processor, call it Pa, is performing dev_pager_alloc() on the same device. The problem is that vm_pager_object_lookup() should not be allowed to return a doomed object, i.e., an object with OBJ_DEAD set, but it does. In detail, the unfortunate sequence of events is: Pt in vm_object_terminate() holds the doomed object's lock and sets OBJ_DEAD on the object. Pa in dev_pager_alloc() holds dev_pager_sx and calls vm_pager_object_lookup(), which returns the doomed object. Next, Pa calls vm_object_reference(), which requires the doomed object's lock, so Pa waits for Pt to release the doomed object's lock. Pt proceeds to the point in vm_object_terminate() where it releases the doomed object's lock. Pa is now able to complete vm_object_reference() because it can now complete the acquisition of the doomed object's lock. So, now the doomed object has a reference count of one! Pa releases dev_pager_sx and returns the doomed object from dev_pager_alloc(). Pt now acquires dev_pager_mtx, removes the doomed object from dev_pager_object_list, releases dev_pager_mtx, and finally calls uma_zfree with the doomed object. However, the doomed object is still in use by Pa. Repeating my key point, vm_pager_object_lookup() must not return a doomed object. Moreover, the test for the object's state, i.e., doomed or not, and the increment of the object's reference count should be carried out atomically. Reviewed by: kib Approved by: re (kensmith) MFC after: 3 weeks Revision Changes Path 1.82 +0 -4 src/sys/vm/device_pager.c 1.27 +0 -4 src/sys/vm/phys_pager.c 1.295 +1 -3 src/sys/vm/swap_pager.c 1.108 +19 -7 src/sys/vm/vm_pager.c From owner-cvs-src@FreeBSD.ORG Sun Aug 5 23:24:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A82116A418; Sun, 5 Aug 2007 23:24:55 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 37F7F13C4A5; Sun, 5 Aug 2007 23:24:55 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l75NOswE045802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Aug 2007 16:24:54 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46B65D98.9090000@errno.com> Date: Sun, 05 Aug 2007 16:30:32 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070530) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <200708051616.l75GGGe4018242@repoman.freebsd.org> <20070805161921.P87821@maildrop.int.zabbadoz.net> In-Reply-To: <20070805161921.P87821@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ipfw ipfw.8 src/share/man/man4 ipsec.4 src/sys/conf NOTES options src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h src/sys/netinet6 ip6_ipsec.c ip6_ipsec.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 23:24:55 -0000 Bjoern A. Zeeb wrote: > On Sun, 5 Aug 2007, Bjoern A. Zeeb wrote: > >> bz 2007-08-05 16:16:15 UTC >> >> FreeBSD src repository >> >> Modified files: >> sbin/ipfw ipfw.8 >> share/man/man4 ipsec.4 >> sys/conf NOTES options >> sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h >> sys/netinet6 ip6_ipsec.c ip6_ipsec.h >> Log: >> Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL. >> Also rename the related functions in a similar way. >> There are no functional changes. >> >> For a packet coming in with IPsec tunnel mode, the default is >> to only call into the firewall with the "outer" IP header and >> payload. >> >> With this option turned on, in addition to the "outer" parts, >> the "inner" IP header and payload are passed to the >> firewall too when going through ip_input() the second time. >> >> The option was never only related to a gif(4) tunnel within >> an IPsec tunnel and thus the name was very misleading. >> >> Discussed at: BSDCan 2007 >> Best new name suggested by: rwatson >> Reviewed by: rwatson >> Approved by: re (bmah) >> >> Revision Changes Path >> 1.203 +2 -2 src/sbin/ipfw/ipfw.8 >> 1.22 +3 -3 src/share/man/man4/ipsec.4 >> 1.1448 +4 -4 src/sys/conf/NOTES >> 1.604 +1 -1 src/sys/conf/options >> 1.331 +1 -1 src/sys/netinet/ip_input.c >> 1.7 +3 -3 src/sys/netinet/ip_ipsec.c >> 1.2 +1 -1 src/sys/netinet/ip_ipsec.h >> 1.6 +3 -3 src/sys/netinet6/ip6_ipsec.c >> 1.2 +1 -1 src/sys/netinet6/ip6_ipsec.h > > > For netinet6 you will find the "helper" functions which are still > unused. ip6_input() will need the same check that ip_input() has > if we want feature parity with legacy IP (being able to not filter on > the "inner" header/payload from an IPsec tunnel mode) > > I am unsure why it's not yet there. Anyone know a reason other than > "just missing"? There was no ipv6 support when the FILTERGIF stuff was added. Sam From owner-cvs-src@FreeBSD.ORG Mon Aug 6 02:31:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99CC116A468; Mon, 6 Aug 2007 02:31:26 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7270413C45E; Mon, 6 Aug 2007 02:31:26 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l762VQnh000410; Mon, 6 Aug 2007 02:31:26 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l762VQEA000409; Mon, 6 Aug 2007 02:31:26 GMT (envelope-from delphij) Message-Id: <200708060231.l762VQEA000409@repoman.freebsd.org> From: Xin LI Date: Mon, 6 Aug 2007 02:31:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/gzip gzip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 02:31:26 -0000 delphij 2007-08-06 02:31:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/gzip gzip.c Log: MFC revision 1.4: date: 2007/07/12 01:17:14; author: delphij; state: Exp; lines: +7 -7 - Simulate GNU gzip(1) behavior where full filename is being output in verbose mode when doing recursive[1]. - Use better representation of S: PR: bin/114470 Submitted by: Ighighi [1] Revision Changes Path 1.2.2.3 +7 -7 src/usr.bin/gzip/gzip.c From owner-cvs-src@FreeBSD.ORG Mon Aug 6 05:11:01 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9050F16A417; Mon, 6 Aug 2007 05:11:01 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7E42813C45E; Mon, 6 Aug 2007 05:11:01 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l765B1Sh023808; Mon, 6 Aug 2007 05:11:01 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l765B1Xa023807; Mon, 6 Aug 2007 05:11:01 GMT (envelope-from marcel) Message-Id: <200708060511.l765B1Xa023807@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 6 Aug 2007 05:11:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 exception.S interrupt.c src/sys/ia64/include md_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 05:11:01 -0000 marcel 2007-08-06 05:11:01 UTC FreeBSD src repository Modified files: sys/ia64/ia64 exception.S interrupt.c sys/ia64/include md_var.h Log: Keep interrupts disabled while handling external interrupts. There's no advantage in allowing nested external interrupts. In fact, it leads to a potential stack overrun. While here, put the interrupt vector in the trapframe, so as to compensate for the 36 cycle latency of reading cr.ivr. Further simplify assembly code by dealing with ASTs from C. Approved by: re (blanket) Revision Changes Path 1.62 +22 -45 src/sys/ia64/ia64/exception.S 1.61 +41 -27 src/sys/ia64/ia64/interrupt.c 1.26 +1 -1 src/sys/ia64/include/md_var.h From owner-cvs-src@FreeBSD.ORG Mon Aug 6 05:15:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D13E16A418; Mon, 6 Aug 2007 05:15:58 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 03B2713C461; Mon, 6 Aug 2007 05:15:58 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l765FvmO024211; Mon, 6 Aug 2007 05:15:57 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l765FvBH024210; Mon, 6 Aug 2007 05:15:57 GMT (envelope-from marcel) Message-Id: <200708060515.l765FvBH024210@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 6 Aug 2007 05:15:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 mp_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 05:15:58 -0000 marcel 2007-08-06 05:15:57 UTC FreeBSD src repository Modified files: sys/ia64/ia64 mp_machdep.c Log: Clear pending interrupts before we enable external interrupts. Recently the AP in my Merced box seems to have grown a habit of getting unexpected interrupts, such as redundant wake-ups and legacy interrupts that require an INTA cycle. While here, replace DELAY(0) with cpu_spinwait() so that it's clear what we're doing as well as enable the code to take advantage of cpu_spinwait() when it gets implemented. Approved by: re (blanket) Revision Changes Path 1.67 +20 -5 src/sys/ia64/ia64/mp_machdep.c From owner-cvs-src@FreeBSD.ORG Mon Aug 6 09:11:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5797A16A41A; Mon, 6 Aug 2007 09:11:06 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 44CB513C49D; Mon, 6 Aug 2007 09:11:06 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l769B6p0072765; Mon, 6 Aug 2007 09:11:06 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l769B68L072763; Mon, 6 Aug 2007 09:11:06 GMT (envelope-from thompsa) Message-Id: <200708060911.l769B68L072763@repoman.freebsd.org> From: Andrew Thompson Date: Mon, 6 Aug 2007 09:11:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/ifconfig ifbridge.c ifconfig.8 src/sys/net if_bridge.c if_bridgevar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 09:11:06 -0000 thompsa 2007-08-06 09:11:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/ifconfig ifbridge.c ifconfig.8 sys/net if_bridge.c if_bridgevar.h Log: MFC Add a bridge interface flag called PRIVATE where any private port can not communicate with another private port. 1.11 src/sbin/ifconfig/ifbridge.c 1.142 src/sbin/ifconfig/ifconfig.8 1.102 src/sys/net/if_bridge.c 1.23 src/sys/net/if_bridgevar.h Revision Changes Path 1.1.2.5 +16 -0 src/sbin/ifconfig/ifbridge.c 1.95.2.25 +10 -0 src/sbin/ifconfig/ifconfig.8 1.11.2.51 +37 -33 src/sys/net/if_bridge.c 1.4.2.9 +3 -1 src/sys/net/if_bridgevar.h From owner-cvs-src@FreeBSD.ORG Mon Aug 6 10:00:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406D716A417; Mon, 6 Aug 2007 10:00:41 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 19A2613C458; Mon, 6 Aug 2007 10:00:41 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76A0euN075937; Mon, 6 Aug 2007 10:00:40 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76A0eav075936; Mon, 6 Aug 2007 10:00:40 GMT (envelope-from thompsa) Message-Id: <200708061000.l76A0eav075936@repoman.freebsd.org> From: Andrew Thompson Date: Mon, 6 Aug 2007 10:00:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net if_bridge.c if_bridgevar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 10:00:41 -0000 thompsa 2007-08-06 10:00:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_bridge.c if_bridgevar.h Log: MFC if_bridge.c r1.101, if_bridgevar.h r1.22 Avoid holding the softc lock when using copyout(). Revision Changes Path 1.11.2.52 +57 -29 src/sys/net/if_bridge.c 1.4.2.10 +0 -1 src/sys/net/if_bridgevar.h From owner-cvs-src@FreeBSD.ORG Mon Aug 6 10:16:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DD7916A418; Mon, 6 Aug 2007 10:16:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4755713C468; Mon, 6 Aug 2007 10:16:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76AG2Ms078301; Mon, 6 Aug 2007 10:16:02 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76AG2gL078300; Mon, 6 Aug 2007 10:16:02 GMT (envelope-from thompsa) Message-Id: <200708061016.l76AG2gL078300@repoman.freebsd.org> From: Andrew Thompson Date: Mon, 6 Aug 2007 10:16:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src UPDATING src/sys/net if_bridgevar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 10:16:02 -0000 thompsa 2007-08-06 10:16:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) . UPDATING sys/net if_bridgevar.h Log: The path_cost field should have been increased to 32bits when RSTP support was merged, fix this now and sync the struct order while I am at it. Revision Changes Path 1.416.2.33 +4 -0 src/UPDATING 1.4.2.11 +4 -4 src/sys/net/if_bridgevar.h From owner-cvs-src@FreeBSD.ORG Mon Aug 6 14:26:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2657216A41B; Mon, 6 Aug 2007 14:26:04 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F70913C48E; Mon, 6 Aug 2007 14:26:04 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76EQ3bC008061; Mon, 6 Aug 2007 14:26:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76EQ30N008060; Mon, 6 Aug 2007 14:26:03 GMT (envelope-from rwatson) Message-Id: <200708061426.l76EQ30N008060@repoman.freebsd.org> From: Robert Watson Date: Mon, 6 Aug 2007 14:26:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/linux linux_socket.c src/sys/conf options src/sys/dev/ath if_ath.c src/sys/dev/em if_em.c src/sys/dev/streams streams.c src/sys/kern kern_descrip.c kern_poll.c sys_socket.c uipc_domain.c uipc_syscalls.c src/sys/net ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 14:26:04 -0000 rwatson 2007-08-06 14:26:03 UTC FreeBSD src repository Modified files: sys/compat/linux linux_socket.c sys/conf options sys/dev/ath if_ath.c sys/dev/em if_em.c sys/dev/streams streams.c sys/kern kern_descrip.c kern_poll.c sys_socket.c uipc_domain.c uipc_syscalls.c sys/net bpf.c bpfdesc.h netisr.c sys/netgraph/netflow netflow.c sys/netinet in_pcb.h ip_dummynet.c ip_fw2.c ip_mroute.c sctp_input.c tcp_syncache.c sys/netipsec xform_ah.c xform_esp.c xform_ipcomp.c sys/nfsclient bootp_subr.c krpc_subr.c nfs_socket.c nfs_vfsops.c sys/nfsserver nfs_srvsock.c nfs_srvsubs.c nfs_syscalls.c sys/pci if_xl.c sys/rpc rpcclnt.c sys/security/mac mac_syscalls.c sys/sys mutex.h Log: Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which previously conditionally acquired Giant based on debug.mpsafenet. As that has now been removed, they are no longer required. Removing them significantly simplifies error-handling in the socket layer, eliminated quite a bit of unwinding of locking in error cases. While here clean up the now unneeded opt_net.h, which previously was used for the NET_WITH_GIANT kernel option. Clean up some related gotos for consistency. Reviewed by: bz, csjp Tested by: kris Approved by: re (kensmith) Revision Changes Path 1.74 +0 -2 src/sys/compat/linux/linux_socket.c 1.605 +0 -1 src/sys/conf/options 1.173 +2 -6 src/sys/dev/ath/if_ath.c 1.183 +0 -2 src/sys/dev/em/if_em.c 1.56 +0 -2 src/sys/dev/streams/streams.c 1.313 +0 -3 src/sys/kern/kern_descrip.c 1.31 +0 -11 src/sys/kern/kern_poll.c 1.73 +12 -35 src/sys/kern/sys_socket.c 1.51 +0 -4 src/sys/kern/uipc_domain.c 1.258 +13 -54 src/sys/kern/uipc_syscalls.c 1.180 +2 -10 src/sys/net/bpf.c 1.38 +1 -4 src/sys/net/bpfdesc.h 1.20 +0 -1 src/sys/net/netisr.c 1.25 +0 -1 src/sys/netgraph/netflow/netflow.c 1.100 +4 -15 src/sys/netinet/in_pcb.h 1.109 +1 -7 src/sys/netinet/ip_dummynet.c 1.171 +1 -4 src/sys/netinet/ip_fw2.c 1.137 +2 -8 src/sys/netinet/ip_mroute.c 1.54 +0 -2 src/sys/netinet/sctp_input.c 1.129 +0 -1 src/sys/netinet/tcp_syncache.c 1.15 +0 -10 src/sys/netipsec/xform_ah.c 1.20 +0 -10 src/sys/netipsec/xform_esp.c 1.11 +0 -10 src/sys/netipsec/xform_ipcomp.c 1.70 +0 -4 src/sys/nfsclient/bootp_subr.c 1.30 +0 -2 src/sys/nfsclient/krpc_subr.c 1.154 +14 -42 src/sys/nfsclient/nfs_socket.c 1.193 +0 -2 src/sys/nfsclient/nfs_vfsops.c 1.104 +0 -7 src/sys/nfsserver/nfs_srvsock.c 1.149 +0 -2 src/sys/nfsserver/nfs_srvsubs.c 1.116 +4 -13 src/sys/nfsserver/nfs_syscalls.c 1.210 +0 -2 src/sys/pci/if_xl.c 1.20 +0 -16 src/sys/rpc/rpcclnt.c 1.132 +0 -4 src/sys/security/mac/mac_syscalls.c 1.101 +0 -13 src/sys/sys/mutex.h From owner-cvs-src@FreeBSD.ORG Mon Aug 6 15:46:47 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4700516A417; Mon, 6 Aug 2007 15:46:47 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 418D813C461; Mon, 6 Aug 2007 15:46:47 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76Fklxr014480; Mon, 6 Aug 2007 15:46:47 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76FkleV014479; Mon, 6 Aug 2007 15:46:47 GMT (envelope-from rrs) Message-Id: <200708061546.l76FkleV014479@repoman.freebsd.org> From: Randall Stewart Date: Mon, 6 Aug 2007 15:46:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_constants.h sctp_input.c sctp_uio.h sctp_usrreq.c sctputil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 15:46:47 -0000 rrs 2007-08-06 15:46:46 UTC FreeBSD src repository Modified files: sys/netinet sctp_constants.h sctp_input.c sctp_uio.h sctp_usrreq.c sctputil.c Log: - change number assignments for SHA225-512 (match artisync for bakeoff.. using the next sequential ones) - In cookie processing 1-2-1, we did not increment the stcb refcnt before releasing the tcb lock. We need to do this to keep the tcb from being freed by a abort or ?? unlikely but worth doing. Also get rid of unneed INP_WLOCK. - extra receive info included the rcvinfo which killed the padding/alignment. We now redefine all the fields properly so they both align properly both to 128 bytes. - A peeled off socket would not close without an error due to its misguided idea that sctp_disconnect() was not supported on it. This fixes it so it goes through the proper path. - When an assoc was being deleted after abort (via a timer) a small race condition exists where we might take a packet for the old assoc (since we are waiting for a cleanup timer). This state especially happens in mac. We now add a state in the asoc so these can properly handle the packet as OOTB. Approved by: re@freebsd.org(Ken Smith) Revision Changes Path 1.25 +1 -0 src/sys/netinet/sctp_constants.h 1.55 +12 -0 src/sys/netinet/sctp_input.c 1.25 +12 -4 src/sys/netinet/sctp_uio.h 1.41 +2 -1 src/sys/netinet/sctp_usrreq.c 1.54 +3 -0 src/sys/netinet/sctputil.c From owner-cvs-src@FreeBSD.ORG Mon Aug 6 22:06:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2303A16A41A; Mon, 6 Aug 2007 22:06:37 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1853613C46A; Mon, 6 Aug 2007 22:06:37 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76M6awW064190; Mon, 6 Aug 2007 22:06:36 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76M6aP3064189; Mon, 6 Aug 2007 22:06:36 GMT (envelope-from csjp) Message-Id: <200708062206.l76M6aP3064189@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Mon, 6 Aug 2007 22:06:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet in_mcast.c ip_divert.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 22:06:37 -0000 csjp 2007-08-06 22:06:36 UTC FreeBSD src repository Modified files: sys/netinet in_mcast.c ip_divert.c Log: Over the past couple of years, there have been a number of reports relating the use of divert sockets to dead locks. A number of LORs have been reported between divert and a number of other network subsystems including: IPSEC, Pfil, multicast, ipfw and others. Other dead locks could occur because of recursive entry into the IP stack. This change should take care of most if not all of these issues. A summary of the changes follow: - We disallow multicast operations on divert sockets. It really doesn't make semantic sense to allow this, since typically you would set multicast parameters on multicast end points. NOTE: As a part of this change, we actually dis-allow multicast options on any socket that IS a divert socket OR IS NOT a SOCK_RAW or SOCK_DGRAM family - We check to see if there are any socket options that have been specified on the socket, and if there was (which is very un-common and also probably doesnt make sense to support) we duplicate the mbuf carrying the options. - We then drop the INP/INFO locks over the call to ip_output(). It should be noted that since we no longer support multicast operations on divert sockets and we have duplicated any socket options, we no longer need the reference to the pcb to be coherent. - Finally, we replaced the call to ip_input() to use netisr queuing. This should remove the recursive entry into the IP stack from divert. By dropping the locks over the call to ip_output() we eliminate all the lock ordering issues above. By switching over to netisr on the inbound path, we can no longer recursively enter the ip_input() code via divert. I have tested this change by using the following command: ipfwpcap -r 8000 - | tcpdump -r - -nn -v This should exercise the input and re-injection (outbound) path, which is very similar to the work load performed by natd(8). Additionally, I have run some ospf daemons which have a heavy reliance on raw sockets and multicast. Approved by: re@ (kensmith) MFC after: 1 month LOR: 163 LOR: 181 LOR: 202 LOR: 203 Discussed with: julian, andre et al (on freebsd-net) In collaboration with: bms [1], rwatson [2] [1] bms helped out with the multicast decisions [2] rwatson submitted the original netisr patches and came up with some of the original ideas on how to combat this issue. Revision Changes Path 1.3 +21 -0 src/sys/netinet/in_mcast.c 1.129 +45 -10 src/sys/netinet/ip_divert.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 01:07:17 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B44216A418; Tue, 7 Aug 2007 01:07:17 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2974D13C45E; Tue, 7 Aug 2007 01:07:17 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7717HZg086284; Tue, 7 Aug 2007 01:07:17 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7717H2p086283; Tue, 7 Aug 2007 01:07:17 GMT (envelope-from bde) Message-Id: <200708070107.l7717H2p086283@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 01:07:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 01:07:17 -0000 bde 2007-08-07 01:07:16 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c Log: Remove unused include(s). Approved by: re (kensmith) (blanket) Revision Changes Path 1.51 +0 -2 src/sys/fs/msdosfs/msdosfs_conv.c 1.94 +0 -2 src/sys/fs/msdosfs/msdosfs_denode.c 1.44 +0 -1 src/sys/fs/msdosfs/msdosfs_fat.c 1.3 +0 -2 src/sys/fs/msdosfs/msdosfs_fileno.c 1.48 +0 -1 src/sys/fs/msdosfs/msdosfs_lookup.c 1.170 +0 -2 src/sys/fs/msdosfs/msdosfs_vfsops.c 1.173 +0 -5 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 01:38:00 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5662016A417; Tue, 7 Aug 2007 01:38:00 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2C0CE13C457; Tue, 7 Aug 2007 01:38:00 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l771c0pI088248; Tue, 7 Aug 2007 01:38:00 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l771c0ol088247; Tue, 7 Aug 2007 01:38:00 GMT (envelope-from bde) Message-Id: <200708070138.l771c0ol088247@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 01:37:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 01:38:00 -0000 bde 2007-08-07 01:37:59 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Include 's prerequisite instead of depending on namespace pollution in . Sort the include of instead of unsorting it after and depending on the pollution there. Approved by: re (kensmith) (blanket) Revision Changes Path 1.171 +2 -1 src/sys/fs/msdosfs/msdosfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 01:40:27 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC98316A418; Tue, 7 Aug 2007 01:40:27 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8232D13C45B; Tue, 7 Aug 2007 01:40:27 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l771eRD8088405; Tue, 7 Aug 2007 01:40:27 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l771eRNH088404; Tue, 7 Aug 2007 01:40:27 GMT (envelope-from bde) Message-Id: <200708070140.l771eRNH088404@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 01:40:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 01:40:27 -0000 bde 2007-08-07 01:40:27 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Include and its prerequisite instead of depending on namespace pollution in and/or Approved by: re (kensmith) (blanket) Revision Changes Path 1.174 +2 -0 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:08:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A19316A417; Tue, 7 Aug 2007 02:08:07 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB3D13C442; Tue, 7 Aug 2007 02:08:07 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77287bt091118; Tue, 7 Aug 2007 02:08:07 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77287VK091117; Tue, 7 Aug 2007 02:08:07 GMT (envelope-from bde) Message-Id: <200708070208.l77287VK091117@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:08:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_denode.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:08:07 -0000 bde 2007-08-07 02:08:07 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c Log: Remove unused include(s). Approved by: re (kensmith) (blanket) Revision Changes Path 1.95 +4 -4 src/sys/fs/msdosfs/msdosfs_denode.c 1.4 +3 -3 src/sys/fs/msdosfs/msdosfs_fileno.c 1.3 +1 -1 src/sys/fs/msdosfs/msdosfs_iconv.c 1.49 +3 -3 src/sys/fs/msdosfs/msdosfs_lookup.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:11:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDCE316A417; Tue, 7 Aug 2007 02:11:16 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B25D213C458; Tue, 7 Aug 2007 02:11:16 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l772BGKd091364; Tue, 7 Aug 2007 02:11:16 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l772BGpA091363; Tue, 7 Aug 2007 02:11:16 GMT (envelope-from bde) Message-Id: <200708070211.l772BGpA091363@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:11:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:11:17 -0000 bde 2007-08-07 02:11:16 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_conv.c Log: Remove unused include(s). Remove banal comments before includes. Approved by: re (kensmith) (blanket) Revision Changes Path 1.52 +4 -10 src/sys/fs/msdosfs/msdosfs_conv.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:20:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEC3A16A417; Tue, 7 Aug 2007 02:20:37 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B09FE13C481; Tue, 7 Aug 2007 02:20:37 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l772KbI1091904; Tue, 7 Aug 2007 02:20:37 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l772KbcP091903; Tue, 7 Aug 2007 02:20:37 GMT (envelope-from bde) Message-Id: <200708070220.l772KbcP091903@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:20:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_fat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:20:38 -0000 bde 2007-08-07 02:20:37 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_fat.c Log: Sort includes. Remove banal comments before includes. Remove rotted banal comments attached to includes. Approved by: re (kensmith) (blanket) Revision Changes Path 1.45 +3 -9 src/sys/fs/msdosfs/msdosfs_fat.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:25:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB23E16A418; Tue, 7 Aug 2007 02:25:56 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 95C9413C480; Tue, 7 Aug 2007 02:25:56 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l772PulD092455; Tue, 7 Aug 2007 02:25:56 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l772PueS092454; Tue, 7 Aug 2007 02:25:56 GMT (envelope-from bde) Message-Id: <200708070225.l772PueS092454@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:25:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:25:56 -0000 bde 2007-08-07 02:25:56 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c msdosfs_iconv.c msdosfs_lookup.c Log: Forced commit to note that the log message for the previous commit should have said "Sort" where it said "Remove unused". Approved by: re (kensmith) (blanket) Revision Changes Path 1.96 +0 -0 src/sys/fs/msdosfs/msdosfs_denode.c 1.46 +0 -0 src/sys/fs/msdosfs/msdosfs_fat.c 1.5 +0 -0 src/sys/fs/msdosfs/msdosfs_fileno.c 1.4 +0 -0 src/sys/fs/msdosfs/msdosfs_iconv.c 1.50 +0 -0 src/sys/fs/msdosfs/msdosfs_lookup.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:27:36 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0004216A418; Tue, 7 Aug 2007 02:27:35 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C6E8C13C478; Tue, 7 Aug 2007 02:27:35 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l772RZUM092528; Tue, 7 Aug 2007 02:27:35 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l772RZnQ092527; Tue, 7 Aug 2007 02:27:35 GMT (envelope-from bde) Message-Id: <200708070227.l772RZnQ092527@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:27:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:27:36 -0000 bde 2007-08-07 02:27:35 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Sort includes. Remove banal comments attached to includes. Approved by: re (kensmith) (blanket) Revision Changes Path 1.172 +11 -11 src/sys/fs/msdosfs/msdosfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 02:28:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FD1616A419; Tue, 7 Aug 2007 02:28:34 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3318D13C483; Tue, 7 Aug 2007 02:28:34 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l772SYsp092605; Tue, 7 Aug 2007 02:28:34 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l772SYR7092604; Tue, 7 Aug 2007 02:28:34 GMT (envelope-from bde) Message-Id: <200708070228.l772SYR7092604@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 02:28:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 02:28:34 -0000 bde 2007-08-07 02:28:33 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Sort includes. Remove rotted banal comment attached to includes. Approved by: re (kensmith) (blanket) Revision Changes Path 1.175 +10 -10 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 03:22:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18F9116A46B; Tue, 7 Aug 2007 03:22:11 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D117513C467; Tue, 7 Aug 2007 03:22:10 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l773MAkc097117; Tue, 7 Aug 2007 03:22:10 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l773MABk097116; Tue, 7 Aug 2007 03:22:10 GMT (envelope-from bde) Message-Id: <200708070322.l773MABk097116@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 03:22:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs denode.h msdosfs_fat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 03:22:11 -0000 bde 2007-08-07 03:22:10 UTC FreeBSD src repository Modified files: sys/fs/msdosfs denode.h msdosfs_fat.c Log: Fix some style bugs (some whitespace errors only). Approved by: re (kensmith) (blanket) Revision Changes Path 1.37 +4 -4 src/sys/fs/msdosfs/denode.h 1.47 +7 -7 src/sys/fs/msdosfs/msdosfs_fat.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 03:38:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4EDE16A420; Tue, 7 Aug 2007 03:38:37 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7628C13C48D; Tue, 7 Aug 2007 03:38:37 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l773cbXx097976; Tue, 7 Aug 2007 03:38:37 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l773cb2x097975; Tue, 7 Aug 2007 03:38:37 GMT (envelope-from bde) Message-Id: <200708070338.l773cb2x097975@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 03:38:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 03:38:37 -0000 bde 2007-08-07 03:38:36 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Fix some style bugs (mainly some whitespace errors). Approved by: re (kensmith) (blanket) Revision Changes Path 1.173 +21 -23 src/sys/fs/msdosfs/msdosfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 03:43:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F0A616A418; Tue, 7 Aug 2007 03:43:29 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D2AD513C474; Tue, 7 Aug 2007 03:43:28 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l773hS4L098351; Tue, 7 Aug 2007 03:43:28 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l773hSXw098350; Tue, 7 Aug 2007 03:43:28 GMT (envelope-from bde) Message-Id: <200708070343.l773hSXw098350@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 03:43:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 03:43:29 -0000 bde 2007-08-07 03:43:28 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Fix some style bugs (don't assume that off_t == int64_t; fix some comments; remove some parentheses; fix only a couple of whtespace errors). Approved by: re (kensmith) (blanket) Revision Changes Path 1.176 +9 -11 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 03:59:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 454E016A418; Tue, 7 Aug 2007 03:59:50 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 15C3813C474; Tue, 7 Aug 2007 03:59:50 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l773xniT099396; Tue, 7 Aug 2007 03:59:49 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l773xnCH099393; Tue, 7 Aug 2007 03:59:49 GMT (envelope-from bde) Message-Id: <200708070359.l773xnCH099393@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 03:59:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_denode.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 03:59:50 -0000 bde 2007-08-07 03:59:49 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_denode.c Log: Fix some style bugs (don't assume that off_t == int64_t; fix some comments; remove some parentheses; fix some whitespace errors; fix only one case of a boolean comparison of a non-boolean). Improve an error message by quoting ".", and by not printing large positive values as negative ones. Approved by: re (kensmith) (blanket) Revision Changes Path 1.97 +10 -11 src/sys/fs/msdosfs/msdosfs_denode.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 04:32:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72FCC16A417; Tue, 7 Aug 2007 04:32:50 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 42E2613C461; Tue, 7 Aug 2007 04:32:50 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l774Wo5h002815; Tue, 7 Aug 2007 04:32:50 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l774Wno1002814; Tue, 7 Aug 2007 04:32:49 GMT (envelope-from kientzle) Message-Id: <200708070432.l774Wno1002814@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 04:32:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_compression_program.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:32:50 -0000 kientzle 2007-08-07 04:32:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_compression_program.c Log: MFC 1.2: Fix strict-aliasing warning. Revision Changes Path 1.1.2.2 +4 -1 src/lib/libarchive/archive_read_support_compression_program.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 04:38:23 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D5316A418; Tue, 7 Aug 2007 04:38:23 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C965A13C46C; Tue, 7 Aug 2007 04:38:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l774cMhc003318; Tue, 7 Aug 2007 04:38:22 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l774cMqD003317; Tue, 7 Aug 2007 04:38:22 GMT (envelope-from kientzle) Message-Id: <200708070438.l774cMqD003317@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 04:38:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar getdate.y X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:38:23 -0000 kientzle 2007-08-07 04:38:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar getdate.y Log: MFC 1.9: Fill in some missing casts. Revision Changes Path 1.4.2.3 +7 -6 src/usr.bin/tar/getdate.y From owner-cvs-src@FreeBSD.ORG Tue Aug 7 04:49:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2BC916A418; Tue, 7 Aug 2007 04:49:56 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B1F3513C465; Tue, 7 Aug 2007 04:49:56 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l774nuIG012462; Tue, 7 Aug 2007 04:49:56 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l774nuKn012461; Tue, 7 Aug 2007 04:49:56 GMT (envelope-from kientzle) Message-Id: <200708070449.l774nuKn012461@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 04:49:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar_platform.h tree.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:49:57 -0000 kientzle 2007-08-07 04:49:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar_platform.h tree.c Log: MFC tree.c 1.8: * Correct crash when files are removed during a traversal * Streamline some of the dir and link checks * Clarify comments * Guard header includes for portability Update bsdtar_platform.h to reflect that FreeBSD does indeed have . Revision Changes Path 1.15.2.5 +1 -0 src/usr.bin/tar/bsdtar_platform.h 1.2.2.3 +59 -23 src/usr.bin/tar/tree.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 04:50:14 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7879D16A480; Tue, 7 Aug 2007 04:50:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 48AA113C45D; Tue, 7 Aug 2007 04:50:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l774oESL012543; Tue, 7 Aug 2007 04:50:14 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l774oEXl012542; Tue, 7 Aug 2007 04:50:14 GMT (envelope-from davidxu) Message-Id: <200708070450.l774oEXl012542@repoman.freebsd.org> From: David Xu Date: Tue, 7 Aug 2007 04:50:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:50:14 -0000 davidxu 2007-08-07 04:50:14 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_private.h Log: Output error message to STDERR_FILENO. Approved by: re (bmah) Revision Changes Path 1.78 +1 -1 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Tue Aug 7 04:55:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AAB416A417; Tue, 7 Aug 2007 04:55:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1FF13C45B; Tue, 7 Aug 2007 04:55:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l774tMaH012978; Tue, 7 Aug 2007 04:55:22 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l774tM4K012977; Tue, 7 Aug 2007 04:55:22 GMT (envelope-from kientzle) Message-Id: <200708070455.l774tM4K012977@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 04:55:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar matching.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:55:22 -0000 kientzle 2007-08-07 04:55:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar matching.c Log: MFC matching.c 1.11: Guard includes to improve portability. Revision Changes Path 1.9.2.2 +6 -0 src/usr.bin/tar/matching.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:05:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FDC16A418; Tue, 7 Aug 2007 05:05:04 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 395C413C45D; Tue, 7 Aug 2007 05:05:04 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77554a6014754; Tue, 7 Aug 2007 05:05:04 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77554lG014753; Tue, 7 Aug 2007 05:05:04 GMT (envelope-from kientzle) Message-Id: <200708070505.l77554lG014753@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:05:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:05:04 -0000 kientzle 2007-08-07 05:05:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c Log: MFC comments in bsdtar.c. Revision Changes Path 1.63.2.6 +52 -7 src/usr.bin/tar/bsdtar.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:10:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 779DD16A418; Tue, 7 Aug 2007 05:10:19 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4651F13C45A; Tue, 7 Aug 2007 05:10:19 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775AJIc015015; Tue, 7 Aug 2007 05:10:19 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775AJh9015014; Tue, 7 Aug 2007 05:10:19 GMT (envelope-from kientzle) Message-Id: <200708070510.l775AJh9015014@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:10:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar.c bsdtar_platform.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:10:19 -0000 kientzle 2007-08-07 05:10:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c bsdtar_platform.h Log: MFC include guards in bsdtar.c. Also, add HAVE_TIME_H to bsdtar_platform.h so they actually work correctly. Revision Changes Path 1.63.2.7 +18 -0 src/usr.bin/tar/bsdtar.c 1.15.2.6 +1 -0 src/usr.bin/tar/bsdtar_platform.h From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:22:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21AA516A41B; Tue, 7 Aug 2007 05:22:08 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E53DD13C457; Tue, 7 Aug 2007 05:22:07 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775M7qK015792; Tue, 7 Aug 2007 05:22:07 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775M74i015791; Tue, 7 Aug 2007 05:22:07 GMT (envelope-from kientzle) Message-Id: <200708070522.l775M74i015791@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:22:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar_platform.h read.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:22:08 -0000 kientzle 2007-08-07 05:22:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar_platform.h read.c Log: MFC include guards; add HAVE_GRP_H and HAVE_PWD_H to bsdtar_platform.h Revision Changes Path 1.15.2.7 +2 -0 src/usr.bin/tar/bsdtar_platform.h 1.23.2.4 +25 -1 src/usr.bin/tar/read.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:30:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E69116A418; Tue, 7 Aug 2007 05:30:24 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5F113C469; Tue, 7 Aug 2007 05:30:24 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775UOcL016195; Tue, 7 Aug 2007 05:30:24 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775UOVE016194; Tue, 7 Aug 2007 05:30:24 GMT (envelope-from kientzle) Message-Id: <200708070530.l775UOVE016194@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:30:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar_platform.h write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:30:24 -0000 kientzle 2007-08-07 05:30:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar_platform.h write.c Log: MFC include guards and fill in extra definitions in bsdtar_platform.h. Revision Changes Path 1.15.2.8 +5 -0 src/usr.bin/tar/bsdtar_platform.h 1.41.2.8 +35 -5 src/usr.bin/tar/write.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:34:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EBF716A419; Tue, 7 Aug 2007 05:34:39 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E22FA13C478; Tue, 7 Aug 2007 05:34:38 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775YcOZ016858; Tue, 7 Aug 2007 05:34:38 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775YcPi016857; Tue, 7 Aug 2007 05:34:38 GMT (envelope-from kientzle) Message-Id: <200708070534.l775YcPi016857@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:34:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:34:39 -0000 kientzle 2007-08-07 05:34:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c Log: MFC two minor fixes: * Message when exiting with a deferred error code. * Don't crash on bad use of -W Revision Changes Path 1.63.2.8 +7 -0 src/usr.bin/tar/bsdtar.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:38:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961DA16A417; Tue, 7 Aug 2007 05:38:11 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 65D0D13C46C; Tue, 7 Aug 2007 05:38:11 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775cBLF017015; Tue, 7 Aug 2007 05:38:11 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775cBNn017014; Tue, 7 Aug 2007 05:38:11 GMT (envelope-from kientzle) Message-Id: <200708070538.l775cBNn017014@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 7 Aug 2007 05:38:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/tar bsdtar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:38:11 -0000 kientzle 2007-08-07 05:38:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c Log: MFC corrected arg handling: -o is not the same as --no-same-owner -o means different things depending on the mode in order to preserve both GNU and POSIX compatibility --no-same-owner always means the same thing, regardless of other options Revision Changes Path 1.63.2.9 +5 -1 src/usr.bin/tar/bsdtar.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:42:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C04C16A419; Tue, 7 Aug 2007 05:42:11 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F03F213C465; Tue, 7 Aug 2007 05:42:10 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l775gAqS017355; Tue, 7 Aug 2007 05:42:10 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l775gAgN017354; Tue, 7 Aug 2007 05:42:10 GMT (envelope-from bde) Message-Id: <200708070542.l775gAgN017354@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 05:42:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:42:11 -0000 bde 2007-08-07 05:42:10 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: Fix and update the comments about the effect of the read-only flag on writing. They are still too verbose. Remove nearby unreachable code for handling symlinks. Approved by: re (kensmith) (blanket) Revision Changes Path 1.177 +16 -10 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 05:46:11 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C372B16A419; Tue, 7 Aug 2007 05:46:11 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from galain.elvandar.org (redqueen.elvandar.org [217.148.169.55]) by mx1.freebsd.org (Postfix) with ESMTP id 7AD5C13C48D; Tue, 7 Aug 2007 05:46:11 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from localhost ([127.0.0.1] helo=galain.elvandar.org) by galain.elvandar.org with esmtp (Exim 4.67) (envelope-from ) id 1IIHtS-000J6C-5P; Tue, 07 Aug 2007 07:46:10 +0200 Received: from 195.64.94.120 (SquirrelMail authenticated user remko) by galain.elvandar.org with HTTP; Tue, 7 Aug 2007 07:46:10 +0200 (CEST) Message-ID: <62873.195.64.94.120.1186465570.squirrel@galain.elvandar.org> In-Reply-To: <200708062206.l76M6aP3064189@repoman.freebsd.org> References: <200708062206.l76M6aP3064189@repoman.freebsd.org> Date: Tue, 7 Aug 2007 07:46:10 +0200 (CEST) From: "Remko Lodder" To: "Christian S.J. Peron" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/netinet in_mcast.c ip_divert.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@elvandar.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 05:46:11 -0000 On Tue, August 7, 2007 12:06 am, Christian S.J. Peron wrote: > csjp 2007-08-06 22:06:36 UTC > > > Approved by: re@ (kensmith) > MFC after: 1 month > LOR: 163 > LOR: 181 > LOR: 202 > LOR: 203 > Discussed with: julian, andre et al (on freebsd-net) > In collaboration with: bms [1], rwatson [2] > > [1] bms helped out with the multicast decisions > [2] rwatson submitted the original netisr patches and came up with some > of the original ideas on how to combat this issue. Great work guys! Thanks for working on this Christian! -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-cvs-src@FreeBSD.ORG Tue Aug 7 09:04:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46FB216A420; Tue, 7 Aug 2007 09:04:51 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1693C13C428; Tue, 7 Aug 2007 09:04:51 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7794pId042215; Tue, 7 Aug 2007 09:04:51 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7794oZP042214; Tue, 7 Aug 2007 09:04:50 GMT (envelope-from kib) Message-Id: <200708070904.l7794oZP042214@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 7 Aug 2007 09:04:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_lockf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 09:04:51 -0000 kib 2007-08-07 09:04:50 UTC FreeBSD src repository Modified files: sys/kern kern_lockf.c Log: Do not call free() while holding vnode interlock. Reported and tested by: Peter Holm Reviewed by: jeff Approved by: re (kensmith) Revision Changes Path 1.57 +44 -27 src/sys/kern/kern_lockf.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 09:16:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BD9816A418; Tue, 7 Aug 2007 09:16:19 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5CA13C457; Tue, 7 Aug 2007 09:16:19 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l779GJtk042905; Tue, 7 Aug 2007 09:16:19 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l779GJh7042904; Tue, 7 Aug 2007 09:16:19 GMT (envelope-from jkoshy) Message-Id: <200708070916.l779GJh7042904@repoman.freebsd.org> From: Joseph Koshy Date: Tue, 7 Aug 2007 09:16:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/amd64/amd64 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 09:16:19 -0000 jkoshy 2007-08-07 09:16:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/amd64 machdep.c Log: MFC rev 1.669: "Use a known good stack at the time of servicing an NMI--- reuse the space allocated for the double fault handler since this space is otherwise unused till the time a double fault occurs." Revision Changes Path 1.638.2.12 +1 -1 src/sys/amd64/amd64/machdep.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 10:35:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0325316A418; Tue, 7 Aug 2007 10:35:28 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E367113C46A; Tue, 7 Aug 2007 10:35:27 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77AZRph049423; Tue, 7 Aug 2007 10:35:27 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77AZR3v049422; Tue, 7 Aug 2007 10:35:27 GMT (envelope-from bde) Message-Id: <200708071035.l77AZR3v049422@repoman.freebsd.org> From: Bruce Evans Date: Tue, 7 Aug 2007 10:35:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 10:35:28 -0000 bde 2007-08-07 10:35:27 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: In msdosfs_read() and msdosfs_write(), don't check explicitly for (uio_offset < 0) since this can't happen. If this happens, then the general code handles the problem safely (better than before for reading, returning 0 (EOF) instead of the bogus errno EINVAL, and the same as before for writing, returning EFBIG). In msdosfs_read(), don't check for (uio_resid < 0). msdosfs_write() already didn't check. In msdosfs_read(), document in a comment our assumptions that the caller passed a valid uio_offset and uio_resid. ffs checks using KASSERT(), and that is enough sanity checking. In the same comment, partly document there is no need to check for the EOVERFLOW case, unlike in ffs where this case can happen at least in theory. In msdosfs_write(), add a comment about why the checking of (uio_resid == 0) is explicit, unlike in ffs. In msdosfs_write(), check for impossibly large final offsets before checking if the file size rlimit would be exceeded, so that we don't have an overflow bug in the rlimit check and are consistent with ffs. We now return EFBIG instead of EFBIG plus a SIGXFSZ signal if the final offset would be impossibly large but not so large as to cause overflow. Overflow normally gave the benign behaviour of no signal. Approved by: re (kensmith) (blanket) Revision Changes Path 1.178 +21 -12 src/sys/fs/msdosfs/msdosfs_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 12:26:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8D5C16A4CE; Tue, 7 Aug 2007 12:26:26 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5528A13C4A8; Tue, 7 Aug 2007 12:26:25 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77CQKui058526; Tue, 7 Aug 2007 12:26:20 GMT (envelope-from avatar@repoman.freebsd.org) Received: (from avatar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77CQKZv058525; Tue, 7 Aug 2007 12:26:20 GMT (envelope-from avatar) Message-Id: <200708071226.l77CQKZv058525@repoman.freebsd.org> From: Tai-hwa Liang Date: Tue, 7 Aug 2007 12:26:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/an if_an.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 12:26:27 -0000 avatar 2007-08-07 12:26:19 UTC FreeBSD src repository Modified files: sys/dev/an if_an.c Log: MFP4(123687): Closing another LOR by dropping the driver lock around calls to if_input(). Reviewed by: ambrisko Tested by: dhw Approved by: re (kensmith) Revision Changes Path 1.83 +3 -1 src/sys/dev/an/if_an.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 12:42:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9520F16A46B; Tue, 7 Aug 2007 12:42:03 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7BD13C45E; Tue, 7 Aug 2007 12:42:03 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77Cg3PF059525; Tue, 7 Aug 2007 12:42:03 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77Cg3lr059524; Tue, 7 Aug 2007 12:42:03 GMT (envelope-from simokawa) Message-Id: <200708071242.l77Cg3lr059524@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Tue, 7 Aug 2007 12:42:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/opensolaris/cmd/zdb zdb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 12:42:03 -0000 simokawa 2007-08-07 12:42:03 UTC FreeBSD src repository Modified files: contrib/opensolaris/cmd/zdb zdb.c Log: Use ioctl() to get correct media size so that we can locate ZFS labels in the tail of the media. Approved by: re (kensmith), pjd Revision Changes Path 1.3 +9 -1 src/contrib/opensolaris/cmd/zdb/zdb.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 15:34:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9223D16A417; Tue, 7 Aug 2007 15:34:25 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 724AC13C459; Tue, 7 Aug 2007 15:34:25 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77FYPi8082840; Tue, 7 Aug 2007 15:34:25 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77FYPBK082839; Tue, 7 Aug 2007 15:34:25 GMT (envelope-from maxim) Message-Id: <200708071534.l77FYPBK082839@repoman.freebsd.org> From: Maxim Konovalov Date: Tue, 7 Aug 2007 15:34:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/misc bsd-family-tree X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 15:34:25 -0000 maxim 2007-08-07 15:34:25 UTC FreeBSD src repository Modified files: share/misc bsd-family-tree Log: o DragonFlyBSD 1.10.0 added. Approved by: re (bmah) MFC after: 1 week Revision Changes Path 1.114 +2 -0 src/share/misc/bsd-family-tree From owner-cvs-src@FreeBSD.ORG Tue Aug 7 15:35:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A7E16A417; Tue, 7 Aug 2007 15:35:25 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 20C3513C45B; Tue, 7 Aug 2007 15:35:25 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77FZPZb082935; Tue, 7 Aug 2007 15:35:25 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77FZOGP082934; Tue, 7 Aug 2007 15:35:24 GMT (envelope-from maxim) Message-Id: <200708071535.l77FZOGP082934@repoman.freebsd.org> From: Maxim Konovalov Date: Tue, 7 Aug 2007 15:35:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/misc bsd-family-tree X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 15:35:25 -0000 maxim 2007-08-07 15:35:24 UTC FreeBSD src repository Modified files: share/misc bsd-family-tree Log: o Indent "DragonFly". Approved by: re (bmah) Revision Changes Path 1.115 +5 -5 src/share/misc/bsd-family-tree From owner-cvs-src@FreeBSD.ORG Tue Aug 7 15:36:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B977A16A419; Tue, 7 Aug 2007 15:36:25 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 99B3113C46A; Tue, 7 Aug 2007 15:36:25 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77FaPTi082977; Tue, 7 Aug 2007 15:36:25 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77FaPje082976; Tue, 7 Aug 2007 15:36:25 GMT (envelope-from kib) Message-Id: <200708071536.l77FaPje082976@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 7 Aug 2007 15:36:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm device_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 15:36:25 -0000 kib 2007-08-07 15:36:25 UTC FreeBSD src repository Modified files: sys/vm device_pager.c Log: Protect the creation of the device pager with the dev_pager_mtx. Lookup of device pager in the pagers list by handle is now synchronized with its removal from the list, and dev_pager_mtx is put before vm object lock in lock order. Dispose the dev_pager_sx lock, since dev_pager_mtx now covers the same block. Noted by: kensmith Reviewed by: alc Approved by: re (kensmith) Revision Changes Path 1.83 +24 -12 src/sys/vm/device_pager.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 18:20:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C05116A46B; Tue, 7 Aug 2007 18:20:56 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F289C13C4B7; Tue, 7 Aug 2007 18:20:55 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77IKtco005233; Tue, 7 Aug 2007 18:20:55 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77IKtE6005230; Tue, 7 Aug 2007 18:20:55 GMT (envelope-from cognet) Message-Id: <200708071820.l77IKtE6005230@repoman.freebsd.org> From: Olivier Houchard Date: Tue, 7 Aug 2007 18:20:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm swtch.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 18:20:56 -0000 cognet 2007-08-07 18:20:55 UTC FreeBSD src repository Modified files: sys/arm/arm swtch.S Log: Use the third argument of cpu_switch(), as done for i386/amd63, as it is required for ULE. Approved by: re (blanket) Revision Changes Path 1.20 +20 -6 src/sys/arm/arm/swtch.S From owner-cvs-src@FreeBSD.ORG Tue Aug 7 18:37:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09BD916A41A; Tue, 7 Aug 2007 18:37:22 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E000913C46C; Tue, 7 Aug 2007 18:37:21 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77IbL8Z006376; Tue, 7 Aug 2007 18:37:21 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77IbLEA006375; Tue, 7 Aug 2007 18:37:21 GMT (envelope-from cognet) Message-Id: <200708071837.l77IbLEA006375@repoman.freebsd.org> From: Olivier Houchard Date: Tue, 7 Aug 2007 18:37:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm cpufunc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 18:37:22 -0000 cognet 2007-08-07 18:37:21 UTC FreeBSD src repository Modified files: sys/arm/arm cpufunc.c Log: Add cast to silent gcc warnings. Approved by: re (blanket) Revision Changes Path 1.18 +24 -24 src/sys/arm/arm/cpufunc.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 18:39:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 850BD16A420; Tue, 7 Aug 2007 18:39:28 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 67F7813C4E3; Tue, 7 Aug 2007 18:39:28 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77IdSG7006550; Tue, 7 Aug 2007 18:39:28 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77IdSLJ006549; Tue, 7 Aug 2007 18:39:28 GMT (envelope-from marcel) Message-Id: <200708071839.l77IdSLJ006549@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 7 Aug 2007 18:39:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/include trap.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 18:39:28 -0000 marcel 2007-08-07 18:39:28 UTC FreeBSD src repository Modified files: sys/powerpc/include trap.h Log: Add prototype for trap(). Approved by: re (blanket) Revision Changes Path 1.5 +7 -0 src/sys/powerpc/include/trap.h From owner-cvs-src@FreeBSD.ORG Tue Aug 7 18:40:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07E4516A418; Tue, 7 Aug 2007 18:40:03 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE84213C465; Tue, 7 Aug 2007 18:40:02 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77Ie2iE006643; Tue, 7 Aug 2007 18:40:02 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77Ie28Z006642; Tue, 7 Aug 2007 18:40:02 GMT (envelope-from marcel) Message-Id: <200708071840.l77Ie28Z006642@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 7 Aug 2007 18:40:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/powerpc trap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 18:40:03 -0000 marcel 2007-08-07 18:40:02 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc trap.c Log: Remove redundant prototype. Approved by: re (blanket) Revision Changes Path 1.67 +0 -2 src/sys/powerpc/powerpc/trap.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 19:33:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9852E16A421; Tue, 7 Aug 2007 19:33:52 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6924513C4E9; Tue, 7 Aug 2007 19:33:52 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77JXlO6011528; Tue, 7 Aug 2007 19:33:47 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77JXl2G011527; Tue, 7 Aug 2007 19:33:47 GMT (envelope-from cperciva) Message-Id: <200708071933.l77JXl2G011527@repoman.freebsd.org> From: Colin Percival Date: Tue, 7 Aug 2007 19:33:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 19:33:52 -0000 cperciva 2007-08-07 19:33:47 UTC FreeBSD src repository Modified files: usr.sbin/freebsd-update freebsd-update.sh Log: When storing old versions of files for use in generating new files via patching and for rolling back updates, don't copy a file if it has already been stored. This provides a significant speedup to the "Preparing to download files" stage of "freebsd-update fetch" if many updates have already been applied or if a file being updated is linked many times (such as /rescue/*). Reported by: Paul Dekkers MFC after: 1 week Approved by: re (bmah) Revision Changes Path 1.7 +20 -5 src/usr.sbin/freebsd-update/freebsd-update.sh From owner-cvs-src@FreeBSD.ORG Tue Aug 7 23:33:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC5E016A417; Tue, 7 Aug 2007 23:33:35 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B165013C480; Tue, 7 Aug 2007 23:33:35 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77NXZX3049022; Tue, 7 Aug 2007 23:33:35 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77NXZEe049021; Tue, 7 Aug 2007 23:33:35 GMT (envelope-from marcel) Message-Id: <200708072333.l77NXZEe049021@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 7 Aug 2007 23:33:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/include interruptvar.h intr_machdep.h src/sys/powerpc/powerpc interrupt.c intr_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 23:33:35 -0000 marcel 2007-08-07 23:33:35 UTC FreeBSD src repository Modified files: sys/powerpc/include intr_machdep.h sys/powerpc/powerpc interrupt.c intr_machdep.c Removed files: sys/powerpc/include interruptvar.h Log: Eliminate as it has only a single prototype. In the future that prototype will not be needed at all anyway, but for now it's moved to intr_machdep.h. Approved by: re (blanket) Revision Changes Path 1.3 +0 -34 src/sys/powerpc/include/interruptvar.h (dead) 1.8 +3 -0 src/sys/powerpc/include/intr_machdep.h 1.6 +1 -2 src/sys/powerpc/powerpc/interrupt.c 1.12 +0 -1 src/sys/powerpc/powerpc/intr_machdep.c From owner-cvs-src@FreeBSD.ORG Tue Aug 7 23:48:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FC4116A417; Tue, 7 Aug 2007 23:48:32 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1BC13C45A; Tue, 7 Aug 2007 23:48:32 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l77NmVIh049834; Tue, 7 Aug 2007 23:48:31 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l77NmV8F049833; Tue, 7 Aug 2007 23:48:31 GMT (envelope-from marcel) Message-Id: <200708072348.l77NmV8F049833@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 7 Aug 2007 23:48:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 23:48:32 -0000 marcel 2007-08-07 23:48:31 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: The PowerPC specific header interruptvar.h has been removed. Approved by: re (blanket) Revision Changes Path 1.109 +4 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Wed Aug 8 01:19:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2511A16A417; Wed, 8 Aug 2007 01:19:13 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ED27313C442; Wed, 8 Aug 2007 01:19:12 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l781JCwW067011; Wed, 8 Aug 2007 01:19:12 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l781JCfx067010; Wed, 8 Aug 2007 01:19:12 GMT (envelope-from marcel) Message-Id: <200708080119.l781JCfx067010@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 8 Aug 2007 01:19:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/powerpc interrupt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 01:19:13 -0000 marcel 2007-08-08 01:19:12 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc interrupt.c Log: Re-enable external interrupts for faults, traps and syscalls. Approved by: re (blanket) Revision Changes Path 1.7 +8 -9 src/sys/powerpc/powerpc/interrupt.c From owner-cvs-src@FreeBSD.ORG Wed Aug 8 09:27:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E55C16A41A; Wed, 8 Aug 2007 09:27:53 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6279713C494; Wed, 8 Aug 2007 09:27:53 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l789RrT4025139; Wed, 8 Aug 2007 09:27:53 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l789Rrqh025138; Wed, 8 Aug 2007 09:27:53 GMT (envelope-from cognet) Message-Id: <200708080927.l789Rrqh025138@repoman.freebsd.org> From: Olivier Houchard Date: Wed, 8 Aug 2007 09:27:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm genassym.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 09:27:53 -0000 cognet 2007-08-08 09:27:53 UTC FreeBSD src repository Modified files: sys/arm/arm genassym.c Log: Ooops, we need to define TD_LOCK here. Approved by: re (blanket) Pointy hat to: cognet Revision Changes Path 1.10 +1 -0 src/sys/arm/arm/genassym.c From owner-cvs-src@FreeBSD.ORG Wed Aug 8 16:42:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BE2016A468; Wed, 8 Aug 2007 16:42:48 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3311213C49D; Wed, 8 Aug 2007 16:42:48 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l78GgmXi082570; Wed, 8 Aug 2007 16:42:48 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l78Ggmnr082569; Wed, 8 Aug 2007 16:42:48 GMT (envelope-from jhb) Message-Id: <200708081642.l78Ggmnr082569@repoman.freebsd.org> From: John Baldwin Date: Wed, 8 Aug 2007 16:42:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern sysv_sem.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 16:42:48 -0000 jhb 2007-08-08 16:42:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern sysv_sem.c Log: MFC 1.87: Avoid manipulating semu_list outside of the scope of SEMUNDO_LOCK(). This would lead to an occasional hang with a cycle in semu_list. Revision Changes Path 1.78.2.1 +5 -2 src/sys/kern/sysv_sem.c From owner-cvs-src@FreeBSD.ORG Wed Aug 8 19:12:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4BAE16A41A; Wed, 8 Aug 2007 19:12:06 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFE7A13C457; Wed, 8 Aug 2007 19:12:06 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l78JC6EG010712; Wed, 8 Aug 2007 19:12:06 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l78JC60R010711; Wed, 8 Aug 2007 19:12:06 GMT (envelope-from marcel) Message-Id: <200708081912.l78JC60R010711@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 8 Aug 2007 19:12:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf kern.pre.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 19:12:07 -0000 marcel 2007-08-08 19:12:06 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Re-enable -Werror for PowerPC. This should really be unconditional again. Approved by: re (blanket) Revision Changes Path 1.92 +2 -1 src/sys/conf/kern.pre.mk From owner-cvs-src@FreeBSD.ORG Wed Aug 8 19:27:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E6C516A419; Wed, 8 Aug 2007 19:27:51 +0000 (UTC) (envelope-from syrinx@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 20F7B13C458; Wed, 8 Aug 2007 19:27:51 +0000 (UTC) (envelope-from syrinx@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l78JRpTp012338; Wed, 8 Aug 2007 19:27:51 GMT (envelope-from syrinx@repoman.freebsd.org) Received: (from syrinx@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l78JRooS012337; Wed, 8 Aug 2007 19:27:50 GMT (envelope-from syrinx) Message-Id: <200708081927.l78JRooS012337@repoman.freebsd.org> From: Shteryana Shopova Date: Wed, 8 Aug 2007 19:27:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/bsnmpd/modules/snmp_bridge BEGEMOT-BRIDGE-MIB.txt bridge_port.c bridge_snmp.h bridge_sys.c bridge_tree.def snmp_bridge.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 19:27:51 -0000 syrinx 2007-08-08 19:27:50 UTC FreeBSD src repository Modified files: usr.sbin/bsnmpd/modules/snmp_bridge BEGEMOT-BRIDGE-MIB.txt bridge_port.c bridge_snmp.h bridge_sys.c bridge_tree.def snmp_bridge.3 Log: Keep the snmp_bridge(3) module up to date with if_bridge(4) and add an object to control the value of the new 'PRIVATE' bridge members' flag. While here, remove stale '__unused' compiler directives. Reviewed by: bz Approved by: re (bmah), bz (mentor) Revision Changes Path 1.3 +18 -2 src/usr.sbin/bsnmpd/modules/snmp_bridge/BEGEMOT-BRIDGE-MIB.txt 1.6 +23 -0 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c 1.5 +5 -0 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.h 1.7 +57 -8 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c 1.3 +1 -0 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_tree.def 1.4 +4 -1 src/usr.sbin/bsnmpd/modules/snmp_bridge/snmp_bridge.3 From owner-cvs-src@FreeBSD.ORG Thu Aug 9 01:11:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EBBD16A417; Thu, 9 Aug 2007 01:11:22 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EE22913C478; Thu, 9 Aug 2007 01:11:21 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l791BLDX060110; Thu, 9 Aug 2007 01:11:21 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l791BLjG060108; Thu, 9 Aug 2007 01:11:21 GMT (envelope-from marcel) Message-Id: <200708090111.l791BLjG060108@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 9 Aug 2007 01:11:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf files X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 01:11:22 -0000 marcel 2007-08-09 01:11:21 UTC FreeBSD src repository Modified files: sys/conf files Log: Compile ipfilter:ip_lookup.c without -Werror. The file contains a test that assumes that char is signed by default and causes a warning with GCC 4.2 on PowerPC. A patch has been sent to the maintainer that addresses this. Approved by: re (blanket) Revision Changes Path 1.1242 +1 -1 src/sys/conf/files From owner-cvs-src@FreeBSD.ORG Thu Aug 9 04:40:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 438FB16A417; Thu, 9 Aug 2007 04:40:08 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1CACF13C46E; Thu, 9 Aug 2007 04:40:08 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l794e7ba076728; Thu, 9 Aug 2007 04:40:07 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l794e7N0076727; Thu, 9 Aug 2007 04:40:07 GMT (envelope-from imp) Message-Id: <200708090440.l794e7N0076727@repoman.freebsd.org> From: Warner Losh Date: Thu, 9 Aug 2007 04:40:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb if_axe.c if_axereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 04:40:08 -0000 imp 2007-08-09 04:40:07 UTC FreeBSD src repository Modified files: sys/dev/usb if_axe.c if_axereg.h Log: Merge in the AX88178 and AX88772 register definions (along with rename) from OpenBSD. This also dribbles in a few fields from OpenBSD as well. Approved by: re@ (blanket) Obtained from: OpenBSD Revision Changes Path 1.53 +5 -5 src/sys/dev/usb/if_axe.c 1.14 +60 -10 src/sys/dev/usb/if_axereg.h From owner-cvs-src@FreeBSD.ORG Thu Aug 9 05:16:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7768D16A41A; Thu, 9 Aug 2007 05:16:56 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 508DF13C46A; Thu, 9 Aug 2007 05:16:56 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l795GuNM088693; Thu, 9 Aug 2007 05:16:56 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l795GuZK088692; Thu, 9 Aug 2007 05:16:56 GMT (envelope-from imp) Message-Id: <200708090516.l795GuZK088692@repoman.freebsd.org> From: Warner Losh Date: Thu, 9 Aug 2007 05:16:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/arm/at91/libat91 Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 05:16:56 -0000 imp 2007-08-09 05:16:55 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/libat91 Makefile Log: Use the .S version for now. I have a version optimized for size p4, but I'm unsure of its provenance, so rather than add it here, revert the migration to it. Approved by: re@ (blanket) Revision Changes Path 1.10 +1 -1 src/sys/boot/arm/at91/libat91/Makefile From owner-cvs-src@FreeBSD.ORG Thu Aug 9 13:06:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E81416A419; Thu, 9 Aug 2007 13:06:13 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD6713C48E; Thu, 9 Aug 2007 13:06:13 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l79D6DGw048925; Thu, 9 Aug 2007 13:06:13 GMT (envelope-from bushman@repoman.freebsd.org) Received: (from bushman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l79D6Cfi048924; Thu, 9 Aug 2007 13:06:13 GMT (envelope-from bushman) Message-Id: <200708091306.l79D6Cfi048924@repoman.freebsd.org> From: Michael Bushkov Date: Thu, 9 Aug 2007 13:06:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc/rc.d nscd src/usr.sbin/nscd Makefile agent.h cachelib.h cacheplcs.h config.h debug.h log.c log.h mp_rs_query.c mp_rs_query.h mp_ws_query.c mp_ws_query.h nscd.8 nscd.c nscd.conf.5 nscdcli.c nscdcli.h parser.h protocol.h query.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 13:06:13 -0000 bushman 2007-08-09 13:06:12 UTC FreeBSD src repository Modified files: etc/rc.d nscd usr.sbin/nscd Makefile agent.h cachelib.h cacheplcs.h config.h debug.h log.c log.h mp_rs_query.c mp_rs_query.h mp_ws_query.c mp_ws_query.h nscd.8 nscd.c nscd.conf.5 nscdcli.c nscdcli.h parser.h protocol.h query.c query.h singletons.h Log: - Renaming repocopied cached to nscd Approved by: re (kensmith), brooks (mentor) Revision Changes Path 1.4 +8 -8 src/etc/rc.d/nscd 1.3 +4 -4 src/usr.sbin/nscd/Makefile 1.2 +2 -2 src/usr.sbin/nscd/agent.h 1.2 +2 -2 src/usr.sbin/nscd/cachelib.h 1.2 +2 -2 src/usr.sbin/nscd/cacheplcs.h 1.2 +4 -4 src/usr.sbin/nscd/config.h 1.2 +2 -2 src/usr.sbin/nscd/debug.h 1.2 +2 -2 src/usr.sbin/nscd/log.c 1.2 +2 -2 src/usr.sbin/nscd/log.h 1.2 +1 -1 src/usr.sbin/nscd/mp_rs_query.c 1.2 +2 -2 src/usr.sbin/nscd/mp_rs_query.h 1.2 +1 -1 src/usr.sbin/nscd/mp_ws_query.c 1.2 +2 -2 src/usr.sbin/nscd/mp_ws_query.h 1.9 +10 -10 src/usr.sbin/nscd/nscd.8 1.3 +13 -13 src/usr.sbin/nscd/nscd.c 1.5 +11 -11 src/usr.sbin/nscd/nscd.conf.5 1.2 +24 -24 src/usr.sbin/nscd/nscdcli.c 1.2 +12 -12 src/usr.sbin/nscd/nscdcli.h 1.2 +2 -2 src/usr.sbin/nscd/parser.h 1.2 +2 -2 src/usr.sbin/nscd/protocol.h 1.3 +4 -4 src/usr.sbin/nscd/query.c 1.2 +2 -2 src/usr.sbin/nscd/query.h 1.2 +2 -2 src/usr.sbin/nscd/singletons.h From owner-cvs-src@FreeBSD.ORG Thu Aug 9 13:29:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEAC516A417; Thu, 9 Aug 2007 13:29:28 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8700313C46A; Thu, 9 Aug 2007 13:29:28 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l79DTSuk050119; Thu, 9 Aug 2007 13:29:28 GMT (envelope-from avatar@repoman.freebsd.org) Received: (from avatar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l79DTSZx050118; Thu, 9 Aug 2007 13:29:28 GMT (envelope-from avatar) Message-Id: <200708091329.l79DTSZx050118@repoman.freebsd.org> From: Tai-hwa Liang Date: Thu, 9 Aug 2007 13:29:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/wi if_wi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 13:29:28 -0000 avatar 2007-08-09 13:29:27 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi.c Log: MFP4(123963): Fixing a possible NULL pointer dereference by making the actual assignment after the NULL check. Found by: Coverity Prevent(tm) CID: 2303 (run 4156) Reviewed by: sam Approved by: re (bmah) Revision Changes Path 1.212 +1 -1 src/sys/dev/wi/if_wi.c From owner-cvs-src@FreeBSD.ORG Thu Aug 9 20:14:36 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A52516A419; Thu, 9 Aug 2007 20:14:36 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6351D13C483; Thu, 9 Aug 2007 20:14:36 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l79KEaqo092056; Thu, 9 Aug 2007 20:14:36 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l79KEaBw092055; Thu, 9 Aug 2007 20:14:36 GMT (envelope-from njl) Message-Id: <200708092014.l79KEaBw092055@repoman.freebsd.org> From: Nate Lawson Date: Thu, 9 Aug 2007 20:14:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/i386/include cpufunc.h src/share/man/man4 ddb.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 20:14:36 -0000 njl 2007-08-09 20:14:35 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/i386/include cpufunc.h share/man/man4 ddb.4 Log: Add "show sysregs" command to ddb. On i386, this gives gdt, idt, ldt, cr0-4, etc. Support should be added for other platforms that have a different set of registers for system use. Loosely based on: OpenBSD Approved by: re Revision Changes Path 1.42 +7 -1 src/share/man/man4/ddb.4 1.658 +19 -0 src/sys/i386/i386/machdep.c 1.145 +47 -11 src/sys/i386/include/cpufunc.h From owner-cvs-src@FreeBSD.ORG Thu Aug 9 21:09:57 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74EAF16A418; Thu, 9 Aug 2007 21:09:57 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D62613C474; Thu, 9 Aug 2007 21:09:57 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l79L9v7i005906; Thu, 9 Aug 2007 21:09:57 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l79L9v6j005905; Thu, 9 Aug 2007 21:09:57 GMT (envelope-from julian) Message-Id: <200708092109.l79L9v6j005905@repoman.freebsd.org> From: Julian Elischer Date: Thu, 9 Aug 2007 21:09:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 locking.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 21:09:57 -0000 julian 2007-08-09 21:09:57 UTC FreeBSD src repository Modified files: share/man/man9 locking.9 Log: Corrections and clarifications Approved by: re (bmah) Revision Changes Path 1.11 +82 -41 src/share/man/man9/locking.9 From owner-cvs-src@FreeBSD.ORG Fri Aug 10 05:24:49 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D74116A417; Fri, 10 Aug 2007 05:24:49 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D84E13C465; Fri, 10 Aug 2007 05:24:49 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7A5OnTD065133; Fri, 10 Aug 2007 05:24:49 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7A5OnE4065132; Fri, 10 Aug 2007 05:24:49 GMT (envelope-from delphij) Message-Id: <200708100524.l7A5OnE4065132@repoman.freebsd.org> From: Xin LI Date: Fri, 10 Aug 2007 05:24:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 05:24:49 -0000 delphij 2007-08-10 05:24:49 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Log: MFp4: - Respect cnflag and don't lock vnode always as LK_EXCLUSIVE [1] - Properly lock around tn_vnode to avoid NULL deference - Be more careful handling vnodes (*) (*) This is a WIP [1] by pjd via howardsu Thanks kib@ for his valuable VFS related comments. Tested with: fsx, fstest, tmpfs regression test set Found by: pho's stress2 suite Approved by: re (tmpfs blanket) Revision Changes Path 1.10 +2 -2 src/sys/fs/tmpfs/tmpfs.h 1.11 +28 -19 src/sys/fs/tmpfs/tmpfs_subr.c 1.9 +5 -2 src/sys/fs/tmpfs/tmpfs_vfsops.c 1.9 +34 -13 src/sys/fs/tmpfs/tmpfs_vnops.c From owner-cvs-src@FreeBSD.ORG Fri Aug 10 06:29:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7F916A418; Fri, 10 Aug 2007 06:29:55 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 174AF13C45E; Fri, 10 Aug 2007 06:29:55 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7A6TsVl070926; Fri, 10 Aug 2007 06:29:54 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7A6TsjW070925; Fri, 10 Aug 2007 06:29:54 GMT (envelope-from pjd) Message-Id: <200708100629.l7A6TsjW070925@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 10 Aug 2007 06:29:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/fsck_ffs main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 06:29:55 -0000 pjd 2007-08-10 06:29:54 UTC FreeBSD src repository Modified files: sbin/fsck_ffs main.c Log: Fix fscking gjournaled root file system: root file system is already mounted read-only, so we can't simply exit right after calling gjournal_check(), instead we need to ask about super block reload. Submitted by: Niki Denev PR: misc/113889 Approved by: re (kensmith) Revision Changes Path 1.46 +36 -19 src/sbin/fsck_ffs/main.c From owner-cvs-src@FreeBSD.ORG Fri Aug 10 09:26:26 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CDC316A417; Fri, 10 Aug 2007 09:26:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 1E53713C461; Fri, 10 Aug 2007 09:26:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IJQP8-000LcV-9h; Fri, 10 Aug 2007 12:03:43 +0300 Received: from deviant.kiev.zoral.com.ua (root@[10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l7A8Z7cS079539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Aug 2007 11:35:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l7A8Z7AI001263; Fri, 10 Aug 2007 11:35:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l7A8Z6Tl001262; Fri, 10 Aug 2007 11:35:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 10 Aug 2007 11:35:06 +0300 From: Kostik Belousov To: Xin LI Message-ID: <20070810083506.GS2738@deviant.kiev.zoral.com.ua> References: <200708100524.l7A5OnE4065132@repoman.freebsd.org> <20070810052455.0B4B716A4F4@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPvCt0eiAD9X+G9u" Content-Disposition: inline In-Reply-To: <20070810052455.0B4B716A4F4@hub.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on skuns.kiev.zoral.com.ua X-Scanner-Signature: ebef06da57613c13a9510a9a5e517e93 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1371 [August 10 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: [src] cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 09:26:26 -0000 --UPvCt0eiAD9X+G9u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 10, 2007 at 05:24:54AM +0000, Xin LI wrote: > delphij 2007-08-10 05:24:49 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c=20 > tmpfs_vnops.c=20 > Log: > MFp4: > =20 > - Respect cnflag and don't lock vnode always as LK_EXCLUSIVE [1] > - Properly lock around tn_vnode to avoid NULL deference > - Be more careful handling vnodes (*) > =20 > (*) This is a WIP > [1] by pjd via howardsu > =20 > Thanks kib@ for his valuable VFS related comments. > =20 > Tested with: fsx, fstest, tmpfs regression test set > Found by: pho's stress2 suite > Approved by: re (tmpfs blanket) > =20 > Revision Changes Path > 1.10 +2 -2 src/sys/fs/tmpfs/tmpfs.h > 1.11 +28 -19 src/sys/fs/tmpfs/tmpfs_subr.c > 1.9 +5 -2 src/sys/fs/tmpfs/tmpfs_vfsops.c > 1.9 +34 -13 src/sys/fs/tmpfs/tmpfs_vnops.c > Index: src/sys/fs/tmpfs/tmpfs_subr.c > diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.10 src/sys/fs/tmpfs/tmpfs_subr.c:= 1.11 > --- src/sys/fs/tmpfs/tmpfs_subr.c:1.10 Fri Aug 3 06:24:31 2007 > +++ src/sys/fs/tmpfs/tmpfs_subr.c Fri Aug 10 05:24:49 2007 > @@ -302,15 +308,20 @@ > * Returns zero on success or an appropriate error code on failure. > */ > int > -tmpfs_alloc_vp(struct mount *mp, struct tmpfs_node *node, struct vnode *= *vpp, > - struct thread *td) > +tmpfs_alloc_vp(struct mount *mp, struct tmpfs_node *node, int lkflag, > + struct vnode **vpp, struct thread *td) > { > int error; > struct vnode *vp; > =20 > loop: > + TMPFS_NODE_LOCK(node); > if ((vp =3D node->tn_vnode) !=3D NULL) { > - error =3D vget(vp, LK_EXCLUSIVE | LK_RETRY, td); > + VI_LOCK(vp); > + TMPFS_NODE_UNLOCK(node); > + vholdl(vp); > + error =3D vget(vp, lkflag | LK_INTERLOCK | LK_RETRY, td); > + vdrop(vp); > if (error) > return error; LK_RETRY prohibits the vget() and vn_lock() to return error. > Index: src/sys/fs/tmpfs/tmpfs_vnops.c > diff -u src/sys/fs/tmpfs/tmpfs_vnops.c:1.8 src/sys/fs/tmpfs/tmpfs_vnops.c= :1.9 > --- src/sys/fs/tmpfs/tmpfs_vnops.c:1.8 Thu Jul 19 03:34:50 2007 > +++ src/sys/fs/tmpfs/tmpfs_vnops.c Fri Aug 10 05:24:49 2007 > @@ -95,12 +95,20 @@ > !(cnp->cn_flags & ISDOTDOT))); > =20 > if (cnp->cn_flags & ISDOTDOT) { > - VOP_UNLOCK(dvp, 0, td); > + int ltype =3D 0; > =20 > + ltype =3D VOP_ISLOCKED(dvp, td); > + vholdl(dvp); vholdl() assumes that vnode interlock is locked, not vnode itself. You shall use vhold() when not holding vnode interlock. Later, you use dvp->v_mount, that could change to NULL once you dropped the dvp lock. Moreover, filesystem may be unmounted after you dropped vnode lock. UFS has the same problem. > + VOP_UNLOCK(dvp, 0, td); > /* Allocate a new vnode on the matching entry. */ > - error =3D tmpfs_alloc_vp(dvp->v_mount, dnode->tn_dir.tn_parent, vpp, t= d); > + error =3D tmpfs_alloc_vp(dvp->v_mount, dnode->tn_dir.tn_parent, > + cnp->cn_lkflags, vpp, td); > =20 > - vn_lock(dvp, LK_EXCLUSIVE | LK_RETRY, td); > + vn_lock(dvp, ltype | LK_RETRY, td); > + if (ltype & LK_INTERLOCK) > + vdropl(dvp); > + else > + vdrop(dvp); ltype cannot contain LK_INTERLOCK flag. Moreover, vn_lock() always returns with interlock being dropped. You shall simply vdrop(dvp) there. > =20 > dnode->tn_dir.tn_parent->tn_lookup_dirent =3D NULL; > } else if (cnp->cn_namelen =3D=3D 1 && cnp->cn_nameptr[0] =3D=3D '.') { --UPvCt0eiAD9X+G9u Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGvCM6C3+MBN1Mb4gRAvnKAJ4yBFu81yAdm3/aRM/mTEACvDJMXgCgpqJZ i3Ykfautlu8xg7/BDasOMYk= =rpuw -----END PGP SIGNATURE----- --UPvCt0eiAD9X+G9u-- From owner-cvs-src@FreeBSD.ORG Fri Aug 10 10:08:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 163D616A417; Fri, 10 Aug 2007 10:08:44 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE24613C46A; Fri, 10 Aug 2007 10:08:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7AA8heN098557; Fri, 10 Aug 2007 10:08:43 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7AA8hjV098556; Fri, 10 Aug 2007 10:08:43 GMT (envelope-from delphij) Message-Id: <200708101008.l7AA8hjV098556@repoman.freebsd.org> From: Xin LI Date: Fri, 10 Aug 2007 10:08:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/regression/tmpfs h_tools.c t_mount t_rename X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 10:08:44 -0000 delphij 2007-08-10 10:08:43 UTC FreeBSD src repository Modified files: tools/regression/tmpfs h_tools.c t_mount t_rename Log: New regression test updates for rename, etc. Obtained from: NetBSD Approved by: re (tmpfs blanket) Revision Changes Path 1.2 +7 -2 src/tools/regression/tmpfs/h_tools.c 1.2 +2 -2 src/tools/regression/tmpfs/t_mount 1.2 +49 -2 src/tools/regression/tmpfs/t_rename From owner-cvs-src@FreeBSD.ORG Fri Aug 10 11:00:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFA816A418; Fri, 10 Aug 2007 11:00:32 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BDBF513C46B; Fri, 10 Aug 2007 11:00:32 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7AB0WL8002639; Fri, 10 Aug 2007 11:00:32 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7AB0WGY002638; Fri, 10 Aug 2007 11:00:32 GMT (envelope-from delphij) Message-Id: <200708101100.l7AB0WGY002638@repoman.freebsd.org> From: Xin LI Date: Fri, 10 Aug 2007 11:00:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 11:00:32 -0000 delphij 2007-08-10 11:00:31 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c Log: MFp4: - LK_RETRY prohibits vget() and vn_lock() to return error. Remove associated code. [1] - Properly use vhold() and vdrop() instead of their unlocked versions, we are guaranteed to have the vnode's interlock unheld. [1] - Fix a pseudo-infinite loop caused by 64/32-bit arithmetic with the same way used in modern NetBSD versions. [2] - Reorganize tmpfs_readdir to reduce duplicated code. Submitted by: kib [1] Obtained from: NetBSD [2] Approved by: re (tmpfs blanket) Revision Changes Path 1.11 +67 -4 src/sys/fs/tmpfs/tmpfs.h 1.12 +7 -15 src/sys/fs/tmpfs/tmpfs_subr.c 1.10 +22 -41 src/sys/fs/tmpfs/tmpfs_vnops.c From owner-cvs-src@FreeBSD.ORG Fri Aug 10 23:33:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10B1716A420; Fri, 10 Aug 2007 23:33:35 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C97C213C46E; Fri, 10 Aug 2007 23:33:34 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7ANXY0l008978; Fri, 10 Aug 2007 23:33:34 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7ANXYow008977; Fri, 10 Aug 2007 23:33:34 GMT (envelope-from kmacy) Message-Id: <200708102333.l7ANXYow008977@repoman.freebsd.org> From: Kip Macy Date: Fri, 10 Aug 2007 23:33:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_offload.c cxgb_sge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 23:33:35 -0000 kmacy 2007-08-10 23:33:34 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_offload.c cxgb_sge.c Log: - In all structures other than port info port is a pointer to a port info, make the code less confusing by renaming the port number to port_id Approved by: re (blanket) Revision Changes Path 1.15 +1 -1 src/sys/dev/cxgb/cxgb_adapter.h 1.29 +11 -12 src/sys/dev/cxgb/cxgb_main.c 1.7 +1 -1 src/sys/dev/cxgb/cxgb_offload.c 1.25 +1 -1 src/sys/dev/cxgb/cxgb_sge.c From owner-cvs-src@FreeBSD.ORG Fri Aug 10 23:47:40 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F6EB16A421; Fri, 10 Aug 2007 23:47:40 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 056DE13C4A7; Fri, 10 Aug 2007 23:47:40 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7ANldFT012971; Fri, 10 Aug 2007 23:47:39 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7ANldmS012970; Fri, 10 Aug 2007 23:47:39 GMT (envelope-from kmacy) Message-Id: <200708102347.l7ANldmS012970@repoman.freebsd.org> From: Kip Macy Date: Fri, 10 Aug 2007 23:47:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/cxgb cxgb_main.c cxgb_sge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 23:47:40 -0000 kmacy 2007-08-10 23:47:39 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_main.c cxgb_sge.c Log: White space cleanups Approved by: re (blanket) Revision Changes Path 1.30 +6 -6 src/sys/dev/cxgb/cxgb_main.c 1.26 +0 -3 src/sys/dev/cxgb/cxgb_sge.c From owner-cvs-src@FreeBSD.ORG Sat Aug 11 19:25:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17DDB16A41A; Sat, 11 Aug 2007 19:25:33 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F3FEF13C459; Sat, 11 Aug 2007 19:25:32 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7BJPWjq083715; Sat, 11 Aug 2007 19:25:32 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7BJPWQv083714; Sat, 11 Aug 2007 19:25:32 GMT (envelope-from marcel) Message-Id: <200708111925.l7BJPWQv083714@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 11 Aug 2007 19:25:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/include intr_machdep.h md_var.h openpicvar.h src/sys/powerpc/powermac hrowpic.c hrowpicvar.h openpic_macio.c src/sys/powerpc/powerpc autoconf.c interrupt.c intr_machdep.c nexus.c openpic.c pic_if.m src/sys/powerpc/psim ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2007 19:25:33 -0000 marcel 2007-08-11 19:25:32 UTC FreeBSD src repository Modified files: sys/powerpc/include intr_machdep.h md_var.h openpicvar.h sys/powerpc/powermac hrowpic.c hrowpicvar.h openpic_macio.c sys/powerpc/powerpc autoconf.c interrupt.c intr_machdep.c nexus.c openpic.c pic_if.m sys/powerpc/psim openpic_iobus.c Log: Revamp the interrupt handling in support of INTR_FILTER. This includes: o Revamp the PIC I/F to only abstract the PIC hardware. The resource handling has been moved to nexus, where it belongs. o Include EOI and MASK+EOI methods to the PIC I/F in support of INTR_FILTER. o With the allocation of interrupt resources and setup of interrupt handlers in the common platform code we can delay talking to the PIC hardware after enumeration of all devices. Introduce a call to powerpc_intr_enable() in configure_final() to achieve that and have powerpc_setup_intr() only program the PIC when !cold. o As a consequence of the above, remove all early_attach() glue from the OpenPIC and Heathrow PIC drivers and have them register themselves when they're found during enumeration. o Decouple the interrupt vector from the interrupt request line. Allocate vectors increasingly so that they can be used for the intrcnt index as well. Extend the Heathrow PIC driver to translate between IRQ and vector. The OpenPIC driver already has the support for vectors in hardware. Approved by: re (blanket) Revision Changes Path 1.9 +9 -20 src/sys/powerpc/include/intr_machdep.h 1.29 +3 -6 src/sys/powerpc/include/md_var.h 1.6 +14 -19 src/sys/powerpc/include/openpicvar.h 1.13 +108 -328 src/sys/powerpc/powermac/hrowpic.c 1.3 +5 -7 src/sys/powerpc/powermac/hrowpicvar.h 1.10 +12 -144 src/sys/powerpc/powermac/openpic_macio.c 1.16 +8 -1 src/sys/powerpc/powerpc/autoconf.c 1.8 +4 -15 src/sys/powerpc/powerpc/interrupt.c 1.13 +118 -69 src/sys/powerpc/powerpc/intr_machdep.c 1.15 +54 -41 src/sys/powerpc/powerpc/nexus.c 1.16 +73 -243 src/sys/powerpc/powerpc/openpic.c 1.4 +15 -21 src/sys/powerpc/powerpc/pic_if.m 1.7 +14 -128 src/sys/powerpc/psim/openpic_iobus.c