From mav at FreeBSD.org Fri Feb 1 03:01:18 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Fri Feb 1 03:01:22 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802011101.m11B1G9O001216@repoman.freebsd.org> mav 2008-02-01 11:01:15 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Add comments about stack protection mechanism. Revision Changes Path 1.143 +8 -0 src/sys/netgraph/ng_base.c From glebius at FreeBSD.org Fri Feb 1 03:20:42 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Fri Feb 1 03:20:44 2008 Subject: cvs commit: src/sys/netinet ip_carp.c Message-ID: <200802011120.m11BKgiP004207@repoman.freebsd.org> glebius 2008-02-01 11:20:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet ip_carp.c Log: Belated MFC of rev. 1.49: Do not leak lock in the case of EEXIST error. PR: kern/92776 Revision Changes Path 1.27.2.12 +6 -2 src/sys/netinet/ip_carp.c From rwatson at FreeBSD.org Fri Feb 1 03:59:15 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 1 03:59:17 2008 Subject: cvs commit: src/sys/kern vfs_aio.c Message-ID: <200802011159.m11BxFxk006082@repoman.freebsd.org> rwatson 2008-02-01 11:59:15 UTC FreeBSD src repository Modified files: sys/kern vfs_aio.c Log: Use FEATURE() macro to advertise aio availability. Revision Changes Path 1.238 +2 -0 src/sys/kern/vfs_aio.c From max at love2party.net Fri Feb 1 04:56:18 2008 From: max at love2party.net (Max Laier) Date: Fri Feb 1 04:56:27 2008 Subject: cvs commit: src/sys/netinet ip_carp.c In-Reply-To: <200802011120.m11BKgiP004207@repoman.freebsd.org> References: <200802011120.m11BKgiP004207@repoman.freebsd.org> Message-ID: <200802011356.15763.max@love2party.net> On Friday 01 February 2008, Gleb Smirnoff wrote: > glebius 2008-02-01 11:20:42 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/netinet ip_carp.c > Log: > Belated MFC of rev. 1.49: > Do not leak lock in the case of EEXIST error. > > PR: kern/92776 > > Revision Changes Path > 1.27.2.12 +6 -2 src/sys/netinet/ip_carp.c Thanks, also: kern/120130 -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080201/5f15b8d3/attachment.pgp From imp at bsdimp.com Fri Feb 1 07:34:59 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Feb 1 07:35:07 2008 Subject: cvs commit: src/sys/netgraph ng_base.c In-Reply-To: <200802011101.m11B1G9O001216@repoman.freebsd.org> References: <200802011101.m11B1G9O001216@repoman.freebsd.org> Message-ID: <20080201.083443.1221545450.imp@bsdimp.com> In message: <200802011101.m11B1G9O001216@repoman.freebsd.org> Alexander Motin writes: : mav 2008-02-01 11:01:15 UTC : : FreeBSD src repository : : Modified files: : sys/netgraph ng_base.c : Log: : Add comments about stack protection mechanism. Thanks! Warner From marck at FreeBSD.org Fri Feb 1 09:35:47 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Fri Feb 1 09:35:49 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802011735.m11HZkss074155@repoman.freebsd.org> marck 2008-02-01 17:35:46 UTC FreeBSD src repository (doc committer) Modified files: sys/netgraph ng_base.c Log: Reword recent comment a bit. Revision Changes Path 1.144 +3 -3 src/sys/netgraph/ng_base.c From phk at FreeBSD.org Fri Feb 1 11:36:27 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Fri Feb 1 11:36:35 2008 Subject: cvs commit: src/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... Message-ID: <200802011936.m11JaR2n084955@repoman.freebsd.org> phk 2008-02-01 19:36:27 UTC FreeBSD src repository Modified files: share/man/man9 mbuf.9 sys/compat/ndis kern_ndis.c sys/dev/cxgb cxgb_sge.c sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c sys/dev/hatm if_hatm_intr.c sys/dev/iscsi/initiator isc_soc.c sys/dev/lge if_lge.c sys/dev/msk if_msk.c sys/dev/nfe if_nfe.c sys/dev/patm if_patm_rx.c sys/dev/sk if_sk.c sys/dev/ti if_ti.c sys/dev/wpi if_wpi.c sys/kern kern_mbuf.c uipc_cow.c uipc_mbuf.c uipc_syscalls.c sys/pci if_wb.c sys/sys mbuf.h param.h Log: Give MEXTADD() another argument to make both void pointers to the free function controlable, instead of passing the KVA of the buffer storage as the first argument. Fix all conventional users of the API to pass the KVA of the buffer as the first argument, to make this a no-op commit. Likely break the only non-convetional user of the API, after informing the relevant committer. Update the mbuf(9) manual page, which was already out of sync on this point. Bump __FreeBSD_version to 800016 as there is no way to tell how many arguments a CPP macro needs any other way. This paves the way for giving sendfile(9) a way to wait for the passed storage to have been accessed before returning. This does not affect the memory layout or size of mbufs. Parental oversight by: sam and rwatson. No MFC is anticipated. Revision Changes Path 1.66 +3 -2 src/share/man/man9/mbuf.9 1.97 +1 -1 src/sys/compat/ndis/kern_ndis.c 1.49 +2 -1 src/sys/dev/cxgb/cxgb_sge.c 1.4 +2 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.23 +2 -2 src/sys/dev/hatm/if_hatm_intr.c 1.3 +1 -1 src/sys/dev/iscsi/initiator/isc_soc.c 1.52 +1 -1 src/sys/dev/lge/if_lge.c 1.28 +2 -2 src/sys/dev/msk/if_msk.c 1.26 +1 -1 src/sys/dev/nfe/if_nfe.c 1.9 +2 -2 src/sys/dev/patm/if_patm_rx.c 1.139 +1 -1 src/sys/dev/sk/if_sk.c 1.130 +2 -1 src/sys/dev/ti/if_ti.c 1.8 +3 -3 src/sys/dev/wpi/if_wpi.c 1.38 +4 -2 src/sys/kern/kern_mbuf.c 1.27 +2 -2 src/sys/kern/uipc_cow.c 1.176 +9 -6 src/sys/kern/uipc_mbuf.c 1.265 +1 -1 src/sys/kern/uipc_syscalls.c 1.94 +2 -2 src/sys/pci/if_wb.c 1.222 +6 -5 src/sys/sys/mbuf.h 1.330 +1 -1 src/sys/sys/param.h From jkim at FreeBSD.org Fri Feb 1 12:15:21 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 1 12:15:23 2008 Subject: cvs commit: src/share/msgdef Makefile ko_KR.UTF-8.src ko_KR.eucKR.src Message-ID: <200802012015.m11KFLDJ089428@repoman.freebsd.org> jkim 2008-02-01 20:15:21 UTC FreeBSD src repository Modified files: share/msgdef Makefile ko_KR.eucKR.src Added files: share/msgdef ko_KR.UTF-8.src Log: Update korean locale messages: - Remove redundant `s' and `S' from yesexpr. - Add fullwidth latin letters to yesexpr and noexpr (inspired by ja_JP.UTF-8). - Add korean translated yesexpr (`Ye') and noexpr (`Anio'). - Add yesstr and nostr entries (inspired by zh_CN.*). - Add UTF-8 encoded file and connect to build. Revision Changes Path 1.66 +1 -1 src/share/msgdef/Makefile 1.1 +14 -0 src/share/msgdef/ko_KR.UTF-8.src (new) 1.2 +6 -2 src/share/msgdef/ko_KR.eucKR.src From jkim at FreeBSD.org Fri Feb 1 12:28:44 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 1 12:28:47 2008 Subject: cvs commit: src/usr.sbin/sysinstall disks.c Message-ID: <200802012028.m11KSiQw095045@repoman.freebsd.org> jkim 2008-02-01 20:28:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall disks.c Log: MFC: 1.159, 1.160 Do not sanitize disk geometry if it is set by scripts in non-interactive mode. Revision Changes Path 1.158.2.1 +9 -9 src/usr.sbin/sysinstall/disks.c From jkim at FreeBSD.org Fri Feb 1 12:29:56 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 1 12:29:59 2008 Subject: cvs commit: src/usr.sbin/sysinstall disks.c Message-ID: <200802012029.m11KTuD5095110@repoman.freebsd.org> jkim 2008-02-01 20:29:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/sysinstall disks.c Log: MFC: 1.159, 1.160 Do not sanitize disk geometry if it is set by scripts in non-interactive mode. Revision Changes Path 1.154.2.4 +9 -9 src/usr.sbin/sysinstall/disks.c From jhb at FreeBSD.org Fri Feb 1 12:31:09 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 1 12:31:13 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200802012031.m11KV9NZ095246@repoman.freebsd.org> jhb 2008-02-01 20:31:09 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Relax the check for a PCI-express chipset by assuming the system is a PCI-express chipset (and thus has functional MSI) if there are any PCI-express devices in the system, not requiring a root port device. With PCI-X the chipset detection has to be very conservative because there are known systems with PCI-X devices that do not appear to have PCI-X chipsets. However, with PCI-express I'm not sure it is possible to have a PCI-express device in a system with a non-PCI-express chipset. If we assume that is the case then this change is valid. It is also required for at least some PCI-express systems that don't have any devices with a root port capability (some ICH9 systems). MFC after: 1 week Reported by: jfv Revision Changes Path 1.357 +2 -5 src/sys/dev/pci/pci.c From jkim at FreeBSD.org Fri Feb 1 12:33:41 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 1 12:33:43 2008 Subject: cvs commit: src/usr.sbin/sysinstall disks.c Message-ID: <200802012033.m11KXeuZ095351@repoman.freebsd.org> jkim 2008-02-01 20:33:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) usr.sbin/sysinstall disks.c Log: MFC: 1.159, 1.160 Do not sanitize disk geometry if it is set by scripts in non-interactive mode. Approved by: re (kensmith) Revision Changes Path 1.158.4.1 +9 -9 src/usr.sbin/sysinstall/disks.c From sam at FreeBSD.org Fri Feb 1 13:31:10 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 1 13:31:13 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.c Message-ID: <200802012131.m11LVAv7009405@repoman.freebsd.org> sam 2008-02-01 21:31:10 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ht.c Log: o correct typo that broke check when handling addba response o add a comment about the ht rates being for 20MHz channels w/ long GI; needs a separate fix after more thought MFC after: 3 days Revision Changes Path 1.8 +2 -1 src/sys/net80211/ieee80211_ht.c From marck at rinet.ru Fri Feb 1 13:49:10 2008 From: marck at rinet.ru (Dmitry Morozovsky) Date: Fri Feb 1 13:49:15 2008 Subject: cvs commit: src/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... In-Reply-To: <200802011936.m11JaR2n084955@repoman.freebsd.org> References: <200802011936.m11JaR2n084955@repoman.freebsd.org> Message-ID: <20080202004647.D28725@woozle.rinet.ru> Dear Poul-Henning, On Fri, 1 Feb 2008, Poul-Henning Kamp wrote: PK> No MFC is anticipated. Provided current age of 7.* is short enough (and most users of it are aware of possible API changes) why don't you think MFC to RELENG_7 is suitable? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From rwatson at FreeBSD.org Fri Feb 1 14:51:41 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 1 14:51:44 2008 Subject: cvs commit: src/sys/kern uipc_sockbuf.c uipc_socket.c uipc_syscalls.c src/sys/netinet sctp_input.c sctp_peeloff.c sctputil.c src/sys/sys socketvar.h Message-ID: <200802012251.m11MpeQE016903@repoman.freebsd.org> rwatson 2008-02-01 22:51:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_sockbuf.c uipc_socket.c uipc_syscalls.c sys/netinet sctp_input.c sctp_peeloff.c sctputil.c sys/sys socketvar.h Log: Merge uipc_sockbuf.c:1.175, uipc_socket.c:1.304, uipc_syscalls.c:1.264, sctp_input.c:1.67, sctp_peeloff.c:1.17, sctputil.c:1.73, socketvar.h:1.161 from HEAD to RELENG_7: Correct two problems relating to sorflush(), which is called to flush read socket buffers in shutdown() and close(): - Call socantrcvmore() before sblock() to dislodge any threads that might be sleeping (potentially indefinitely) while holding sblock(), such as a thread blocked in recv(). - Flag the sblock() call as non-interruptible so that a signal delivered to the thread calling sorflush() doesn't cause sblock() to fail. The sblock() is required to ensure that all other socket consumer threads have, in fact, left, and do not enter, the socket buffer until we're done flushin it. To implement the latter, change the 'flags' argument to sblock() to accept two flags, SBL_WAIT and SBL_NOINTR, rather than one M_WAITOK flag. When SBL_NOINTR is set, it forces a non-interruptible sx acquisition, regardless of the setting of the disposition of SB_NOINTR on the socket buffer; without this change it would be possible for another thread to clear SB_NOINTR between when the socket buffer mutex is released and sblock() is invoked. Reviewed by: bz, kmacy Reported by: Jos Backus Revision Changes Path 1.171.2.2 +6 -2 src/sys/kern/uipc_sockbuf.c 1.302.2.1 +11 -5 src/sys/kern/uipc_socket.c 1.259.2.1 +7 -2 src/sys/kern/uipc_syscalls.c 1.65.2.2 +2 -1 src/sys/netinet/sctp_input.c 1.16.2.1 +2 -2 src/sys/netinet/sctp_peeloff.c 1.65.2.5 +1 -1 src/sys/netinet/sctputil.c 1.158.2.1 +7 -0 src/sys/sys/socketvar.h From brooks at FreeBSD.org Fri Feb 1 15:43:59 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Fri Feb 1 15:44:01 2008 Subject: cvs commit: src/etc/rc.d dhclient Message-ID: <200802012343.m11NhxfO020869@repoman.freebsd.org> brooks 2008-02-01 23:43:58 UTC FreeBSD src repository Modified files: etc/rc.d dhclient Log: When the state of the interface changes rapidly enough (usually due to rapid wireless association changes in my experience), there is a race where dhclient is in the process of exiting due to the link going down when the link coming up causes devd to try and start a new one. This results is the link being up, but no dhclient running. Work around this race by checking a second time after a one second delay before refusing to start a dhclient instance due to one already being running. MFC after: 1 week Revision Changes Path 1.31 +5 -1 src/etc/rc.d/dhclient From sam at FreeBSD.org Fri Feb 1 16:38:03 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 1 16:38:05 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.h Message-ID: <200802020038.m120c25b025058@repoman.freebsd.org> sam 2008-02-02 00:38:02 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ht.h Log: add opaque pointer to tx ampdu state for drivers MFC after: 3 days Revision Changes Path 1.4 +1 -0 src/sys/net80211/ieee80211_ht.h From pyunyh at gmail.com Fri Feb 1 16:40:21 2008 From: pyunyh at gmail.com (Pyun YongHyeon) Date: Fri Feb 1 16:40:28 2008 Subject: cvs commit: src/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... In-Reply-To: <200802011936.m11JaR2n084955@repoman.freebsd.org> References: <200802011936.m11JaR2n084955@repoman.freebsd.org> Message-ID: <20080202004013.GA17592@cdnetworks.co.kr> On Fri, Feb 01, 2008 at 07:36:27PM +0000, Poul-Henning Kamp wrote: > phk 2008-02-01 19:36:27 UTC > > FreeBSD src repository > > Modified files: > share/man/man9 mbuf.9 > sys/compat/ndis kern_ndis.c > sys/dev/cxgb cxgb_sge.c > sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c > sys/dev/hatm if_hatm_intr.c > sys/dev/iscsi/initiator isc_soc.c > sys/dev/lge if_lge.c > sys/dev/msk if_msk.c > sys/dev/nfe if_nfe.c > sys/dev/patm if_patm_rx.c > sys/dev/sk if_sk.c > sys/dev/ti if_ti.c > sys/dev/wpi if_wpi.c > sys/kern kern_mbuf.c uipc_cow.c uipc_mbuf.c > uipc_syscalls.c > sys/pci if_wb.c > sys/sys mbuf.h param.h > Log: > Give MEXTADD() another argument to make both void pointers to the > free function controlable, instead of passing the KVA of the buffer > storage as the first argument. > > Fix all conventional users of the API to pass the KVA of the buffer > as the first argument, to make this a no-op commit. > Because physically contiguous 9K jumbos are available I should have nuked local jumbo allocators used in msk(4)/nfe(4) and sk(4). If that happened you didn't need to touch these drivers. Sorry for that and thanks for your work. > Likely break the only non-convetional user of the API, after informing > the relevant committer. > > Update the mbuf(9) manual page, which was already out of sync on > this point. > > Bump __FreeBSD_version to 800016 as there is no way to tell how > many arguments a CPP macro needs any other way. > > This paves the way for giving sendfile(9) a way to wait for the > passed storage to have been accessed before returning. > > This does not affect the memory layout or size of mbufs. > > Parental oversight by: sam and rwatson. > > No MFC is anticipated. [...] -- Regards, Pyun YongHyeon From pyunyh at gmail.com Fri Feb 1 17:04:19 2008 From: pyunyh at gmail.com (Pyun YongHyeon) Date: Fri Feb 1 17:04:33 2008 Subject: cvs commit: src/share/msgdef Makefile ko_KR.UTF-8.src ko_KR.eucKR.src In-Reply-To: <200802012015.m11KFLDJ089428@repoman.freebsd.org> References: <200802012015.m11KFLDJ089428@repoman.freebsd.org> Message-ID: <20080202010410.GB17592@cdnetworks.co.kr> On Fri, Feb 01, 2008 at 08:15:21PM +0000, Jung-uk Kim wrote: > jkim 2008-02-01 20:15:21 UTC > > FreeBSD src repository > > Modified files: > share/msgdef Makefile ko_KR.eucKR.src > Added files: > share/msgdef ko_KR.UTF-8.src > Log: > Update korean locale messages: > > - Remove redundant `s' and `S' from yesexpr. > - Add fullwidth latin letters to yesexpr and noexpr (inspired by ja_JP.UTF-8). > - Add korean translated yesexpr (`Ye') and noexpr (`Anio'). > - Add yesstr and nostr entries (inspired by zh_CN.*). > - Add UTF-8 encoded file and connect to build. > Thanks! -- Regards, Pyun YongHyeon From scottl at samsco.org Fri Feb 1 18:18:49 2008 From: scottl at samsco.org (Scott Long) Date: Fri Feb 1 18:19:48 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <200802012031.m11KV9NZ095246@repoman.freebsd.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> Message-ID: <47A3D2FE.1060202@samsco.org> John Baldwin wrote: > jhb 2008-02-01 20:31:09 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c > Log: > Relax the check for a PCI-express chipset by assuming the system is a > PCI-express chipset (and thus has functional MSI) if there are any > PCI-express devices in the system, not requiring a root port device. > > With PCI-X the chipset detection has to be very conservative because there > are known systems with PCI-X devices that do not appear to have PCI-X > chipsets. However, with PCI-express I'm not sure it is possible to have > a PCI-express device in a system with a non-PCI-express chipset. If we > assume that is the case then this change is valid. It is also required > for at least some PCI-express systems that don't have any devices with > a root port capability (some ICH9 systems). > > MFC after: 1 week > Reported by: jfv > > Revision Changes Path > 1.357 +2 -5 src/sys/dev/pci/pci.c It's certainly possible for a PCI-X device to be plugged into a PCI-only system; PCI-X is backwards compatible at an electrical an protocol level with 3.3V PCI. So yes, you will see PCI-X extcaps on PCI-X cards even if there is no PCI-X bridge. I'm sure there are fun, interesting, and highly obtuse ways to get a PCI-E device onto a system with no PCI-E root complex. I do agree with your implicit statement to not worry about such an edge case, at least not until such an edge case becomes a demonstrated reality. What does worry me is that Intel would release PCI-E chipsets without an advertised root complex. That would seem to blatantly violate the spec. Does Jack have confirmation that this is really the case? If so, what else is being played fast-and-loose with that we should know about? Scott From grehan at freebsd.org Fri Feb 1 19:00:55 2008 From: grehan at freebsd.org (Peter Grehan) Date: Fri Feb 1 19:00:59 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <47A3D2FE.1060202@samsco.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3D2FE.1060202@samsco.org> Message-ID: <47A3DCC1.2030700@freebsd.org> > I'm sure there are fun, interesting, and highly obtuse ways to get a > PCI-E device onto a system with no PCI-E root complex. Be afraid ... http://www.pericom.com/products/pci/ "In ?reverse? mode, the PI7C9X110 is configured with the PCI port on the primary and the PCI Express port on the downstream side. The ?reverse? configuration will be mainly used to ?bridge? new PCI Express products to legacy PCI systems." later, Peter. From sam at FreeBSD.org Fri Feb 1 22:49:58 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 1 22:50:02 2008 Subject: cvs commit: src/sys/dev/wpi if_wpi.c Message-ID: <200802020649.m126nvRb071955@repoman.freebsd.org> sam 2008-02-02 06:49:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/wpi if_wpi.c Log: MFC 1.7: use m_gethdr to populate the rx ring Revision Changes Path 1.5.2.2 +1 -1 src/sys/dev/wpi/if_wpi.c From obrien at FreeBSD.org Fri Feb 1 23:19:11 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 1 23:19:14 2008 Subject: cvs commit: src/contrib/file - Imported sources Message-ID: <200802020719.m127JB7S075235@repoman.freebsd.org> obrien 2008-02-02 07:19:11 UTC FreeBSD src repository src/contrib/file - Imported sources Update of /home/ncvs/src/contrib/file In directory repoman.freebsd.org:/tmp/cvs-serv75049 Log Message: Fix nit in version 4.23 in which -p does not work (thus updating access times when it shouldn't). The PR's patch has been incorporated upstream as magic.c rev 1.46. PR: 107676 Submitted by: Dr. Markus Waldeck Status: Vendor Tag: ZOULAS Release Tags: file_4_23__r1_46 U src/contrib/file/README U src/contrib/file/acinclude.m4 U src/contrib/file/configure.in U src/contrib/file/aclocal.m4 U src/contrib/file/Makefile.am U src/contrib/file/Makefile.in U src/contrib/file/config.h.in U src/contrib/file/configure U src/contrib/file/ChangeLog U src/contrib/file/magic.c U src/contrib/file/install-sh U src/contrib/file/mkinstalldirs U src/contrib/file/LEGAL.NOTICE U src/contrib/file/MAINT U src/contrib/file/PORTING U src/contrib/file/file.c U src/contrib/file/Header U src/contrib/file/Localstuff U src/contrib/file/magic.mime U src/contrib/file/magic2mime U src/contrib/file/apprentice.c U src/contrib/file/apptype.c U src/contrib/file/ascmagic.c U src/contrib/file/compress.c U src/contrib/file/file.h U src/contrib/file/file_opts.h U src/contrib/file/fsmagic.c U src/contrib/file/funcs.c U src/contrib/file/is_tar.c U src/contrib/file/magic.h U src/contrib/file/names.h U src/contrib/file/patchlevel.h U src/contrib/file/print.c U src/contrib/file/readelf.c U src/contrib/file/readelf.h U src/contrib/file/softmagic.c U src/contrib/file/tar.h U src/contrib/file/test.c U src/contrib/file/file.man U src/contrib/file/libmagic.man U src/contrib/file/magic.man U src/contrib/file/Magdir/acorn U src/contrib/file/Magdir/adi U src/contrib/file/Magdir/adventure U src/contrib/file/Magdir/allegro U src/contrib/file/Magdir/alliant U src/contrib/file/Magdir/alpha U src/contrib/file/Magdir/amanda U src/contrib/file/Magdir/amigaos U src/contrib/file/Magdir/animation U src/contrib/file/Magdir/apl U src/contrib/file/Magdir/apple U src/contrib/file/Magdir/applix U src/contrib/file/Magdir/archive U src/contrib/file/Magdir/asterix U src/contrib/file/Magdir/att3b U src/contrib/file/Magdir/audio U src/contrib/file/Magdir/basis U src/contrib/file/Magdir/bflt U src/contrib/file/Magdir/blender U src/contrib/file/Magdir/blit U src/contrib/file/Magdir/bout U src/contrib/file/Magdir/bsdi U src/contrib/file/Magdir/btsnoop U src/contrib/file/Magdir/cad U src/contrib/file/Magdir/cafebabe U src/contrib/file/Magdir/c-lang U src/contrib/file/Magdir/c64 U src/contrib/file/Magdir/cddb U src/contrib/file/Magdir/chord U src/contrib/file/Magdir/cisco U src/contrib/file/Magdir/efi U src/contrib/file/Magdir/citrus U src/contrib/file/Magdir/claris U src/contrib/file/Magdir/clipper U src/contrib/file/Magdir/cracklib U src/contrib/file/Magdir/spec U src/contrib/file/Magdir/commands U src/contrib/file/Magdir/communications U src/contrib/file/Magdir/compress U src/contrib/file/Magdir/console U src/contrib/file/Magdir/convex U src/contrib/file/Magdir/ctags U src/contrib/file/Magdir/dact U src/contrib/file/Magdir/database U src/contrib/file/Magdir/diamond U src/contrib/file/Magdir/diff U src/contrib/file/Magdir/digital U src/contrib/file/Magdir/dolby U src/contrib/file/Magdir/dump U src/contrib/file/Magdir/editors U src/contrib/file/Magdir/elf U src/contrib/file/Magdir/encore U src/contrib/file/Magdir/epoc U src/contrib/file/Magdir/esri U src/contrib/file/Magdir/fcs U src/contrib/file/Magdir/filesystems U src/contrib/file/Magdir/flash U src/contrib/file/Magdir/fonts U src/contrib/file/Magdir/fortran U src/contrib/file/Magdir/frame U src/contrib/file/Magdir/freebsd U src/contrib/file/Magdir/gcc U src/contrib/file/Magdir/fsav U src/contrib/file/Magdir/games U src/contrib/file/Magdir/geos U src/contrib/file/Magdir/gimp U src/contrib/file/Magdir/gnu U src/contrib/file/Magdir/grace U src/contrib/file/Magdir/gringotts U src/contrib/file/Magdir/hitachi-sh U src/contrib/file/Magdir/hp U src/contrib/file/Magdir/human68k U src/contrib/file/Magdir/ibm370 U src/contrib/file/Magdir/ibm6000 U src/contrib/file/Magdir/iff U src/contrib/file/Magdir/images U src/contrib/file/Magdir/intel U src/contrib/file/Magdir/interleaf U src/contrib/file/Magdir/island U src/contrib/file/Magdir/ispell U src/contrib/file/Magdir/java U src/contrib/file/Magdir/jpeg U src/contrib/file/Magdir/karma U src/contrib/file/Magdir/lecter U src/contrib/file/Magdir/lex U src/contrib/file/Magdir/lif U src/contrib/file/Magdir/linux U src/contrib/file/Magdir/lisp U src/contrib/file/Magdir/mach U src/contrib/file/Magdir/macintosh U src/contrib/file/Magdir/magic U src/contrib/file/Magdir/mail.news U src/contrib/file/Magdir/maple U src/contrib/file/Magdir/mup U src/contrib/file/Magdir/mathematica U src/contrib/file/Magdir/matroska U src/contrib/file/Magdir/mcrypt U src/contrib/file/Magdir/mime U src/contrib/file/Magdir/mips U src/contrib/file/Magdir/mirage U src/contrib/file/Magdir/misctools U src/contrib/file/Magdir/mkid U src/contrib/file/Magdir/mlssa U src/contrib/file/Magdir/mmdf U src/contrib/file/Magdir/modem U src/contrib/file/Magdir/motorola U src/contrib/file/Magdir/msdos U src/contrib/file/Magdir/msvc U src/contrib/file/Magdir/natinst U src/contrib/file/Magdir/ncr U src/contrib/file/Magdir/netbsd U src/contrib/file/Magdir/netscape U src/contrib/file/Magdir/news U src/contrib/file/Magdir/nitpicker U src/contrib/file/Magdir/ocaml U src/contrib/file/Magdir/octave U src/contrib/file/Magdir/olf U src/contrib/file/Magdir/os2 U src/contrib/file/Magdir/os400 U src/contrib/file/Magdir/os9 U src/contrib/file/Magdir/osf1 U src/contrib/file/Magdir/palm U src/contrib/file/Magdir/parix U src/contrib/file/Magdir/pbm U src/contrib/file/Magdir/pdf U src/contrib/file/Magdir/pdp U src/contrib/file/Magdir/perl U src/contrib/file/Magdir/pgp U src/contrib/file/Magdir/pkgadd U src/contrib/file/Magdir/plan9 U src/contrib/file/Magdir/plus5 U src/contrib/file/Magdir/printer U src/contrib/file/Magdir/project U src/contrib/file/Magdir/psdbms U src/contrib/file/Magdir/psion U src/contrib/file/Magdir/pulsar U src/contrib/file/Magdir/pyramid U src/contrib/file/Magdir/python U src/contrib/file/Magdir/revision U src/contrib/file/Magdir/riff U src/contrib/file/Magdir/rpm U src/contrib/file/Magdir/rtf U src/contrib/file/Magdir/sc U src/contrib/file/Magdir/sccs U src/contrib/file/Magdir/sendmail U src/contrib/file/Magdir/sequent U src/contrib/file/Magdir/sgi U src/contrib/file/Magdir/sgml U src/contrib/file/Magdir/sharc U src/contrib/file/Magdir/sinclair U src/contrib/file/Magdir/sketch U src/contrib/file/Magdir/smalltalk U src/contrib/file/Magdir/sniffer U src/contrib/file/Magdir/dyadic U src/contrib/file/Magdir/scientific U src/contrib/file/Magdir/softquad U src/contrib/file/Magdir/sql U src/contrib/file/Magdir/spectrum U src/contrib/file/Magdir/sun U src/contrib/file/Magdir/sysex U src/contrib/file/Magdir/teapot U src/contrib/file/Magdir/terminfo U src/contrib/file/Magdir/tex U src/contrib/file/Magdir/tgif U src/contrib/file/Magdir/ti-8x U src/contrib/file/Magdir/timezone U src/contrib/file/Magdir/troff U src/contrib/file/Magdir/tuxedo U src/contrib/file/Magdir/typeset U src/contrib/file/Magdir/unknown U src/contrib/file/Magdir/unicode U src/contrib/file/Magdir/uuencode U src/contrib/file/Magdir/varied.out U src/contrib/file/Magdir/varied.script U src/contrib/file/Magdir/vax U src/contrib/file/Magdir/vicar U src/contrib/file/Magdir/virtutech U src/contrib/file/Magdir/visx U src/contrib/file/Magdir/vms U src/contrib/file/Magdir/vmware U src/contrib/file/Magdir/vorbis U src/contrib/file/Magdir/vxl U src/contrib/file/Magdir/wordprocessors U src/contrib/file/Magdir/xdelta U src/contrib/file/Magdir/xenix U src/contrib/file/Magdir/xo65 U src/contrib/file/Magdir/xwindows U src/contrib/file/Magdir/zilog U src/contrib/file/Magdir/zyxel No conflicts created by this import From sam at FreeBSD.org Fri Feb 1 23:30:03 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 1 23:30:05 2008 Subject: cvs commit: src/sys/dev/wpi if_wpi.c Message-ID: <200802020730.m127U2iu075647@repoman.freebsd.org> sam 2008-02-02 07:30:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/wpi if_wpi.c Log: MFC 1.7: use m_gethdr to populate the rx ring Approved by: re (kensmith) Revision Changes Path 1.5.2.1.2.1 +1 -1 src/sys/dev/wpi/if_wpi.c From imp at FreeBSD.org Fri Feb 1 23:43:39 2008 From: imp at FreeBSD.org (Warner Losh) Date: Fri Feb 1 23:43:42 2008 Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200802020743.m127hcM8076190@repoman.freebsd.org> imp 2008-02-02 07:43:38 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Wall of shame rather than wall of fame for the -Werror suppression. If we aren't arm, pc98 or sun4v, then enable treating warnings like errors. That doesn't mean these platforms aren't -Werror clean, just that we haven't enforced it before. Someone with some spare time should investigate these three platforms to see if any can be removed. Revision Changes Path 1.93 +1 -3 src/sys/conf/kern.pre.mk From obrien at FreeBSD.org Fri Feb 1 23:48:06 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 1 23:48:09 2008 Subject: cvs commit: src/contrib/file magic.c Message-ID: <200802020748.m127m6jm076412@repoman.freebsd.org> obrien 2008-02-02 07:48:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/file magic.c Log: MFC: rev 1.1.1.7 - fix -p. Revision Changes Path 1.1.1.5.2.2 +2 -0 src/contrib/file/magic.c From imp at FreeBSD.org Fri Feb 1 23:52:25 2008 From: imp at FreeBSD.org (Warner Losh) Date: Fri Feb 1 23:52:27 2008 Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200802020752.m127qODO076604@repoman.freebsd.org> imp 2008-02-02 07:52:24 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Some platforms that are currently under development have to cope with a variety of bootloaders. This sometimes means that different loader scripts are required within one ${MACHINE_ARCH}, which makes the current practice of using ldscript.${MACHINE_ARCH} unsuitable. Instead, make the default the current convention and allow the ld scripts to be overridden as necessary. Revision Changes Path 1.94 +4 -2 src/sys/conf/kern.pre.mk From marck at FreeBSD.org Sat Feb 2 00:41:54 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Sat Feb 2 00:41:57 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802020841.m128frs9080667@repoman.freebsd.org> marck 2008-02-02 08:41:53 UTC FreeBSD src repository (doc committer) Modified files: sys/netgraph ng_base.c Log: Fix one more grammo. Noticed by: ru Revision Changes Path 1.145 +1 -1 src/sys/netgraph/ng_base.c From des at FreeBSD.org Sat Feb 2 04:27:38 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Feb 2 04:27:41 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802021227.m12CRcZ9008161@repoman.freebsd.org> des 2008-02-02 12:27:38 UTC FreeBSD src repository Modified files: etc/periodic/security 100.chksetuid Log: Rewrite to consume significantly less memory, by using find -s instead of find | sort. As a bonus, this simplifies the logic considerably. Also remove the bogus "overruning the args to ls" comment and the corresponding "-n 20" argument to xargs; the whole point with xargs is precisely that it knows how large the argument list can safely get. Note that the first run of the updated script may hypotheticall produce false positives due to differences between find's and sort's sorting algorithm. I haven't seen this during testing, but others might. MFC after: 2 weeks Revision Changes Path 1.10 +11 -16 src/etc/periodic/security/100.chksetuid From rwatson at FreeBSD.org Sat Feb 2 04:44:14 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 2 04:44:18 2008 Subject: cvs commit: src/sys/kern uipc_sockbuf.c uipc_socket.c uipc_syscalls.c src/sys/netinet sctp_input.c sctp_peeloff.c sctputil.c src/sys/sys socketvar.h Message-ID: <200802021244.m12CiEWl008958@repoman.freebsd.org> rwatson 2008-02-02 12:44:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/kern uipc_sockbuf.c uipc_socket.c uipc_syscalls.c sys/netinet sctp_input.c sctp_peeloff.c sctputil.c sys/sys socketvar.h Log: Merge uipc_sockbuf.c:1.175, uipc_socket.c:1.304, uipc_syscalls.c:1.264, sctp_input.c:1.67, sctp_peeloff.c:1.17, sctputil.c:1.73, socketvar.h:1.161 from HEAD to RELENG_7_0: Correct two problems relating to sorflush(), which is called to flush read socket buffers in shutdown() and close(): - Call socantrcvmore() before sblock() to dislodge any threads that might be sleeping (potentially indefinitely) while holding sblock(), such as a thread blocked in recv(). - Flag the sblock() call as non-interruptible so that a signal delivered to the thread calling sorflush() doesn't cause sblock() to fail. The sblock() is required to ensure that all other socket consumer threads have, in fact, left, and do not enter, the socket buffer until we're done flushin it. To implement the latter, change the 'flags' argument to sblock() to accept two flags, SBL_WAIT and SBL_NOINTR, rather than one M_WAITOK flag. When SBL_NOINTR is set, it forces a non-interruptible sx acquisition, regardless of the setting of the disposition of SB_NOINTR on the socket buffer; without this change it would be possible for another thread to clear SB_NOINTR between when the socket buffer mutex is released and sblock() is invoked. Reviewed by: bz, kmacy, rrs Reported by: Jos Backus Approved by: re (kensmith) Revision Changes Path 1.171.2.1.2.1 +6 -2 src/sys/kern/uipc_sockbuf.c 1.302.4.1 +11 -5 src/sys/kern/uipc_socket.c 1.259.4.1 +7 -2 src/sys/kern/uipc_syscalls.c 1.65.2.1.2.1 +2 -1 src/sys/netinet/sctp_input.c 1.16.4.1 +2 -2 src/sys/netinet/sctp_peeloff.c 1.65.2.4.2.1 +1 -1 src/sys/netinet/sctputil.c 1.158.4.1 +7 -0 src/sys/sys/socketvar.h From bz at FreeBSD.org Sat Feb 2 06:11:32 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Feb 2 06:11:34 2008 Subject: cvs commit: src/sys/netinet ip_output.c src/sys/netinet6 ip6_output.c src/sys/netipsec ipsec.c ipsec.h ipsec6.h Message-ID: <200802021411.m12EBVuF024183@repoman.freebsd.org> bz 2008-02-02 14:11:31 UTC FreeBSD src repository Modified files: sys/netinet ip_output.c sys/netinet6 ip6_output.c sys/netipsec ipsec.c ipsec.h ipsec6.h Log: Rather than passing around a cached 'priv', pass in an ucred to ipsec*_set_policy and do the privilege check only if needed. Try to assimilate both ip*_ctloutput code blocks calling ipsec*_set_policy. Reviewed by: rwatson Revision Changes Path 1.278 +5 -20 src/sys/netinet/ip_output.c 1.114 +9 -26 src/sys/netinet6/ip6_output.c 1.26 +14 -11 src/sys/netipsec/ipsec.c 1.15 +1 -1 src/sys/netipsec/ipsec.h 1.4 +1 -1 src/sys/netipsec/ipsec6.h From ceri at submonkey.net Sat Feb 2 06:53:24 2008 From: ceri at submonkey.net (Ceri Davies) Date: Sat Feb 2 06:53:32 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <200802021227.m12CRcZ9008161@repoman.freebsd.org> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> Message-ID: <20080202145321.GH6064@submonkey.net> On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: > des 2008-02-02 12:27:38 UTC > > FreeBSD src repository > > Modified files: > etc/periodic/security 100.chksetuid > Log: > Rewrite to consume significantly less memory, by using find -s instead of > find | sort. As a bonus, this simplifies the logic considerably. Also > remove the bogus "overruning the args to ls" comment and the corresponding > "-n 20" argument to xargs; the whole point with xargs is precisely that it > knows how large the argument list can safely get. Why use xargs at all? The "-exec ls -liTd {} +" primary would do the same thing. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080202/da3cb20f/attachment.pgp From mav at FreeBSD.org Sat Feb 2 07:48:06 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Feb 2 07:48:07 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c Message-ID: <200802021548.m12Fm530030704@repoman.freebsd.org> mav 2008-02-02 15:48:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph/netflow ng_netflow.c Log: MFC rev. 1.15 Run expire even without export hook connected. Revision Changes Path 1.14.2.1 +4 -8 src/sys/netgraph/netflow/ng_netflow.c From mav at FreeBSD.org Sat Feb 2 07:56:33 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Feb 2 07:56:36 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c Message-ID: <200802021556.m12FuWmp031068@repoman.freebsd.org> mav 2008-02-02 15:56:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph/netflow ng_netflow.c Log: MFC rev. 1.15 Run expire even without export hook connected. Revision Changes Path 1.9.2.5 +4 -8 src/sys/netgraph/netflow/ng_netflow.c From simon at FreeBSD.org Sat Feb 2 08:04:54 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Feb 2 08:04:58 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080202145321.GH6064@submonkey.net> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> Message-ID: <20080202160451.GD11904@zaphod.nitro.dk> On 2008.02.02 14:53:21 +0000, Ceri Davies wrote: > On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: > > des 2008-02-02 12:27:38 UTC > > > > FreeBSD src repository > > > > Modified files: > > etc/periodic/security 100.chksetuid > > Log: > > Rewrite to consume significantly less memory, by using find -s instead of > > find | sort. As a bonus, this simplifies the logic considerably. Also > > remove the bogus "overruning the args to ls" comment and the corresponding > > "-n 20" argument to xargs; the whole point with xargs is precisely that it > > knows how large the argument list can safely get. > > Why use xargs at all? The "-exec ls -liTd {} +" primary would do the > same thing. You would end up executing ls a lot more times with the extra overhead for fork() etc. per file. -- Simon L. Nielsen From imp at FreeBSD.org Sat Feb 2 08:40:40 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Feb 2 08:40:46 2008 Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200802021640.m12Gee7g034970@repoman.freebsd.org> imp 2008-02-02 16:40:40 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: sun4v has a MACHINE_ARCH of sparc64, so it was covered under that clause and shouldn't have been added. Remove it. Revision Changes Path 1.95 +1 -1 src/sys/conf/kern.pre.mk From cognet at FreeBSD.org Sat Feb 2 08:47:16 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Feb 2 08:47:19 2008 Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200802021647.m12GlFr3043424@repoman.freebsd.org> cognet 2008-02-02 16:47:15 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Arm should build fine with -Werror as well. Revision Changes Path 1.96 +1 -1 src/sys/conf/kern.pre.mk From hartmut.brandt at dlr.de Sat Feb 2 09:05:35 2008 From: hartmut.brandt at dlr.de (Hartmut Brandt) Date: Sat Feb 2 09:05:45 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080202160451.GD11904@zaphod.nitro.dk> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> <20080202160451.GD11904@zaphod.nitro.dk> Message-ID: <47A49FBF.2010301@dlr.de> Simon L. Nielsen wrote: > On 2008.02.02 14:53:21 +0000, Ceri Davies wrote: >> On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: >>> des 2008-02-02 12:27:38 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> etc/periodic/security 100.chksetuid >>> Log: >>> Rewrite to consume significantly less memory, by using find -s instead of >>> find | sort. As a bonus, this simplifies the logic considerably. Also >>> remove the bogus "overruning the args to ls" comment and the corresponding >>> "-n 20" argument to xargs; the whole point with xargs is precisely that it >>> knows how large the argument list can safely get. >> Why use xargs at all? The "-exec ls -liTd {} +" primary would do the >> same thing. > > You would end up executing ls a lot more times with the extra overhead > for fork() etc. per file. > I think "-exec ... {} +" collects as much arguments before executing just as xargs does. This is different from "-exec ... {} ;" which execs for each argument. harti From ambrisko at FreeBSD.org Sat Feb 2 09:29:28 2008 From: ambrisko at FreeBSD.org (Doug Ambrisko) Date: Sat Feb 2 09:29:30 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c mfireg.h Message-ID: <200802021729.m12HTSXH048229@repoman.freebsd.org> ambrisko 2008-02-02 17:29:28 UTC FreeBSD src repository Modified files: sys/dev/mfi mfi.c mfireg.h Log: Fix some bugs in dealing with DCMD'd without data. MegaCli was sending down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Reviewed by: scottl, LSI MFC after: 1 day Revision Changes Path 1.35 +92 -58 src/sys/dev/mfi/mfi.c 1.11 +2 -0 src/sys/dev/mfi/mfireg.h From obrien at FreeBSD.org Sat Feb 2 10:26:54 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Sat Feb 2 10:26:57 2008 Subject: cvs commit: src/contrib/file acconfig.h missing stamp-h.in src/contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Message-ID: <200802021826.m12IQsCb052532@repoman.freebsd.org> obrien 2008-02-02 18:26:54 UTC FreeBSD src repository Removed files: (Branch: ZOULAS) contrib/file acconfig.h missing stamp-h.in contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Log: Remove files no longer part of the vendor's file(1). Revision Changes Path 1.1.1.2 +0 -12 src/contrib/file/Magdir/bFLT (dead) 1.1.1.2 +0 -7 src/contrib/file/Magdir/chi (dead) 1.1.1.2 +0 -6 src/contrib/file/Magdir/cvs (dead) 1.1.1.2 +0 -7 src/contrib/file/Magdir/hdf (dead) 1.1.1.2 +0 -18 src/contrib/file/Magdir/impulse (dead) 1.1.1.2 +0 -91 src/contrib/file/Magdir/wordperfect (dead) 1.1.1.8 +0 -60 src/contrib/file/acconfig.h (dead) 1.1.1.2 +0 -0 src/contrib/file/missing (dead) 1.1.1.2 +0 -1 src/contrib/file/stamp-h.in (dead) From obrien at FreeBSD.org Sat Feb 2 10:28:32 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Sat Feb 2 10:28:34 2008 Subject: cvs commit: src/contrib/file acconfig.h missing stamp-h.in src/contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Message-ID: <200802021828.m12ISVkH052625@repoman.freebsd.org> obrien 2008-02-02 18:28:31 UTC FreeBSD src repository Removed files: (Branch: RELENG_7) contrib/file acconfig.h missing stamp-h.in contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Log: MFV: remove files not part of version 4.23. Revision Changes Path 1.1.1.1.18.1 +0 -12 src/contrib/file/Magdir/bFLT (dead) 1.1.1.1.26.1 +0 -7 src/contrib/file/Magdir/chi (dead) 1.1.1.1.26.1 +0 -6 src/contrib/file/Magdir/cvs (dead) 1.1.1.1.24.1 +0 -7 src/contrib/file/Magdir/hdf (dead) 1.1.1.1.26.1 +0 -18 src/contrib/file/Magdir/impulse (dead) 1.1.1.1.26.1 +0 -91 src/contrib/file/Magdir/wordperfect (dead) 1.1.1.7.22.1 +0 -60 src/contrib/file/acconfig.h (dead) 1.1.1.1.26.1 +0 -0 src/contrib/file/missing (dead) 1.1.1.1.26.1 +0 -1 src/contrib/file/stamp-h.in (dead) From ceri at submonkey.net Sat Feb 2 11:33:47 2008 From: ceri at submonkey.net (Ceri Davies) Date: Sat Feb 2 11:33:55 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <47A49FBF.2010301@dlr.de> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> <20080202160451.GD11904@zaphod.nitro.dk> <47A49FBF.2010301@dlr.de> Message-ID: <20080202193344.GI6064@submonkey.net> On Sat, Feb 02, 2008 at 05:52:15PM +0100, Hartmut Brandt wrote: > Simon L. Nielsen wrote: >> On 2008.02.02 14:53:21 +0000, Ceri Davies wrote: >>> On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: >>>> des 2008-02-02 12:27:38 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> etc/periodic/security 100.chksetuid Log: >>>> Rewrite to consume significantly less memory, by using find -s instead of >>>> find | sort. As a bonus, this simplifies the logic considerably. Also >>>> remove the bogus "overruning the args to ls" comment and the corresponding >>>> "-n 20" argument to xargs; the whole point with xargs is precisely that it >>>> knows how large the argument list can safely get. >>> Why use xargs at all? The "-exec ls -liTd {} +" primary would do the >>> same thing. >> >> You would end up executing ls a lot more times with the extra overhead >> for fork() etc. per file. > > I think "-exec ... {} +" collects as much arguments before executing just > as xargs does. This is different from "-exec ... {} ;" which execs for each > argument. Exactly my point, yes. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080202/f9809557/attachment.pgp From simon at FreeBSD.org Sat Feb 2 11:53:50 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Feb 2 11:53:55 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080202193344.GI6064@submonkey.net> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> <20080202160451.GD11904@zaphod.nitro.dk> <47A49FBF.2010301@dlr.de> <20080202193344.GI6064@submonkey.net> Message-ID: <20080202195347.GE11904@zaphod.nitro.dk> On 2008.02.02 19:33:44 +0000, Ceri Davies wrote: > On Sat, Feb 02, 2008 at 05:52:15PM +0100, Hartmut Brandt wrote: > > Simon L. Nielsen wrote: > >> On 2008.02.02 14:53:21 +0000, Ceri Davies wrote: > >>> On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: > >>>> des 2008-02-02 12:27:38 UTC > >>>> > >>>> FreeBSD src repository > >>>> > >>>> Modified files: > >>>> etc/periodic/security 100.chksetuid Log: > >>>> Rewrite to consume significantly less memory, by using find -s instead of > >>>> find | sort. As a bonus, this simplifies the logic considerably. Also > >>>> remove the bogus "overruning the args to ls" comment and the corresponding > >>>> "-n 20" argument to xargs; the whole point with xargs is precisely that it > >>>> knows how large the argument list can safely get. > >>> Why use xargs at all? The "-exec ls -liTd {} +" primary would do the > >>> same thing. > >> > >> You would end up executing ls a lot more times with the extra overhead > >> for fork() etc. per file. > > > > I think "-exec ... {} +" collects as much arguments before executing just > > as xargs does. This is different from "-exec ... {} ;" which execs for each > > argument. > > Exactly my point, yes. I have never sumbled onto the "+" version only ";" so I just read it as ";". You (hopefully) learn something new everyday :-). -- Simon L. Nielsen From imp at FreeBSD.org Sat Feb 2 11:55:28 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Feb 2 11:55:34 2008 Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200802021955.m12JtSou058464@repoman.freebsd.org> imp 2008-02-02 19:55:28 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: pc98 lint builds w/o warnings. Remove the last special case from our compiler upgrade. # if tinderbox breaks, I'll fix it, but it shouldn't... Revision Changes Path 1.97 +0 -2 src/sys/conf/kern.pre.mk From rafan at FreeBSD.org Sat Feb 2 12:11:23 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Sat Feb 2 12:11:25 2008 Subject: cvs commit: src/contrib/file acconfig.h missing stamp-h.in src/contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Message-ID: <200802022011.m12KBNqW060468@repoman.freebsd.org> rafan 2008-02-02 20:11:23 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) contrib/file acconfig.h missing stamp-h.in contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Log: MFV: remove files not part of version 4.23. Revision Changes Path 1.1.1.1.8.1 +0 -12 src/contrib/file/Magdir/bFLT (dead) 1.1.1.1.16.1 +0 -7 src/contrib/file/Magdir/chi (dead) 1.1.1.1.16.1 +0 -6 src/contrib/file/Magdir/cvs (dead) 1.1.1.1.14.1 +0 -7 src/contrib/file/Magdir/hdf (dead) 1.1.1.1.16.1 +0 -18 src/contrib/file/Magdir/impulse (dead) 1.1.1.1.16.1 +0 -91 src/contrib/file/Magdir/wordperfect (dead) 1.1.1.7.12.1 +0 -60 src/contrib/file/acconfig.h (dead) 1.1.1.1.16.1 +0 -0 src/contrib/file/missing (dead) 1.1.1.1.16.1 +0 -1 src/contrib/file/stamp-h.in (dead) From rwatson at FreeBSD.org Sat Feb 2 12:35:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 2 12:35:07 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200802022035.m12KZ6bZ062138@repoman.freebsd.org> rwatson 2008-02-02 20:35:05 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: Add comment that bpfread() has multi-threading issues. Fix minor white space nit. Revision Changes Path 1.186 +4 -1 src/sys/net/bpf.c From glebius at FreeBSD.org Sat Feb 2 12:50:31 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Sat Feb 2 12:50:34 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: <200801271501.m0RF1Hki089075@repoman.freebsd.org> References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> Message-ID: <20080202201153.GL14339@FreeBSD.org> Alexander, you should have asked me for review before committing! This is not a bug, this is a feature. This was quite clear from the comments, that you removed: - /* if export hook disconnected stop running expire(). */ This is intended behavior. We must not lose information unless user explicitly wants to lose information. In the latter case he will connect ng_hole(4) node to the "export" hook. But we must not lose information if user runs some script that swaps receiving node on the "export" hook. Please backout this change! I'm sorry that have seen it only after it hit RELENG_6 and RELENG_7 :( But that's your fault that you haven't asked me for review. P.S. I'm closing the PR. On Sun, Jan 27, 2008 at 03:01:16PM +0000, Alexander Motin wrote: A> mav 2008-01-27 15:01:16 UTC A> A> FreeBSD src repository A> A> Modified files: A> sys/netgraph/netflow ng_netflow.c A> Log: A> Run expire even without export hook connected. A> A> PR: kern/119839 A> A> Revision Changes Path A> 1.15 +4 -8 src/sys/netgraph/netflow/ng_netflow.c A> _______________________________________________ A> cvs-all@freebsd.org mailing list A> http://lists.freebsd.org/mailman/listinfo/cvs-all A> To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From mav at FreeBSD.org Sat Feb 2 13:31:18 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Feb 2 13:31:23 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: <20080202201153.GL14339@FreeBSD.org> References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> <20080202201153.GL14339@FreeBSD.org> Message-ID: <47A4E122.8080901@FreeBSD.org> Gleb Smirnoff ?????: > you should have asked me for review before committing! This is > not a bug, this is a feature. This was quite clear from the comments, > that you removed: > > - /* if export hook disconnected stop running expire(). */ > > This is intended behavior. We must not lose information unless > user explicitly wants to lose information. In the latter case > he will connect ng_hole(4) node to the "export" hook. But we must > not lose information if user runs some script that swaps receiving > node on the "export" hook. > > Please backout this change! Expire process was not depending completely on connected hook even before this commit. For example, every TCP session closing forces some data export. So even with export hook disconnected some data still will be lost and not just lost, but it was leading to memory leak which I have fixed with other commit. So if you insist that it was a feature then sorry. Then it should be documented and fixed to work correctly. But as soon as nobody notice that memory leak, probably nobody uses this feature actively. -- Alexander Motin From das at FreeBSD.org Sat Feb 2 14:40:18 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 2 14:40:20 2008 Subject: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/amd64/include specialreg.h Message-ID: <200802022240.m12MeH1X082785@repoman.freebsd.org> das 2008-02-02 22:40:17 UTC FreeBSD src repository Modified files: sys/amd64/amd64 identcpu.c sys/amd64/include specialreg.h Log: SSE4 CPUID bits Revision Changes Path 1.156 +3 -3 src/sys/amd64/amd64/identcpu.c 1.42 +3 -0 src/sys/amd64/include/specialreg.h From das at FreeBSD.org Sat Feb 2 15:17:28 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 2 15:17:32 2008 Subject: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/amd64/include specialreg.h Message-ID: <200802022317.m12NHRSh086387@repoman.freebsd.org> das 2008-02-02 23:17:27 UTC FreeBSD src repository Modified files: sys/amd64/amd64 identcpu.c sys/amd64/include specialreg.h Log: Add a few more CPUID feature bits while here. We don't support these features yet. Revision Changes Path 1.157 +2 -2 src/sys/amd64/amd64/identcpu.c 1.43 +2 -0 src/sys/amd64/include/specialreg.h From des at des.no Sat Feb 2 16:08:12 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat Feb 2 16:08:19 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080202145321.GH6064@submonkey.net> (Ceri Davies's message of "Sat\, 2 Feb 2008 14\:53\:21 +0000") References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> Message-ID: <867ihmoqak.fsf@ds4.des.no> Ceri Davies writes: > Why use xargs at all? The "-exec ls -liTd {} +" primary would do the > same thing. I didn't know about the + variant... DES -- Dag-Erling Sm?rgrav - des@des.no From des at FreeBSD.org Sat Feb 2 16:33:05 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Feb 2 16:33:07 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802030033.m130X5kr091464@repoman.freebsd.org> des 2008-02-03 00:33:05 UTC FreeBSD src repository Modified files: etc/periodic/security 100.chksetuid Log: Eliminate xargs in favor of find -exec {} + Revision Changes Path 1.11 +1 -2 src/etc/periodic/security/100.chksetuid From yongari at FreeBSD.org Sat Feb 2 20:12:07 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 20:12:09 2008 Subject: cvs commit: src/sys/dev/dc dcphy.c src/sys/dev/mii amphy.c nsphy.c rlphy.c tdkphy.c ukphy_subr.c src/sys/dev/txp if_txp.c Message-ID: <200802030412.m134C6I6016677@repoman.freebsd.org> yongari 2008-02-03 04:12:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/dc dcphy.c sys/dev/mii amphy.c nsphy.c rlphy.c tdkphy.c ukphy_subr.c sys/dev/txp if_txp.c Log: MFC fix for IEEE 802.3 compliance of auto-negotiation process. IEEE 802.3 Annex 28B.3 explicitly specifies the following relative priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers didn't honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix that long standing bugs such that have PHY drivers choose the highest common denominator ability. Fix a bug in dcphy which inadvertently aceepts 100BASE-T4. PR: 92599 Revision Changes Path 1.32.2.1 +4 -4 src/sys/dev/dc/dcphy.c 1.22.2.1 +3 -3 src/sys/dev/mii/amphy.c 1.28.2.1 +3 -3 src/sys/dev/mii/nsphy.c 1.31.2.1 +3 -3 src/sys/dev/mii/rlphy.c 1.22.2.1 +3 -3 src/sys/dev/mii/tdkphy.c 1.9.2.1 +2 -2 src/sys/dev/mii/ukphy_subr.c 1.46.2.1 +3 -3 src/sys/dev/txp/if_txp.c From yongari at FreeBSD.org Sat Feb 2 20:16:29 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 20:16:34 2008 Subject: cvs commit: src/sys/dev/txp if_txp.c Message-ID: <200802030416.m134GQxh017697@repoman.freebsd.org> yongari 2008-02-03 04:16:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/txp if_txp.c Log: MFC if_txp.c, rev 1.48 to RELENG_7. Read MII_ANAR register and get common denominator ability. PR: 92599 Revision Changes Path 1.46.2.2 +6 -1 src/sys/dev/txp/if_txp.c From alfred at freebsd.org Sat Feb 2 20:43:29 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Sat Feb 2 20:43:37 2008 Subject: cvs commit: src/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... In-Reply-To: <200802011936.m11JaR2n084955@repoman.freebsd.org> References: <200802011936.m11JaR2n084955@repoman.freebsd.org> Message-ID: <20080203044329.GA99258@elvis.mu.org> * Poul-Henning Kamp [080201 11:36] wrote: > phk 2008-02-01 19:36:27 UTC > > FreeBSD src repository > > Modified files: > sys/pci if_wb.c > sys/sys mbuf.h param.h > Log: > Give MEXTADD() another argument to make both void pointers to the > free function controlable, instead of passing the KVA of the buffer > storage as the first argument. > > Fix all conventional users of the API to pass the KVA of the buffer > as the first argument, to make this a no-op commit. > > Likely break the only non-convetional user of the API, after informing > the relevant committer. Informing all committers is better, this prevents people from upgrading a box and getting a dead system due to your incompatible change. Please explain exactly what has been broken. -Alfred From yongari at FreeBSD.org Sat Feb 2 21:13:41 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 21:13:45 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200802030513.m135De4H030630@repoman.freebsd.org> yongari 2008-02-03 05:13:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/re if_re.c sys/pci if_rlreg.h Log: MFC if_re.c rev 1.99, if_rlreg.h rev 1.69 to RELENG_6. Add another RTL8168 revision 3 which is found on RTL8111-GR Gigabit Ethernet Controller. Revision Changes Path 1.46.2.37 +13 -3 src/sys/dev/re/if_re.c 1.51.2.13 +1 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Sat Feb 2 21:18:15 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 21:18:18 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200802030518.m135IE89030992@repoman.freebsd.org> yongari 2008-02-03 05:18:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: MFC if_re.c, rev 1.100 to RELENG_7 By definition promiscuous mode should see all unicast frames as well as multicast/broadcast frames. Previously re(4) ignored multicast frames in promiscuous mode. The RTL8169 datasheet was not clear how it handles multicast frames in promiscuous mode. PR: kern/118572 Revision Changes Path 1.95.2.4 +6 -2 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Sat Feb 2 21:20:27 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 21:20:28 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200802030520.m135KQil031137@repoman.freebsd.org> yongari 2008-02-03 05:20:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/re if_re.c Log: MFC if_re.c, rev 1.100 to RELENG_6 By definition promiscuous mode should see all unicast frames as well as multicast/broadcast frames. Previously re(4) ignored multicast frames in promiscuous mode. The RTL8169 datasheet was not clear how it handles multicast frames in promiscuous mode. PR: kern/118572 Revision Changes Path 1.46.2.38 +6 -2 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Sat Feb 2 21:32:56 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 21:32:58 2008 Subject: cvs commit: src/sys/dev/mii e1000phy.c Message-ID: <200802030532.m135WtKB031620@repoman.freebsd.org> yongari 2008-02-03 05:32:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii e1000phy.c Log: MFC e1000phy.c, rev 1.20 to RELENG_7 Reset autonegotation timer if media option is not IFM_AUTO. Make mii_ticks advance, autonegiation is retried every mii_anegticks seconds. Revision Changes Path 1.18.2.2 +5 -1 src/sys/dev/mii/e1000phy.c From yongari at FreeBSD.org Sat Feb 2 21:35:46 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 21:35:48 2008 Subject: cvs commit: src/sys/dev/mii e1000phy.c Message-ID: <200802030535.m135Zk92031919@repoman.freebsd.org> yongari 2008-02-03 05:35:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii e1000phy.c Log: MFC e1000phy.c, rev 1.20 to RELENG_6 Reset autonegotation timer if media option is not IFM_AUTO. Make mii_ticks advance, autonegiation is retried every mii_anegticks seconds. Revision Changes Path 1.14.2.4 +5 -1 src/sys/dev/mii/e1000phy.c From jkoshy at FreeBSD.org Sat Feb 2 22:04:39 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Feb 2 22:04:41 2008 Subject: cvs commit: src/lib/libpmc pmc.3 Message-ID: <200802030604.m1364djG034789@repoman.freebsd.org> jkoshy 2008-02-03 06:04:38 UTC FreeBSD src repository Modified files: lib/libpmc pmc.3 Log: Correct a typo. Revision Changes Path 1.16 +1 -1 src/lib/libpmc/pmc.3 From scottl at FreeBSD.org Sat Feb 2 23:07:31 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Feb 2 23:07:34 2008 Subject: cvs commit: src/sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h list.h os_bsd.c os_bsd.h osm.h osm_bsd.c rr232x_config.c rr232x_config.h src/sys/modules/rr232x ... Message-ID: <200802030707.m1377UOU039514@repoman.freebsd.org> scottl 2008-02-03 07:07:30 UTC FreeBSD src repository Modified files: sys/conf files.amd64 files.i386 sys/i386/conf GENERIC NOTES sys/amd64/conf GENERIC NOTES Removed files: sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h list.h os_bsd.c os_bsd.h osm.h osm_bsd.c rr232x_config.c rr232x_config.h sys/modules/rr232x Makefile Log: Remove the rr232x driver. It has been superceded by the hptrr driver. Revision Changes Path 1.492 +0 -1 src/sys/amd64/conf/GENERIC 1.75 +0 -5 src/sys/amd64/conf/NOTES 1.118 +0 -8 src/sys/conf/files.amd64 1.592 +0 -8 src/sys/conf/files.i386 1.2 +0 -30 src/sys/dev/rr232x/LICENSE (dead) 1.2 +0 -202 src/sys/dev/rr232x/README (dead) 1.2 +0 -4567 src/sys/dev/rr232x/amd64-elf.rr232x_lib.o.uu (dead) 1.2 +0 -179 src/sys/dev/rr232x/array.h (dead) 1.2 +0 -440 src/sys/dev/rr232x/him.h (dead) 1.2 +0 -100 src/sys/dev/rr232x/himfuncs.h (dead) 1.2 +0 -1647 src/sys/dev/rr232x/hptintf.h (dead) 1.2 +0 -3068 src/sys/dev/rr232x/i386-elf.rr232x_lib.o.uu (dead) 1.2 +0 -484 src/sys/dev/rr232x/ldm.h (dead) 1.2 +0 -121 src/sys/dev/rr232x/list.h (dead) 1.2 +0 -297 src/sys/dev/rr232x/os_bsd.c (dead) 1.4 +0 -258 src/sys/dev/rr232x/os_bsd.h (dead) 1.2 +0 -199 src/sys/dev/rr232x/osm.h (dead) 1.7 +0 -1355 src/sys/dev/rr232x/osm_bsd.c (dead) 1.2 +0 -31 src/sys/dev/rr232x/rr232x_config.c (dead) 1.2 +0 -107 src/sys/dev/rr232x/rr232x_config.h (dead) 1.481 +0 -1 src/sys/i386/conf/GENERIC 1.1250 +0 -5 src/sys/i386/conf/NOTES 1.4 +0 -14 src/sys/modules/rr232x/Makefile (dead) From yongari at FreeBSD.org Sat Feb 2 23:26:11 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:26:13 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030726.m137QBfe041890@repoman.freebsd.org> yongari 2008-02-03 07:26:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.19, if_mskreg.h rev. 1.7 to RELENG_7 Various fixes for EC Ultra. o Enable jumbo frame support for EC Ultra and disable jumbo frame for FE. o Enable store and forward mode for standard MTU sized frame. o Enable TSO for EC Ultra. However TSO/checksum offload is disabled for jumbo frame case. Because EC Ultra can't use store and forward mode for jumbo frame TSO/checksum offload is not available. o Adjust Tx GMAC almost empty threshold value and add a jumbo frame water mark. The maic value was obtained from Marvell's sk98lin driver. o Fix EC Ultra chip revision number. Revision Changes Path 1.18.2.2 +31 -16 src/sys/dev/msk/if_msk.c 1.6.2.2 +6 -3 src/sys/dev/msk/if_mskreg.h From scottl at FreeBSD.org Sat Feb 2 23:28:39 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Feb 2 23:28:43 2008 Subject: cvs commit: src/sys/i386/conf GENERIC NOTES src/sys/amd64/conf GENERIC NOTES src/sys/conf files.amd64 files.i386 src/sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h ... Message-ID: <200802030728.m137SdOY042122@repoman.freebsd.org> scottl 2008-02-03 07:28:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/conf GENERIC NOTES sys/amd64/conf GENERIC NOTES sys/conf files.amd64 files.i386 Removed files: (Branch: RELENG_7) sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h list.h os_bsd.c os_bsd.h osm.h osm_bsd.c rr232x_config.c rr232x_config.h sys/modules/rr232x Makefile Log: Remove the rr232x driver. It has been superseced by the hptrr driver. Revision Changes Path 1.484.2.3 +0 -1 src/sys/amd64/conf/GENERIC 1.69.2.4 +0 -5 src/sys/amd64/conf/NOTES 1.107.2.5 +0 -7 src/sys/conf/files.amd64 1.580.2.5 +0 -8 src/sys/conf/files.i386 1.1.6.1 +0 -30 src/sys/dev/rr232x/LICENSE (dead) 1.1.6.1 +0 -202 src/sys/dev/rr232x/README (dead) 1.1.6.1 +0 -4567 src/sys/dev/rr232x/amd64-elf.rr232x_lib.o.uu (dead) 1.1.6.1 +0 -179 src/sys/dev/rr232x/array.h (dead) 1.1.6.1 +0 -440 src/sys/dev/rr232x/him.h (dead) 1.1.6.1 +0 -100 src/sys/dev/rr232x/himfuncs.h (dead) 1.1.6.1 +0 -1647 src/sys/dev/rr232x/hptintf.h (dead) 1.1.6.1 +0 -3068 src/sys/dev/rr232x/i386-elf.rr232x_lib.o.uu (dead) 1.1.6.1 +0 -484 src/sys/dev/rr232x/ldm.h (dead) 1.1.6.1 +0 -121 src/sys/dev/rr232x/list.h (dead) 1.1.6.1 +0 -297 src/sys/dev/rr232x/os_bsd.c (dead) 1.3.2.1 +0 -258 src/sys/dev/rr232x/os_bsd.h (dead) 1.1.6.1 +0 -199 src/sys/dev/rr232x/osm.h (dead) 1.6.2.1 +0 -1355 src/sys/dev/rr232x/osm_bsd.c (dead) 1.1.6.1 +0 -31 src/sys/dev/rr232x/rr232x_config.c (dead) 1.1.6.1 +0 -107 src/sys/dev/rr232x/rr232x_config.h (dead) 1.474.2.3 +0 -1 src/sys/i386/conf/GENERIC 1.1244.2.4 +0 -5 src/sys/i386/conf/NOTES 1.3.2.1 +0 -14 src/sys/modules/rr232x/Makefile (dead) From yongari at FreeBSD.org Sat Feb 2 23:30:35 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:30:38 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030730.m137UZ5h042273@repoman.freebsd.org> yongari 2008-02-03 07:30:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.19, if_mskreg.h rev. 1.7 to RELENG_6 Various fixes for EC Ultra. o Enable jumbo frame support for EC Ultra and disable jumbo frame for FE. o Enable store and forward mode for standard MTU sized frame. o Enable TSO for EC Ultra. However TSO/checksum offload is disabled for jumbo frame case. Because EC Ultra can't use store and forward mode for jumbo frame TSO/checksum offload is not available. o Adjust Tx GMAC almost empty threshold value and add a jumbo frame water mark. The maic value was obtained from Marvell's sk98lin driver. o Fix EC Ultra chip revision number. Revision Changes Path 1.11.2.10 +31 -16 src/sys/dev/msk/if_msk.c 1.3.2.6 +6 -3 src/sys/dev/msk/if_mskreg.h From scottl at FreeBSD.org Sat Feb 2 23:30:58 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Feb 2 23:31:01 2008 Subject: cvs commit: src/share/man/man4 Makefile rr232x.4 Message-ID: <200802030730.m137UwXL042331@repoman.freebsd.org> scottl 2008-02-03 07:30:58 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Removed files: share/man/man4 rr232x.4 Log: Remove the rr232x manual page. Revision Changes Path 1.405 +0 -2 src/share/man/man4/Makefile 1.4 +0 -96 src/share/man/man4/rr232x.4 (dead) From scottl at FreeBSD.org Sat Feb 2 23:31:50 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Feb 2 23:31:52 2008 Subject: cvs commit: src/share/man/man4 Makefile rr232x.4 Message-ID: <200802030731.m137VnYF042379@repoman.freebsd.org> scottl 2008-02-03 07:31:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile Removed files: (Branch: RELENG_7) share/man/man4 rr232x.4 Log: Remove the rr232x manual page. Revision Changes Path 1.393.2.5 +0 -2 src/share/man/man4/Makefile 1.3.2.1 +0 -96 src/share/man/man4/rr232x.4 (dead) From yongari at FreeBSD.org Sat Feb 2 23:35:05 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:35:08 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030735.m137Z5Cu042578@repoman.freebsd.org> yongari 2008-02-03 07:35:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.20, if_mskreg.h rev. 1.8 to RELENG_7 Drop maintaing hardware feature(bug) lists for Yukon II. We don't have publicly available datasheet for Yukon II and don't know what bug/workaround exist for the specific hardware revision. Also I don't think the vendor will release hardware errata in near future. The hardware feature lists were not used at all except setting water mark registers. Since msk(4) should know exact chip model/revision number to decide which hardware capability could be used the extra feature lists were redundant. Revision Changes Path 1.18.2.3 +8 -58 src/sys/dev/msk/if_msk.c 1.6.2.3 +0 -30 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sat Feb 2 23:37:17 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:37:20 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030737.m137bHTC042706@repoman.freebsd.org> yongari 2008-02-03 07:37:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.20, if_mskreg.h rev. 1.8 to RELENG_6. Drop maintaing hardware feature(bug) lists for Yukon II. We don't have publicly available datasheet for Yukon II and don't know what bug/workaround exist for the specific hardware revision. Also I don't think the vendor will release hardware errata in near future. The hardware feature lists were not used at all except setting water mark registers. Since msk(4) should know exact chip model/revision number to decide which hardware capability could be used the extra feature lists were redundant. Revision Changes Path 1.11.2.11 +8 -58 src/sys/dev/msk/if_msk.c 1.3.2.7 +0 -30 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sat Feb 2 23:39:34 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:39:36 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c Message-ID: <200802030739.m137dXRr042842@repoman.freebsd.org> yongari 2008-02-03 07:39:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c Log: MFC if_msk.c rev 1.21 to RELENG_7. o Don't hardcode that Yukon FE has 16KB SRAM. In fact, Yukon FE has only 4KB SRAM. o Rework setting Tx/Rx RAM buffer size. Give receiver 2/3 of memory and round it down to the multiple of 1024. The RAM buffer size of Yukon II should be multiple of 1024. This fixes bogus RAM buffer configuration used in Yukon FE. Revision Changes Path 1.18.2.4 +12 -38 src/sys/dev/msk/if_msk.c From yongari at FreeBSD.org Sat Feb 2 23:41:01 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:41:04 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c Message-ID: <200802030741.m137f0cZ043019@repoman.freebsd.org> yongari 2008-02-03 07:41:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c Log: MFC if_msk.c rev 1.21 to RELENG_6. o Don't hardcode that Yukon FE has 16KB SRAM. In fact, Yukon FE has only 4KB SRAM. o Rework setting Tx/Rx RAM buffer size. Give receiver 2/3 of memory and round it down to the multiple of 1024. The RAM buffer size of Yukon II should be multiple of 1024. This fixes bogus RAM buffer configuration used in Yukon FE. Revision Changes Path 1.11.2.12 +12 -38 src/sys/dev/msk/if_msk.c From yongari at FreeBSD.org Sat Feb 2 23:48:14 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:48:16 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030748.m137mEoc043365@repoman.freebsd.org> yongari 2008-02-03 07:48:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.22, if_mskreg.h 1.9 to RELENG_7. Make phy respond only at address 0. This makes phy driver attached only at address 0 which is supposed to be the only valid phy address on Marvell PHY. The more correct solution would be masking PHY address ranges allowable in PHY probe routine. Unfortunately, FreeBSD has no way to retrict the PHY address ranges or to pass special flags to PHY driver. This change assumes that PHY hardwares attached to msk(4) would be Marvell made 88E11xx PHY. With this changes the phantom phys attached on 88E8036(Yukon FE) should disappear. Revision Changes Path 1.18.2.5 +16 -21 src/sys/dev/msk/if_msk.c 1.6.2.4 +0 -1 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sat Feb 2 23:50:20 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:50:23 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030750.m137oJMx043516@repoman.freebsd.org> yongari 2008-02-03 07:50:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.22, if_mskreg.h 1.9 to RELENG_6. Make phy respond only at address 0. This makes phy driver attached only at address 0 which is supposed to be the only valid phy address on Marvell PHY. The more correct solution would be masking PHY address ranges allowable in PHY probe routine. Unfortunately, FreeBSD has no way to retrict the PHY address ranges or to pass special flags to PHY driver. This change assumes that PHY hardwares attached to msk(4) would be Marvell made 88E11xx PHY. With this changes the phantom phys attached on 88E8036(Yukon FE) should disappear. Revision Changes Path 1.11.2.13 +16 -21 src/sys/dev/msk/if_msk.c 1.3.2.8 +0 -1 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sat Feb 2 23:57:05 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Feb 2 23:57:07 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030757.m137v4IP043785@repoman.freebsd.org> yongari 2008-02-03 07:57:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.23, if_mskreg.h 1.10 to RELENG_7. Add device id for 88E8058(Yukon EC Ultra) which is found on 3rd generation MacBooks. Unfortunately 88E8058 supports one MSI message so msk(4) needs more generic way to handle the MSI capability. PR: 118110 Revision Changes Path 1.18.2.6 +2 -0 src/sys/dev/msk/if_msk.c 1.6.2.5 +1 -0 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sun Feb 3 00:00:17 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sun Feb 3 00:00:19 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802030800.m1380G65043975@repoman.freebsd.org> yongari 2008-02-03 08:00:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c if_mskreg.h Log: MFC if_msk.c rev 1.23, if_mskreg.h 1.10 to RELENG_6. Add device id for 88E8058(Yukon EC Ultra) which is found on 3rd generation MacBooks. Unfortunately 88E8058 supports one MSI message so msk(4) needs more generic way to handle the MSI capability. PR: 118110 Revision Changes Path 1.11.2.14 +2 -0 src/sys/dev/msk/if_msk.c 1.3.2.9 +1 -0 src/sys/dev/msk/if_mskreg.h From yongari at FreeBSD.org Sun Feb 3 00:06:28 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sun Feb 3 00:06:32 2008 Subject: cvs commit: src/share/man/man4 msk.4 Message-ID: <200802030806.m1386SVH045400@repoman.freebsd.org> yongari 2008-02-03 08:06:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 msk.4 Log: MFC msk.4 rev 1.5 to RELENG_7. Add 88E8058 to the list of supported hardware. Revision Changes Path 1.4.2.2 +2 -0 src/share/man/man4/msk.4 From yongari at FreeBSD.org Sun Feb 3 00:07:54 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sun Feb 3 00:07:58 2008 Subject: cvs commit: src/share/man/man4 msk.4 Message-ID: <200802030807.m1387s7N045507@repoman.freebsd.org> yongari 2008-02-03 08:07:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 msk.4 Log: MFC msk.4 rev 1.5 to RELENG_6. Add 88E8058 to the list of supported hardware. Revision Changes Path 1.3.2.4 +2 -0 src/share/man/man4/msk.4 From yongari at FreeBSD.org Sun Feb 3 00:12:59 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sun Feb 3 00:13:01 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c Message-ID: <200802030812.m138Cwjt045755@repoman.freebsd.org> yongari 2008-02-03 08:12:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/msk if_msk.c Log: MFC if_msk.c rev 1.24 to RELENG_7. Add MSI support for 88E8058(Yukon EC Ultra). Unlike other Yukon II family 88E8058 supports only one MSI message. Teach msk(4) to handle that case. Revision Changes Path 1.18.2.7 +27 -8 src/sys/dev/msk/if_msk.c From yongari at FreeBSD.org Sun Feb 3 00:42:04 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sun Feb 3 00:42:07 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c Message-ID: <200802030842.m138g2tT048009@repoman.freebsd.org> yongari 2008-02-03 08:42:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c Log: MFC if_msk.c rev 1.24 to RELENG_6. Add MSI support for 88E8058(Yukon EC Ultra). Unlike other Yukon II family 88E8058 supports only one MSI message. Teach msk(4) to handle that case. Since RELENG_6 lacks resource_spec, direct MFC is not possible. To support MSI on 88E8058, the meaning of msk_msi was slightly modified to record number of allocated MSI messages. Revision Changes Path 1.11.2.15 +21 -9 src/sys/dev/msk/if_msk.c From brueffer at FreeBSD.org Sun Feb 3 01:43:09 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 01:43:12 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml src/release/doc/share/misc dev.archlist.txt Message-ID: <200802030943.m139h959061203@repoman.freebsd.org> brueffer 2008-02-03 09:43:08 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml release/doc/share/misc dev.archlist.txt Log: The rr232x driver has been removed, kill it here as well. Revision Changes Path 1.329 +0 -2 src/release/doc/en_US.ISO8859-1/hardware/article.sgml 1.103 +0 -1 src/release/doc/share/misc/dev.archlist.txt From brueffer at FreeBSD.org Sun Feb 3 02:05:01 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 02:05:03 2008 Subject: cvs commit: src/sys/modules Makefile Message-ID: <200802031005.m13A51GI063413@repoman.freebsd.org> brueffer 2008-02-03 10:05:01 UTC FreeBSD src repository Modified files: sys/modules Makefile Log: Don't build the rr232x module, it has been removed. Approved by: rwatson (mentor) Revision Changes Path 1.553 +0 -3 src/sys/modules/Makefile From mav at FreeBSD.org Sun Feb 3 02:26:16 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 3 02:26:19 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c Message-ID: <200802031026.m13AQFol065370@repoman.freebsd.org> mav 2008-02-03 10:26:15 UTC FreeBSD src repository Modified files: sys/netgraph/netflow ng_netflow.c Log: Revert previous commit. glebius@ noticed that it was not a bug, but undocumented feature. Revision Changes Path 1.16 +8 -4 src/sys/netgraph/netflow/ng_netflow.c From mav at FreeBSD.org Sun Feb 3 02:29:52 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 3 02:29:53 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c Message-ID: <200802031029.m13ATpoY065495@repoman.freebsd.org> mav 2008-02-03 10:29:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph/netflow ng_netflow.c Log: Revert previous commit. glebius@ noticed that it was not a bug, but undocumented feature. Revision Changes Path 1.14.2.2 +8 -4 src/sys/netgraph/netflow/ng_netflow.c From mav at FreeBSD.org Sun Feb 3 02:30:46 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 3 02:30:47 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c Message-ID: <200802031030.m13AUjvN065652@repoman.freebsd.org> mav 2008-02-03 10:30:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph/netflow ng_netflow.c Log: Revert previous commit. glebius@ noticed that it was not a bug, but undocumented feature. Revision Changes Path 1.9.2.6 +8 -4 src/sys/netgraph/netflow/ng_netflow.c From matteo at FreeBSD.org Sun Feb 3 02:45:36 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Sun Feb 3 02:45:44 2008 Subject: cvs commit: src/usr.sbin/mountd mountd.8 mountd.c Message-ID: <200802031045.m13AjaWM066311@repoman.freebsd.org> matteo 2008-02-03 10:45:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/mountd mountd.8 mountd.c Log: MFC rev 1.95,1.96 mountd.c MFC rev 1.30 mountd.8 Revision Changes Path 1.30.2.1 +19 -1 src/usr.sbin/mountd/mountd.8 1.94.2.1 +321 -159 src/usr.sbin/mountd/mountd.c From des at FreeBSD.org Sun Feb 3 03:33:28 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sun Feb 3 03:33:31 2008 Subject: cvs commit: src/usr.bin/kdump mkioctls mksubr Message-ID: <200802031133.m13BXR3w070279@repoman.freebsd.org> des 2008-02-03 11:33:27 UTC FreeBSD src repository Modified files: usr.bin/kdump mkioctls mksubr Log: These are files are shell scripts; give smart editors a chance to figure it out by adding the usual shebang. MFC after: 2 weeks Revision Changes Path 1.40 +6 -4 src/usr.bin/kdump/mkioctls 1.10 +6 -4 src/usr.bin/kdump/mksubr From des at FreeBSD.org Sun Feb 3 03:34:56 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sun Feb 3 03:34:59 2008 Subject: cvs commit: src/share/mk bsd.dep.mk src/usr.bin/kdump Makefile src/usr.bin/truss Makefile Message-ID: <200802031134.m13BYuTl070367@repoman.freebsd.org> des 2008-02-03 11:34:56 UTC FreeBSD src repository Modified files: share/mk bsd.dep.mk usr.bin/kdump Makefile usr.bin/truss Makefile Log: Normally, when a header file is removed from the build (as i4b headers were recently), a simple 'make cleandepend; make depend' is sufficient to keep the tree buildable after a cvs update when doing incremental builds. However, kdump and truss use a script which searches for header files that define ioctls, and generates C code that includes them. This script will usually not need updating when a header file is removed, so the normal dependency mechanism will not realize that it needs to be re-run. One is therefore left with code that references dead files but will only be removed by a full 'make clean', which defeats the purpose of incremental builds. To work around this, modify the cleandepend target in bsd.dep.mk to also remove any files listed in a new variable named CLEANDEPFILES, and modify kdump's and truss's Makefiles accordingly. MFC after: 2 weeks Revision Changes Path 1.49 +5 -0 src/share/mk/bsd.dep.mk 1.13 +2 -1 src/usr.bin/kdump/Makefile 1.23 +3 -2 src/usr.bin/truss/Makefile From sephe at FreeBSD.org Sun Feb 3 03:47:38 2008 From: sephe at FreeBSD.org (Sepherosa Ziehau) Date: Sun Feb 3 03:47:42 2008 Subject: cvs commit: src/sys/dev/ral rt2560.c rt2560reg.h rt2560var.h Message-ID: <200802031147.m13Blcm0070820@repoman.freebsd.org> sephe 2008-02-03 11:47:38 UTC FreeBSD src repository Modified files: sys/dev/ral rt2560.c rt2560reg.h rt2560var.h Log: Various bug fixes for 2560 parts of ral(4): - Rename rt2560_read_eeprom to rt2560_read_config, we already have rt2560_eeprom_read - If hardware gives us wrong encryption done index, shout out loudly and terminate the processing loop - Process encryption done if RX done bit is set in interrupt status register (according to Ralink Linux driver) - Turn VALID/BUSY bits in TX descriptor only after TX descriptor is fully setup - Fix BBP read: RT2560_BBPCSR can't be written until its RT2560_BBP_BUSY bit is off (according to Ralink Linux driver) - Skip invalid (0 of 0xffff) BBP register/value entries stored in EEPROM - Fix channel TX power location in EEPROM, if channel TX power is above 31 set it to 24 (TX power only has 5bits in RF register, "24" is according to Ralink Linux driver) - Configure BBP according to the BBP register/value stored in EEPROM, restore BBP17 (RX sensitivity tuning) to default value after this. - Set TX/RX antenna after BBP is initialized; these two operation will try to set BBP registers - Reconfigure ACK TX time registers according to 802.11g standard (TX @36Mb, other side's ACK should be sent @24Mb). - 2560 parts have two TX ring: one for management/control packets, one for data packets. Add private OACTIVE flag for each of them. Turn on IFF_DRV_OACTIVE if one of private OACTIVE is on; turn off IFF_DRV_OACTIVE iff all of them are off. - Rework watchdog to mimic old if_watchdog action. Process TX done/encryption done in watchdog function (according to Ralink Linux driver) Obtained from: DragonFly Approved by: sam (mentor) Tested by: sam Related to PR: kern/117655 # Forcing long slot time setting is not included in this commit, comment and # related code is in place, so if problem pops up, quick tests could be done. Revision Changes Path 1.19 +109 -33 src/sys/dev/ral/rt2560.c 1.3 +2 -2 src/sys/dev/ral/rt2560reg.h 1.4 +4 -2 src/sys/dev/ral/rt2560var.h From sephe at FreeBSD.org Sun Feb 3 04:00:03 2008 From: sephe at FreeBSD.org (Sepherosa Ziehau) Date: Sun Feb 3 04:00:07 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200802031200.m13C03S7071283@repoman.freebsd.org> sephe 2008-02-03 12:00:03 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_input.c Log: - Correctly handle ALTQ in ieee80211_deliver_data() - Add comment from sam that ALTQ probably does not work well with WME PR: kern/119548 Approved by: sam (mentor) Revision Changes Path 1.115 +6 -2 src/sys/net80211/ieee80211_input.c From brueffer at FreeBSD.org Sun Feb 3 04:13:06 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 04:13:09 2008 Subject: cvs commit: src/sys/modules Makefile Message-ID: <200802031213.m13CD4GL073105@repoman.freebsd.org> brueffer 2008-02-03 12:13:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules Makefile Log: MFC: rev. 1.553 Don't build the rr232x module, it has been removed. Approved by: rwatson (mentor) Revision Changes Path 1.540.2.6 +0 -3 src/sys/modules/Makefile From dot at dotat.at Sun Feb 3 04:55:35 2008 From: dot at dotat.at (Tony Finch) Date: Sun Feb 3 04:55:44 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080202145321.GH6064@submonkey.net> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org> <20080202145321.GH6064@submonkey.net> Message-ID: On Sat, 2 Feb 2008, Ceri Davies wrote: > > Why use xargs at all? The "-exec ls -liTd {} +" primary would do the > same thing. find -ls would be even more efficient, except it doesn't have quite the same time format. Tony. -- f.a.n.finch http://dotat.at/ FAIR ISLE: SOUTH OR SOUTHEAST 6 TO GALE 8, PERHAPS SEVERE GALE 9 LATER. VERY ROUGH OR HIGH. OCCASIONAL RAIN. MODERATE OR POOR. From scottl at samsco.org Sun Feb 3 06:02:01 2008 From: scottl at samsco.org (Scott Long) Date: Sun Feb 3 06:02:06 2008 Subject: cvs commit: src/sys/modules Makefile In-Reply-To: <200802031005.m13A51GI063413@repoman.freebsd.org> References: <200802031005.m13A51GI063413@repoman.freebsd.org> Message-ID: <47A5C94F.4040905@samsco.org> Christian Brueffer wrote: > brueffer 2008-02-03 10:05:01 UTC > > FreeBSD src repository > > Modified files: > sys/modules Makefile > Log: > Don't build the rr232x module, it has been removed. > > Approved by: rwatson (mentor) > > Revision Changes Path > 1.553 +0 -3 src/sys/modules/Makefile Thanks, sorry I forgot to commit this. Scott From phk at FreeBSD.org Sun Feb 3 07:54:41 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sun Feb 3 07:54:45 2008 Subject: cvs commit: src/lib/libc/sys sendfile.2 src/sys/kern uipc_syscalls.c src/sys/sys socket.h Message-ID: <200802031554.m13Fsf9B001010@repoman.freebsd.org> phk 2008-02-03 15:54:41 UTC FreeBSD src repository Modified files: lib/libc/sys sendfile.2 sys/kern uipc_syscalls.c sys/sys socket.h Log: Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufs referencing the files VM pages are returned from the network stack, making changes to the file safe. This flag does not guarantee that the data has been transmitted to the other end. Revision Changes Path 1.32 +14 -1 src/lib/libc/sys/sendfile.2 1.266 +42 -1 src/sys/kern/uipc_syscalls.c 1.98 +1 -0 src/sys/sys/socket.h From scottl at FreeBSD.org Sun Feb 3 08:07:12 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Feb 3 08:07:17 2008 Subject: cvs commit: src/sys/dev/hptiop hptiop.c hptiop.h Message-ID: <200802031607.m13G7CdO002907@repoman.freebsd.org> scottl 2008-02-03 16:07:12 UTC FreeBSD src repository Modified files: sys/dev/hptiop hptiop.c hptiop.h Log: Update the hptiop driver to version 1.3. This adds support for the 4xxx series of adapters. Thanks again to Highpoint for their continued support of FreeBSD. Submitted by: Highpoint Technologies Revision Changes Path 1.3 +1353 -452 src/sys/dev/hptiop/hptiop.c 1.2 +172 -85 src/sys/dev/hptiop/hptiop.h From scottl at FreeBSD.org Sun Feb 3 08:16:39 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Feb 3 08:16:42 2008 Subject: cvs commit: src/share/man/man4 hptiop.4 Message-ID: <200802031616.m13GGcGB004266@repoman.freebsd.org> scottl 2008-02-03 16:16:38 UTC FreeBSD src repository Modified files: share/man/man4 hptiop.4 Log: Update the hptiop man page for the new driver. Revision Changes Path 1.2 +29 -6 src/share/man/man4/hptiop.4 From scottl at FreeBSD.org Sun Feb 3 08:18:55 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Feb 3 08:18:57 2008 Subject: cvs commit: src/sys/dev/hptiop hptiop.c hptiop.h Message-ID: <200802031618.m13GItoc004374@repoman.freebsd.org> scottl 2008-02-03 16:18:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hptiop hptiop.c hptiop.h Log: Update the hptiop driver to version 1.3. This adds support for the 4xxx series of SAS adapters. Thanks again to Highpoint for their continued support of FreeBSD. Revision Changes Path 1.2.2.1 +1355 -454 src/sys/dev/hptiop/hptiop.c 1.1.2.1 +172 -85 src/sys/dev/hptiop/hptiop.h From scottl at FreeBSD.org Sun Feb 3 08:19:27 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Feb 3 08:19:29 2008 Subject: cvs commit: src/share/man/man4 hptiop.4 Message-ID: <200802031619.m13GJRps004418@repoman.freebsd.org> scottl 2008-02-03 16:19:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 hptiop.4 Log: Update the hptiop manual page for the new driver. Revision Changes Path 1.1.2.1 +29 -6 src/share/man/man4/hptiop.4 From brueffer at FreeBSD.org Sun Feb 3 08:26:18 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 08:26:23 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml src/release/doc/share/misc dev.archlist.txt Message-ID: <200802031626.m13GQHeJ004875@repoman.freebsd.org> brueffer 2008-02-03 16:26:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/hardware article.sgml release/doc/share/misc dev.archlist.txt Log: MFC: The rr232x driver has been removed, kill it here as well. Revision Changes Path 1.326.2.2 +0 -2 src/release/doc/en_US.ISO8859-1/hardware/article.sgml 1.100.2.2 +0 -1 src/release/doc/share/misc/dev.archlist.txt From brueffer at FreeBSD.org Sun Feb 3 08:38:45 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 08:38:51 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200802031638.m13GciNX007865@repoman.freebsd.org> brueffer 2008-02-03 16:38:44 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Log: MLINK hptrr(4) to rr232x(4). Requested by: scottl Revision Changes Path 1.406 +3 -0 src/share/man/man4/Makefile From brueffer at FreeBSD.org Sun Feb 3 08:42:23 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 08:42:26 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200802031642.m13GgMVg008887@repoman.freebsd.org> brueffer 2008-02-03 16:42:22 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Log: Remove an empty line that crept into the previous commit. Revision Changes Path 1.407 +0 -1 src/share/man/man4/Makefile From louie at transsys.com Sun Feb 3 08:58:46 2008 From: louie at transsys.com (Louis Mamakos) Date: Sun Feb 3 08:58:56 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: <47A4E122.8080901@FreeBSD.org> References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> <20080202201153.GL14339@FreeBSD.org> <47A4E122.8080901@FreeBSD.org> Message-ID: On Feb 2, 2008, at 4:31 PM, Alexander Motin wrote: > Gleb Smirnoff ?????: >> you should have asked me for review before committing! This is >> not a bug, this is a feature. This was quite clear from the comments, >> that you removed: >> - /* if export hook disconnected stop running expire(). */ >> This is intended behavior. We must not lose information unless >> user explicitly wants to lose information. In the latter case >> he will connect ng_hole(4) node to the "export" hook. But we must >> not lose information if user runs some script that swaps receiving >> node on the "export" hook. >> Please backout this change! > > Expire process was not depending completely on connected hook even > before this commit. For example, every TCP session closing forces > some data export. So even with export hook disconnected some data > still will be lost and not just lost, but it was leading to memory > leak which I have fixed with other commit. > > So if you insist that it was a feature then sorry. Then it should be > documented and fixed to work correctly. But as soon as nobody notice > that memory leak, probably nobody uses this feature actively. > > -- > Alexander Motin > If there's a concern about no losing the netflow data, then it's likely that it's usually the case that an export hook is connected. If a user wanted to change the export arrangement for the netflow data, then just disconnected and reconnecting to the export hook won't caused data to be lost if the expiry parameters are set to something reasonable. Finally, in the absence of infinite amounts of memory, data will eventually be lost. The only decision is over what duration data should be kept around so that it might be harvested. It's a huge surprise that the netflow module consumes large amounts of kernel memory. As a user, I expected the expiration timers to be the policy that I specify to control how long the netflow stats are stored, and my expectation wasn't met. Louis Mamakos From matteo at FreeBSD.org Sun Feb 3 09:23:58 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Sun Feb 3 09:24:00 2008 Subject: cvs commit: src/sbin/mount mount.c Message-ID: <200802031723.m13HNwXv021645@repoman.freebsd.org> matteo 2008-02-03 17:23:58 UTC FreeBSD src repository Modified files: sbin/mount mount.c Log: Fix printing of unionfs mounts when using the -p option PR: bin/75585 MFC after: 1 week Revision Changes Path 1.97 +8 -2 src/sbin/mount/mount.c From brueffer at FreeBSD.org Sun Feb 3 09:32:25 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sun Feb 3 09:32:29 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200802031732.m13HWPSb022230@repoman.freebsd.org> brueffer 2008-02-03 17:32:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile Log: MFC: rev. 1.406 + 1.407 MLINK hptrr(4) to rr232x(4). Revision Changes Path 1.393.2.6 +2 -0 src/share/man/man4/Makefile From matteo at FreeBSD.org Sun Feb 3 09:39:38 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Sun Feb 3 09:39:44 2008 Subject: cvs commit: src/usr.sbin/ypserv yp_main.c ypserv.8 Message-ID: <200802031739.m13HdbsJ022618@repoman.freebsd.org> matteo 2008-02-03 17:39:37 UTC FreeBSD src repository Modified files: usr.sbin/ypserv yp_main.c ypserv.8 Log: Add -P option to allow binding to a specific port. PR: bin/109494 Submitted by: mtm MFC after: 1 week Revision Changes Path 1.29 +56 -2 src/usr.sbin/ypserv/yp_main.c 1.42 +5 -1 src/usr.sbin/ypserv/ypserv.8 From nike_d at cytexbg.com Sun Feb 3 09:54:29 2008 From: nike_d at cytexbg.com (Niki Denev) Date: Sun Feb 3 09:54:31 2008 Subject: cvs commit: src/sbin/mount mount.c In-Reply-To: <200802031723.m13HNwXv021645@repoman.freebsd.org> References: <200802031723.m13HNwXv021645@repoman.freebsd.org> Message-ID: <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> On Feb 3, 2008 7:23 PM, Matteo Riondato wrote: > matteo 2008-02-03 17:23:58 UTC > > FreeBSD src repository > > Modified files: > sbin/mount mount.c > Log: > Fix printing of unionfs mounts when using the -p option > > PR: bin/75585 > MFC after: 1 week > > Revision Changes Path > 1.97 +8 -2 src/sbin/mount/mount.c Hi, mount(8) has also "-p" option problems with gjournal-ed filesystems. The same problems prevents mount updates with option "current" too, i.e. "mount -u -ocurrent,noatime /gjournaledfs" Here is a PR about this : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/120162 --Niki From phk at phk.freebsd.dk Sun Feb 3 10:14:36 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Sun Feb 3 10:14:40 2008 Subject: cvs commit: src/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... In-Reply-To: Your message of "Sat, 02 Feb 2008 00:49:08 +0300." <20080202004647.D28725@woozle.rinet.ru> Message-ID: <1794.1202062474@critter.freebsd.dk> In message <20080202004647.D28725@woozle.rinet.ru>, Dmitry Morozovsky writes: >Dear Poul-Henning, > >On Fri, 1 Feb 2008, Poul-Henning Kamp wrote: > >PK> No MFC is anticipated. > >Provided current age of 7.* is short enough (and most users of it are aware of >possible API changes) why don't you think MFC to RELENG_7 is suitable? If people see a reason for this, and want to take the battle, fine with me. Given what RELENG_7 has been through already, I'm not going to throw this particular nit under the wheel, in particular since I still don't know if the change (via the sendfile SF_SYNC it enables) makes any difference at all for the Varnish HTTP accellerator which drove this change. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From sam at FreeBSD.org Sun Feb 3 10:21:14 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 10:21:17 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802031821.m13ILE8o031798@repoman.freebsd.org> sam 2008-02-03 18:21:13 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: fix list mac; broken in delta 1.48 Noticed by: JoaoBR Revision Changes Path 1.49 +7 -3 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Sun Feb 3 10:29:58 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 10:30:01 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802031829.m13ITwVu033561@repoman.freebsd.org> sam 2008-02-03 18:29:58 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: correct tx rate displayed by list sta: the reported legacy tx rate is still an index into the rate set and not (yet) the rate code Noticed by: JoaoBR Revision Changes Path 1.50 +7 -4 src/sbin/ifconfig/ifieee80211.c From matteo at freebsd.org Sun Feb 3 10:40:58 2008 From: matteo at freebsd.org (Matteo Riondato) Date: Sun Feb 3 10:41:01 2008 Subject: cvs commit: src/sbin/mount mount.c In-Reply-To: <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> References: <200802031723.m13HNwXv021645@repoman.freebsd.org> <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> Message-ID: <20080203182934.GA17218@kaiser.sig11.org> On Sun, Feb 03, 2008 at 07:54:28PM +0200, Niki Denev wrote: > mount(8) has also "-p" option problems with gjournal-ed filesystems. > The same problems prevents mount updates with option "current" too, > i.e. "mount -u -ocurrent,noatime /gjournaledfs" > Here is a PR about this : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/120162 It looks like the PR was fixed with revision 1.91 of mount.c by pjd@. Niki, can you confirm this? Best regards -- Matteo Riondato FreeBSD Committer (http://www.FreeBSD.org) FreeSBIE Developer (http://www.FreeSBIE.org) GUFI Staff Member (http://www.GUFI.org) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080203/84d2e751/attachment.pgp From matteo at freebsd.org Sun Feb 3 10:43:56 2008 From: matteo at freebsd.org (Matteo Riondato) Date: Sun Feb 3 10:44:01 2008 Subject: cvs commit: src/sbin/mount mount.c In-Reply-To: <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> References: <200802031723.m13HNwXv021645@repoman.freebsd.org> <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> Message-ID: <20080203183150.GB17218@kaiser.sig11.org> On Sun, Feb 03, 2008 at 07:54:28PM +0200, Niki Denev wrote: > mount(8) has also "-p" option problems with gjournal-ed filesystems. > The same problems prevents mount updates with option "current" too, > i.e. "mount -u -ocurrent,noatime /gjournaledfs" > Here is a PR about this : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/120162 Err, reply to self: The problem with -ocurrent still exists, while the problem with -p is gone. I'll try to work on it, thanks. -- Matteo Riondato FreeBSD Committer (http://www.FreeBSD.org) FreeSBIE Developer (http://www.FreeSBIE.org) GUFI Staff Member (http://www.GUFI.org) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080203/4d0fedef/attachment.pgp From nike_d at cytexbg.com Sun Feb 3 10:50:40 2008 From: nike_d at cytexbg.com (Niki Denev) Date: Sun Feb 3 10:50:43 2008 Subject: cvs commit: src/sbin/mount mount.c In-Reply-To: <20080203183150.GB17218@kaiser.sig11.org> References: <200802031723.m13HNwXv021645@repoman.freebsd.org> <2e77fc10802030954y2facd678v90309332e427111e@mail.gmail.com> <20080203183150.GB17218@kaiser.sig11.org> Message-ID: <2e77fc10802031050g447639eu6dad5f025002886f@mail.gmail.com> On Feb 3, 2008 8:31 PM, Matteo Riondato wrote: > On Sun, Feb 03, 2008 at 07:54:28PM +0200, Niki Denev wrote: > > mount(8) has also "-p" option problems with gjournal-ed filesystems. > > The same problems prevents mount updates with option "current" too, > > i.e. "mount -u -ocurrent,noatime /gjournaledfs" > > Here is a PR about this : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/120162 > > Err, reply to self: > The problem with -ocurrent still exists, while the problem with -p is > gone. > I'll try to work on it, thanks. > > -- > Matteo Riondato > FreeBSD Committer (http://www.FreeBSD.org) > FreeSBIE Developer (http://www.FreeSBIE.org) > GUFI Staff Member (http://www.GUFI.org) > Hi, I'm running with version 1.96 of mount.c and both problems still exist : server# mount -p | grep journal /dev/da0p2.journal / ufs async,noatime,gjournal 1 1 server# mount -u -oatime,current / mount: mount option mav 2008-02-03 18:55:45 UTC FreeBSD src repository Modified files: sys/netgraph ng_tee.c Log: Move all possible node logic out of the rcvdata() function to the newhook()/disconnect(). Unify function names with other nodes. Revision Changes Path 1.34 +90 -96 src/sys/netgraph/ng_tee.c From ume at FreeBSD.org Sun Feb 3 11:07:56 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Sun Feb 3 11:07:57 2008 Subject: cvs commit: src/lib/libc/net getaddrinfo.c Message-ID: <200802031907.m13J7tK7038226@repoman.freebsd.org> ume 2008-02-03 19:07:55 UTC FreeBSD src repository Modified files: lib/libc/net getaddrinfo.c Log: Remove incomplete support of AI_ALL and AI_V4MAPPED. Reported by: "Heiko Wundram (Beenic)" Revision Changes Path 1.87 +0 -21 src/lib/libc/net/getaddrinfo.c From rwatson at FreeBSD.org Sun Feb 3 12:38:22 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 3 12:38:27 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802032038.m13KcMNP044926@repoman.freebsd.org> rwatson 2008-02-03 20:38:22 UTC FreeBSD src repository Modified files: . access Log: Please welcome Antoine Brodin as our newest src commiter. Antoine has made a number of past contributions, including our stack(9) infrastructure, and is frequently seen on mailing lists, submitting PRs, and providing detailed post-commit reviews for a lot of the work going on. It's expected that he will contribute in a variety of areas in- kernel and out, not least in becoming the new owner of a large set of PRs that already carry his name... Approved by: core Revision Changes Path 1.855 +1 -0 CVSROOT/access From wb at freebie.xs4all.nl Sun Feb 3 13:13:00 2008 From: wb at freebie.xs4all.nl (Wilko Bulte) Date: Sun Feb 3 13:13:04 2008 Subject: cvs commit: CVSROOT access In-Reply-To: <200802032038.m13KcMNP044926@repoman.freebsd.org> References: <200802032038.m13KcMNP044926@repoman.freebsd.org> Message-ID: <20080203205417.GA30326@freebie.xs4all.nl> Quoting Robert Watson, who wrote on Sun, Feb 03, 2008 at 08:38:22PM +0000 .. > rwatson 2008-02-03 20:38:22 UTC > > FreeBSD src repository > > Modified files: > . access > Log: > Please welcome Antoine Brodin as our newest src commiter. > Antoine has made a number of past contributions, including our stack(9) > infrastructure, and is frequently seen on mailing lists, submitting PRs, > and providing detailed post-commit reviews for a lot of the work going > on. It's expected that he will contribute in a variety of areas in- > kernel and out, not least in becoming the new owner of a large set of > PRs that already carry his name... > > Approved by: core Mentored by: rwatson (if that wasn't obvious) -- Wilko Bulte wilko@FreeBSD.org From ambrisko at FreeBSD.org Sun Feb 3 14:32:52 2008 From: ambrisko at FreeBSD.org (Doug Ambrisko) Date: Sun Feb 3 14:32:55 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c mfireg.h Message-ID: <200802032232.m13MWqgA064986@repoman.freebsd.org> ambrisko 2008-02-03 22:32:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mfi mfi.c mfireg.h Log: MFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Revision Changes Path 1.33.2.1 +92 -58 src/sys/dev/mfi/mfi.c 1.10.2.1 +2 -0 src/sys/dev/mfi/mfireg.h From des at FreeBSD.org Sun Feb 3 14:35:47 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sun Feb 3 14:35:51 2008 Subject: cvs commit: src/tools/regression/pthread/mutex_islocked_np Makefile mutex_islocked_np.c Message-ID: <200802032235.m13MZlvo065178@repoman.freebsd.org> des 2008-02-03 22:35:45 UTC FreeBSD src repository Added files: tools/regression/pthread/mutex_islocked_np Makefile mutex_islocked_np.c Log: Add a regression test for pthread_mutex_islocked_np(). MFC after: 2 weeks Revision Changes Path 1.1 +8 -0 src/tools/regression/pthread/mutex_islocked_np/Makefile (new) 1.1 +77 -0 src/tools/regression/pthread/mutex_islocked_np/mutex_islocked_np.c (new) From des at FreeBSD.org Sun Feb 3 14:38:11 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sun Feb 3 14:38:13 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c Message-ID: <200802032238.m13McAbf065324@repoman.freebsd.org> des 2008-02-03 22:38:10 UTC FreeBSD src repository Modified files: include pthread_np.h lib/libthr pthread.map lib/libthr/thread thr_mutex.c Log: Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is locked. This is intended primarily to support the userland equivalent of the various *_ASSERT_LOCKED() macros we have in the kernel. MFC after: 2 weeks Revision Changes Path 1.19 +1 -0 src/include/pthread_np.h 1.22 +15 -0 src/lib/libthr/pthread.map 1.67 +16 -0 src/lib/libthr/thread/thr_mutex.c From marcel at FreeBSD.org Sun Feb 3 18:21:34 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Feb 3 18:21:35 2008 Subject: cvs commit: src/sys/ia64/ia64 locore.S machdep.c src/sys/ia64/include md_var.h Message-ID: <200802040221.m142LY80094387@repoman.freebsd.org> marcel 2008-02-04 02:21:34 UTC FreeBSD src repository Modified files: sys/ia64/ia64 locore.S machdep.c sys/ia64/include md_var.h Log: Allocate a stack for thread0 and switch to it before calling mi_startup(). This frees up kstack for static PAL/SAL calls and double-fault handling. Revision Changes Path 1.41 +22 -0 src/sys/ia64/ia64/locore.S 1.229 +6 -20 src/sys/ia64/ia64/machdep.c 1.27 +6 -1 src/sys/ia64/include/md_var.h From sam at FreeBSD.org Sun Feb 3 19:30:28 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 19:30:32 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802040330.m143USSu002278@repoman.freebsd.org> sam 2008-02-04 03:30:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ifconfig ifieee80211.c Log: MFC 1.49: fix list mac MFC after: 3 days Revision Changes Path 1.47.2.2 +7 -3 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Sun Feb 3 19:31:28 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 19:31:31 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802040331.m143VS7w002335@repoman.freebsd.org> sam 2008-02-04 03:31:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ifconfig ifieee80211.c Log: MFC 1.50: correct tx rate displayed by list sta MFC after: 3 days Revision Changes Path 1.47.2.3 +7 -4 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Sun Feb 3 19:32:56 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 19:32:58 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.c Message-ID: <200802040332.m143Wuvo002408@repoman.freebsd.org> sam 2008-02-04 03:32:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_ht.c Log: MFC 1.8: correct typo that broke check when handling addba response MFC after: 3 days Revision Changes Path 1.4.2.4 +2 -1 src/sys/net80211/ieee80211_ht.c From sam at FreeBSD.org Sun Feb 3 19:33:55 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Feb 3 19:33:58 2008 Subject: cvs commit: src/share/man/man4 axe.4 Message-ID: <200802040333.m143Xt0m002491@repoman.freebsd.org> sam 2008-02-04 03:33:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 axe.4 Log: MFC 1.15: updates for additional chip support MFC after: 3 days Revision Changes Path 1.14.2.1 +47 -10 src/share/man/man4/axe.4 From jhein at timing.com Sun Feb 3 22:14:01 2008 From: jhein at timing.com (John E Hein) Date: Sun Feb 3 22:14:10 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <47A3DCC1.2030700@freebsd.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3D2FE.1060202@samsco.org> <47A3DCC1.2030700@freebsd.org> Message-ID: <18342.42877.245961.707684@gromit.timing.com> Peter Grehan wrote at 19:00 -0800 on Feb 1, 2008: > > I'm sure there are fun, interesting, and highly obtuse ways to get a > > PCI-E device onto a system with no PCI-E root complex. > > Be afraid ... > > http://www.pericom.com/products/pci/ > > "In ?reverse? mode, the PI7C9X110 is configured with the PCI port on > the primary and the PCI Express port on the downstream side. The > ?reverse? configuration will be mainly used to ?bridge? new PCI Express > products to legacy PCI systems." PLX (plxtech.com) also has them. From matteo at FreeBSD.org Sun Feb 3 23:37:57 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Sun Feb 3 23:37:59 2008 Subject: cvs commit: src/sbin/mount mount.c Message-ID: <200802040737.m147bvom033215@repoman.freebsd.org> matteo 2008-02-04 07:37:57 UTC FreeBSD src repository Modified files: sbin/mount mount.c Log: Fix mount -p and mount -u -ocurrent on gjournaled FS PR: bin/120162 Submitted by: Niki Denev MFC after: 1 week Revision Changes Path 1.98 +0 -1 src/sbin/mount/mount.c From nike_d at cytexbg.com Sun Feb 3 23:46:12 2008 From: nike_d at cytexbg.com (Niki Denev) Date: Sun Feb 3 23:46:15 2008 Subject: cvs commit: src/sbin/mount mount.c In-Reply-To: <200802040737.m147bvom033215@repoman.freebsd.org> References: <200802040737.m147bvom033215@repoman.freebsd.org> Message-ID: <2e77fc10802032346kf369951ibe265614a6bd402c@mail.gmail.com> On Feb 4, 2008 9:37 AM, Matteo Riondato wrote: > matteo 2008-02-04 07:37:57 UTC > > FreeBSD src repository > > Modified files: > sbin/mount mount.c > Log: > Fix mount -p and mount -u -ocurrent on gjournaled FS > > PR: bin/120162 > Submitted by: Niki Denev > MFC after: 1 week > > Revision Changes Path > 1.98 +0 -1 src/sbin/mount/mount.c Thanks! From matteo at FreeBSD.org Sun Feb 3 23:56:37 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Sun Feb 3 23:56:39 2008 Subject: cvs commit: src/lib/librpcsvc Makefile xcrypt.c Message-ID: <200802040756.m147uaSQ034057@repoman.freebsd.org> matteo 2008-02-04 07:56:36 UTC FreeBSD src repository Modified files: lib/librpcsvc Makefile xcrypt.c Log: Fix incorrect handling of malloc failures PR: bin/83369 MFC after: 1 week Revision Changes Path 1.23 +2 -0 src/lib/librpcsvc/Makefile 1.6 +6 -2 src/lib/librpcsvc/xcrypt.c From dds at FreeBSD.org Mon Feb 4 02:25:29 2008 From: dds at FreeBSD.org (Diomidis Spinellis) Date: Mon Feb 4 02:25:32 2008 Subject: cvs commit: src/share/colldef el_GR.ISO8859-7.src Message-ID: <200802041025.m14APSrB055386@repoman.freebsd.org> dds 2008-02-04 10:25:28 UTC FreeBSD src repository Modified files: share/colldef el_GR.ISO8859-7.src Log: Fix collation order for accented characters. MFC after: 2 weeks Revision Changes Path 1.3 +11 -11 src/share/colldef/el_GR.ISO8859-7.src From des at des.no Mon Feb 4 03:15:04 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 4 03:15:12 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <200802032238.m13McAbf065324@repoman.freebsd.org> (Dag-Erling Smorgrav's message of "Sun\, 3 Feb 2008 22\:38\:10 +0000 \(UTC\)") References: <200802032238.m13McAbf065324@repoman.freebsd.org> Message-ID: <86d4rdgehd.fsf@ds4.des.no> Dag-Erling Smorgrav writes: > Log: > Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is > locked. This is intended primarily to support the userland equivalent > of the various *_ASSERT_LOCKED() macros we have in the kernel. I'm having second thoughts about this one. There is a significant risk of false positives if the mutex is currently locked by another thread. I'm wondering whether to a) change the implementation so it only returns true if the mutex is owned by the current thread, or b) change the interface so you can specify a specific thread, or NULL for "any". DES -- Dag-Erling Sm?rgrav - des@des.no From attilio at freebsd.org Mon Feb 4 03:18:39 2008 From: attilio at freebsd.org (Attilio Rao) Date: Mon Feb 4 03:18:46 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <86d4rdgehd.fsf@ds4.des.no> References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> Message-ID: <3bbf2fe10802040318q456556e4g8c63299ab67c71e8@mail.gmail.com> 2008/2/4, Dag-Erling Sm?rgrav : > Dag-Erling Smorgrav writes: > > Log: > > Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is > > locked. This is intended primarily to support the userland equivalent > > of the various *_ASSERT_LOCKED() macros we have in the kernel. > > > I'm having second thoughts about this one. There is a significant risk > of false positives if the mutex is currently locked by another thread. > I'm wondering whether to a) change the implementation so it only returns > true if the mutex is owned by the current thread, or b) change the > interface so you can specify a specific thread, or NULL for "any". Please don't do the latter. Semantically the right thing to do here is to assert if the curthread owns the lock or not. Any lock should not be interested on what is the state in regard of other locks. Attilio -- Peace can only be achieved by understanding - A. Einstein From des at des.no Mon Feb 4 03:29:20 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 4 03:29:24 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <3bbf2fe10802040318q456556e4g8c63299ab67c71e8@mail.gmail.com> (Attilio Rao's message of "Mon\, 4 Feb 2008 12\:18\:37 +0100") References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> <3bbf2fe10802040318q456556e4g8c63299ab67c71e8@mail.gmail.com> Message-ID: <868x21gdtm.fsf@ds4.des.no> "Attilio Rao" writes: > Dag-Erling Sm?rgrav writes: > > I'm having second thoughts about this one. There is a significant > > risk of false positives if the mutex is currently locked by another > > thread. I'm wondering whether to a) change the implementation so it > > only returns true if the mutex is owned by the current thread, or b) > > change the interface so you can specify a specific thread, or NULL > > for "any". > Please don't do the latter. Semantically the right thing to do here > is to assert if the curthread owns the lock or not. Any lock should > not be interested on what is the state in regard of other locks. Thank you. That was my thought as well, but I didn't want to exclude the alternative without discussion. DES -- Dag-Erling Sm?rgrav - des@des.no From lulf at FreeBSD.org Mon Feb 4 04:17:03 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Mon Feb 4 04:17:06 2008 Subject: cvs commit: src/sbin/geom/core geom.c Message-ID: <200802041217.m14CH3xm066285@repoman.freebsd.org> lulf 2008-02-04 12:17:03 UTC FreeBSD src repository Modified files: sbin/geom/core geom.c Log: - Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH environment variable using ':' as a separator. Approved by: pjd (mentor) MFC after: 3 days Revision Changes Path 1.34 +31 -11 src/sbin/geom/core/geom.c From rwatson at FreeBSD.org Mon Feb 4 04:25:14 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Feb 4 04:25:16 2008 Subject: cvs commit: src/sys/kern uipc_sockbuf.c uipc_socket.c src/sys/sys socketvar.h Message-ID: <200802041225.m14CPEq4066666@repoman.freebsd.org> rwatson 2008-02-04 12:25:13 UTC FreeBSD src repository Modified files: sys/kern uipc_sockbuf.c uipc_socket.c sys/sys socketvar.h Log: Further clean up sorflush: - Expose sbrelease_internal(), a variant of sbrelease() with no expectations about the validity of locks in the socket buffer. - Use sbrelease_internel() in sorflush(), and as a result avoid intializing and destroying a socket buffer lock for the temporary stack copy of the actual buffer, asb. - Add a comment indicating why we do what we do, and remove an XXX since things have gotten less ugly in sorflush() lately. This makes socket close cleaner, and possibly also marginally faster. MFC after: 3 weeks Revision Changes Path 1.176 +1 -2 src/sys/kern/uipc_sockbuf.c 1.305 +12 -12 src/sys/kern/uipc_socket.c 1.162 +1 -0 src/sys/sys/socketvar.h From des at FreeBSD.org Mon Feb 4 04:35:23 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Mon Feb 4 04:35:25 2008 Subject: cvs commit: src/tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c src/lib/libthr/thread thr_mutex.c Message-ID: <200802041235.m14CZND0067121@repoman.freebsd.org> des 2008-02-04 12:35:23 UTC FreeBSD src repository Modified files: tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c lib/libthr/thread thr_mutex.c Log: After careful consideration (and a brief discussion with attilio@), change the semantics of pthread_mutex_islocked_np() to return true if and only if the mutex is held by the current thread. Obviously, change the regression test to match. MFC after: 2 weeks Revision Changes Path 1.68 +1 -1 src/lib/libthr/thread/thr_mutex.c 1.2 +2 -2 src/tools/regression/pthread/mutex_islocked_np/mutex_islocked_np.c From attilio at freebsd.org Mon Feb 4 05:11:15 2008 From: attilio at freebsd.org (Attilio Rao) Date: Mon Feb 4 05:11:22 2008 Subject: cvs commit: src/tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c src/lib/libthr/thread thr_mutex.c In-Reply-To: <200802041235.m14CZND0067121@repoman.freebsd.org> References: <200802041235.m14CZND0067121@repoman.freebsd.org> Message-ID: <3bbf2fe10802040511y529936d9m6cd14f4ca48f8936@mail.gmail.com> 2008/2/4, Dag-Erling Smorgrav : > des 2008-02-04 12:35:23 UTC > > FreeBSD src repository > > Modified files: > tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c > lib/libthr/thread thr_mutex.c > Log: > After careful consideration (and a brief discussion with attilio@), change > the semantics of pthread_mutex_islocked_np() to return true if and only if > the mutex is held by the current thread. > > Obviously, change the regression test to match. Great, thanks! Attilio -- Peace can only be achieved by understanding - A. Einstein From ambrisko at FreeBSD.org Mon Feb 4 06:54:21 2008 From: ambrisko at FreeBSD.org (Doug Ambrisko) Date: Mon Feb 4 06:54:24 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c mfireg.h Message-ID: <200802041454.m14EsLPe087189@repoman.freebsd.org> ambrisko 2008-02-04 14:54:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/mfi mfi.c mfireg.h Log: MFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Approved by: re (kensmith) Revision Changes Path 1.33.4.1 +92 -58 src/sys/dev/mfi/mfi.c 1.10.4.1 +2 -0 src/sys/dev/mfi/mfireg.h From jhb at freebsd.org Mon Feb 4 07:10:40 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Feb 4 07:10:53 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <18342.42877.245961.707684@gromit.timing.com> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3DCC1.2030700@freebsd.org> <18342.42877.245961.707684@gromit.timing.com> Message-ID: <200802040944.43812.jhb@freebsd.org> On Monday 04 February 2008 12:49:49 am John E Hein wrote: > Peter Grehan wrote at 19:00 -0800 on Feb 1, 2008: > > > I'm sure there are fun, interesting, and highly obtuse ways to get a > > > PCI-E device onto a system with no PCI-E root complex. > > > > Be afraid ... > > > > http://www.pericom.com/products/pci/ > > > > "In ?reverse? mode, the PI7C9X110 is configured with the PCI port on > > the primary and the PCI Express port on the downstream side. The > > ?reverse? configuration will be mainly used to ?bridge? new PCI Express > > products to legacy PCI systems." > > PLX (plxtech.com) also has them. We can blacklist those bridges just like we blacklist the AMD HT8131 bridge which is broken. -- John Baldwin From jhb at freebsd.org Mon Feb 4 07:10:41 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Feb 4 07:10:54 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <47A3D2FE.1060202@samsco.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3D2FE.1060202@samsco.org> Message-ID: <200802040947.59712.jhb@freebsd.org> On Friday 01 February 2008 09:18:38 pm Scott Long wrote: > John Baldwin wrote: > > jhb 2008-02-01 20:31:09 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c > > Log: > > Relax the check for a PCI-express chipset by assuming the system is a > > PCI-express chipset (and thus has functional MSI) if there are any > > PCI-express devices in the system, not requiring a root port device. > > > > With PCI-X the chipset detection has to be very conservative because there > > are known systems with PCI-X devices that do not appear to have PCI-X > > chipsets. However, with PCI-express I'm not sure it is possible to have > > a PCI-express device in a system with a non-PCI-express chipset. If we > > assume that is the case then this change is valid. It is also required > > for at least some PCI-express systems that don't have any devices with > > a root port capability (some ICH9 systems). > > > > MFC after: 1 week > > Reported by: jfv > > > > Revision Changes Path > > 1.357 +2 -5 src/sys/dev/pci/pci.c > > It's certainly possible for a PCI-X device to be plugged into a PCI-only > system; PCI-X is backwards compatible at an electrical an protocol level > with 3.3V PCI. So yes, you will see PCI-X extcaps on PCI-X cards even > if there is no PCI-X bridge. > > I'm sure there are fun, interesting, and highly obtuse ways to get a > PCI-E device onto a system with no PCI-E root complex. I do agree with > your implicit statement to not worry about such an edge case, at least > not until such an edge case becomes a demonstrated reality. What does > worry me is that Intel would release PCI-E chipsets without an > advertised root complex. That would seem to blatantly violate the spec. > Does Jack have confirmation that this is really the case? If so, what > else is being played fast-and-loose with that we should know about? It's not that it isn't advertising a root complex but isn't advertising a root _port_ unless there is a PCI-e expansion card plugged in. I guess internal PCI-e devices aren't connected via a port? It does seem inconsistent as my laptop with no external PCI-e slots has root ports capabilities on PCI-PCI bridges off of bus 0 that service internal devices. -- John Baldwin From ru at FreeBSD.org Mon Feb 4 07:27:09 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 4 07:27:12 2008 Subject: cvs commit: src/sbin/natd natd.8 Message-ID: <200802041527.m14FR9L7090884@repoman.freebsd.org> ru 2008-02-04 15:27:09 UTC FreeBSD src repository Modified files: sbin/natd natd.8 Log: Improve rev. 1.63. Document -instance and -globalport options. Add a MULTIPLE INSTANCES section which provides an example of setting up natd in multi-instance mode (based on the notes.natd file from phk@). Submitted by: "Andrey V. Elsukov" Reviewed by: ru Revision Changes Path 1.67 +160 -1 src/sbin/natd/natd.8 From ru at FreeBSD.org Mon Feb 4 07:28:30 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 4 07:28:33 2008 Subject: cvs commit: src/sbin/natd natd.8 Message-ID: <200802041528.m14FSUaK090939@repoman.freebsd.org> ru 2008-02-04 15:28:30 UTC FreeBSD src repository Modified files: sbin/natd natd.8 Log: Forced commit. Previous revision was instead Submitted by: Vadim Goncharov Revision Changes Path 1.68 +0 -0 src/sbin/natd/natd.8 From scottl at samsco.org Mon Feb 4 07:34:16 2008 From: scottl at samsco.org (Scott Long) Date: Mon Feb 4 07:34:21 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <200802040947.59712.jhb@freebsd.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3D2FE.1060202@samsco.org> <200802040947.59712.jhb@freebsd.org> Message-ID: <47A73071.5080101@samsco.org> John Baldwin wrote: > On Friday 01 February 2008 09:18:38 pm Scott Long wrote: >> John Baldwin wrote: >>> jhb 2008-02-01 20:31:09 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/dev/pci pci.c >>> Log: >>> Relax the check for a PCI-express chipset by assuming the system is a >>> PCI-express chipset (and thus has functional MSI) if there are any >>> PCI-express devices in the system, not requiring a root port device. >>> >>> With PCI-X the chipset detection has to be very conservative because there >>> are known systems with PCI-X devices that do not appear to have PCI-X >>> chipsets. However, with PCI-express I'm not sure it is possible to have >>> a PCI-express device in a system with a non-PCI-express chipset. If we >>> assume that is the case then this change is valid. It is also required >>> for at least some PCI-express systems that don't have any devices with >>> a root port capability (some ICH9 systems). >>> >>> MFC after: 1 week >>> Reported by: jfv >>> >>> Revision Changes Path >>> 1.357 +2 -5 src/sys/dev/pci/pci.c >> It's certainly possible for a PCI-X device to be plugged into a PCI-only >> system; PCI-X is backwards compatible at an electrical an protocol level >> with 3.3V PCI. So yes, you will see PCI-X extcaps on PCI-X cards even >> if there is no PCI-X bridge. >> >> I'm sure there are fun, interesting, and highly obtuse ways to get a >> PCI-E device onto a system with no PCI-E root complex. I do agree with >> your implicit statement to not worry about such an edge case, at least >> not until such an edge case becomes a demonstrated reality. What does >> worry me is that Intel would release PCI-E chipsets without an >> advertised root complex. That would seem to blatantly violate the spec. >> Does Jack have confirmation that this is really the case? If so, what >> else is being played fast-and-loose with that we should know about? > > It's not that it isn't advertising a root complex but isn't advertising a > root _port_ unless there is a PCI-e expansion card plugged in. I guess > internal PCI-e devices aren't connected via a port? It does seem > inconsistent as my laptop with no external PCI-e slots has root ports > capabilities on PCI-PCI bridges off of bus 0 that service internal devices. > Ok, funky. So there are onboard PCIe devices, but it only advertises a port if there are external devices. I'm not clear on the technical distinction there either. Scott From deischen at freebsd.org Mon Feb 4 07:48:06 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Mon Feb 4 07:48:11 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <86d4rdgehd.fsf@ds4.des.no> References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> Message-ID: On Mon, 4 Feb 2008, Dag-Erling Sm?rgrav wrote: > Dag-Erling Smorgrav writes: >> Log: >> Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is >> locked. This is intended primarily to support the userland equivalent >> of the various *_ASSERT_LOCKED() macros we have in the kernel. > > I'm having second thoughts about this one. There is a significant risk > of false positives if the mutex is currently locked by another thread. > I'm wondering whether to a) change the implementation so it only returns > true if the mutex is owned by the current thread, or b) change the > interface so you can specify a specific thread, or NULL for "any". I thought you wanted to know if it was locked regardless of who locked it. If you want to know if the current thread has it locked, it should be called pthread_mutex_isowned_np(). I don't really see the utility in any other behavior, and almost question the need for _isowned. I wonder if all the _np() functions should be in the FBSDprivate namespace... -- DE From deischen at freebsd.org Mon Feb 4 07:49:19 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Mon Feb 4 07:49:26 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <868x21gdtm.fsf@ds4.des.no> References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> <3bbf2fe10802040318q456556e4g8c63299ab67c71e8@mail.gmail.com> <868x21gdtm.fsf@ds4.des.no> Message-ID: On Mon, 4 Feb 2008, Dag-Erling Sm?rgrav wrote: > "Attilio Rao" writes: >> Dag-Erling Sm?rgrav writes: >>> I'm having second thoughts about this one. There is a significant >>> risk of false positives if the mutex is currently locked by another >>> thread. I'm wondering whether to a) change the implementation so it >>> only returns true if the mutex is owned by the current thread, or b) >>> change the interface so you can specify a specific thread, or NULL >>> for "any". >> Please don't do the latter. Semantically the right thing to do here >> is to assert if the curthread owns the lock or not. Any lock should >> not be interested on what is the state in regard of other locks. > > Thank you. That was my thought as well, but I didn't want to exclude > the alternative without discussion. Then please change the API so that it is pthread_mutex_isowned_np(). -- DE From jhein at timing.com Mon Feb 4 08:02:57 2008 From: jhein at timing.com (John E Hein) Date: Mon Feb 4 08:03:05 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <200802040944.43812.jhb@freebsd.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <47A3DCC1.2030700@freebsd.org> <18342.42877.245961.707684@gromit.timing.com> <200802040944.43812.jhb@freebsd.org> Message-ID: <18343.14128.272002.870082@gromit.timing.com> John Baldwin wrote at 09:44 -0500 on Feb 4, 2008: > We can blacklist those bridges just like we blacklist the AMD HT8131 bridge > which is broken. That's okay with me. We might use a PCIe switch to split an x16 lane (used normally for PEG) into two x8 lanes (used for our own nefarious purposes including MSI for sure). These should all pass PCIe-deviceness through the switch to a root complex (in all the targets we've looked at using), however, and so should be unaffected by your new PCIe detection, regardless of blacklisting a PCI or PCI-X to PCIe bridge. From des at des.no Mon Feb 4 08:17:59 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 4 08:18:14 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: (Daniel Eischen's message of "Mon\, 4 Feb 2008 10\:47\:57 -0500 \(EST\)") References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> Message-ID: <868x20elw0.fsf@ds4.des.no> Daniel Eischen writes: > I thought you wanted to know if it was locked regardless of who locked > it. Uh, no, that was not the intention. > If you want to know if the current thread has it locked, it should be > called pthread_mutex_isowned_np(). I don't see why one would be more correct than the other... > I don't really see the utility in any other behavior, and almost > question the need for _isowned. It is extremely useful when debugging threaded code, as evidenced by the numerous *_LOCKED macros that are used throughout the kernel. Those macros saved me a lot of time and aggravation when I made procfs and linprocfs MPSAFE, for instance, and I am working on userland code at the moment which would benefit greatly from the ability to assert that the appropriate mutex is locked at the entry of a function that accesses or modifies the corresponding data structure. DES -- Dag-Erling Sm?rgrav - des@des.no From deischen at freebsd.org Mon Feb 4 08:31:13 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Mon Feb 4 08:31:43 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <868x20elw0.fsf@ds4.des.no> References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> <868x20elw0.fsf@ds4.des.no> Message-ID: On Mon, 4 Feb 2008, Dag-Erling Sm?rgrav wrote: > Daniel Eischen writes: >> I thought you wanted to know if it was locked regardless of who locked >> it. > > Uh, no, that was not the intention. > >> If you want to know if the current thread has it locked, it should be >> called pthread_mutex_isowned_np(). > > I don't see why one would be more correct than the other... Because it is more obvious that _isowned() is for the current thread than _islocked(). As you can tell by my previous (incorrect) assumption. There is prior art for this outside of FreeBSD. Solaris has mutex_owned() as part of their kernel mutex API. I would suggest using pthread_mutex_owned_np(). Hmm, even FreeBSD has mtx_owned() :-) -- DE From des at des.no Mon Feb 4 09:11:49 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 4 09:11:55 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: (Daniel Eischen's message of "Mon\, 4 Feb 2008 11\:31\:09 -0500 \(EST\)") References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> <868x20elw0.fsf@ds4.des.no> Message-ID: <86ejbsd4tw.fsf@ds4.des.no> Daniel Eischen writes: > Dag-Erling Sm?rgrav writes: > > Daniel Eischen writes: > > > If you want to know if the current thread has it locked, it should be > > > called pthread_mutex_isowned_np(). > > I don't see why one would be more correct than the other... > Because it is more obvious that _isowned() is for the current thread > than _islocked(). As you can tell by my previous (incorrect) > assumption. > > There is prior art for this outside of FreeBSD. Solaris has > mutex_owned() as part of their kernel mutex API. I would suggest > using pthread_mutex_owned_np(). Hmm, even FreeBSD has mtx_owned() :-) OK, so the next question is whether this reqires a repo-copy (or a repo-move), or if I can just cvs rm + cvs add (both the implementation and the regression test) DES -- Dag-Erling Sm?rgrav - des@des.no From deischen at freebsd.org Mon Feb 4 09:17:40 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Mon Feb 4 09:17:47 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <86ejbsd4tw.fsf@ds4.des.no> References: <200802032238.m13McAbf065324@repoman.freebsd.org> <86d4rdgehd.fsf@ds4.des.no> <868x20elw0.fsf@ds4.des.no> <86ejbsd4tw.fsf@ds4.des.no> Message-ID: On Mon, 4 Feb 2008, Dag-Erling Sm?rgrav wrote: > Daniel Eischen writes: >> Dag-Erling Sm?rgrav writes: >>> Daniel Eischen writes: >>>> If you want to know if the current thread has it locked, it should be >>>> called pthread_mutex_isowned_np(). >>> I don't see why one would be more correct than the other... >> Because it is more obvious that _isowned() is for the current thread >> than _islocked(). As you can tell by my previous (incorrect) >> assumption. >> >> There is prior art for this outside of FreeBSD. Solaris has >> mutex_owned() as part of their kernel mutex API. I would suggest >> using pthread_mutex_owned_np(). Hmm, even FreeBSD has mtx_owned() :-) > > OK, so the next question is whether this reqires a repo-copy (or a > repo-move), or if I can just cvs rm + cvs add (both the implementation > and the regression test) I would just remove it and readd it, since there is not history to keep... -- DE From dds at aueb.gr Mon Feb 4 10:20:30 2008 From: dds at aueb.gr (Diomidis Spinellis) Date: Mon Feb 4 10:20:35 2008 Subject: cvs commit: src/share/colldef el_GR.ISO8859-7.src In-Reply-To: <200802041025.m14APSrB055386@repoman.freebsd.org> References: <200802041025.m14APSrB055386@repoman.freebsd.org> Message-ID: <47A7544E.8030705@aueb.gr> Diomidis Spinellis wrote: > dds 2008-02-04 10:25:28 UTC > > FreeBSD src repository > > Modified files: > share/colldef el_GR.ISO8859-7.src > Log: > Fix collation order for accented characters. > > MFC after: 2 weeks > > Revision Changes Path > 1.3 +11 -11 src/share/colldef/el_GR.ISO8859-7.src > > BTW, as evidenced by ls -l /usr/share/locale/*.UTF-8/LC_COLLATE we don't support collation for UTF-8 locales. Is anyone planning to integrate http://unicode.org/reports/tr10/? If not, I could take this on, in a couple of months or so. Diomidis Spinellis From jkoshy at FreeBSD.org Mon Feb 4 10:50:29 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Mon Feb 4 10:50:31 2008 Subject: cvs commit: src/lib/libelf gelf_fsize.3 Message-ID: <200802041850.m14IoTYM016364@repoman.freebsd.org> jkoshy 2008-02-04 18:50:28 UTC FreeBSD src repository Modified files: lib/libelf gelf_fsize.3 Log: Document the return type for gelf_fsize(3). Submitted by: kaiw Revision Changes Path 1.3 +2 -1 src/lib/libelf/gelf_fsize.3 From mav at FreeBSD.org Mon Feb 4 11:26:54 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Feb 4 11:26:57 2008 Subject: cvs commit: src/sys/netgraph ng_bpf.c Message-ID: <200802041926.m14JQrOG025083@repoman.freebsd.org> mav 2008-02-04 19:26:53 UTC FreeBSD src repository Modified files: sys/netgraph ng_bpf.c Log: Prepare hooks direct pointers on setup to avoid heavy ng_findhook() calls during operarion. Revision Changes Path 1.24 +66 -27 src/sys/netgraph/ng_bpf.c From ache at nagual.pp.ru Mon Feb 4 11:42:16 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Mon Feb 4 11:42:23 2008 Subject: cvs commit: src/share/colldef el_GR.ISO8859-7.src In-Reply-To: <47A7544E.8030705@aueb.gr> References: <200802041025.m14APSrB055386@repoman.freebsd.org> <47A7544E.8030705@aueb.gr> Message-ID: <20080204194211.GA92461@nagual.pp.ru> On Mon, Feb 04, 2008 at 08:07:10PM +0200, Diomidis Spinellis wrote: > BTW, as evidenced by > > ls -l /usr/share/locale/*.UTF-8/LC_COLLATE > > we don't support collation for UTF-8 locales. Is anyone planning to > integrate http://unicode.org/reports/tr10/? If not, I could take this on, > in a couple of months or so. Nobody, AFAIK. In general such support should be extendable to any multibyte locale, not for UTF-8 only. -- http://ache.pp.ru/ From julian at FreeBSD.org Mon Feb 4 11:59:40 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Mon Feb 4 11:59:44 2008 Subject: cvs commit: src/lib/libkse/sys lock.c src/lib/libkse/thread thr_kern.c Message-ID: <200802041959.m14JxeYN026446@repoman.freebsd.org> julian 2008-02-04 19:59:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libkse/sys lock.c lib/libkse/thread thr_kern.c Log: MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c this copes with the fact that during a fork the child may get really screwy state in the threading system due to the sudden vaporisation of it's sibling threads. Revision Changes Path 1.11.2.1 +17 -8 src/lib/libkse/sys/lock.c 1.125.2.1 +25 -0 src/lib/libkse/thread/thr_kern.c From julian at FreeBSD.org Mon Feb 4 12:03:37 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Mon Feb 4 12:03:38 2008 Subject: cvs commit: src/lib/libkse/sys lock.c src/lib/libkse/thread thr_kern.c Message-ID: <200802042003.m14K3aC7027873@repoman.freebsd.org> julian 2008-02-04 20:03:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) lib/libkse/sys lock.c lib/libkse/thread thr_kern.c Log: MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c this copes with the fact that during a fork the child may get really screwy state in the threading system due to the sudden vaporisation of it's sibling threads. Approved by: re(kensmith) Revision Changes Path 1.11.4.1 +17 -8 src/lib/libkse/sys/lock.c 1.125.4.1 +25 -0 src/lib/libkse/thread/thr_kern.c From julian at FreeBSD.org Mon Feb 4 12:05:21 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Mon Feb 4 12:05:23 2008 Subject: cvs commit: src/lib/libpthread/sys lock.c src/lib/libpthread/thread thr_kern.c Message-ID: <200802042005.m14K5KcQ028010@repoman.freebsd.org> julian 2008-02-04 20:05:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libpthread/sys lock.c lib/libpthread/thread thr_kern.c Log: MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c this copes with the fact that during a fork the child may get really screwy state in the threading system due to the sudden vaporisation of it's sibling threads. Revision Changes Path 1.9.2.2 +17 -8 src/lib/libpthread/sys/lock.c 1.116.2.2 +25 -0 src/lib/libpthread/thread/thr_kern.c From jhb at freebsd.org Mon Feb 4 15:00:37 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Feb 4 15:00:41 2008 Subject: cvs commit: src/sys/dev/pci pci.c In-Reply-To: <47A73071.5080101@samsco.org> References: <200802012031.m11KV9NZ095246@repoman.freebsd.org> <200802040947.59712.jhb@freebsd.org> <47A73071.5080101@samsco.org> Message-ID: <200802041430.11691.jhb@freebsd.org> On Monday 04 February 2008 10:34:09 am Scott Long wrote: > John Baldwin wrote: > > On Friday 01 February 2008 09:18:38 pm Scott Long wrote: > >> John Baldwin wrote: > >>> jhb 2008-02-01 20:31:09 UTC > >>> > >>> FreeBSD src repository > >>> > >>> Modified files: > >>> sys/dev/pci pci.c > >>> Log: > >>> Relax the check for a PCI-express chipset by assuming the system is a > >>> PCI-express chipset (and thus has functional MSI) if there are any > >>> PCI-express devices in the system, not requiring a root port device. > >>> > >>> With PCI-X the chipset detection has to be very conservative because there > >>> are known systems with PCI-X devices that do not appear to have PCI-X > >>> chipsets. However, with PCI-express I'm not sure it is possible to have > >>> a PCI-express device in a system with a non-PCI-express chipset. If we > >>> assume that is the case then this change is valid. It is also required > >>> for at least some PCI-express systems that don't have any devices with > >>> a root port capability (some ICH9 systems). > >>> > >>> MFC after: 1 week > >>> Reported by: jfv > >>> > >>> Revision Changes Path > >>> 1.357 +2 -5 src/sys/dev/pci/pci.c > >> It's certainly possible for a PCI-X device to be plugged into a PCI-only > >> system; PCI-X is backwards compatible at an electrical an protocol level > >> with 3.3V PCI. So yes, you will see PCI-X extcaps on PCI-X cards even > >> if there is no PCI-X bridge. > >> > >> I'm sure there are fun, interesting, and highly obtuse ways to get a > >> PCI-E device onto a system with no PCI-E root complex. I do agree with > >> your implicit statement to not worry about such an edge case, at least > >> not until such an edge case becomes a demonstrated reality. What does > >> worry me is that Intel would release PCI-E chipsets without an > >> advertised root complex. That would seem to blatantly violate the spec. > >> Does Jack have confirmation that this is really the case? If so, what > >> else is being played fast-and-loose with that we should know about? > > > > It's not that it isn't advertising a root complex but isn't advertising a > > root _port_ unless there is a PCI-e expansion card plugged in. I guess > > internal PCI-e devices aren't connected via a port? It does seem > > inconsistent as my laptop with no external PCI-e slots has root ports > > capabilities on PCI-PCI bridges off of bus 0 that service internal devices. > > > > Ok, funky. So there are onboard PCIe devices, but it only advertises a > port if there are external devices. I'm not clear on the technical > distinction there either. Correct, I find it quite odd myself and had assumed that you would always have root ports. I was quite surprised to learn otherwise. :-/ -- John Baldwin From bmah at FreeBSD.org Mon Feb 4 20:54:37 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Mon Feb 4 20:54:40 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata article.sgml Message-ID: <200802050454.m154saEE094683@repoman.freebsd.org> bmah 2008-02-05 04:54:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/errata article.sgml Log: Somewhat belatedly, update errata article for a post-6.3 world. Add the first two errata notes: ISO image size change [1] and the lack of ipfwpcap(8) [2]. Pointed out by: Julian Stacey [1], Kurt Jaeger [2] Revision Changes Path 1.73.2.52 +17 -95 src/release/doc/en_US.ISO8859-1/errata/article.sgml From matteo at FreeBSD.org Tue Feb 5 00:07:19 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Tue Feb 5 00:07:21 2008 Subject: cvs commit: src/tools/tools/crypto cryptostats.c cryptotest.c Message-ID: <200802050807.m1587JRi009829@repoman.freebsd.org> matteo 2008-02-05 08:07:19 UTC FreeBSD src repository Modified files: tools/tools/crypto cryptostats.c cryptotest.c Log: Add missing includes and correct argument to sysctlbyname PR: misc/120274 MFC after: 1 week Revision Changes Path 1.3 +3 -1 src/tools/tools/crypto/cryptostats.c 1.10 +1 -0 src/tools/tools/crypto/cryptotest.c From des at FreeBSD.org Tue Feb 5 00:52:36 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Feb 5 00:52:38 2008 Subject: cvs commit: src/share/mk bsd.dep.mk src/usr.bin/kdump Makefile src/usr.bin/truss Makefile Message-ID: <200802050852.m158qacA021344@repoman.freebsd.org> des 2008-02-05 08:52:36 UTC FreeBSD src repository Modified files: share/mk bsd.dep.mk usr.bin/kdump Makefile usr.bin/truss Makefile Log: Revert CLEANDEPFILES commit per ru@'s request; it does not really solve the problem. The correct fix will follow. Revision Changes Path 1.50 +0 -5 src/share/mk/bsd.dep.mk 1.14 +1 -2 src/usr.bin/kdump/Makefile 1.24 +1 -2 src/usr.bin/truss/Makefile From des at FreeBSD.org Tue Feb 5 00:56:19 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Feb 5 00:56:21 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200802050856.m158uJ14021486@repoman.freebsd.org> des 2008-02-05 08:56:19 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: Give usr.bin/kdump/kdump_subr.c the same treatment as usr.bin/kdump/ioctl.c and usr.bin/truss/ioctl.c. This is the correct way to address the problem that arises when doing an incremental build after a header used by kdump has been removed (cf. i4b disconnect a while ago) Explained by: ru MFC after: 2 weeks Revision Changes Path 1.597 +1 -0 src/Makefile.inc1 From raj at FreeBSD.org Tue Feb 5 02:22:34 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Tue Feb 5 02:22:37 2008 Subject: cvs commit: src/sys/arm/arm genassym.c swtch.S src/sys/arm/include asmacros.h atomic.h sysarch.h Message-ID: <200802051022.m15AMXBl028672@repoman.freebsd.org> raj 2008-02-05 10:22:33 UTC FreeBSD src repository Modified files: sys/arm/arm genassym.c swtch.S sys/arm/include asmacros.h atomic.h sysarch.h Log: Improve ARM_TP_ADDRESS and RAS area. De-hardcode usage of ARM_TP_ADDRESS and RAS local storage, and move this special purpose page to a more convenient place i.e. after the vectors high page, more towards the end of address space. Previous location (0xe000_0000) caused grief if KVA was to go beyond the default limit. Note that ARM world rebuilding is required after this change since the location of ARM_TP_ADDRESS is shared between kernel and userland. Submitted by: Grzegorz Bernacki (gjb AT semihalf dot com) Reviewed by: imp Approved by: cognet (mentor) Revision Changes Path 1.11 +2 -0 src/sys/arm/arm/genassym.c 1.22 +2 -2 src/sys/arm/arm/swtch.S 1.8 +4 -4 src/sys/arm/include/asmacros.h 1.24 +29 -54 src/sys/arm/include/atomic.h 1.5 +14 -2 src/sys/arm/include/sysarch.h From raj at FreeBSD.org Tue Feb 5 02:23:43 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Tue Feb 5 02:23:50 2008 Subject: cvs commit: src/sys/arm/arm locore.S Message-ID: <200802051023.m15ANgen028717@repoman.freebsd.org> raj 2008-02-05 10:23:42 UTC FreeBSD src repository Modified files: sys/arm/arm locore.S Log: ARM locore cosmetics. Approved by: cognet (mentor) Revision Changes Path 1.18 +6 -10 src/sys/arm/arm/locore.S From raj at FreeBSD.org Tue Feb 5 02:46:31 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Tue Feb 5 02:46:35 2008 Subject: cvs commit: src/sys/tools embed_mfs.sh src/sys/conf Makefile.arm kern.post.mk Message-ID: <200802051046.m15AkUfH029643@repoman.freebsd.org> raj 2008-02-05 10:46:30 UTC FreeBSD src repository Modified files: sys/conf Makefile.arm kern.post.mk Added files: sys/tools embed_mfs.sh Log: Introduce a standalone shell script for embedding MFS image. This allows to fix a problem with ARM kernel.bin not having the MFS image embedded: it is objcopied from the kernel.noheader temporary ELF file, which was not subject to embedding the MFS image previously. Reviewed by: imp Approved by: cognet (mentor) Revision Changes Path 1.35 +4 -0 src/sys/conf/Makefile.arm 1.101 +1 -7 src/sys/conf/kern.post.mk 1.1 +39 -0 src/sys/tools/embed_mfs.sh (new) From joao at matik.com.br Tue Feb 5 04:11:29 2008 From: joao at matik.com.br (joao_br) Date: Tue Feb 5 04:11:33 2008 Subject: cvs commit: src/lib/libkse/sys lock.c src/lib/libkse/thread thr_kern.c In-Reply-To: <200802042003.m14K3aC7027873@repoman.freebsd.org> References: <200802042003.m14K3aC7027873@repoman.freebsd.org> Message-ID: <47A84133.4070407@matik.com.br> Julian Elischer escreveu: > julian 2008-02-04 20:03:36 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7_0) > lib/libkse/sys lock.c > lib/libkse/thread thr_kern.c > Log: > MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c > this copes with the fact that during a fork the child may get > really screwy state in the threading system due to the > sudden vaporisation of it's sibling threads. > After I compiled my kernel the machine frooze, I could repeat it, once after 30min another after an hour or so it really frooze up and not msg and no panic, I compiled debug options but still no trace, the machine froze the same way, quiet on the login prompt I went backwards with the sources and since then the machine is running as usual I tried this morning again with same results I have ULE in the kernel nothing else wiered, only cut out drivers I do not need FreeBSD gw.lucenet.com.br 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Tue Feb 5 08:42:16 BRST 2008 root@gw.lucenet.com.br:/usr/obj/usr/src/sys/wco7a amd64 FreeBSD 7.0-PRERELEASE #1: Tue Feb 5 08:42:16 BRST 2008 root@gw.lucenet.com.br:/usr/obj/usr/src/sys/wco7a Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2611.90-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 usable memory = 4252147712 (4055 MB) avail memory = 4090929152 (3901 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: [ITHREAD] > Approved by: re(kensmith) > > Revision Changes Path > 1.11.4.1 +17 -8 src/lib/libkse/sys/lock.c > 1.125.4.1 +25 -0 src/lib/libkse/thread/thr_kern.c > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" > > > > > > > > A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. > Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From lulf at FreeBSD.org Tue Feb 5 06:02:55 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Feb 5 06:02:59 2008 Subject: cvs commit: src/sbin/geom/core geom.8 Message-ID: <200802051402.m15E2ta6054322@repoman.freebsd.org> lulf 2008-02-05 14:02:55 UTC FreeBSD src repository Modified files: sbin/geom/core geom.8 Log: - Update geom(8) to explain that GEOM_LIBRARY_PATH can take a comma-separated list of paths. Approved by: pjd (mentor) MFC after: 2 days Revision Changes Path 1.20 +1 -0 src/sbin/geom/core/geom.8 From lulf at FreeBSD.org Tue Feb 5 06:06:15 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Feb 5 06:06:18 2008 Subject: cvs commit: src/release fixit.profile Message-ID: <200802051406.m15E6FXB055684@repoman.freebsd.org> lulf 2008-02-05 14:06:15 UTC FreeBSD src repository Modified files: release fixit.profile Log: - Add extra paths for GEOM_LIBRARY_PATH to the fixit environment to enable all geom commands in a chrooted environment on the livefs cd. PR: misc/120169 Approved by: pjd (mentor) MFC after: 2 days Revision Changes Path 1.13 +1 -1 src/release/fixit.profile From glebius at FreeBSD.org Tue Feb 5 06:17:37 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Tue Feb 5 06:17:53 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> <20080202201153.GL14339@FreeBSD.org> <47A4E122.8080901@FreeBSD.org> Message-ID: <20080205141739.GX14339@FreeBSD.org> On Sun, Feb 03, 2008 at 11:36:49AM -0500, Louis Mamakos wrote: L> > Gleb Smirnoff ?????: L> >> you should have asked me for review before committing! This is L> >> not a bug, this is a feature. This was quite clear from the comments, L> >> that you removed: L> >> - /* if export hook disconnected stop running expire(). */ L> >> This is intended behavior. We must not lose information unless L> >> user explicitly wants to lose information. In the latter case L> >> he will connect ng_hole(4) node to the "export" hook. But we must L> >> not lose information if user runs some script that swaps receiving L> >> node on the "export" hook. L> >> Please backout this change! L> > L> > Expire process was not depending completely on connected hook even before L> > this commit. For example, every TCP session closing forces some data L> > export. So even with export hook disconnected some data still will be lost L> > and not just lost, but it was leading to memory leak which I have fixed L> > with other commit. That's true. The active TCP close should be reworked. And the new active expiry feature violates the original design, when no export hook ment, no data lose. :( L> If there's a concern about no losing the netflow data, then it's likely that L> it's usually the case that an export hook is connected. If a user wanted to L> change the export arrangement for the netflow data, then just disconnected L> and reconnecting to the export hook won't caused data to be lost if the L> expiry parameters are set to something reasonable. Since expiry runs periodically, then it can race with hook change L> Finally, in the absence of infinite amounts of memory, data will eventually L> be lost. The only decision is over what duration data should be kept around L> so that it might be harvested. It's a huge surprise that the netflow module L> consumes large amounts of kernel memory. As a user, I expected the L> expiration timers to be the policy that I specify to control how long the L> netflow stats are stored, and my expectation wasn't met. Huge surprise? How can you expect a kernel module that stores a lot of data consume a little kernel memory? I agree that the behavior should be documented in manual page and using ng_hole(4) for your case should be advised. If you send me a manual page patch, I can commit it. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From csjp at FreeBSD.org Tue Feb 5 06:34:38 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 5 06:34:43 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200802051434.m15EYcYx057836@repoman.freebsd.org> csjp 2008-02-05 14:34:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_bsm.c Log: MFC revision 1.23 Make sure we handle listen() and eliminate console messages for unknown event types. Revision Changes Path 1.20.2.2 +1 -0 src/sys/security/audit/audit_bsm.c From csjp at FreeBSD.org Tue Feb 5 06:36:42 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 5 06:36:49 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200802051436.m15EafWG057991@repoman.freebsd.org> csjp 2008-02-05 14:36:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/security/audit audit_bsm.c Log: MFC revision 1.23 Make sure we handle listen() and eliminate console messages for unknown event types. Approved by: re@ (kensmith) Revision Changes Path 1.20.2.1.2.1 +1 -0 src/sys/security/audit/audit_bsm.c From lulf at FreeBSD.org Tue Feb 5 06:42:41 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Feb 5 06:42:46 2008 Subject: cvs commit: src/sbin/geom/core geom.8 In-Reply-To: <200802051402.m15E2ta6054322@repoman.freebsd.org> References: <200802051402.m15E2ta6054322@repoman.freebsd.org> Message-ID: <20080205144238.GA64279@carrot.studby.ntnu.no> On tir, feb 05, 2008 at 02:02:55pm +0000, Ulf Lilleengen wrote: > lulf 2008-02-05 14:02:55 UTC > > FreeBSD src repository > > Modified files: > sbin/geom/core geom.8 > Log: > - Update geom(8) to explain that GEOM_LIBRARY_PATH can take a comma-separated > list of paths. > s/comma/colon/ Sorry for the very typical Ulf-mistake :) -- Ulf Lilleengen From csjp at FreeBSD.org Tue Feb 5 07:03:37 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 5 07:03:39 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200802051503.m15F3aSk060238@repoman.freebsd.org> csjp 2008-02-05 15:03:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/security/audit audit_bsm.c Log: MFC revision 1.23 Make sure we handle listen() and eliminate console messages for unknown event types. Revision Changes Path 1.10.2.11 +1 -0 src/sys/security/audit/audit_bsm.c From csjp at FreeBSD.org Tue Feb 5 07:07:49 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 5 07:07:51 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200802051507.m15F7m2B060419@repoman.freebsd.org> csjp 2008-02-05 15:07:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_bsm.c Log: MFC revision 1.24 Whitespace fix Revision Changes Path 1.20.2.3 +2 -1 src/sys/security/audit/audit_bsm.c From csjp at FreeBSD.org Tue Feb 5 07:09:24 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 5 07:09:31 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200802051509.m15F9OqH060482@repoman.freebsd.org> csjp 2008-02-05 15:09:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/security/audit audit_bsm.c Log: MFC revision 1.24 Whitespace fix Revision Changes Path 1.10.2.12 +2 -1 src/sys/security/audit/audit_bsm.c From des at FreeBSD.org Tue Feb 5 07:41:59 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Feb 5 07:42:02 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200802051541.m15FfxMK062518@repoman.freebsd.org> des 2008-02-05 15:41:59 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: Satisfy a particularly obstinate nit-picker :) Revision Changes Path 1.598 +1 -1 src/Makefile.inc1 From lulf at FreeBSD.org Tue Feb 5 07:53:25 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Feb 5 07:53:31 2008 Subject: cvs commit: src/sbin/geom/core geom.8 Message-ID: <200802051553.m15FrO18062990@repoman.freebsd.org> lulf 2008-02-05 15:53:24 UTC FreeBSD src repository Modified files: sbin/geom/core geom.8 Log: - Forced commit to note that revision 1.20 log was misspelled and that comma should be spelled as colon. Approved by: kib (mentor) Revision Changes Path 1.21 +0 -0 src/sbin/geom/core/geom.8 From imp at bsdimp.com Tue Feb 5 07:59:03 2008 From: imp at bsdimp.com (Warner Losh) Date: Tue Feb 5 07:59:11 2008 Subject: cvs commit: src Makefile.inc1 In-Reply-To: <200802051541.m15FfxMK062518@repoman.freebsd.org> References: <200802051541.m15FfxMK062518@repoman.freebsd.org> Message-ID: <20080205.085327.41672487.imp@bsdimp.com> > Satisfy a particularly obstinate nit-picker :) -# XXX - These two can depend on any header file. +# XXX - These three can depend on any header file. "Three shall be the count, and the count shall be three. Countest thou not to two, unless thous proceedest on to three. Count thou not to four. Five is right out." From obrien at FreeBSD.org Tue Feb 5 09:34:45 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Feb 5 09:34:54 2008 Subject: cvs commit: src/usr.bin/logger logger.c Message-ID: <200802051734.m15HYjPn079991@repoman.freebsd.org> obrien 2008-02-05 17:34:45 UTC FreeBSD src repository Modified files: usr.bin/logger logger.c Log: Minor style(9) nit. Revision Changes Path 1.17 +1 -1 src/usr.bin/logger/logger.c From obrien at FreeBSD.org Tue Feb 5 09:35:29 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Feb 5 09:35:32 2008 Subject: cvs commit: src/usr.bin/logger logger.c Message-ID: <200802051735.m15HZTMv080106@repoman.freebsd.org> obrien 2008-02-05 17:35:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/logger logger.c Log: MFC: 1.17 (style nit) Revision Changes Path 1.16.2.1 +1 -1 src/usr.bin/logger/logger.c From simon at FreeBSD.org Tue Feb 5 10:10:32 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Tue Feb 5 10:10:39 2008 Subject: cvs commit: src/crypto/openssl/crypto/engine eng_cryptodev.c Message-ID: <200802051810.m15IAVsU082937@repoman.freebsd.org> simon 2008-02-05 18:10:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) crypto/openssl/crypto/engine eng_cryptodev.c Log: MFC 1.2: Unbreak detection of cryptodev support for FreeBSD which was broken with OpenSSL 0.9.8 import. Note that this does not enable cryptodev by default, as it was the case with OpenSSL 0.9.7 in FreeBSD base, but this change makes it possible to enable cryptodev at all. Revision Changes Path 1.1.1.1.2.1 +2 -1 src/crypto/openssl/crypto/engine/eng_cryptodev.c From sam at FreeBSD.org Tue Feb 5 10:16:36 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Feb 5 10:16:39 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802051816.m15IGa1N084034@repoman.freebsd.org> sam 2008-02-05 18:16:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sbin/ifconfig ifieee80211.c Log: MFC 1.49: fix list mac Approved by: re (kensmith) Revision Changes Path 1.47.2.1.2.1 +7 -3 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Tue Feb 5 10:17:30 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Feb 5 10:17:33 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200802051817.m15IHTOj084125@repoman.freebsd.org> sam 2008-02-05 18:17:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sbin/ifconfig ifieee80211.c Log: MFC 1.50: correct tx rate displayed by list sta Approved by: re (kensmith) Revision Changes Path 1.47.2.1.2.2 +7 -4 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Tue Feb 5 10:19:13 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Feb 5 10:19:15 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.c Message-ID: <200802051819.m15IJC3v084191@repoman.freebsd.org> sam 2008-02-05 18:19:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/net80211 ieee80211_ht.c Log: MFC 1.8: correct typo that broke check when handling addba response Approved by: re (kensmith) Revision Changes Path 1.4.2.3.2.1 +2 -1 src/sys/net80211/ieee80211_ht.c From sam at FreeBSD.org Tue Feb 5 10:27:54 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Feb 5 10:27:58 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200802051827.m15IRsoG084597@repoman.freebsd.org> sam 2008-02-05 18:27:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_input.c Log: MFC 1.115: fix use with altq Submitted by: sephe Revision Changes Path 1.113.2.2 +6 -2 src/sys/net80211/ieee80211_input.c From sam at FreeBSD.org Tue Feb 5 10:29:03 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Feb 5 10:29:10 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200802051829.m15IT36b084679@repoman.freebsd.org> sam 2008-02-05 18:29:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/net80211 ieee80211_input.c Log: MFC 1.115: fix use w/ altq Submitted by: sephe Approved by: re (kensmith) Revision Changes Path 1.113.2.1.2.1 +6 -2 src/sys/net80211/ieee80211_input.c From mav at FreeBSD.org Tue Feb 5 11:21:01 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 5 11:21:03 2008 Subject: cvs commit: src/sys/netgraph ng_pppoe.c Message-ID: <200802051921.m15JL0kD089739@repoman.freebsd.org> mav 2008-02-05 19:21:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev. 1.89-1.91 Implement Session-ID hashing to improve receive performance scalability for big number of concurrent sessions. Revision Changes Path 1.84.2.3 +72 -32 src/sys/netgraph/ng_pppoe.c From antoine at FreeBSD.org Tue Feb 5 11:23:23 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Tue Feb 5 11:23:30 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200802051923.m15JNNji089895@repoman.freebsd.org> antoine 2008-02-05 19:23:23 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: Add myself. Approved by: rwatson (mentor) Revision Changes Path 1.71 +2 -0 src/share/misc/committers-src.dot From mav at FreeBSD.org Tue Feb 5 11:24:09 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 5 11:24:11 2008 Subject: cvs commit: src/sys/netgraph ng_pppoe.c Message-ID: <200802051924.m15JO9nE089943@repoman.freebsd.org> mav 2008-02-05 19:24:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.89-1.91 Implement Session-ID hashing to improve receive performance scalability for big number of concurrent sessions. Revision Changes Path 1.74.2.8 +72 -32 src/sys/netgraph/ng_pppoe.c From mav at FreeBSD.org Tue Feb 5 11:33:04 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 5 11:33:10 2008 Subject: cvs commit: src/sys/netgraph ng_tee.c Message-ID: <200802051933.m15JX3N4090412@repoman.freebsd.org> mav 2008-02-05 19:33:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_tee.c Log: MFC rev. 1.34 Move all possible node logic out of the rcvdata() function to the newhook()/disconnect(). Unify function names with other nodes. Revision Changes Path 1.33.10.1 +90 -96 src/sys/netgraph/ng_tee.c From antoine at FreeBSD.org Tue Feb 5 11:34:54 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Tue Feb 5 11:34:56 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.freebsd Message-ID: <200802051934.m15JYs1O090504@repoman.freebsd.org> antoine 2008-02-05 19:34:54 UTC FreeBSD src repository Modified files: usr.bin/calendar/calendars calendar.freebsd Log: Add my birthday. Approved by: rwatson (mentor) Revision Changes Path 1.224 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From mav at FreeBSD.org Tue Feb 5 11:48:05 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 5 11:48:07 2008 Subject: cvs commit: src/sys/netgraph ng_bpf.c Message-ID: <200802051948.m15Jm4r0091095@repoman.freebsd.org> mav 2008-02-05 19:48:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_bpf.c Log: MFC rev. 1.23-1.24 - Avoid data copying when it is possible. bpf_filter() is able to work directly on mbuf chain - Prepare hooks direct pointers on setup to avoid heavy ng_findhook() calls during operarion. Revision Changes Path 1.22.2.1 +78 -27 src/sys/netgraph/ng_bpf.c From julian at elischer.org Tue Feb 5 11:49:40 2008 From: julian at elischer.org (Julian Elischer) Date: Tue Feb 5 11:49:44 2008 Subject: cvs commit: src/lib/libkse/sys lock.c src/lib/libkse/thread thr_kern.c In-Reply-To: <47A84133.4070407@matik.com.br> References: <200802042003.m14K3aC7027873@repoman.freebsd.org> <47A84133.4070407@matik.com.br> Message-ID: <47A8BDD2.40304@elischer.org> joao_br wrote: > Julian Elischer escreveu: >> julian 2008-02-04 20:03:36 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_7_0) >> lib/libkse/sys lock.c lib/libkse/thread thr_kern.c >> Log: >> MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for >> thread/thr_kern.c >> this copes with the fact that during a fork the child may get >> really screwy state in the threading system due to the >> sudden vaporisation of it's sibling threads. >> > > > After I compiled my kernel the machine frooze, I could repeat it, once > after 30min another after an hour or so > it really frooze up and not msg and no panic, I compiled debug options > but still no trace, the machine froze the same way, quiet on the login > prompt > This changes libkse. Libkse is not used by default in 7.0. libkse can't make the kernel freeze. do you have any programs linked with libkse? > I went backwards with the sources and since then the machine is running > as usual > > I tried this morning again with same results > > I have ULE in the kernel nothing else wiered, only cut out drivers I do > not need > > FreeBSD gw.lucenet.com.br 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Tue > Feb 5 08:42:16 BRST 2008 > root@gw.lucenet.com.br:/usr/obj/usr/src/sys/wco7a amd64 > > > FreeBSD 7.0-PRERELEASE #1: Tue Feb 5 08:42:16 BRST 2008 > root@gw.lucenet.com.br:/usr/obj/usr/src/sys/wco7a > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2611.90-MHz > K8-class CPU) > Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 > > Features=0x178bfbff > > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x1f > Cores per package: 2 > usable memory = 4252147712 (4055 MB) > avail memory = 4090929152 (3901 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: [ITHREAD] > > > >> Approved by: re(kensmith) >> Revision Changes Path >> 1.11.4.1 +17 -8 src/lib/libkse/sys/lock.c >> 1.125.4.1 +25 -0 src/lib/libkse/thread/thr_kern.c >> _______________________________________________ >> cvs-all@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/cvs-all >> To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" >> >> >> >> >> >> >> >> A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada >> segura. >> Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br > > > > > > > > > A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada > segura. > Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From matteo at FreeBSD.org Tue Feb 5 12:03:45 2008 From: matteo at FreeBSD.org (Matteo Riondato) Date: Tue Feb 5 12:03:48 2008 Subject: cvs commit: src/lib/librpcsvc Makefile Message-ID: <200802052003.m15K3jkj093200@repoman.freebsd.org> matteo 2008-02-05 20:03:45 UTC FreeBSD src repository Modified files: lib/librpcsvc Makefile Log: set WARNS to 1: with WARNS=2 an aliasing error in a file generated by rpcgen from include/rpcsvc/rex.x is exposed and I really don't know how to fix it. MFC after: 1 week Revision Changes Path 1.24 +1 -1 src/lib/librpcsvc/Makefile From simon at FreeBSD.org Tue Feb 5 13:02:05 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Tue Feb 5 13:02:07 2008 Subject: cvs commit: src/crypto/openssl/crypto/engine eng_cryptodev.c Message-ID: <200802052102.m15L25j8009494@repoman.freebsd.org> simon 2008-02-05 21:02:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) crypto/openssl/crypto/engine eng_cryptodev.c Log: MFC 1.2: Unbreak detection of cryptodev support for FreeBSD which was broken with OpenSSL 0.9.8 import. Note that this does not enable cryptodev by default, as it was the case with OpenSSL 0.9.7 in FreeBSD base, but this change makes it possible to enable cryptodev at all. Approved by: re (kensmith) Revision Changes Path 1.1.1.1.4.1 +2 -1 src/crypto/openssl/crypto/engine/eng_cryptodev.c From wb at freebie.xs4all.nl Tue Feb 5 13:11:36 2008 From: wb at freebie.xs4all.nl (Wilko Bulte) Date: Tue Feb 5 13:11:40 2008 Subject: cvs commit: src Makefile.inc1 In-Reply-To: <20080205.085327.41672487.imp@bsdimp.com> References: <200802051541.m15FfxMK062518@repoman.freebsd.org> <20080205.085327.41672487.imp@bsdimp.com> Message-ID: <20080205211124.GA52989@freebie.xs4all.nl> Quoting Warner Losh, who wrote on Tue, Feb 05, 2008 at 08:53:27AM -0700 .. > > Satisfy a particularly obstinate nit-picker :) > > -# XXX - These two can depend on any header file. > +# XXX - These three can depend on any header file. > > "Three shall be the count, and the count shall be three. Countest > thou not to two, unless thous proceedest on to three. Count thou not > to four. Five is right out." Visited one of the Colorado micro-breweries lately? Very inspiring beer ;-) -- Wilko Bulte wilko@FreeBSD.org From kmacy at FreeBSD.org Tue Feb 5 14:20:17 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Feb 5 14:20:19 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_main.c src/sys/dev/cxgb/sys mvec.h uipc_mvec.c Message-ID: <200802052220.m15MKG4A016874@repoman.freebsd.org> kmacy 2008-02-05 22:20:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_main.c sys/dev/cxgb/sys mvec.h uipc_mvec.c Log: Don't pollute the mbuf helper routine namespace Revision Changes Path 1.36.2.1 +2 -2 src/sys/dev/cxgb/cxgb_main.c 1.6.2.1 +3 -3 src/sys/dev/cxgb/sys/mvec.h 1.14.2.1 +1 -1 src/sys/dev/cxgb/sys/uipc_mvec.c From mav at FreeBSD.org Tue Feb 5 14:47:29 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 5 14:47:31 2008 Subject: cvs commit: src/sys/netgraph ng_tee.c Message-ID: <200802052247.m15MlSnR017916@repoman.freebsd.org> mav 2008-02-05 22:47:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_tee.c Log: MFC rev. 1.34 Move all possible node logic out of the rcvdata() function to the newhook()/disconnect(). Unify function names with other nodes. Revision Changes Path 1.33.2.1 +90 -96 src/sys/netgraph/ng_tee.c From jhb at FreeBSD.org Tue Feb 5 15:37:43 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 5 15:37:45 2008 Subject: cvs commit: src/sbin/gpt gpt.8 migrate.c show.c Message-ID: <200802052337.m15NbgsO023230@repoman.freebsd.org> jhb 2008-02-05 23:37:42 UTC FreeBSD src repository Modified files: sbin/gpt gpt.8 migrate.c show.c Log: Add ZFS support. MFC after: 1 week PR: bin/119976 Submitted by: Simun Mikecin numisemis of yahoo.com Revision Changes Path 1.19 +1 -1 src/sbin/gpt/gpt.8 1.17 +7 -0 src/sbin/gpt/migrate.c 1.16 +3 -0 src/sbin/gpt/show.c From ceri at FreeBSD.org Tue Feb 5 15:42:38 2008 From: ceri at FreeBSD.org (Ceri Davies) Date: Tue Feb 5 15:42:41 2008 Subject: cvs commit: src/sbin/gpt gpt.8 Message-ID: <200802052342.m15NgcUP023587@repoman.freebsd.org> ceri 2008-02-05 23:42:37 UTC FreeBSD src repository Modified files: sbin/gpt gpt.8 Log: Bump .Dd for r1.19; use consistent whitespace. Revision Changes Path 1.20 +2 -2 src/sbin/gpt/gpt.8 From pb at FreeBSD.org Tue Feb 5 15:42:39 2008 From: pb at FreeBSD.org (Pierre Beyssac) Date: Tue Feb 5 15:42:47 2008 Subject: cvs commit: src/sbin/iscontrol misc.c Message-ID: <200802052342.m15NgctY023614@repoman.freebsd.org> pb 2008-02-05 23:42:38 UTC FreeBSD src repository Modified files: sbin/iscontrol misc.c Log: Fix a bug in hexadecimal formatting of the CHAP digest: bytes >= 0x80 were formatted as 0xff, causing the authentication to fail. Reviewed by: scottl MFC after: 1 week Revision Changes Path 1.2 +1 -1 src/sbin/iscontrol/misc.c From attilio at FreeBSD.org Tue Feb 5 16:04:10 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Tue Feb 5 16:04:15 2008 Subject: cvs commit: src/sys/kern kern_timeout.c subr_lock.c Message-ID: <200802060004.m160494G028894@repoman.freebsd.org> attilio 2008-02-06 00:04:09 UTC FreeBSD src repository Modified files: sys/kern kern_timeout.c subr_lock.c Log: Really, no explicit checks against against lock_class_* object should be done in consumers code: using locks properties is much more appropriate. Fix current code doing these bogus checks. Note: Really, callout are not usable by all !(LC_SPINLOCK | LC_SLEEPABLE) primitives like rmlocks doesn't implement the generic lock layer functions, but they can be equipped for this, so the check is still valid. Tested by: matteo, kris (earlier version) Reviewed by: jhb Revision Changes Path 1.109 +2 -2 src/sys/kern/kern_timeout.c 1.22 +2 -2 src/sys/kern/subr_lock.c From attilio at FreeBSD.org Tue Feb 5 16:37:15 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Tue Feb 5 16:37:18 2008 Subject: cvs commit: src/sys/kern kern_lock.c src/sys/sys lockmgr.h Message-ID: <200802060037.m160bFNJ030997@repoman.freebsd.org> attilio 2008-02-06 00:37:14 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c sys/sys lockmgr.h Log: Add WITNESS support to lockmgr locking primitive. This support tries to be as parallel as possible with other locking primitives, but there are differences; more specifically: - The base witness support is alredy equipped for allowing lock duplication acquisition as lockmgr rely on this. - In the case of lockmgr_disown() the lock result unlocked by witness even if it is still held by the "kernel context" - In the case of upgrading we can have 3 different situations: * Total unlocking of the shared lock and nothing else * Real witness upgrade if the owner is the first upgrader * Shared unlocking and exclusive locking if the owner is not the first upgrade but it is still allowed to upgrade - LK_DRAIN is basically handled like an exclusive acquisition Additively new options LK_NODUP and LK_NOWITNESS can now be used with lockinit(): LK_NOWITNESS disables WITNESS for the specified lock while LK_NODUP enable duplicated locks tracking. This will require manpages update and a __FreeBSD_version bumping (addressed by further commits). This patch also fixes a problem occurring if a lockmgr is held in exclusive mode and the same owner try to acquire it in shared mode: currently there is a spourious shared locking acquisition while what we really want is a lock downgrade. Probabilly, this situation can be better served with a EDEADLK failing errno return. Side note: first testing on this patch alredy reveleated several LORs reported, so please expect LORs cascades until resolved. NTFS also is reported broken by WITNESS introduction. BTW, NTFS is exposing a lock leak which needs to be fixed, and this patch can help it out if rightly tweaked. Tested by: kris, yar, Scot Hetzel Revision Changes Path 1.121 +46 -11 src/sys/kern/kern_lock.c 1.59 +5 -1 src/sys/sys/lockmgr.h From attilio at FreeBSD.org Tue Feb 5 16:42:28 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Tue Feb 5 16:42:29 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802060042.m160gREJ031175@repoman.freebsd.org> attilio 2008-02-06 00:42:26 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version in order to reflect introduction of LK_NODUP and LK_NOWITNESS options in the lockmgr namespace. Revision Changes Path 1.331 +1 -1 src/sys/sys/param.h From attilio at FreeBSD.org Tue Feb 5 16:50:52 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Tue Feb 5 16:50:54 2008 Subject: cvs commit: src/share/man/man9 lock.9 Message-ID: <200802060050.m160op91040324@repoman.freebsd.org> attilio 2008-02-06 00:50:51 UTC FreeBSD src repository Modified files: share/man/man9 lock.9 Log: Update manpage in order to reflect LK_NODUP and LK_NOWITNESS options introduction. Revision Changes Path 1.23 +9 -2 src/share/man/man9/lock.9 From scottl at FreeBSD.org Tue Feb 5 16:59:39 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 16:59:42 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Message-ID: <200802060059.m160xcF2040827@repoman.freebsd.org> scottl 2008-02-06 00:59:38 UTC FreeBSD src repository Modified files: sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Log: Update the hptrr driver to version 1.2. This adds port multiplier support for several cards. See the Highpoint website for more information. Again, many thanks to Highpoint for their continued support of FreeBSD. Revision Changes Path 1.2 +13261 -12830 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.2 +8 -5 src/sys/dev/hptrr/array.h 1.2 +134 -117 src/sys/dev/hptrr/him.h 1.2 +0 -0 src/sys/dev/hptrr/himfuncs.h 1.2 +76 -20 src/sys/dev/hptrr/hptintf.h 1.2 +5 -2 src/sys/dev/hptrr/hptrr_config.c 1.2 +8 -3 src/sys/dev/hptrr/hptrr_config.h 1.2 +0 -0 src/sys/dev/hptrr/hptrr_os_bsd.c 1.3 +3 -6 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.2 +8768 -8363 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.2 +56 -31 src/sys/dev/hptrr/ldm.h 1.2 +0 -0 src/sys/dev/hptrr/list.h 1.2 +4 -0 src/sys/dev/hptrr/os_bsd.h 1.2 +8 -6 src/sys/dev/hptrr/osm.h From jeff at FreeBSD.org Tue Feb 5 17:02:13 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Tue Feb 5 17:02:16 2008 Subject: cvs commit: src/sys/sys proc.h rwlock.h src/sys/kern kern_rwlock.c subr_turnstile.c Message-ID: <200802060102.m1612DTh041089@repoman.freebsd.org> jeff 2008-02-06 01:02:13 UTC FreeBSD src repository Modified files: sys/sys proc.h rwlock.h sys/kern kern_rwlock.c subr_turnstile.c Log: Adaptive spinning in write path with readers and writer starvation avoidance. - Move recursion checking into rwlock inlines to free a bit for use with adaptive spinners. - Clear the RW_LOCK_WRITE_SPINNERS flag whenever the lock state changes causing write spinners to restart their loop. - Write spinners are limited by a count while readers hold the lock as there is no way to know for certain whether readers are running still. - In the read path block if there are write waiters or spinners to avoid starving writers. Use a new per-thread count, td_rw_rlocks, to skip starvation avoidance if it might cause a deadlock. - Remove or change invalid assertions in turnstiles. Reviewed by: attilio (developed parts of the patch as well) Sponsored by: Nokia Revision Changes Path 1.35 +172 -156 src/sys/kern/kern_rwlock.c 1.171 +3 -8 src/sys/kern/subr_turnstile.c 1.502 +2 -1 src/sys/sys/proc.h 1.15 +6 -3 src/sys/sys/rwlock.h From scottl at FreeBSD.org Tue Feb 5 17:02:21 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 17:02:25 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Message-ID: <200802060102.m1612L81041163@repoman.freebsd.org> scottl 2008-02-06 01:02:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Log: Update the hptrr driver to version 1.2. This adds port multiplier support for several cards. See the Highpoint website for more information. Again, many thanks to Highpoint for their continued support of FreeBSD. Revision Changes Path 1.1.2.2 +13261 -12830 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.1.2.2 +8 -5 src/sys/dev/hptrr/array.h 1.1.2.2 +134 -117 src/sys/dev/hptrr/him.h 1.1.2.2 +0 -0 src/sys/dev/hptrr/himfuncs.h 1.1.2.2 +76 -20 src/sys/dev/hptrr/hptintf.h 1.1.2.2 +5 -2 src/sys/dev/hptrr/hptrr_config.c 1.1.2.2 +8 -3 src/sys/dev/hptrr/hptrr_config.h 1.1.2.2 +0 -0 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.2 +7 -8 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.1.2.2 +8768 -8363 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.1.2.2 +56 -31 src/sys/dev/hptrr/ldm.h 1.1.2.2 +0 -0 src/sys/dev/hptrr/list.h 1.1.2.2 +4 -0 src/sys/dev/hptrr/os_bsd.h 1.1.2.2 +8 -6 src/sys/dev/hptrr/osm.h From iwasaki at FreeBSD.org Tue Feb 5 17:34:20 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Tue Feb 5 17:34:22 2008 Subject: cvs commit: src/sys/kern subr_bus.c src/sys/sys bus.h Message-ID: <200802060134.m161YJGu044938@repoman.freebsd.org> iwasaki 2008-02-06 01:34:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_bus.c sys/sys bus.h Log: MFC revision: subr_bus.c:1.204, bus.h:1.79 Add devctl_process_running() so that power management system driver can check whether devd(8) is running. Approved by: re (kensmith) Revision Changes Path 1.201.2.1 +9 -0 src/sys/kern/subr_bus.c 1.78.2.1 +1 -0 src/sys/sys/bus.h From iwasaki at FreeBSD.org Tue Feb 5 17:38:04 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Tue Feb 5 17:38:06 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <200802060138.m161c4JF045113@repoman.freebsd.org> iwasaki 2008-02-06 01:38:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi.c Log: MFC revistion: 1.244 Enter the sleep state immediately without waiting for timeout if devd(8) is not running such as the system in single user mode. Approved by: re (kensmith) Revision Changes Path 1.243.2.1 +10 -0 src/sys/dev/acpica/acpi.c From iwasaki at FreeBSD.org Tue Feb 5 17:44:45 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Tue Feb 5 17:44:47 2008 Subject: cvs commit: src/sys/dev/ciss ciss.c Message-ID: <200802060144.m161iisZ045467@repoman.freebsd.org> iwasaki 2008-02-06 01:44:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ciss ciss.c Log: MFC revision: 1.83, 1.85, 1.86 Add NOP-message polling to ciss_periodic(). Disable adapter by detecting adapter is dead. Reviewed by: scottl Approved by: re (kensmith) Revision Changes Path 1.81.2.2 +97 -1 src/sys/dev/ciss/ciss.c From jasone at FreeBSD.org Tue Feb 5 18:59:55 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Tue Feb 5 18:59:57 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.3 malloc.c Message-ID: <200802060259.m162xsv4050323@repoman.freebsd.org> jasone 2008-02-06 02:59:54 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.3 malloc.c Log: Track dirty unused pages so that they can be purged if they exceed a threshold, according to the 'F' MALLOC_OPTIONS flag. This obsoletes the 'H' flag. Try to realloc() large objects in place. This substantially speeds up incremental large reallocations in the common case. Fix a bug in arena_ralloc() that caused relocation of sub-page objects even if the old and new sizes were in the same size class. Maintain trees of runs and simplify the per-chunk page map. This allows logarithmic-time searching for sufficiently large runs in arena_run_alloc(), whereas the previous algorithm required linear time in the worst case. Break various large functions into smaller sub-functions, and inline only the functions that are in the fast path for small object allocation/deallocation. Remove an unnecessary check in base_pages_alloc_mmap(). Avoid integer division in choose_arena() for the NO_TLS case on single-CPU systems. Revision Changes Path 1.77 +17 -15 src/lib/libc/stdlib/malloc.3 1.162 +960 -668 src/lib/libc/stdlib/malloc.c From scottl at FreeBSD.org Tue Feb 5 19:24:29 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 19:24:31 2008 Subject: cvs commit: src/sys/modules Makefile src/sys/modules/rr232x Makefile src/sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h list.h os_bsd.c os_bsd.h osm.h ... Message-ID: <200802060324.m163OTQs053589@repoman.freebsd.org> scottl 2008-02-06 03:24:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/modules Makefile sys/conf files.amd64 files.i386 sys/i386/conf GENERIC NOTES sys/amd64/conf GENERIC NOTES Removed files: (Branch: RELENG_7_0) sys/modules/rr232x Makefile sys/dev/rr232x LICENSE README amd64-elf.rr232x_lib.o.uu array.h him.h himfuncs.h hptintf.h i386-elf.rr232x_lib.o.uu ldm.h list.h os_bsd.c os_bsd.h osm.h osm_bsd.c rr232x_config.c rr232x_config.h Log: Remove the rr232x driver. It has been superseced by the hptrr driver. Approved by: re Revision Changes Path 1.484.2.2.2.1 +0 -1 src/sys/amd64/conf/GENERIC 1.69.2.3.2.1 +0 -5 src/sys/amd64/conf/NOTES 1.107.2.4.2.1 +0 -7 src/sys/conf/files.amd64 1.580.2.4.2.1 +0 -8 src/sys/conf/files.i386 1.1.8.1 +0 -30 src/sys/dev/rr232x/LICENSE (dead) 1.1.8.1 +0 -202 src/sys/dev/rr232x/README (dead) 1.1.8.1 +0 -4567 src/sys/dev/rr232x/amd64-elf.rr232x_lib.o.uu (dead) 1.1.8.1 +0 -179 src/sys/dev/rr232x/array.h (dead) 1.1.8.1 +0 -440 src/sys/dev/rr232x/him.h (dead) 1.1.8.1 +0 -100 src/sys/dev/rr232x/himfuncs.h (dead) 1.1.8.1 +0 -1647 src/sys/dev/rr232x/hptintf.h (dead) 1.1.8.1 +0 -3068 src/sys/dev/rr232x/i386-elf.rr232x_lib.o.uu (dead) 1.1.8.1 +0 -484 src/sys/dev/rr232x/ldm.h (dead) 1.1.8.1 +0 -121 src/sys/dev/rr232x/list.h (dead) 1.1.8.1 +0 -297 src/sys/dev/rr232x/os_bsd.c (dead) 1.3.4.1 +0 -258 src/sys/dev/rr232x/os_bsd.h (dead) 1.1.8.1 +0 -199 src/sys/dev/rr232x/osm.h (dead) 1.6.4.1 +0 -1355 src/sys/dev/rr232x/osm_bsd.c (dead) 1.1.8.1 +0 -31 src/sys/dev/rr232x/rr232x_config.c (dead) 1.1.8.1 +0 -107 src/sys/dev/rr232x/rr232x_config.h (dead) 1.474.2.2.2.1 +0 -1 src/sys/i386/conf/GENERIC 1.1244.2.3.2.1 +0 -5 src/sys/i386/conf/NOTES 1.540.2.5.2.1 +0 -3 src/sys/modules/Makefile 1.3.4.1 +0 -14 src/sys/modules/rr232x/Makefile (dead) From scottl at FreeBSD.org Tue Feb 5 19:30:14 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 19:30:16 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802060330.m163UE4p053816@repoman.freebsd.org> scottl 2008-02-06 03:30:13 UTC FreeBSD src repository Modified files: share/man/man4 hptrr.4 Log: Add a note that the hptrr driver supersedes the rr232x driver. Revision Changes Path 1.2 +2 -0 src/share/man/man4/hptrr.4 From iwasaki at FreeBSD.org Tue Feb 5 19:35:42 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Tue Feb 5 19:35:45 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c src/sys/kern subr_bus.c src/sys/sys bus.h Message-ID: <200802060335.m163ZfZF054091@repoman.freebsd.org> iwasaki 2008-02-06 03:35:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/acpica acpi.c sys/kern subr_bus.c sys/sys bus.h Log: MFC revision: subr_bus.c:1.204, bus.h:1.79, acpi.c:1.244 o Add devctl_process_running() so that power management system driver can check whether devd(8) is running. o Enter the sleep state immediately without waiting for timeout if devd(8) is not running such as the system in single user mode. Approved by: re (kensmith) Revision Changes Path 1.243.4.1 +10 -0 src/sys/dev/acpica/acpi.c 1.201.4.1 +9 -0 src/sys/kern/subr_bus.c 1.78.4.1 +1 -0 src/sys/sys/bus.h From scottl at FreeBSD.org Tue Feb 5 19:35:55 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 19:35:57 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802060335.m163ZtST054124@repoman.freebsd.org> scottl 2008-02-06 03:35:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 hptrr.4 Log: Add a note that the hptrr driver supersedes the rr232x driver. Revision Changes Path 1.1.2.2 +2 -0 src/share/man/man4/hptrr.4 From scottl at FreeBSD.org Tue Feb 5 19:38:48 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 19:38:51 2008 Subject: cvs commit: src/share/man/man4 Makefile hptrr.4 rr232x.4 Message-ID: <200802060338.m163clrU054267@repoman.freebsd.org> scottl 2008-02-06 03:38:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man4 Makefile hptrr.4 Removed files: (Branch: RELENG_7_0) share/man/man4 rr232x.4 Log: Remove the rr232x.4 manual page and add links and references to the hptrr page. Approved by: re Revision Changes Path 1.393.2.2.2.3 +1 -1 src/share/man/man4/Makefile 1.1.2.1.2.1 +2 -0 src/share/man/man4/hptrr.4 1.3.4.1 +0 -96 src/share/man/man4/rr232x.4 (dead) From iwasaki at FreeBSD.org Tue Feb 5 19:39:03 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Tue Feb 5 19:39:04 2008 Subject: cvs commit: src/sys/dev/ciss ciss.c Message-ID: <200802060339.m163d236054299@repoman.freebsd.org> iwasaki 2008-02-06 03:39:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/ciss ciss.c Log: MFC revision: 1.83, 1.85, 1.86 Add NOP-message polling to ciss_periodic(). Disable adapter by detecting adapter is dead. Reviewed by: scottl Approved by: re (kensmith) Revision Changes Path 1.81.2.1.2.1 +97 -1 src/sys/dev/ciss/ciss.c From scottl at FreeBSD.org Tue Feb 5 19:44:12 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 19:44:15 2008 Subject: cvs commit: src/share/man/man4 hptiop.4 src/sys/dev/hptiop hptiop.c hptiop.h Message-ID: <200802060344.m163iB9p054515@repoman.freebsd.org> scottl 2008-02-06 03:44:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man4 hptiop.4 sys/dev/hptiop hptiop.c hptiop.h Log: Update the hptiop driver to version 1.3. This adds support for the 4xxx series of adapters. Thanks again to Highpoint for their continued support of FreeBSD. Submitted by: Highpoint Technologies Approved by: re Revision Changes Path 1.1.4.1 +29 -6 src/share/man/man4/hptiop.4 1.2.4.1 +1355 -454 src/sys/dev/hptiop/hptiop.c 1.1.4.1 +172 -85 src/sys/dev/hptiop/hptiop.h From scottl at FreeBSD.org Tue Feb 5 20:37:59 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 20:38:02 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Message-ID: <200802060437.m164bwCg058985@repoman.freebsd.org> scottl 2008-02-06 04:37:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Log: Update the hptrr driver to version 1.2. This adds port multiplier support for several cards. See the Highpoint website for more information. Again, many thanks to Highpoint for their continued support of FreeBSD. Approved by: re Revision Changes Path 1.1.2.1.2.1 +13261 -12830 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.1.2.1.2.1 +8 -5 src/sys/dev/hptrr/array.h 1.1.2.1.2.1 +134 -117 src/sys/dev/hptrr/him.h 1.1.2.1.2.1 +0 -0 src/sys/dev/hptrr/himfuncs.h 1.1.2.1.2.1 +76 -20 src/sys/dev/hptrr/hptintf.h 1.1.2.1.2.1 +5 -2 src/sys/dev/hptrr/hptrr_config.c 1.1.2.1.2.1 +8 -3 src/sys/dev/hptrr/hptrr_config.h 1.1.2.1.2.1 +0 -0 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.1.2.1 +7 -8 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.1.2.1.2.1 +8768 -8363 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.1.2.1.2.1 +56 -31 src/sys/dev/hptrr/ldm.h 1.1.2.1.2.1 +0 -0 src/sys/dev/hptrr/list.h 1.1.2.1.2.1 +4 -0 src/sys/dev/hptrr/os_bsd.h 1.1.2.1.2.1 +8 -6 src/sys/dev/hptrr/osm.h From alfred at freebsd.org Tue Feb 5 21:00:56 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Tue Feb 5 21:01:01 2008 Subject: cvs commit: src/sys/kern kern_lock.c src/sys/sys lockmgr.h In-Reply-To: <200802060037.m160bFNJ030997@repoman.freebsd.org> References: <200802060037.m160bFNJ030997@repoman.freebsd.org> Message-ID: <20080206050054.GI99258@elvis.mu.org> * Attilio Rao [080205 16:37] wrote: > attilio 2008-02-06 00:37:14 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_lock.c > sys/sys lockmgr.h > Log: > Add WITNESS support to lockmgr locking primitive. This is very excting, the scaffolding that FreeBSD offers in terms of code coverge for things like VOP correctness and lock ordering has made it a pleasure to work on. thank you, -Alfred From scottl at FreeBSD.org Tue Feb 5 21:33:18 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 5 21:33:20 2008 Subject: cvs commit: src/sys/dev/hptrr hptrr_os_bsd.c osm.h Message-ID: <200802060533.m165XHYQ072115@repoman.freebsd.org> scottl 2008-02-06 05:33:17 UTC FreeBSD src repository Modified files: sys/dev/hptrr hptrr_os_bsd.c osm.h Log: Fix a symbol conflict between hptrr and hptmv Revision Changes Path 1.3 +1 -1 src/sys/dev/hptrr/hptrr_os_bsd.c 1.3 +2 -2 src/sys/dev/hptrr/osm.h From bde at FreeBSD.org Tue Feb 5 22:35:22 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 5 22:35:23 2008 Subject: cvs commit: src/lib/msun/src e_expf.c Message-ID: <200802060635.m166ZLNW076441@repoman.freebsd.org> bde 2008-02-06 06:35:21 UTC FreeBSD src repository Modified files: lib/msun/src e_expf.c Log: As for the float trig functions and logf, use a minimax polynomial that is specialized for float precision. The new polynomial has degree 5 instead of 11, and a maximum error of 2**-27.74 ulps instead of 2**-30.64. This doesn't affect the final error significantly; the maximum error was and is about 0.9101 ulps on amd64 -01 and the number of cases with an error of > 0.5 ulps is actually reduced by epsilon despite the larger error in the polynomial. This is about 15% faster on amd64 (A64), i386 (A64) and ia64. The asm version is still used instead of this on i386 since it is faster and more accurate. Revision Changes Path 1.12 +7 -6 src/lib/msun/src/e_expf.c From pb at FreeBSD.org Wed Feb 6 00:02:56 2008 From: pb at FreeBSD.org (Pierre Beyssac) Date: Wed Feb 6 00:02:58 2008 Subject: cvs commit: src/sbin/iscontrol misc.c Message-ID: <200802060802.m1682t13081674@repoman.freebsd.org> pb 2008-02-06 08:02:55 UTC FreeBSD src repository Modified files: sbin/iscontrol misc.c Log: Update fix from rev 1.2. Submitted by: danny at cs.huji.ac.il (author) MFC after: 1 week Revision Changes Path 1.3 +4 -3 src/sbin/iscontrol/misc.c From pb at FreeBSD.org Wed Feb 6 00:03:28 2008 From: pb at FreeBSD.org (Pierre Beyssac) Date: Wed Feb 6 00:03:35 2008 Subject: cvs commit: src/sbin/iscontrol misc.c Message-ID: <200802060803.m1683RwD082897@repoman.freebsd.org> pb 2008-02-06 08:03:27 UTC FreeBSD src repository Modified files: sbin/iscontrol misc.c Log: Fix typo. Submitted by: danny at cs.huji.ac.il (author) Revision Changes Path 1.4 +1 -1 src/sbin/iscontrol/misc.c From scottl at FreeBSD.org Wed Feb 6 00:33:15 2008 From: scottl at FreeBSD.org (Scott Long) Date: Wed Feb 6 00:33:18 2008 Subject: cvs commit: src/sys/dev/hptrr hptrr_os_bsd.c osm.h Message-ID: <200802060833.m168XFDD084813@repoman.freebsd.org> scottl 2008-02-06 08:33:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hptrr hptrr_os_bsd.c osm.h Log: Fix a symbol conflict between hptrr and hptmv Revision Changes Path 1.1.2.3 +1 -1 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.3 +2 -2 src/sys/dev/hptrr/osm.h From attilio at freebsd.org Wed Feb 6 03:12:08 2008 From: attilio at freebsd.org (Attilio Rao) Date: Wed Feb 6 03:12:11 2008 Subject: cvs commit: src/sys/kern kern_lock.c src/sys/sys lockmgr.h In-Reply-To: <20080206050054.GI99258@elvis.mu.org> References: <200802060037.m160bFNJ030997@repoman.freebsd.org> <20080206050054.GI99258@elvis.mu.org> Message-ID: <3bbf2fe10802060312k25877e73k4a813fec5a91d00a@mail.gmail.com> 2008/2/6, Alfred Perlstein : > * Attilio Rao [080205 16:37] wrote: > > attilio 2008-02-06 00:37:14 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_lock.c > > sys/sys lockmgr.h > > Log: > > Add WITNESS support to lockmgr locking primitive. > > > This is very excting, the scaffolding that FreeBSD offers in terms > of code coverge for things like VOP correctness and lock ordering > has made it a pleasure to work on. A very important thing about WITNESS support is that it will allow us to build reliable assertions for lockmgr (and not only fictious ones like what exist now) and so propagate this property to its consumers (reliable assertions in buffer cache and vnodes). Attilio -- Peace can only be achieved by understanding - A. Einstein From des at FreeBSD.org Wed Feb 6 03:39:55 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 03:40:03 2008 Subject: cvs commit: src/lib/libfetch http.c Message-ID: <200802061139.m16BdtJv093056@repoman.freebsd.org> des 2008-02-06 11:39:55 UTC FreeBSD src repository Modified files: lib/libfetch http.c Log: Add necessary cast for tolower() argument. Submitted by: Joerg Sonnenberger MFC after: 1 week Revision Changes Path 1.83 +3 -2 src/lib/libfetch/http.c From sephe at FreeBSD.org Wed Feb 6 03:45:26 2008 From: sephe at FreeBSD.org (Sepherosa Ziehau) Date: Wed Feb 6 03:45:32 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200802061145.m16BjQiT093339@repoman.freebsd.org> sephe 2008-02-06 11:45:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net80211 ieee80211_input.c Log: MFC 1.115: fix use with altq Approved by: sam(mentor), re(kensmith) Revision Changes Path 1.62.2.29 +6 -2 src/sys/net80211/ieee80211_input.c From sephe at FreeBSD.org Wed Feb 6 04:05:05 2008 From: sephe at FreeBSD.org (Sepherosa Ziehau) Date: Wed Feb 6 04:05:16 2008 Subject: cvs commit: src/sys/dev/ral rt2560.c rt2560reg.h rt2560var.h Message-ID: <200802061205.m16C55Bw095264@repoman.freebsd.org> sephe 2008-02-06 12:05:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ral rt2560.c rt2560reg.h rt2560var.h Log: MFC: rt2560.c 1.19 rt2560var.h 1.4 rt2560reg.h 1.3 Various bug fixes for 2560 parts of ral(4) Approved by: sam (mentor) Revision Changes Path 1.17.2.1 +109 -33 src/sys/dev/ral/rt2560.c 1.2.2.1 +2 -2 src/sys/dev/ral/rt2560reg.h 1.3.2.1 +4 -2 src/sys/dev/ral/rt2560var.h From attilio at FreeBSD.org Wed Feb 6 05:26:02 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Feb 6 05:26:04 2008 Subject: cvs commit: src/sys/kern kern_lock.c Message-ID: <200802061326.m16DQ1ji018396@repoman.freebsd.org> attilio 2008-02-06 13:26:01 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c Log: td cannot be NULL in that place, so just axe out the check. Revision Changes Path 1.122 +1 -1 src/sys/kern/kern_lock.c From glebius at FreeBSD.org Wed Feb 6 05:58:02 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Wed Feb 6 05:58:09 2008 Subject: cvs commit: src/sys/netinet ip_carp.c In-Reply-To: <200802011356.15763.max@love2party.net> References: <200802011120.m11BKgiP004207@repoman.freebsd.org> <200802011356.15763.max@love2party.net> Message-ID: <20080206135803.GC14339@FreeBSD.org> Max, On Fri, Feb 01, 2008 at 01:56:08PM +0100, Max Laier wrote: M> On Friday 01 February 2008, Gleb Smirnoff wrote: M> > glebius 2008-02-01 11:20:42 UTC M> > M> > FreeBSD src repository M> > M> > Modified files: (Branch: RELENG_6) M> > sys/netinet ip_carp.c M> > Log: M> > Belated MFC of rev. 1.49: M> > Do not leak lock in the case of EEXIST error. M> > M> > PR: kern/92776 M> > M> > Revision Changes Path M> > 1.27.2.12 +6 -2 src/sys/netinet/ip_carp.c M> M> Thanks, also: kern/120130 Not sure... Submitter says about other problems, not only described in 92776. I'll try to work on them. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From scottl at FreeBSD.org Wed Feb 6 05:59:18 2008 From: scottl at FreeBSD.org (Scott Long) Date: Wed Feb 6 05:59:21 2008 Subject: cvs commit: src/sys/dev/hptrr hptrr_os_bsd.c osm.h Message-ID: <200802061359.m16DxHHW019805@repoman.freebsd.org> scottl 2008-02-06 13:59:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/hptrr hptrr_os_bsd.c osm.h Log: Fix a symbol conflict between hptrr and hptmv Approved by: re Revision Changes Path 1.1.2.1.2.2 +1 -1 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.1.2.2 +2 -2 src/sys/dev/hptrr/osm.h From scottl at FreeBSD.org Wed Feb 6 06:26:32 2008 From: scottl at FreeBSD.org (Scott Long) Date: Wed Feb 6 06:26:34 2008 Subject: cvs commit: src/sys/dev/amr amrreg.h Message-ID: <200802061426.m16EQWHx023182@repoman.freebsd.org> scottl 2008-02-06 14:26:32 UTC FreeBSD src repository Modified files: sys/dev/amr amrreg.h Log: Remove an errant definition for AMR_CONFIG_ENQ3_SOLICITED NOTIFY that was accidently reverted in the previous commit. Revision Changes Path 1.12 +0 -1 src/sys/dev/amr/amrreg.h From silby at FreeBSD.org Wed Feb 6 07:40:33 2008 From: silby at FreeBSD.org (Mike Silbersack) Date: Wed Feb 6 07:40:36 2008 Subject: cvs commit: src/sys/netinet ip_id.c Message-ID: <200802061540.m16FeXGD030782@repoman.freebsd.org> silby 2008-02-06 15:40:31 UTC FreeBSD src repository Modified files: sys/netinet ip_id.c Log: Replace the random IP ID generation code we obtained from OpenBSD with an algorithm suggested by Amit Klein. The OpenBSD algorithm has a few flaws; see Amit's paper for more information. For a description of how this algorithm works, please see the comments within the code. Note that this commit does not yet enable random IP ID generation by default. There are still some concerns that doing so will adversely affect performance. Reviewed by: rwatson MFC After: 2 weeks Revision Changes Path 1.10 +155 -147 src/sys/netinet/ip_id.c From silby at silby.com Wed Feb 6 07:44:42 2008 From: silby at silby.com (Mike Silbersack) Date: Wed Feb 6 07:44:46 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <200802061540.m16FeXGD030782@repoman.freebsd.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> Message-ID: <20080206094332.I36051@odysseus.silby.com> On Wed, 6 Feb 2008, Mike Silbersack wrote: > silby 2008-02-06 15:40:31 UTC > > FreeBSD src repository > > Modified files: > sys/netinet ip_id.c > Log: > Replace the random IP ID generation code we > obtained from OpenBSD with an algorithm suggested > by Amit Klein. The OpenBSD algorithm has a few > flaws; see Amit's paper for more information. > > For a description of how this algorithm works, > please see the comments within the code. > > Note that this commit does not yet enable random IP ID > generation by default. There are still some concerns > that doing so will adversely affect performance. > > Reviewed by: rwatson > MFC After: 2 weeks > > Revision Changes Path > 1.10 +155 -147 src/sys/netinet/ip_id.c FWIW, There are a few minor tweaks to be made, such as mallocing the data structures when you enable random_id rather than when you send the first packet. Those changes will happen in a subsequent commit sometime in the next few days. Robert has some ideas on how to keep per-IP state so that we can use sequential IP IDs in performance and ID life criticial areas of the system. If those ideas work, we can then enable this algorithm for all the non-performance critical areas of the network stack, such as RSTs, icmp, etc. Mike "Silby" Silbersack From silby at FreeBSD.org Wed Feb 6 07:48:44 2008 From: silby at FreeBSD.org (Mike Silbersack) Date: Wed Feb 6 07:48:49 2008 Subject: cvs commit: src/tools/regression/netinet/ip_id_period ip_id_period.py Message-ID: <200802061548.m16FmhZY031127@repoman.freebsd.org> silby 2008-02-06 15:48:43 UTC FreeBSD src repository Added files: tools/regression/netinet/ip_id_period ip_id_period.py Log: This is a regression test to verify the proper behavior of IP ID generation code. It will push 200000 packets, then report back what the min and max periods it saw for different IDs were. Revision Changes Path 1.1 +76 -0 src/tools/regression/netinet/ip_id_period/ip_id_period.py (new) From obrien at FreeBSD.org Wed Feb 6 10:26:39 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Wed Feb 6 10:26:41 2008 Subject: cvs commit: src/contrib/file .cvsignore ChangeLog FREEBSD-upgrade Makefile.am Makefile.in acconfig.h acinclude.m4 aclocal.m4 apprentice.c ascmagic.c compress.c config.h.in configure configure.in file.c file.h file.man file_opts.h fsmagic.c funcs.c ... Message-ID: <200802061826.m16IQdlY084510@repoman.freebsd.org> obrien 2008-02-06 18:26:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) contrib/file ChangeLog FREEBSD-upgrade Makefile.am Makefile.in acinclude.m4 aclocal.m4 apprentice.c ascmagic.c compress.c config.h.in configure configure.in file.c file.h file.man fsmagic.c funcs.c install-sh is_tar.c libmagic.man magic.c magic.h magic.man magic.mime mkinstalldirs names.h patchlevel.h print.c readelf.c readelf.h softmagic.c contrib/file/Magdir acorn animation apple archive audio blender commands console database elf filesystems java macintosh msdos pdf sgi lib/libmagic config.h usr.bin/file config.h Added files: (Branch: RELENG_7_0) contrib/file file_opts.h contrib/file/Magdir efi fortran Removed files: (Branch: RELENG_7_0) contrib/file .cvsignore acconfig.h missing stamp-h.in contrib/file/Magdir bFLT chi cvs hdf impulse wordperfect Log: MFC: file version 4.23. Approved by: re(kensmith) Revision Changes Path 1.1.1.2.22.1 +0 -1 src/contrib/file/.cvsignore (dead) 1.1.1.5.4.1 +81 -0 src/contrib/file/ChangeLog 1.7.4.1 +3 -3 src/contrib/file/FREEBSD-upgrade 1.1.1.1.30.1 +35 -0 src/contrib/file/Magdir/acorn 1.1.1.8.4.1 +11 -0 src/contrib/file/Magdir/animation 1.1.1.4.4.1 +41 -0 src/contrib/file/Magdir/apple 1.1.1.11.4.1 +17 -0 src/contrib/file/Magdir/archive 1.1.1.10.4.1 +7 -0 src/contrib/file/Magdir/audio 1.1.1.1.22.1 +0 -12 src/contrib/file/Magdir/bFLT (dead) 1.1.1.1.30.1 +34 -14 src/contrib/file/Magdir/blender 1.1.1.1.30.1 +0 -7 src/contrib/file/Magdir/chi (dead) 1.1.1.7.4.1 +2 -1 src/contrib/file/Magdir/commands 1.1.1.5.4.1 +61 -0 src/contrib/file/Magdir/console 1.1.1.1.30.1 +0 -6 src/contrib/file/Magdir/cvs (dead) 1.1.1.6.4.1 +10 -0 src/contrib/file/Magdir/database 1.1.1.1.6.1 +14 -0 src/contrib/file/Magdir/efi (new) 1.1.1.13.4.1 +17 -16 src/contrib/file/Magdir/elf 1.1.1.11.4.1 +143 -94 src/contrib/file/Magdir/filesystems 1.1.1.1.6.1 +2 -0 src/contrib/file/Magdir/fortran (new) 1.1.1.1.28.1 +0 -7 src/contrib/file/Magdir/hdf (dead) 1.1.1.1.30.1 +0 -18 src/contrib/file/Magdir/impulse (dead) 1.1.1.3.4.1 +14 -0 src/contrib/file/Magdir/java 1.1.1.6.4.1 +1 -1 src/contrib/file/Magdir/macintosh 1.1.1.10.4.1 +48 -11 src/contrib/file/Magdir/msdos 1.1.1.1.30.1 +6 -0 src/contrib/file/Magdir/pdf 1.1.1.4.4.1 +5 -2 src/contrib/file/Magdir/sgi 1.1.1.1.30.1 +0 -91 src/contrib/file/Magdir/wordperfect (dead) 1.1.1.11.4.1 +2 -0 src/contrib/file/Makefile.am 1.1.1.13.4.1 +54 -47 src/contrib/file/Makefile.in 1.1.1.7.26.1 +0 -60 src/contrib/file/acconfig.h (dead) 1.1.1.4.22.1 +0 -4 src/contrib/file/acinclude.m4 1.1.1.9.4.1 +93 -81 src/contrib/file/aclocal.m4 1.1.1.13.4.1 +85 -6 src/contrib/file/apprentice.c 1.1.1.10.4.1 +17 -17 src/contrib/file/ascmagic.c 1.1.1.9.4.1 +18 -9 src/contrib/file/compress.c 1.1.1.11.4.1 +19 -2 src/contrib/file/config.h.in 1.1.1.13.4.1 +5200 -4462 src/contrib/file/configure 1.1.1.13.4.1 +13 -5 src/contrib/file/configure.in 1.1.1.13.4.1 +49 -77 src/contrib/file/file.c 1.1.1.11.4.1 +12 -2 src/contrib/file/file.h 1.1.1.9.4.1 +327 -257 src/contrib/file/file.man 1.1.1.1.6.1 +48 -0 src/contrib/file/file_opts.h (new) 1.1.1.6.4.1 +9 -6 src/contrib/file/fsmagic.c 1.1.1.5.4.1 +70 -47 src/contrib/file/funcs.c 1.1.1.3.4.1 +265 -81 src/contrib/file/install-sh 1.1.1.6.4.1 +19 -20 src/contrib/file/is_tar.c 1.1.1.2.4.1 +29 -6 src/contrib/file/libmagic.man 1.1.1.5.4.1 +33 -23 src/contrib/file/magic.c 1.1.1.3.4.1 +16 -11 src/contrib/file/magic.h 1.1.1.7.4.1 +281 -210 src/contrib/file/magic.man 1.1.1.10.4.1 +92 -58 src/contrib/file/magic.mime 1.1.1.1.30.1 +0 -0 src/contrib/file/missing (dead) 1.1.1.4.4.1 +4 -1 src/contrib/file/mkinstalldirs 1.1.1.5.4.1 +13 -15 src/contrib/file/names.h 1.1.1.14.4.1 +8 -2 src/contrib/file/patchlevel.h 1.1.1.11.4.1 +13 -4 src/contrib/file/print.c 1.1.1.10.4.1 +38 -21 src/contrib/file/readelf.c 1.1.1.5.4.1 +3 -6 src/contrib/file/readelf.h 1.1.1.13.4.1 +195 -12 src/contrib/file/softmagic.c 1.1.1.1.30.1 +0 -1 src/contrib/file/stamp-h.in (dead) 1.6.4.1 +23 -4 src/lib/libmagic/config.h 1.13.4.1 +23 -4 src/usr.bin/file/config.h From delphij at FreeBSD.org Wed Feb 6 10:43:49 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Feb 6 10:43:51 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802061843.m16IhmP3085147@repoman.freebsd.org> delphij 2008-02-06 18:43:47 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Reflect rr232x(4) manpage removal Revision Changes Path 1.128 +2 -0 src/ObsoleteFiles.inc From mav at FreeBSD.org Wed Feb 6 10:50:41 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 10:50:44 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802061850.m16IofSx085519@repoman.freebsd.org> mav 2008-02-06 18:50:41 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Cleanup and tune ng_snd_item() function as it is one of the most busy netgraph functions. Tune stack protection constants to avoid division operation. Revision Changes Path 1.146 +42 -95 src/sys/netgraph/ng_base.c From delphij at FreeBSD.org Wed Feb 6 10:51:16 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Feb 6 10:51:18 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802061851.m16IpFI5085557@repoman.freebsd.org> delphij 2008-02-06 18:51:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . ObsoleteFiles.inc Log: Reflect rr232x(4) manpage removal Revision Changes Path 1.112.2.9 +2 -0 src/ObsoleteFiles.inc From marcel at FreeBSD.org Wed Feb 6 11:03:15 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Wed Feb 6 11:03:23 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802061903.m16J3FR7087194@repoman.freebsd.org> marcel 2008-02-06 19:03:15 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: The man page of ofwdump(8) is installed as usr/share/man/man8/ofwdump.8.gz again on powerpc and sparc64. Un-obsolete it for these two so that we don't remove it right after installing it. Revision Changes Path 1.129 +2 -0 src/ObsoleteFiles.inc From des at FreeBSD.org Wed Feb 6 11:34:32 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 11:34:34 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c Message-ID: <200802061934.m16JYWoW089411@repoman.freebsd.org> des 2008-02-06 19:34:31 UTC FreeBSD src repository Modified files: include pthread_np.h lib/libthr pthread.map lib/libthr/thread thr_mutex.c Log: Per discussion on -threads, rename _islocked_np() to _isowned_np(). Revision Changes Path 1.20 +1 -1 src/include/pthread_np.h 1.23 +2 -2 src/lib/libthr/pthread.map 1.69 +3 -3 src/lib/libthr/thread/thr_mutex.c From des at FreeBSD.org Wed Feb 6 11:41:06 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 11:41:08 2008 Subject: cvs commit: src/tools/regression/pthread/mutex_islocked_np Makefile mutex_islocked_np.c src/tools/regression/pthread/mutex_isowned_np Makefile mutex_isowned_np.c Message-ID: <200802061941.m16Jf5T3089878@repoman.freebsd.org> des 2008-02-06 19:41:05 UTC FreeBSD src repository Added files: tools/regression/pthread/mutex_isowned_np Makefile mutex_isowned_np.c Removed files: tools/regression/pthread/mutex_islocked_np Makefile mutex_islocked_np.c Log: mutex_islocked_np -> mutex_isowned_np Revision Changes Path 1.2 +0 -8 src/tools/regression/pthread/mutex_islocked_np/Makefile (dead) 1.3 +0 -77 src/tools/regression/pthread/mutex_islocked_np/mutex_islocked_np.c (dead) 1.1 +8 -0 src/tools/regression/pthread/mutex_isowned_np/Makefile (new) 1.1 +77 -0 src/tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c (new) From des at des.no Wed Feb 6 11:42:46 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Wed Feb 6 11:42:50 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <200802061934.m16JYWoW089411@repoman.freebsd.org> (Dag-Erling Smorgrav's message of "Wed\, 6 Feb 2008 19\:34\:31 +0000 \(UTC\)") References: <200802061934.m16JYWoW089411@repoman.freebsd.org> Message-ID: <86tzkldg7o.fsf@ds4.des.no> Dag-Erling Smorgrav writes: > Modified files: > include pthread_np.h > lib/libthr pthread.map > lib/libthr/thread thr_mutex.c > Log: > Per discussion on -threads, rename _islocked_np() to _isowned_np(). Additional commits will follow to address symbol versioning issues which came up during the discussion. DES -- Dag-Erling Sm?rgrav - des@des.no From delphij at FreeBSD.org Wed Feb 6 11:45:26 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Feb 6 11:45:29 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802061945.m16JjQ1t090071@repoman.freebsd.org> delphij 2008-02-06 19:45:26 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Revert rev. 1.128, we have a hard link generated from new hptrr(4) to rr232x. Pointed out by: bruffer Pointy hat to: delphij Revision Changes Path 1.130 +0 -2 src/ObsoleteFiles.inc From delphij at FreeBSD.org Wed Feb 6 11:45:46 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Feb 6 11:45:49 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802061945.m16Jjjw8090109@repoman.freebsd.org> delphij 2008-02-06 19:45:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . ObsoleteFiles.inc Log: Revert rev. 1.128, we have a hard link generated from new hptrr(4) to rr232x. Pointed out by: bruffer Pointy hat to: delphij Revision Changes Path 1.112.2.10 +0 -2 src/ObsoleteFiles.inc From delphij at FreeBSD.org Wed Feb 6 11:47:29 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Feb 6 11:47:35 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml src/release/doc/share/misc dev.archlist.txt src/release/doc/zh_CN.GB2312/hardware article.sgml Message-ID: <200802061947.m16JlTb5090221@repoman.freebsd.org> delphij 2008-02-06 19:47:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) release/doc/en_US.ISO8859-1/hardware article.sgml release/doc/share/misc dev.archlist.txt release/doc/zh_CN.GB2312/hardware article.sgml Log: Remove rr232x(4) from release documentations. It is actually a hard link from hptrr(4). Approved by: re (bmah) Revision Changes Path 1.326.2.1.2.1 +1 -2 src/release/doc/en_US.ISO8859-1/hardware/article.sgml 1.100.2.1.2.1 +0 -1 src/release/doc/share/misc/dev.archlist.txt 1.1.2.2.2.1 +2 -3 src/release/doc/zh_CN.GB2312/hardware/article.sgml From deischen at freebsd.org Wed Feb 6 12:05:52 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Wed Feb 6 12:05:57 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: <200802061934.m16JYWoW089411@repoman.freebsd.org> References: <200802061934.m16JYWoW089411@repoman.freebsd.org> Message-ID: On Wed, 6 Feb 2008, Dag-Erling Smorgrav wrote: > des 2008-02-06 19:34:31 UTC > > FreeBSD src repository > > Modified files: > include pthread_np.h > lib/libthr pthread.map > lib/libthr/thread thr_mutex.c > Log: > Per discussion on -threads, rename _islocked_np() to _isowned_np(). Actually, I thought _owned_np was decided since it mimics mtx_owned() from FreeBSD and mutex_owned() from Solaris, but that's just me nitpicking and can live with this ;-) -- DE From des at FreeBSD.org Wed Feb 6 12:20:30 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:20:34 2008 Subject: cvs commit: src/lib/libthr pthread.map Message-ID: <200802062020.m16KKTL9093770@repoman.freebsd.org> des 2008-02-06 20:20:29 UTC FreeBSD src repository Modified files: lib/libthr pthread.map Log: Remove incorrectly added FBSDprivate_1.1 namespace, and move symbols which are new in FreeBSD 8 to the appropriate namespace. Revision Changes Path 1.24 +4 -12 src/lib/libthr/pthread.map From des at FreeBSD.org Wed Feb 6 12:25:00 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:25:08 2008 Subject: cvs commit: src/lib/libthr Makefile pthread.map Message-ID: <200802062025.m16KP0xC093915@repoman.freebsd.org> des 2008-02-06 20:25:00 UTC FreeBSD src repository Modified files: lib/libthr Makefile pthread.map Log: Convert pthread.map to the format expected by version_gen.awk, and modify the Makefile accordingly; libthr now explicitly uses libc's Versions.def. MFC after: 2 weeks Revision Changes Path 1.32 +2 -1 src/lib/libthr/Makefile 1.25 +1 -10 src/lib/libthr/pthread.map From des at FreeBSD.org Wed Feb 6 12:30:49 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:30:53 2008 Subject: cvs commit: src/lib/libkse Makefile kse.map Message-ID: <200802062030.m16KUnsb094196@repoman.freebsd.org> des 2008-02-06 20:30:49 UTC FreeBSD src repository Modified files: lib/libkse Makefile kse.map Log: Give libkse the same treatment as libthr re. symbol versioning. MFC after: 2 weeks Revision Changes Path 1.70 +2 -1 src/lib/libkse/Makefile 1.3 +0 -7 src/lib/libkse/kse.map From des at FreeBSD.org Wed Feb 6 12:34:00 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:34:01 2008 Subject: cvs commit: src/lib/libkse Makefile Message-ID: <200802062034.m16KY0Td094337@repoman.freebsd.org> des 2008-02-06 20:34:00 UTC FreeBSD src repository Modified files: lib/libkse Makefile Log: Previous commit had a typo that resulted in symbol versioning being (silently) disabled for libkse... Pointy hat to: des Revision Changes Path 1.71 +1 -1 src/lib/libkse/Makefile From mav at FreeBSD.org Wed Feb 6 12:37:35 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 12:37:37 2008 Subject: cvs commit: src/sys/netgraph ng_ppp.c ng_pppoe.c Message-ID: <200802062037.m16KbZVd094522@repoman.freebsd.org> mav 2008-02-06 20:37:35 UTC FreeBSD src repository Modified files: sys/netgraph ng_ppp.c ng_pppoe.c Log: Do not use bcmp() to compare two bytes with constants. Revision Changes Path 1.75 +2 -1 src/sys/netgraph/ng_ppp.c 1.92 +2 -3 src/sys/netgraph/ng_pppoe.c From des at FreeBSD.org Wed Feb 6 12:42:36 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:42:39 2008 Subject: cvs commit: src/lib/libc/include namespace.h un-namespace.h Message-ID: <200802062042.m16KgZd6095376@repoman.freebsd.org> des 2008-02-06 20:42:35 UTC FreeBSD src repository Modified files: lib/libc/include namespace.h un-namespace.h Log: Add pthread_mutex_isowned_np() so there is no need for an additional prototype next to the implementation. MFC after: 2 weeks Revision Changes Path 1.21 +1 -0 src/lib/libc/include/namespace.h 1.18 +1 -0 src/lib/libc/include/un-namespace.h From des at FreeBSD.org Wed Feb 6 12:43:20 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:43:22 2008 Subject: cvs commit: src/lib/libthr/thread thr_mutex.c Message-ID: <200802062043.m16KhJ5Z095426@repoman.freebsd.org> des 2008-02-06 20:43:19 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Remove unnecessary prototype. Revision Changes Path 1.70 +0 -1 src/lib/libthr/thread/thr_mutex.c From des at FreeBSD.org Wed Feb 6 12:44:30 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:44:32 2008 Subject: cvs commit: src/lib/libkse kse.map src/lib/libkse/thread thr_mutex.c Message-ID: <200802062044.m16KiTU6095549@repoman.freebsd.org> des 2008-02-06 20:44:29 UTC FreeBSD src repository Modified files: lib/libkse kse.map lib/libkse/thread thr_mutex.c Log: Add pthread_mutex_isowned_np() here as well; libthr and libkse are supposed to have identical functionality. MFC after: 2 weeks Revision Changes Path 1.4 +5 -0 src/lib/libkse/kse.map 1.59 +10 -0 src/lib/libkse/thread/thr_mutex.c From des at FreeBSD.org Wed Feb 6 12:45:46 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 12:45:48 2008 Subject: cvs commit: src/lib/libthr pthread.map Message-ID: <200802062045.m16KjkAT095641@repoman.freebsd.org> des 2008-02-06 20:45:46 UTC FreeBSD src repository Modified files: lib/libthr pthread.map Log: Yet another pointy hat: when I zapped FBSDprivate_1.1, I forgot to move its contents to FBSDprivate_1.0. Revision Changes Path 1.26 +1 -0 src/lib/libthr/pthread.map From des at des.no Wed Feb 6 12:48:41 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Wed Feb 6 12:48:45 2008 Subject: cvs commit: src/include pthread_np.h src/lib/libthr pthread.map src/lib/libthr/thread thr_mutex.c In-Reply-To: (Daniel Eischen's message of "Wed\, 6 Feb 2008 15\:05\:50 -0500 \(EST\)") References: <200802061934.m16JYWoW089411@repoman.freebsd.org> Message-ID: <86wsph3j6n.fsf@ds4.des.no> Daniel Eischen writes: > Dag-Erling Smorgrav writes: > > Per discussion on -threads, rename _islocked_np() to _isowned_np(). > Actually, I thought _owned_np was decided since it mimics > mtx_owned() from FreeBSD and mutex_owned() from Solaris, but > that's just me nitpicking and can live with this ;-) Ah, I didn't notice you wanted to remove "is". I would have done it if I had noticed :) DES -- Dag-Erling Sm?rgrav - des@des.no From mav at FreeBSD.org Wed Feb 6 12:50:51 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 12:50:54 2008 Subject: cvs commit: src/sys/amd64/include proc.h src/sys/i386/include proc.h src/sys/netgraph netgraph.h ng_base.c Message-ID: <200802062050.m16KoooP005085@repoman.freebsd.org> mav 2008-02-06 20:50:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/include proc.h sys/i386/include proc.h sys/netgraph netgraph.h ng_base.c Log: MFC ng_base.c rev. 1.141-1.146: Implement stack protection based on GET_STACK_USAGE() macro. This fixes system panics possible with complicated netgraph setups and allows to avoid unneded extra queueing for stack unwrapping. Revision Changes Path 1.24.10.1 +13 -0 src/sys/amd64/include/proc.h 1.26.2.1 +9 -0 src/sys/i386/include/proc.h 1.68.2.3 +23 -0 src/sys/netgraph/netgraph.h 1.135.2.3 +97 -145 src/sys/netgraph/ng_base.c From des at des.no Wed Feb 6 12:58:33 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Wed Feb 6 12:58:40 2008 Subject: cvs commit: src/lib/libthr pthread.map In-Reply-To: <200802062045.m16KjkAT095641@repoman.freebsd.org> (Dag-Erling Smorgrav's message of "Wed\, 6 Feb 2008 20\:45\:46 +0000 \(UTC\)") References: <200802062045.m16KjkAT095641@repoman.freebsd.org> Message-ID: <86k5lh3iq8.fsf@ds4.des.no> Dag-Erling Smorgrav writes: > Log: > Yet another pointy hat: when I zapped FBSDprivate_1.1, I forgot to move > its contents to FBSDprivate_1.0. This should be the last of them. Sorry for the stream-of-consciousness commits; yet another case of the fingers outrunning the brain :) DES -- Dag-Erling Sm?rgrav - des@des.no From mav at FreeBSD.org Wed Feb 6 13:02:56 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:03:03 2008 Subject: cvs commit: src/sys/amd64/include proc.h src/sys/i386/include proc.h Message-ID: <200802062102.m16L2u4p005553@repoman.freebsd.org> mav 2008-02-06 21:02:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/include proc.h sys/i386/include proc.h Log: MFC GET_STACK_USAGE() macro to be used for netgraph stack protection. Revision Changes Path 1.24.2.1 +13 -0 src/sys/amd64/include/proc.h 1.25.2.2 +9 -0 src/sys/i386/include/proc.h From mav at FreeBSD.org Wed Feb 6 13:08:59 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:09:10 2008 Subject: cvs commit: src/sys/netgraph ng_iface.c Message-ID: <200802062108.m16L8wK5007007@repoman.freebsd.org> mav 2008-02-06 21:08:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_iface.c Log: MFC rev. 1.47 Implement stack protection based on GET_STACK_USAGE() macro. This fixes system panics possible with complicated netgraph setups and allows to avoid unneded extra queueing for stack unwrapping. Revision Changes Path 1.47.2.1 +1 -0 src/sys/netgraph/ng_iface.c From mav at FreeBSD.org Wed Feb 6 13:37:45 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:37:52 2008 Subject: cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_iface.c Message-ID: <200802062137.m16LbjDK009199@repoman.freebsd.org> mav 2008-02-06 21:37:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph netgraph.h ng_base.c ng_iface.c Log: Massive sync with HEAD: - Instead of direct manipulation on queue and worklist mutexes, bring macros for doing this job. This change will make it easy to migrate from using spinning locks to adaptive ones. - We don't need spinning locks here. Change them to the adaptive mutexes. This change should bring no performance decrease, as it did not in my tests. - Despite several examples in the kernel, the third argument of sysctl_handle_int is not sizeof the int type you want to export. - Implement stack protection based on GET_STACK_USAGE() macro. This fixes system panics possible with complicated netgraph setups and allows to avoid unneded extra queueing for stack unwrapping. - Cleanup and tune ng_snd_item() function as it is one of the most busy netgraph functions. Revision Changes Path 1.55.2.11 +23 -0 src/sys/netgraph/netgraph.h 1.102.2.15 +140 -174 src/sys/netgraph/ng_base.c 1.43.2.4 +1 -0 src/sys/netgraph/ng_iface.c From mav at FreeBSD.org Wed Feb 6 13:43:45 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:43:47 2008 Subject: cvs commit: src/sys/netgraph ng_ppp.c ng_pppoe.c Message-ID: <200802062143.m16LhivE009482@repoman.freebsd.org> mav 2008-02-06 21:43:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_ppp.c ng_pppoe.c Log: MFC: Do not use bcmp() to compare two bytes with constants. Revision Changes Path 1.70.2.3 +2 -1 src/sys/netgraph/ng_ppp.c 1.84.2.4 +2 -3 src/sys/netgraph/ng_pppoe.c From mav at FreeBSD.org Wed Feb 6 13:44:46 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:44:48 2008 Subject: cvs commit: src/sys/netgraph ng_ppp.c ng_pppoe.c Message-ID: <200802062144.m16LijRj009604@repoman.freebsd.org> mav 2008-02-06 21:44:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_ppp.c ng_pppoe.c Log: MFC: Do not use bcmp() to compare two bytes with constants. Revision Changes Path 1.57.2.7 +2 -1 src/sys/netgraph/ng_ppp.c 1.74.2.9 +2 -3 src/sys/netgraph/ng_pppoe.c From mav at FreeBSD.org Wed Feb 6 13:52:56 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Feb 6 13:52:58 2008 Subject: cvs commit: src/sys/netgraph ng_car.c ng_car.h Message-ID: <200802062152.m16LqtNl009952@repoman.freebsd.org> mav 2008-02-06 21:52:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_car.c ng_car.h Log: MFC: Add option to set packets per second limits instead of default bits per second ones. Revision Changes Path 1.4.2.1 +76 -22 src/sys/netgraph/ng_car.c 1.1.2.1 +1 -0 src/sys/netgraph/ng_car.h From grehan at FreeBSD.org Wed Feb 6 14:04:29 2008 From: grehan at FreeBSD.org (Peter Grehan) Date: Wed Feb 6 14:04:34 2008 Subject: cvs commit: src/sys/boot/ofw/libofw ofw_console.c Message-ID: <200802062204.m16M4Svw011647@repoman.freebsd.org> grehan 2008-02-06 22:04:28 UTC FreeBSD src repository Modified files: sys/boot/ofw/libofw ofw_console.c Log: Make the openfirmware getchar entry point non-blocking. This catches up with jhb's 2005/05/27 loader multiple-console change. Tested by: marius/sparc64, grehan/ofwppc Revision Changes Path 1.13 +4 -4 src/sys/boot/ofw/libofw/ofw_console.c From des at FreeBSD.org Wed Feb 6 15:06:25 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 15:06:27 2008 Subject: cvs commit: src/contrib/openpam FREEBSD-vendor src/crypto/openssh FREEBSD-vendor Message-ID: <200802062306.m16N6OOD030961@repoman.freebsd.org> des 2008-02-06 23:06:24 UTC FreeBSD src repository Added files: contrib/openpam FREEBSD-vendor crypto/openssh FREEBSD-vendor Log: As per discussion, commit experimental metadata for my contrib packages. The idea is to have a FREEBSD-vendor file for every third-party package in the tree. Revision Changes Path 1.1 +8 -0 src/contrib/openpam/FREEBSD-vendor (new) 1.1 +8 -0 src/crypto/openssh/FREEBSD-vendor (new) From des at FreeBSD.org Wed Feb 6 15:14:25 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 15:14:28 2008 Subject: cvs commit: src/crypto/openssh FREEBSD-Xlist FREEBSD-upgrade Message-ID: <200802062314.m16NEPUG033347@repoman.freebsd.org> des 2008-02-06 23:14:25 UTC FreeBSD src repository Modified files: crypto/openssh FREEBSD-Xlist FREEBSD-upgrade Log: Fix the Xlist so it actually works with 'tar -X', and update the upgrade instructions accordingly. Revision Changes Path 1.4 +7 -8 src/crypto/openssh/FREEBSD-Xlist 1.13 +5 -5 src/crypto/openssh/FREEBSD-upgrade From des at FreeBSD.org Wed Feb 6 15:25:31 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Feb 6 15:25:33 2008 Subject: cvs commit: src/lib/libkse/thread thr_mutex.c Message-ID: <200802062325.m16NPUZG035017@repoman.freebsd.org> des 2008-02-06 23:25:29 UTC FreeBSD src repository Modified files: lib/libkse/thread thr_mutex.c Log: Add missing #include Spotted by: tinderbox Submitted by: Pietro Cerutti Pointy hat to: des Revision Changes Path 1.60 +1 -0 src/lib/libkse/thread/thr_mutex.c From pb at FreeBSD.org Wed Feb 6 15:57:13 2008 From: pb at FreeBSD.org (Pierre Beyssac) Date: Wed Feb 6 15:57:17 2008 Subject: cvs commit: src/sbin/iscontrol misc.c Message-ID: <200802062357.m16NvCUc038134@repoman.freebsd.org> pb 2008-02-06 23:57:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/iscontrol misc.c Log: MFC rev 1.4: fix a bug in hexadecimal formatting of the CHAP digest: bytes >= 0x80 were formatted as 0xff, causing the authentication to fail. Note: fast MFC to RELENG_7 and RELENG_7_0 to get the changes in time for 7.0-RC2. Approved by: re (kensmith) Revision Changes Path 1.1.2.1 +5 -4 src/sbin/iscontrol/misc.c From pb at FreeBSD.org Wed Feb 6 16:08:58 2008 From: pb at FreeBSD.org (Pierre Beyssac) Date: Wed Feb 6 16:09:00 2008 Subject: cvs commit: src/sbin/iscontrol misc.c Message-ID: <200802070008.m1708vnN040537@repoman.freebsd.org> pb 2008-02-07 00:08:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sbin/iscontrol misc.c Log: MFC rev 1.4: fix a bug in hexadecimal formatting of the CHAP digest: bytes >= 0x80 were formatted as 0xff, causing the authentication to fail. Note: fast MFC to RELENG_7 and RELENG_7_0 to get the changes in time for 7.0-RC2. Approved by: re (kensmith) Revision Changes Path 1.1.4.1 +5 -4 src/sbin/iscontrol/misc.c From bms at FreeBSD.org Wed Feb 6 17:22:39 2008 From: bms at FreeBSD.org (Bruce M. Simpson) Date: Wed Feb 6 17:22:43 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <200802061540.m16FeXGD030782@repoman.freebsd.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> Message-ID: <47AA5925.3000008@FreeBSD.org> Mike Silbersack wrote: > > Note that this commit does not yet enable random IP ID > generation by default. There are still some concerns > that doing so will adversely affect performance. > Random ip_id generation also breaks MANET multicast as it's currently specified -- the ip_id field gets used for histogram based duplicate packet detection. However, after my inveigling, Fred Templin at Boeing brought encapsulation back into the proposal on the table. So some way to turn this stuff off on a per-interface basis is probably going to be needed later on for mobile stuff... later BMS From silby at silby.com Wed Feb 6 18:49:38 2008 From: silby at silby.com (Mike Silbersack) Date: Wed Feb 6 18:49:41 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <47AA5925.3000008@FreeBSD.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> <47AA5925.3000008@FreeBSD.org> Message-ID: <20080206204812.J41033@odysseus.silby.com> On Thu, 7 Feb 2008, Bruce M. Simpson wrote: > Mike Silbersack wrote: >> Note that this commit does not yet enable random IP ID >> generation by default. There are still some concerns >> that doing so will adversely affect performance. >> > > Random ip_id generation also breaks MANET multicast as it's currently > specified -- the ip_id field gets used for histogram based duplicate packet > detection. However, after my inveigling, Fred Templin at Boeing brought > encapsulation back into the proposal on the table. > > So some way to turn this stuff off on a per-interface basis is probably going > to be needed later on for mobile stuff... > > later > BMS Does MANET multicast require: 1) Sequentiality. or 2) No repetition of an ID within a certain timeframe. The distinction is quite important! Mike "Silby" Silbersack From bde at FreeBSD.org Wed Feb 6 19:17:06 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 6 19:17:09 2008 Subject: cvs commit: src/lib/msun/ld128 s_exp2l.c src/lib/msun/ld80 s_exp2l.c src/lib/msun/src e_exp.c e_expf.c s_exp2.c s_exp2f.c Message-ID: <200802070317.m173H5Ts079831@repoman.freebsd.org> bde 2008-02-07 03:17:05 UTC FreeBSD src repository Modified files: lib/msun/ld128 s_exp2l.c lib/msun/ld80 s_exp2l.c lib/msun/src e_exp.c e_expf.c s_exp2.c s_exp2f.c Log: Use a better method of scaling by 2**k. Instead of adding to the exponent bits of the reduced result, construct 2**k (hopefully in parallel with the construction of the reduced result) and multiply by it. This tends to be much faster if the construction of 2**k is actually in parallel, and might be faster even with no parallelism since adjustment of the exponent requires a read-modify-wrtite at an unfortunate time for pipelines. In some cases involving exp2* on amd64 (A64), this change saves about 40 cycles or 30%. I think it is inherently only about 12 cycles faster in these cases and the rest of the speedup is from partly-accidentally avoiding compiler pessimizations (the construction of 2**k is now manually scheduled for good results, and -O2 doesn't always mess this up). In most cases on amd64 (A64) and i386 (A64) the speedup is about 20 cycles. The worst case that I found is expf on ia64 where this change is a pessimization of about 10 cycles or 5%. The manual scheduling for plain exp[f] is harder and not as tuned. This change ld128/s_exp2l.c has not been tested. Revision Changes Path 1.2 +15 -11 src/lib/msun/ld128/s_exp2l.c 1.2 +14 -11 src/lib/msun/ld80/s_exp2l.c 1.11 +8 -9 src/lib/msun/src/e_exp.c 1.13 +8 -9 src/lib/msun/src/e_expf.c 1.5 +9 -9 src/lib/msun/src/s_exp2.c 1.5 +3 -6 src/lib/msun/src/s_exp2f.c From louie at transsys.com Wed Feb 6 19:59:35 2008 From: louie at transsys.com (Louis Mamakos) Date: Wed Feb 6 19:59:42 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: <20080205141739.GX14339@FreeBSD.org> References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> <20080202201153.GL14339@FreeBSD.org> <47A4E122.8080901@FreeBSD.org> <20080205141739.GX14339@FreeBSD.org> Message-ID: On Feb 5, 2008, at 9:17 AM, Gleb Smirnoff wrote: > On Sun, Feb 03, 2008 at 11:36:49AM -0500, Louis Mamakos wrote: > L> > Gleb Smirnoff ?????: > L> >> you should have asked me for review before committing! This is > L> >> not a bug, this is a feature. This was quite clear from the > comments, > L> >> that you removed: > L> >> - /* if export hook disconnected stop running expire(). */ > L> >> This is intended behavior. We must not lose information unless > L> >> user explicitly wants to lose information. In the latter case > L> >> he will connect ng_hole(4) node to the "export" hook. But we > must > L> >> not lose information if user runs some script that swaps > receiving > L> >> node on the "export" hook. > L> >> Please backout this change! > L> > > L> > Expire process was not depending completely on connected hook > even before > L> > this commit. For example, every TCP session closing forces some > data > L> > export. So even with export hook disconnected some data still > will be lost > L> > and not just lost, but it was leading to memory leak which I > have fixed > L> > with other commit. > > That's true. The active TCP close should be reworked. And the new > active expiry > feature violates the original design, when no export hook ment, no > data lose. :( > > L> If there's a concern about no losing the netflow data, then it's > likely that > L> it's usually the case that an export hook is connected. If a > user wanted to > L> change the export arrangement for the netflow data, then just > disconnected > L> and reconnecting to the export hook won't caused data to be lost > if the > L> expiry parameters are set to something reasonable. > > Since expiry runs periodically, then it can race with hook change I'm not sure why I'd have an expectation that I would never, under any circumstances lose data when switching the export hook. If I really, really wanted to arrange for that, perhaps I'd connect the export hook to a "tee" node so I could swap in different export destinations in a "make before break" sort of arrangement. > > > L> Finally, in the absence of infinite amounts of memory, data will > eventually > L> be lost. The only decision is over what duration data should be > kept around > L> so that it might be harvested. It's a huge surprise that the > netflow module > L> consumes large amounts of kernel memory. As a user, I expected > the > L> expiration timers to be the policy that I specify to control how > long the > L> netflow stats are stored, and my expectation wasn't met. > > Huge surprise? How can you expect a kernel module that stores a lot > of data > consume a little kernel memory? I suppose the problem is that I had no expectation that a kernel module, would consume unbounded amounts of kernel resources. I certainly didn't expect that it would have a need to store "a lot of data" given that there are documented parameters on how the in-kernel state should be expired. That this expiration doesn't occur is a significant difference that would I would have expected as reasonable behavior. You start with the presumption that the data being collected is so precious that it cannot be dropped under any circumstances. That's probably a faulty premise to begin with, given that most of the netflow export happens on an unreliable UDP transport. > > I agree that the behavior should be documented in manual page and > using > ng_hole(4) for your case should be advised. If you send me a manual > page patch, > I can commit it. Driving the kernel into resource exhaustion for no really good reason doesn't seem like the right default behavior. I really think that the netflow module should default into a safe mode of operation rather than unexpected consumption of a limited resource. Louis Mamakos From alc at FreeBSD.org Wed Feb 6 21:55:17 2008 From: alc at FreeBSD.org (Alan Cox) Date: Wed Feb 6 21:55:20 2008 Subject: cvs commit: src/sys/kern uipc_shm.c Message-ID: <200802070555.m175tGW6017567@repoman.freebsd.org> alc 2008-02-07 05:55:16 UTC FreeBSD src repository Modified files: sys/kern uipc_shm.c Log: Change shm_dotruncate() so that it correctly handles cached pages that span the end of the object. (This change is analogous to revision 1.237 of vm/vnode_pager.c.) Discussed with: jhb Revision Changes Path 1.3 +4 -0 src/sys/kern/uipc_shm.c From jeff at FreeBSD.org Wed Feb 6 22:17:05 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Wed Feb 6 22:17:07 2008 Subject: cvs commit: src/sys/kern kern_rwlock.c Message-ID: <200802070617.m176H49K020409@repoman.freebsd.org> jeff 2008-02-07 06:16:54 UTC FreeBSD src repository Modified files: sys/kern kern_rwlock.c Log: - In rw_wunlock_hard prefer to wakeup writers if there are both readers and writers available. Doing otherwise can cause deadlocks as no read locks can proceed while there are write waiters. Sponsored by: Nokia Revision Changes Path 1.36 +4 -4 src/sys/kern/kern_rwlock.c From dougb at FreeBSD.org Wed Feb 6 22:28:03 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Feb 6 22:28:05 2008 Subject: cvs commit: src/etc/namedb named.root Message-ID: <200802070628.m176S27s020848@repoman.freebsd.org> dougb 2008-02-07 06:28:02 UTC FreeBSD src repository Modified files: etc/namedb named.root Log: From the 4 February 2008 update: IPv6 addresses for 6 of the root name servers! Revision Changes Path 1.14 +8 -3 src/etc/namedb/named.root From jeff at FreeBSD.org Wed Feb 6 22:55:39 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Wed Feb 6 22:55:41 2008 Subject: cvs commit: src/sys/kern subr_sleepqueue.c subr_turnstile.c src/sys/sys proc.h Message-ID: <200802070655.m176tdd4022332@repoman.freebsd.org> jeff 2008-02-07 06:55:38 UTC FreeBSD src repository Modified files: sys/kern subr_sleepqueue.c subr_turnstile.c sys/sys proc.h Log: - Add THREAD_LOCKPTR_ASSERT() to assert that the thread's lock points at the provided lock or &blocked_lock. The thread may be temporarily assigned to the blocked_lock by the scheduler so a direct comparison can not always be made. - Use THREAD_LOCKPTR_ASSERT() in the primary consumers of the scheduling interfaces. The schedulers themselves still use more explicit asserts. Sponsored by: Nokia Revision Changes Path 1.44 +1 -1 src/sys/kern/subr_sleepqueue.c 1.172 +7 -7 src/sys/kern/subr_turnstile.c 1.503 +11 -0 src/sys/sys/proc.h From rink at FreeBSD.org Wed Feb 6 23:31:16 2008 From: rink at FreeBSD.org (Rink Springer) Date: Wed Feb 6 23:31:19 2008 Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.c main.c src/usr.sbin/bootparamd/callbootd callbootd.c Message-ID: <200802070731.m177VGGc025762@repoman.freebsd.org> rink 2008-02-07 07:31:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/bootparamd/bootparamd bootparamd.c main.c usr.sbin/bootparamd/callbootd callbootd.c Log: MFC 1.14: Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the code believing long == 64 bits and using it to store/compare IPv4 addresses. PR: bin/112163 Submitted by: Tyler Spivey Reviewed by: imp Approved by: imp (mentor) Revision Changes Path 1.12.10.1 +3 -3 src/usr.sbin/bootparamd/bootparamd/bootparamd.c 1.10.18.1 +1 -1 src/usr.sbin/bootparamd/bootparamd/main.c 1.10.20.1 +1 -1 src/usr.sbin/bootparamd/callbootd/callbootd.c From rink at FreeBSD.org Wed Feb 6 23:33:28 2008 From: rink at FreeBSD.org (Rink Springer) Date: Wed Feb 6 23:33:30 2008 Subject: cvs commit: src/usr.sbin/watch watch.c Message-ID: <200802070733.m177XSt0025876@repoman.freebsd.org> rink 2008-02-07 07:33:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/watch watch.c Log: MFC 1.35: Allow watch(8) to use more than 10 snp* devices. This limitation was purely due to the way watch(8) looks for available snoop devices. PR: bin/118286 Submitted by: Mykola Zubach Reviewed by: rwatson, csjp, imp (all a long time ago) Approved by: imp (mentor) (long time ago) Revision Changes Path 1.34.2.1 +5 -6 src/usr.sbin/watch/watch.c From rink at FreeBSD.org Wed Feb 6 23:35:18 2008 From: rink at FreeBSD.org (Rink Springer) Date: Wed Feb 6 23:35:21 2008 Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.c main.c src/usr.sbin/bootparamd/callbootd callbootd.c Message-ID: <200802070735.m177ZIKr026014@repoman.freebsd.org> rink 2008-02-07 07:35:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/bootparamd/bootparamd bootparamd.c main.c usr.sbin/bootparamd/callbootd callbootd.c Log: Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the code believing long == 64 bits and using it to store/compare IPv4 addresses. PR: bin/112163 Submitted by: Tyler Spivey Reviewed by: imp Approved by: imp (mentor) Revision Changes Path 1.12.2.1 +3 -3 src/usr.sbin/bootparamd/bootparamd/bootparamd.c 1.10.8.1 +1 -1 src/usr.sbin/bootparamd/bootparamd/main.c 1.10.10.1 +1 -1 src/usr.sbin/bootparamd/callbootd/callbootd.c From rink at FreeBSD.org Wed Feb 6 23:36:32 2008 From: rink at FreeBSD.org (Rink Springer) Date: Wed Feb 6 23:36:37 2008 Subject: cvs commit: src/usr.sbin/watch watch.c Message-ID: <200802070736.m177aVcF026105@repoman.freebsd.org> rink 2008-02-07 07:36:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/watch watch.c Log: MFC 1.35: Allow watch(8) to use more than 10 snp* devices. This limitation was purely due to the way watch(8) looks for available snoop devices. PR: bin/118286 Submitted by: Mykola Zubach Reviewed by: rwatson, csjp, imp (all a long time ago) Approved by: imp (mentor) (long time ago) Revision Changes Path 1.31.8.2 +5 -6 src/usr.sbin/watch/watch.c From rink at FreeBSD.org Wed Feb 6 23:55:30 2008 From: rink at FreeBSD.org (Rink Springer) Date: Wed Feb 6 23:55:37 2008 Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.c main.c src/usr.sbin/bootparamd/callbootd callbootd.c In-Reply-To: <200802070735.m177ZIKr026014@repoman.freebsd.org> References: <200802070735.m177ZIKr026014@repoman.freebsd.org> Message-ID: <20080207073926.GA31396@rink.nu> On Thu, Feb 07, 2008 at 07:35:18AM +0000, Rink Springer wrote: > rink 2008-02-07 07:35:18 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > usr.sbin/bootparamd/bootparamd bootparamd.c main.c > usr.sbin/bootparamd/callbootd callbootd.c > Log: > Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the > code believing long == 64 bits and using it to store/compare IPv4 addresses. > > PR: bin/112163 > Submitted by: Tyler Spivey > Reviewed by: imp > Approved by: imp (mentor) > > Revision Changes Path > 1.12.2.1 +3 -3 src/usr.sbin/bootparamd/bootparamd/bootparamd.c > 1.10.8.1 +1 -1 src/usr.sbin/bootparamd/bootparamd/main.c > 1.10.10.1 +1 -1 src/usr.sbin/bootparamd/callbootd/callbootd.c Ugh, for those wondering: I forgot to add that this is a MFC (1.14) -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080207/39274315/attachment.pgp From jkim at FreeBSD.org Thu Feb 7 00:13:12 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Feb 7 00:13:15 2008 Subject: cvs commit: src/sys/dev/amr amrreg.h In-Reply-To: <200802061426.m16EQWHx023182@repoman.freebsd.org> References: <200802061426.m16EQWHx023182@repoman.freebsd.org> Message-ID: <200802061047.11275.jkim@FreeBSD.org> On Wednesday 06 February 2008 09:26 am, Scott Long wrote: > scottl 2008-02-06 14:26:32 UTC > > FreeBSD src repository > > Modified files: > sys/dev/amr amrreg.h > Log: > Remove an errant definition for AMR_CONFIG_ENQ3_SOLICITED NOTIFY > that was accidently reverted in the previous commit. > > Revision Changes Path > 1.12 +0 -1 src/sys/dev/amr/amrreg.h Thanks! Jung-uk Kim From rwatson at FreeBSD.org Thu Feb 7 00:41:33 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Feb 7 00:41:39 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <47AA5925.3000008@FreeBSD.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> <47AA5925.3000008@FreeBSD.org> Message-ID: <20080207083930.Y74369@fledge.watson.org> On Thu, 7 Feb 2008, Bruce M. Simpson wrote: > Mike Silbersack wrote: >> Note that this commit does not yet enable random IP ID >> generation by default. There are still some concerns >> that doing so will adversely affect performance. > > Random ip_id generation also breaks MANET multicast as it's currently > specified -- the ip_id field gets used for histogram based duplicate packet > detection. However, after my inveigling, Fred Templin at Boeing brought > encapsulation back into the proposal on the table. > > So some way to turn this stuff off on a per-interface basis is probably > going to be needed later on for mobile stuff... We also have much more general problems with our ip_id code -- using a global IP ID counter or random generator breaks down as the packet rate goes up, causing problems for NFS over UDP and other UDP applications with large packet sizes. We need to adopt some sort of host-based approach, presumably with a fallback to global when we don't want to commit state storage for a host (i.e., for RST's/SYN cookies, or even TCP generally). There's a comment in the Linux IP ID code regarding PPTP also expecting IP IPs to behave in a more historical way as well. Robert N M Watson Computer Laboratory University of Cambridge From andre at freebsd.org Thu Feb 7 01:10:42 2008 From: andre at freebsd.org (Andre Oppermann) Date: Thu Feb 7 01:10:50 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <20080207083930.Y74369@fledge.watson.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> <47AA5925.3000008@FreeBSD.org> <20080207083930.Y74369@fledge.watson.org> Message-ID: <47AACB19.9040203@freebsd.org> Robert Watson wrote: > > On Thu, 7 Feb 2008, Bruce M. Simpson wrote: > >> Mike Silbersack wrote: >>> Note that this commit does not yet enable random IP ID >>> generation by default. There are still some concerns >>> that doing so will adversely affect performance. >> >> Random ip_id generation also breaks MANET multicast as it's currently >> specified -- the ip_id field gets used for histogram based duplicate >> packet detection. However, after my inveigling, Fred Templin at Boeing >> brought encapsulation back into the proposal on the table. >> >> So some way to turn this stuff off on a per-interface basis is >> probably going to be needed later on for mobile stuff... > > We also have much more general problems with our ip_id code -- using a > global IP ID counter or random generator breaks down as the packet rate > goes up, causing problems for NFS over UDP and other UDP applications > with large packet sizes. We need to adopt some sort of host-based > approach, presumably with a fallback to global when we don't want to > commit state storage for a host (i.e., for RST's/SYN cookies, or even > TCP generally). There's a comment in the Linux IP ID code regarding > PPTP also expecting IP IPs to behave in a more historical way as well. A sufficiently good hash algorithm should be able to replace storage allocation and tracking per host. This way we have an IPID sequence space per hash bucket where we can guarantee a full cycle. -- Andre From bde at FreeBSD.org Thu Feb 7 01:42:20 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 7 01:42:23 2008 Subject: cvs commit: src/lib/msun/src s_expm1.c s_expm1f.c Message-ID: <200802070942.m179gJjO044005@repoman.freebsd.org> bde 2008-02-07 09:42:19 UTC FreeBSD src repository Modified files: lib/msun/src s_expm1.c s_expm1f.c Log: Use a better method of scaling by 2**k. Instead of adding to the exponent bits of the reduced result, construct 2**k (hopefully in parallel with the construction of the reduced result) and multiply by it. This tends to be much faster if the construction of 2**k is actually in parallel, and might be faster even with no parallelism since adjustment of the exponent requires a read-modify-wrtite at an unfortunate time for pipelines. In some cases involving exp2* on amd64 (A64), this change saves about 40 cycles or 30%. I think it is inherently only about 12 cycles faster in these cases and the rest of the speedup is from partly-accidentally avoiding compiler pessimizations (the construction of 2**k is now manually scheduled for good results, and -O2 doesn't always mess this up). In most cases on amd64 (A64) and i386 (A64) the speedup is about 20 cycles. The worst case that I found is expf on ia64 where this change is a pessimization of about 10 cycles or 5%. The manual scheduling for plain exp[f] is harder and not as tuned. Details specific to expm1*: - the saving is closer to 12 cycles than to 40 for expm1* on i386 (A64). For some reason it is much larger for negative args. - also convert to __FBSDID(). Revision Changes Path 1.8 +8 -13 src/lib/msun/src/s_expm1.c 1.8 +8 -13 src/lib/msun/src/s_expm1f.c From peterjeremy at optushome.com.au Thu Feb 7 02:11:09 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Thu Feb 7 02:11:18 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <20080207083930.Y74369@fledge.watson.org> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> <47AA5925.3000008@FreeBSD.org> <20080207083930.Y74369@fledge.watson.org> Message-ID: <20080207101105.GV4008@server.vk2pj.dyndns.org> On Thu, Feb 07, 2008 at 08:41:31AM +0000, Robert Watson wrote: >We also have much more general problems with our ip_id code -- using a >global IP ID counter or random generator breaks down as the packet rate >goes up, causing problems for NFS over UDP and other UDP applications with >large packet sizes. Last year, I discovered the port randomisation code was incompatible with my IPfilter firewall: IPfilter remembers connections in CLOSE_WAIT for 4 minutes and FreeBSD was re-using ports more frequently than that, randomly blocking new connections. I just turned off port randomisation but it would be nicer if it worked. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080207/a0d572c6/attachment.pgp From glebius at FreeBSD.org Thu Feb 7 02:16:17 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Thu Feb 7 02:16:28 2008 Subject: cvs commit: src/sys/netgraph/netflow ng_netflow.c In-Reply-To: References: <200801271501.m0RF1Hki089075@repoman.freebsd.org> <20080202201153.GL14339@FreeBSD.org> <47A4E122.8080901@FreeBSD.org> <20080205141739.GX14339@FreeBSD.org> Message-ID: <20080207101619.GH14339@FreeBSD.org> On Wed, Feb 06, 2008 at 10:59:32PM -0500, Louis Mamakos wrote: L> I suppose the problem is that I had no expectation that a kernel module, L> would L> consume unbounded amounts of kernel resources. It is bounded. L> I certainly didn't expect L> that L> it would have a need to store "a lot of data" given that there are L> documented L> parameters on how the in-kernel state should be expired. That this L> expiration L> doesn't occur is a significant difference that would I would have expected L> as L> reasonable behavior. This is behavior of not yet configured node. Imagine yourself adding a new log destination to syslog.conf(5), but forgetting about newsyslog.conf(5). Are you going to file a PR "FreeBSD wastes all my disk space"? No. Same situation here - you have configured the flow of incoming data, but you haven't configured the destination of the outgoing data. L> You start with the presumption that the data being collected is so precious L> that L> it cannot be dropped under any circumstances. That's probably a faulty L> premise to begin with, given that most of the netflow export happens on an L> unreliable UDP transport. Well, the ng_netflow(4) node has nothing to do with UDP. You can put any alternative transport on the "export" hook. L> > I agree that the behavior should be documented in manual page and using L> > ng_hole(4) for your case should be advised. If you send me a manual page L> > patch, L> > I can commit it. L> L> Driving the kernel into resource exhaustion for no really good reason L> doesn't L> seem like the right default behavior. I really think that the netflow L> module should default into a safe mode of operation rather than unexpected L> consumption of a limited resource. See above. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From marck at FreeBSD.org Thu Feb 7 02:22:15 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Thu Feb 7 02:22:21 2008 Subject: cvs commit: src/share/man/man4 puc.4 Message-ID: <200802071022.m17AMFFm047908@repoman.freebsd.org> marck 2008-02-07 10:22:14 UTC FreeBSD src repository (doc committer) Modified files: (Branch: RELENG_7) share/man/man4 puc.4 Log: MFC rev 1.5: There is no PUC_FASTINTR option anymore. Revision Changes Path 1.4.20.1 +1 -12 src/share/man/man4/puc.4 From bms at FreeBSD.org Thu Feb 7 02:31:16 2008 From: bms at FreeBSD.org (Bruce M. Simpson) Date: Thu Feb 7 02:31:23 2008 Subject: cvs commit: src/sys/netinet ip_id.c In-Reply-To: <20080206204812.J41033@odysseus.silby.com> References: <200802061540.m16FeXGD030782@repoman.freebsd.org> <47AA5925.3000008@FreeBSD.org> <20080206204812.J41033@odysseus.silby.com> Message-ID: <47AADDF1.4020507@FreeBSD.org> Mike Silbersack wrote: > > Does MANET multicast require: > > 1) Sequentiality. > or > 2) No repetition of an ID within a certain timeframe. > > The distinction is quite important! No, it completely hijacks the field for its own purposes and encodes its own information in there. From yar at FreeBSD.org Thu Feb 7 03:00:44 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Thu Feb 7 03:00:45 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <200802071100.m17B0iak049434@repoman.freebsd.org> yar 2008-02-07 11:00:42 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 Log: Add a note that ipfw states do not implicitly match ICMP error messages. Revision Changes Path 1.208 +6 -0 src/sbin/ipfw/ipfw.8 From glebius at FreeBSD.org Thu Feb 7 03:10:18 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Thu Feb 7 03:10:23 2008 Subject: cvs commit: src/sys/netgraph/netflow netflow.c Message-ID: <200802071110.m17BAISx050990@repoman.freebsd.org> glebius 2008-02-07 11:10:18 UTC FreeBSD src repository Modified files: sys/netgraph/netflow netflow.c Log: Use rtalloc1() instead of rtalloc_ign(). It returns a locked rtentry. We quickly copy the fields of interest, and then RTFREE_LOCKED(). This should be faster then lock & unlock the rtentry twice. Revision Changes Path 1.28 +17 -24 src/sys/netgraph/netflow/netflow.c From glebius at FreeBSD.org Thu Feb 7 03:26:53 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Thu Feb 7 03:26:59 2008 Subject: cvs commit: src/sys/netinet in_rmx.c Message-ID: <200802071126.m17BQq9q052331@repoman.freebsd.org> glebius 2008-02-07 11:26:52 UTC FreeBSD src repository Modified files: sys/netinet in_rmx.c Log: Remove unused structure member from struct in_ifadown_arg. Revision Changes Path 1.58 +1 -2 src/sys/netinet/in_rmx.c From lulf at FreeBSD.org Thu Feb 7 04:09:33 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:09:36 2008 Subject: cvs commit: src/sbin/geom/core geom.c Message-ID: <200802071209.m17C9XfU055359@repoman.freebsd.org> lulf 2008-02-07 12:09:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/geom/core geom.c Log: MFC revision 1.34 - Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH environment variable using ':' as a separator. Approved by: pjd (mentor) Revision Changes Path 1.32.2.1 +31 -11 src/sbin/geom/core/geom.c From lulf at FreeBSD.org Thu Feb 7 04:10:48 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:10:52 2008 Subject: cvs commit: src/sbin/geom/core geom.c Message-ID: <200802071210.m17CAlNa055495@repoman.freebsd.org> lulf 2008-02-07 12:10:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/geom/core geom.c Log: MFC revision 1.34 - Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH environment variable using ':' as a separator. Approved by: pjd (mentor) Revision Changes Path 1.22.2.5 +31 -11 src/sbin/geom/core/geom.c From lulf at FreeBSD.org Thu Feb 7 04:13:49 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:13:51 2008 Subject: cvs commit: src/sbin/geom/core geom.8 Message-ID: <200802071213.m17CDmGa056291@repoman.freebsd.org> lulf 2008-02-07 12:13:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/geom/core geom.8 Log: MFC revision 1.21 - Update geom(8) to explain that GEOM_LIBRARY_PATH can take a comma-separated list of paths. Approved by: pjd (mentor) Revision Changes Path 1.19.2.1 +1 -0 src/sbin/geom/core/geom.8 From lulf at FreeBSD.org Thu Feb 7 04:17:20 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:17:22 2008 Subject: cvs commit: src/sbin/geom/core geom.8 Message-ID: <200802071217.m17CHJoq056660@repoman.freebsd.org> lulf 2008-02-07 12:17:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/geom/core geom.8 Log: - Forced commit to note that revision 1.19.2.1 log was misspelled and that comma should be spelled as colon. Approved by: pjd (mentor) Revision Changes Path 1.19.2.2 +0 -0 src/sbin/geom/core/geom.8 From lulf at FreeBSD.org Thu Feb 7 04:18:27 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:18:30 2008 Subject: cvs commit: src/sbin/geom/core geom.8 Message-ID: <200802071218.m17CIQ7Q056827@repoman.freebsd.org> lulf 2008-02-07 12:18:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/geom/core geom.8 Log: MFC revision 1.21 - Update geom(8) to explain that GEOM_LIBRARY_PATH can take a colon-separated list of paths. Approved by: pjd (mentor) Revision Changes Path 1.17.2.2 +1 -0 src/sbin/geom/core/geom.8 From lulf at FreeBSD.org Thu Feb 7 04:20:13 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:20:20 2008 Subject: cvs commit: src/release fixit.profile Message-ID: <200802071220.m17CKCAr057201@repoman.freebsd.org> lulf 2008-02-07 12:20:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release fixit.profile Log: MFC revision 1.13 - Add extra paths for GEOM_LIBRARY_PATH to the fixit environment to enable all geom commands in a chrooted environment on the livefs cd. PR: misc/120169 Approved by: pjd (mentor) Revision Changes Path 1.10.10.3 +1 -1 src/release/fixit.profile From lulf at FreeBSD.org Thu Feb 7 04:21:21 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Feb 7 04:21:24 2008 Subject: cvs commit: src/release fixit.profile Message-ID: <200802071221.m17CLLwP057303@repoman.freebsd.org> lulf 2008-02-07 12:21:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release fixit.profile Log: MFC revision 1.13 - Add extra paths for GEOM_LIBRARY_PATH to the fixit environment to enable all geom commands in a chrooted environment on the livefs cd. PR: misc/120169 Approved by: pjd (mentor) Revision Changes Path 1.10.2.3 +1 -1 src/release/fixit.profile From kensmith at FreeBSD.org Thu Feb 7 04:50:28 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Thu Feb 7 04:50:31 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200802071250.m17CoRxR068045@repoman.freebsd.org> kensmith 2008-02-07 12:50:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/conf newvers.sh Log: Get ready for the 7.0-RC2 builds. Approved by: re (implicit) Revision Changes Path 1.72.2.5.2.2 +1 -1 src/sys/conf/newvers.sh From glebius at FreeBSD.org Thu Feb 7 05:18:59 2008 From: glebius at FreeBSD.org (Gleb Smirnoff) Date: Thu Feb 7 05:19:04 2008 Subject: cvs commit: src/sys/netinet ip_carp.c Message-ID: <200802071318.m17DIxcn071190@repoman.freebsd.org> glebius 2008-02-07 13:18:59 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c Log: If the vhid already present, return EEXIST instead of non-informative EINVAL. Revision Changes Path 1.53 +1 -1 src/sys/netinet/ip_carp.c From ru at FreeBSD.org Thu Feb 7 08:04:25 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Feb 7 08:04:33 2008 Subject: cvs commit: src/bin/date date.c Message-ID: <200802071604.m17G4O9K086812@repoman.freebsd.org> ru 2008-02-07 16:04:24 UTC FreeBSD src repository Modified files: bin/date date.c Log: Don't reset DST computed by strptime() (when e.g. setting the date via -f %s). Reported by: Eugene Grosbein Diagnosed by: Miguel Lopes Santos Ramos Revision Changes Path 1.48 +3 -6 src/bin/date/date.c From obrien at FreeBSD.org Thu Feb 7 10:10:25 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Feb 7 10:10:31 2008 Subject: cvs commit: src/sbin/md5 md5.c Message-ID: <200802071810.m17IAPHj005316@repoman.freebsd.org> obrien 2008-02-07 18:10:25 UTC FreeBSD src repository Modified files: sbin/md5 md5.c Log: style(9) (verifed no-change in .o's) Revision Changes Path 1.36 +13 -14 src/sbin/md5/md5.c From rink at FreeBSD.org Thu Feb 7 11:00:01 2008 From: rink at FreeBSD.org (Rink Springer) Date: Thu Feb 7 11:00:04 2008 Subject: cvs commit: src/usr.sbin/bootparamd Makefile Makefile.inc Message-ID: <200802071900.m17J00Ec009117@repoman.freebsd.org> rink 2008-02-07 19:00:00 UTC FreeBSD src repository Modified files: usr.sbin/bootparamd Makefile Makefile.inc Log: The previous commit message was wrong. It should have read: "Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the code believing long == 32 bits and using it to store/compare IPv4 addresses." Note the "== 32 bits" - the previous commit message stated 64 bits, which is plain wrong. PR: bin/112163 Pointed out by: obrien Approved by: imp (mentor, implicit) Revision Changes Path 1.3 +0 -0 src/usr.sbin/bootparamd/Makefile 1.3 +0 -0 src/usr.sbin/bootparamd/Makefile.inc From dougb at FreeBSD.org Thu Feb 7 12:54:26 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Thu Feb 7 12:54:32 2008 Subject: cvs commit: src/etc/namedb named.root Message-ID: <200802072054.m17KsPq5028391@repoman.freebsd.org> dougb 2008-02-07 20:54:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/namedb named.root Log: MFC version 1.14, from the 4 February 2008 update: IPv6 addresses for 6 of the root name servers! Revision Changes Path 1.12.18.2 +8 -3 src/etc/namedb/named.root From dougb at FreeBSD.org Thu Feb 7 12:55:42 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Thu Feb 7 12:56:45 2008 Subject: cvs commit: src/etc/namedb named.root Message-ID: <200802072055.m17KtgIZ028504@repoman.freebsd.org> dougb 2008-02-07 20:55:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) etc/namedb named.root Log: MFC version 1.14, from the 4 February 2008 update: IPv6 addresses for 6 of the root name servers! Approved by: re (kensmith) Revision Changes Path 1.12.18.1.2.1 +8 -3 src/etc/namedb/named.root From dougb at FreeBSD.org Thu Feb 7 12:56:35 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Thu Feb 7 12:56:53 2008 Subject: cvs commit: src/etc/namedb named.root Message-ID: <200802072056.m17KuZVm028579@repoman.freebsd.org> dougb 2008-02-07 20:56:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/namedb named.root Log: MFC version 1.14, from the 4 February 2008 update: IPv6 addresses for 6 of the root name servers! Revision Changes Path 1.12.8.2 +8 -3 src/etc/namedb/named.root From marius at FreeBSD.org Thu Feb 7 15:00:41 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Feb 7 15:00:42 2008 Subject: cvs commit: src/usr.bin/netstat netstat.h route.c Message-ID: <200802072300.m17N0eC3041024@repoman.freebsd.org> marius 2008-02-07 23:00:40 UTC FreeBSD src repository Modified files: usr.bin/netstat netstat.h route.c Log: Fix netname() [1] and routename() on big-endian LP64 archs. Submitted by: Yuri Pankov [1] MFC after: 3 days Revision Changes Path 1.53 +2 -2 src/usr.bin/netstat/netstat.h 1.86 +5 -6 src/usr.bin/netstat/route.c From jasone at FreeBSD.org Thu Feb 7 16:36:01 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Thu Feb 7 16:36:03 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200802080035.m180Zw9h049458@repoman.freebsd.org> jasone 2008-02-08 00:35:57 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Clean up manipulation of chunk page map elements to remove some tenuous assumptions about whether bits are set at various times. This makes adding other flags safe. Reorganize functions in order to inline i{m,c,p,s,re}alloc(). This allows the entire fast-path call chains for malloc() and free() to be inlined. [1] Suggested by: [1] Stuart Parmenter Revision Changes Path 1.163 +374 -379 src/lib/libc/stdlib/malloc.c From bde at FreeBSD.org Thu Feb 7 17:22:14 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 7 17:22:16 2008 Subject: cvs commit: src/lib/msun/src s_logb.c Message-ID: <200802080122.m181MDvw062183@repoman.freebsd.org> bde 2008-02-08 01:22:13 UTC FreeBSD src repository Modified files: lib/msun/src s_logb.c Log: Oops, fix the fix in rev.1.10. logb() and logbf() were broken on denormals, and logb() remained broken after 1.10 because the fix for logbf() was incompletely translated. Convert to __FBSDID(). Revision Changes Path 1.12 +4 -5 src/lib/msun/src/s_logb.c From bde at FreeBSD.org Thu Feb 7 17:45:53 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 7 17:45:55 2008 Subject: cvs commit: src/lib/msun/src s_truncl.c Message-ID: <200802080145.m181jqk3063068@repoman.freebsd.org> bde 2008-02-08 01:45:52 UTC FreeBSD src repository Modified files: lib/msun/src s_truncl.c Log: Fix truncl() when the result should be -0.0L. When the result is +-0.0L, it must have the same sign as the arg in all rounding modes, but it was always +0.0L. Revision Changes Path 1.5 +2 -1 src/lib/msun/src/s_truncl.c From jasone at FreeBSD.org Fri Feb 8 00:02:35 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Fri Feb 8 00:02:38 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200802080802.m1882YtJ000646@repoman.freebsd.org> jasone 2008-02-08 08:02:34 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix a bug in lazy deallocation that was introduced when arena_dalloc_lazy_hard() was split out of arena_dalloc_lazy() in revision 1.162. Reduce thundering herd problems in lazy deallocation by randomly varying how many probes a thread does before taking the slow path. Revision Changes Path 1.164 +10 -7 src/lib/libc/stdlib/malloc.c From des at FreeBSD.org Fri Feb 8 01:44:34 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Feb 8 01:44:40 2008 Subject: cvs commit: src/lib/libfetch fetch.3 Message-ID: <200802080944.m189iYPc020038@repoman.freebsd.org> des 2008-02-08 09:44:34 UTC FreeBSD src repository Modified files: lib/libfetch fetch.3 Log: s/MAXPATHLEN/PATH_MAX/ to reflect five-year old change to the code :) Submitted by: Joerg Sonnenberger MFC after: 2 weeks Revision Changes Path 1.65 +1 -1 src/lib/libfetch/fetch.3 From des at FreeBSD.org Fri Feb 8 01:48:49 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Feb 8 01:48:51 2008 Subject: cvs commit: src/lib/libfetch common.c ftp.c http.c Message-ID: <200802080948.m189mmlY020238@repoman.freebsd.org> des 2008-02-08 09:48:48 UTC FreeBSD src repository Modified files: lib/libfetch common.c ftp.c http.c Log: Use memcpy(3) instead of the BSD-specific bcopy(3). Submitted by: Joerg Sonnenberger MFC after: 2 weeks Revision Changes Path 1.54 +1 -1 src/lib/libfetch/common.c 1.102 +4 -4 src/lib/libfetch/ftp.c 1.84 +1 -1 src/lib/libfetch/http.c From dwmalone at FreeBSD.org Fri Feb 8 02:58:54 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Fri Feb 8 02:58:56 2008 Subject: cvs commit: src/usr.bin/ministat ministat.c Message-ID: <200802081058.m18Awr3W031770@repoman.freebsd.org> dwmalone 2008-02-08 10:58:50 UTC FreeBSD src repository Modified files: usr.bin/ministat ministat.c Log: WARNS fixes: remove two unused variables and add some constness. Revision Changes Path 1.11 +3 -4 src/usr.bin/ministat/ministat.c From dwmalone at FreeBSD.org Fri Feb 8 03:03:05 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Fri Feb 8 03:03:11 2008 Subject: cvs commit: src/usr.bin/procstat procstat.c procstat_basic.c procstat_files.c procstat_kstack.c procstat_threads.c procstat_vm.c Message-ID: <200802081103.m18B35WE032671@repoman.freebsd.org> dwmalone 2008-02-08 11:03:05 UTC FreeBSD src repository Modified files: usr.bin/procstat procstat.c procstat_basic.c procstat_files.c procstat_kstack.c procstat_threads.c procstat_vm.c Log: WARNS fixes: mainly constness and avoid comparing signed with unsigned by making array indicies unsigned. Also note one or two unused parameters. Revision Changes Path 1.2 +7 -6 src/usr.bin/procstat/procstat.c 1.2 +1 -1 src/usr.bin/procstat/procstat_basic.c 1.4 +2 -1 src/usr.bin/procstat/procstat_files.c 1.3 +4 -3 src/usr.bin/procstat/procstat_kstack.c 1.3 +2 -1 src/usr.bin/procstat/procstat_threads.c 1.2 +3 -2 src/usr.bin/procstat/procstat_vm.c From ru at FreeBSD.org Fri Feb 8 06:00:02 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Fri Feb 8 06:00:11 2008 Subject: cvs commit: src/usr.sbin/pkg_install/add pkg_add.1 Message-ID: <200802081400.m18E01Hn053824@repoman.freebsd.org> ru 2008-02-08 14:00:01 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/add pkg_add.1 Log: Introduce -i to SYNOPSIS, forgotten by krion@. Revision Changes Path 1.76 +1 -1 src/usr.sbin/pkg_install/add/pkg_add.1 From ru at FreeBSD.org Fri Feb 8 06:01:02 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Fri Feb 8 06:01:05 2008 Subject: cvs commit: src/usr.sbin/pkg_install/add pkg_add.1 Message-ID: <200802081401.m18E12Ln053944@repoman.freebsd.org> ru 2008-02-08 14:01:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pkg_install/add pkg_add.1 Log: MFC: 1.75: Revise TECHNICAL DETAILS. Revision Changes Path 1.71.2.1 +87 -68 src/usr.sbin/pkg_install/add/pkg_add.1 From sam at FreeBSD.org Fri Feb 8 12:58:20 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 12:58:27 2008 Subject: cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/dev/ath if_ath.c Message-ID: <200802082058.m18KwJ6G006816@repoman.freebsd.org> sam 2008-02-08 20:58:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys mbuf.h sys/kern uipc_mbuf.c sys/dev/ath if_ath.c Log: MFC: promote ath_defrag to m_collapse Revision Changes Path 1.177.2.1 +1 -85 src/sys/dev/ath/if_ath.c 1.174.2.1 +86 -0 src/sys/kern/uipc_mbuf.c 1.217.2.1 +1 -0 src/sys/sys/mbuf.h From sam at FreeBSD.org Fri Feb 8 13:01:40 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 13:01:42 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802082101.m18L1e09006991@repoman.freebsd.org> sam 2008-02-08 21:01:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys param.h Log: bump for addition of m_collapse Revision Changes Path 1.308.2.5 +1 -1 src/sys/sys/param.h From sam at FreeBSD.org Fri Feb 8 13:23:37 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 13:23:40 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802082123.m18LNbI8009844@repoman.freebsd.org> sam 2008-02-08 21:23:37 UTC FreeBSD src repository Modified files: sys/sys param.h Log: belated bump for the addition of m_collapse Revision Changes Path 1.332 +1 -1 src/sys/sys/param.h From sam at FreeBSD.org Fri Feb 8 13:24:59 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 13:25:05 2008 Subject: cvs commit: src UPDATING Message-ID: <200802082124.m18LOwVs009908@repoman.freebsd.org> sam 2008-02-08 21:24:58 UTC FreeBSD src repository Modified files: . UPDATING Log: Note m_collapse addition. Revision Changes Path 1.518 +4 -0 src/UPDATING From sam at FreeBSD.org Fri Feb 8 13:26:26 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 13:26:32 2008 Subject: cvs commit: src UPDATING Message-ID: <200802082126.m18LQQdZ010035@repoman.freebsd.org> sam 2008-02-08 21:26:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: note addition of m_collapse Revision Changes Path 1.507.2.4 +3 -0 src/UPDATING From sam at FreeBSD.org Fri Feb 8 13:29:13 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 8 13:29:15 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.h Message-ID: <200802082129.m18LTDhM010171@repoman.freebsd.org> sam 2008-02-08 21:29:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_ht.h Log: MFC 1.4: add opaque pointer to tx ampdu state for drivers Revision Changes Path 1.2.2.2 +1 -0 src/sys/net80211/ieee80211_ht.h From attilio at FreeBSD.org Fri Feb 8 13:45:47 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Fri Feb 8 13:45:55 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/kern kern_lock.c vfs_subr.c src/sys/nfs4client nfs4_vfsops.c src/sys/nfsclient nfs_vfsops.c Message-ID: <200802082145.m18LjlQC011164@repoman.freebsd.org> attilio 2008-02-08 21:45:47 UTC FreeBSD src repository Modified files: sys/fs/nullfs null_vfsops.c sys/kern kern_lock.c vfs_subr.c sys/nfs4client nfs4_vfsops.c sys/nfsclient nfs_vfsops.c Log: Conver all explicit instances to VOP_ISLOCKED(arg, NULL) into VOP_ISLOCKED(arg, curthread). Now, VOP_ISLOCKED() and lockstatus() should only acquire curthread as argument; this will lead in axing the additional argument from both functions, making the code cleaner. Reviewed by: jeff, kib Revision Changes Path 1.87 +3 -3 src/sys/fs/nullfs/null_vfsops.c 1.123 +2 -2 src/sys/kern/kern_lock.c 1.718 +6 -5 src/sys/kern/vfs_subr.c 1.31 +1 -1 src/sys/nfs4client/nfs4_vfsops.c 1.198 +1 -1 src/sys/nfsclient/nfs_vfsops.c From rwatson at FreeBSD.org Fri Feb 8 14:37:17 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 8 14:37:21 2008 Subject: cvs commit: src/sys/fs/coda coda_vfsops.c Message-ID: <200802082237.m18MbG41015413@repoman.freebsd.org> rwatson 2008-02-08 22:37:16 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vfsops.c Log: Remove undefined coda excluded by #if 1 #else, which previously protected vget() calls using inode numbers to query the root of /coda, which is not needed since we now cache the root vnode with the mountpoint. MFC after: 1 month Revision Changes Path 1.73 +0 -12 src/sys/fs/coda/coda_vfsops.c From rwatson at FreeBSD.org Fri Feb 8 15:01:41 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 8 15:01:44 2008 Subject: cvs commit: src/sys/fs/coda coda_vnops.c Message-ID: <200802082301.m18N1ecr016480@repoman.freebsd.org> rwatson 2008-02-08 23:01:40 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vnops.c Log: Before invoking vnode operations on cache vnodes, acquire the vnode locks of those vnodes. Probably, Coda should do the same lock sharing/ pass-through that is done for nullfs, but in the mean time this ensures that locks are adequately held to prevent corruption of data structures in the cache file system. Assuming most operations came from the top layer of Coda and weren't performed directly on the cache vnodes, in practice this corruption was relatively unlikely as the Coda vnode locks were ensuring exclusive access for most consumers. This causes WITNESS to squeal like a pig immediately when Coda is used, rather than waiting until file close; I noticed these problems because of the lack of said squealing. MFC after: 1 month Revision Changes Path 1.86 +9 -1 src/sys/fs/coda/coda_vnops.c From ghelmer at FreeBSD.org Fri Feb 8 15:04:14 2008 From: ghelmer at FreeBSD.org (Guy Helmer) Date: Fri Feb 8 15:04:15 2008 Subject: cvs commit: src/usr.bin/uniq uniq.c Message-ID: <200802082304.m18N4Dld017744@repoman.freebsd.org> ghelmer 2008-02-08 23:04:13 UTC FreeBSD src repository Modified files: usr.bin/uniq uniq.c Log: Fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. PR: bin/76578 Revision Changes Path 1.30 +61 -15 src/usr.bin/uniq/uniq.c From rwatson at FreeBSD.org Fri Feb 8 15:15:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 8 15:15:39 2008 Subject: cvs commit: src/sys/fs/coda coda_psdev.c coda_subr.c coda_venus.c coda_vfsops.c coda_vnops.c coda_vnops.h Message-ID: <200802082315.m18NFa9B019138@repoman.freebsd.org> rwatson 2008-02-08 23:15:36 UTC FreeBSD src repository Modified files: sys/fs/coda coda_psdev.c coda_subr.c coda_venus.c coda_vfsops.c coda_vnops.c coda_vnops.h Log: The Coda module was originally ported to NetBSD from Mach by rvb, and then later to FreeBSD. Update various NetBSD-related comments: in some cases delete them because they don't appply, in others update to say FreeBSD as they still apply but in FreeBSD (and might for that matter no longer apply on NetBSD), and flag one case where I'm not sure whether it applies. MFC after: 1 month Revision Changes Path 1.41 +1 -1 src/sys/fs/coda/coda_psdev.c 1.34 +2 -2 src/sys/fs/coda/coda_subr.c 1.28 +1 -1 src/sys/fs/coda/coda_venus.c 1.74 +1 -1 src/sys/fs/coda/coda_vfsops.c 1.87 +10 -7 src/sys/fs/coda/coda_vnops.c 1.20 +1 -1 src/sys/fs/coda/coda_vnops.h From rwatson at FreeBSD.org Fri Feb 8 16:03:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 8 16:03:25 2008 Subject: cvs commit: src/sys/fs/coda coda_vfsops.c coda_vnops.c Message-ID: <200802090003.m1903M5j022393@repoman.freebsd.org> rwatson 2008-02-09 00:03:22 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vfsops.c coda_vnops.c Log: Make all calls to vn_lock() in Coda, including recently added ones, use LK_RETRY, since failure is undesirable (and not handled). MFC after: 1 month Pointed out by: kib Revision Changes Path 1.75 +3 -3 src/sys/fs/coda/coda_vfsops.c 1.88 +4 -4 src/sys/fs/coda/coda_vnops.c From rwatson at FreeBSD.org Fri Feb 8 16:12:22 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 8 16:12:25 2008 Subject: cvs commit: src/sys/fs/coda coda_vnops.c Message-ID: <200802090012.m190CMPe022806@repoman.freebsd.org> rwatson 2008-02-09 00:12:22 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vnops.c Log: Lock cache vnode when VOP_FSYNC() is called on a Coda vnode. MFC after: 1 month Revision Changes Path 1.89 +5 -2 src/sys/fs/coda/coda_vnops.c From obrien at FreeBSD.org Fri Feb 8 17:35:36 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 8 17:35:38 2008 Subject: cvs commit: src/contrib/amd AUTHORS BUGS COPYING ChangeLog FAQ FREEBSD-Xlist FREEBSD-upgrade INSTALL NEWS README.attrcache README.ldap aux_conf.h.in bootstrap ldap-id.ms ldap.schema tasks vers.m4 src/contrib/amd/amd am_ops.c amd.8 amd.c amd.h amfs_auto.c ... Message-ID: <200802090135.m191ZZsK038419@repoman.freebsd.org> obrien 2008-02-09 01:35:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/amd AUTHORS BUGS COPYING ChangeLog FREEBSD-Xlist FREEBSD-upgrade INSTALL NEWS README.ldap aux_conf.h.in bootstrap ldap-id.ms tasks contrib/amd/amd am_ops.c amd.8 amd.c amd.h amfs_auto.c amfs_direct.c amfs_error.c amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c conf_parse.y conf_tok.l get_args.c info_file.c info_hesiod.c info_ldap.c info_ndbm.c info_nis.c info_nisplus.c info_passwd.c info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c nfs_subr.c ops_TEMPLATE.c ops_cachefs.c ops_cdfs.c ops_efs.c ops_lofs.c ops_mfs.c ops_nfs.c ops_nfs3.c ops_nullfs.c ops_pcfs.c ops_tfs.c ops_tmpfs.c ops_ufs.c ops_umapfs.c ops_unionfs.c ops_xfs.c opts.c restart.c rpc_fwd.c sched.c srvr_amfs_auto.c srvr_nfs.c contrib/amd/amq amq.8 amq.c amq.h amq_clnt.c amq_xdr.c pawd.1 pawd.c contrib/amd/conf/checkmount checkmount_bsd44.c contrib/amd/conf/mtab mtab_bsd.c contrib/amd/conf/nfs_prot nfs_prot_freebsd2.h nfs_prot_freebsd3.h contrib/amd/conf/sa_dref sa_dref_bsd44.h contrib/amd/conf/transp transp_sockets.c contrib/amd/conf/trap trap_default.h contrib/amd/conf/umount umount_bsd44.c contrib/amd/doc am-utils.texi texinfo.tex version.texi contrib/amd/fixmount fixmount.8 fixmount.c contrib/amd/fsinfo fsi_analyze.c fsi_data.h fsi_dict.c fsi_gram.y fsi_lex.l fsi_util.c fsinfo.8 fsinfo.c fsinfo.h wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c contrib/amd/hlfsd hlfsd.8 hlfsd.c hlfsd.h homedir.c nfs_prot_svc.c stubs.c contrib/amd/include am_compat.h am_defs.h am_utils.h am_xdr_func.h amq_defs.h mount_headers1.h mount_headers2.h contrib/amd/libamu amu.h hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c strerror.c wire.c xdr_func.c xutil.c contrib/amd/mk-amd-map mk-amd-map.8 mk-amd-map.c contrib/amd/scripts am-eject.in amd.conf-sample amd.conf.5 amd2ldif.in amd2sun.in automount2amd.8 automount2amd.in ctl-amd.in ctl-hlfsd.in expn.1 expn.in fix-amd-map.in fixrmtab.in redhat-ctl-amd.in wait4amd.in wait4amd2die.in contrib/amd/wire-test wire-test.8 wire-test.c usr.sbin/amd/amd Makefile usr.sbin/amd/fsinfo Makefile usr.sbin/amd/include aux_conf.h build_version.h config.h newvers.sh usr.sbin/amd/libamu Makefile usr.sbin/amd/mk-amd-map Makefile Added files: (Branch: RELENG_6) contrib/amd FAQ README.attrcache ldap.schema vers.m4 contrib/amd/amd amfs_generic.c info_exec.c readdir.c contrib/amd/doc stamp-vti contrib/amd/libamu strutil.c contrib/amd/scripts test-attrcache.in usr.sbin/amd/include amu_autofs_prot.h Removed files: (Branch: RELENG_6) contrib/amd/amd amfs_inherit.c contrib/amd/libamu alloca.c util.c contrib/amd/m4 GNUmakefile amdgrep amindent autopat chop-aclocal.pl copy-if-newbig mk-aclocal mkconf rmtspc update_build_version contrib/amd/m4/macros HEADER TRAILER Log: MFC: version 6.1.5. Revision Changes Path 1.1.1.9.8.1 +97 -4 src/contrib/amd/AUTHORS 1.1.1.9.8.1 +106 -9 src/contrib/amd/BUGS 1.1.1.5.8.1 +1 -1 src/contrib/amd/COPYING 1.1.1.9.8.1 +6160 -446 src/contrib/amd/ChangeLog 1.1.1.1.4.1 +69 -0 src/contrib/amd/FAQ (new) 1.5.8.1 +124 -1 src/contrib/amd/FREEBSD-Xlist 1.15.8.1 +11 -10 src/contrib/amd/FREEBSD-upgrade 1.1.1.9.8.1 +101 -140 src/contrib/amd/INSTALL 1.1.1.8.8.1 +615 -99 src/contrib/amd/NEWS 1.1.1.1.4.1 +129 -0 src/contrib/amd/README.attrcache (new) 1.1.1.2.10.1 +6 -3 src/contrib/amd/README.ldap 1.1.1.6.8.1 +87 -62 src/contrib/amd/amd/am_ops.c 1.20.2.2 +118 -90 src/contrib/amd/amd/amd.8 1.10.8.1 +138 -114 src/contrib/amd/amd/amd.c 1.1.1.7.8.1 +646 -77 src/contrib/amd/amd/amd.h 1.1.1.8.8.1 +33 -1495 src/contrib/amd/amd/amfs_auto.c 1.1.1.6.8.1 +17 -13 src/contrib/amd/amd/amfs_direct.c 1.1.1.6.8.1 +29 -28 src/contrib/amd/amd/amfs_error.c 1.1.1.1.4.1 +1262 -0 src/contrib/amd/amd/amfs_generic.c (new) 1.1.1.7.8.1 +97 -75 src/contrib/amd/amd/amfs_host.c 1.1.1.6.8.1 +0 -200 src/contrib/amd/amd/amfs_inherit.c (dead) 1.1.1.6.8.1 +35 -43 src/contrib/amd/amd/amfs_link.c 1.1.1.6.8.1 +22 -12 src/contrib/amd/amd/amfs_linkx.c 1.1.1.6.8.1 +72 -71 src/contrib/amd/amd/amfs_nfsl.c 1.1.1.6.8.1 +77 -97 src/contrib/amd/amd/amfs_nfsx.c 1.1.1.7.8.1 +38 -26 src/contrib/amd/amd/amfs_program.c 1.1.1.6.8.1 +15 -15 src/contrib/amd/amd/amfs_root.c 1.1.1.6.8.1 +163 -204 src/contrib/amd/amd/amfs_toplvl.c 1.1.1.6.8.1 +29 -21 src/contrib/amd/amd/amfs_union.c 1.8.8.1 +92 -32 src/contrib/amd/amd/amq_subr.c 1.1.1.6.8.1 +82 -3 src/contrib/amd/amd/amq_svc.c 1.1.1.6.8.1 +486 -131 src/contrib/amd/amd/autil.c 1.1.1.6.8.1 +15 -19 src/contrib/amd/amd/clock.c 1.1.1.8.8.1 +468 -72 src/contrib/amd/amd/conf.c 1.1.1.6.8.1 +2 -2 src/contrib/amd/amd/conf_parse.y 1.1.1.6.8.1 +2 -2 src/contrib/amd/amd/conf_tok.l 1.8.8.1 +142 -108 src/contrib/amd/amd/get_args.c 1.1.1.1.4.1 +423 -0 src/contrib/amd/amd/info_exec.c (new) 1.1.1.6.8.1 +14 -26 src/contrib/amd/amd/info_file.c 1.1.1.6.8.1 +8 -18 src/contrib/amd/amd/info_hesiod.c 1.1.1.7.8.1 +164 -67 src/contrib/amd/amd/info_ldap.c 1.1.1.6.8.1 +7 -8 src/contrib/amd/amd/info_ndbm.c 1.1.1.7.8.1 +2 -15 src/contrib/amd/amd/info_nis.c 1.1.1.6.8.1 +20 -34 src/contrib/amd/amd/info_nisplus.c 1.1.1.6.8.1 +7 -10 src/contrib/amd/amd/info_passwd.c 1.1.1.6.8.1 +13 -15 src/contrib/amd/amd/info_union.c 1.1.1.6.8.1 +330 -386 src/contrib/amd/amd/map.c 1.1.1.8.8.1 +115 -201 src/contrib/amd/amd/mapc.c 1.1.1.6.8.1 +63 -63 src/contrib/amd/amd/mntfs.c 1.2.8.1 +47 -19 src/contrib/amd/amd/nfs_prot_svc.c 1.1.1.6.8.1 +83 -83 src/contrib/amd/amd/nfs_start.c 1.1.1.6.8.1 +278 -81 src/contrib/amd/amd/nfs_subr.c 1.1.1.6.8.1 +29 -17 src/contrib/amd/amd/ops_TEMPLATE.c 1.1.1.6.8.1 +40 -27 src/contrib/amd/amd/ops_cachefs.c 1.1.1.6.8.1 +42 -33 src/contrib/amd/amd/ops_cdfs.c 1.1.1.6.8.1 +29 -21 src/contrib/amd/amd/ops_efs.c 1.1.1.6.8.1 +29 -24 src/contrib/amd/amd/ops_lofs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_mfs.c 1.1.1.6.8.1 +435 -197 src/contrib/amd/amd/ops_nfs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_nfs3.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_nullfs.c 1.2.8.1 +67 -25 src/contrib/amd/amd/ops_pcfs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_tfs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_tmpfs.c 1.1.1.6.8.1 +28 -21 src/contrib/amd/amd/ops_ufs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_umapfs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/amd/ops_unionfs.c 1.1.1.6.8.1 +28 -21 src/contrib/amd/amd/ops_xfs.c 1.1.1.7.8.1 +333 -154 src/contrib/amd/amd/opts.c 1.1.1.1.4.1 +498 -0 src/contrib/amd/amd/readdir.c (new) 1.1.1.6.8.1 +196 -116 src/contrib/amd/amd/restart.c 1.1.1.6.8.1 +38 -36 src/contrib/amd/amd/rpc_fwd.c 1.1.1.6.8.1 +37 -33 src/contrib/amd/amd/sched.c 1.1.1.6.8.1 +7 -12 src/contrib/amd/amd/srvr_amfs_auto.c 1.7.8.1 +373 -218 src/contrib/amd/amd/srvr_nfs.c 1.12.2.2 +146 -86 src/contrib/amd/amq/amq.8 1.9.8.1 +23 -44 src/contrib/amd/amq/amq.c 1.1.1.6.8.1 +3 -3 src/contrib/amd/amq/amq.h 1.1.1.6.8.1 +26 -11 src/contrib/amd/amq/amq_clnt.c 1.1.1.6.8.1 +16 -8 src/contrib/amd/amq/amq_xdr.c 1.7.2.1 +32 -6 src/contrib/amd/amq/pawd.1 1.1.1.6.8.1 +28 -57 src/contrib/amd/amq/pawd.c 1.1.1.2.10.1 +2 -0 src/contrib/amd/aux_conf.h.in 1.1.1.2.8.1 +1 -1 src/contrib/amd/bootstrap 1.1.1.6.8.1 +2 -3 src/contrib/amd/conf/checkmount/checkmount_bsd44.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/conf/mtab/mtab_bsd.c 1.7.8.1 +2 -4 src/contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h 1.13.8.1 +19 -18 src/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h 1.1.1.1.38.1 +1 -0 src/contrib/amd/conf/sa_dref/sa_dref_bsd44.h 1.1.1.7.8.1 +224 -71 src/contrib/amd/conf/transp/transp_sockets.c 1.3.8.1 +1 -1 src/contrib/amd/conf/trap/trap_default.h 1.1.1.6.8.1 +43 -12 src/contrib/amd/conf/umount/umount_bsd44.c 1.1.1.9.8.1 +1002 -762 src/contrib/amd/doc/am-utils.texi 1.3.4.1 +4 -0 src/contrib/amd/doc/stamp-vti (new) 1.1.1.4.10.1 +3525 -2852 src/contrib/amd/doc/texinfo.tex 1.1.1.8.10.1 +4 -3 src/contrib/amd/doc/version.texi 1.12.2.1 +52 -25 src/contrib/amd/fixmount/fixmount.8 1.8.8.1 +12 -17 src/contrib/amd/fixmount/fixmount.c 1.1.1.6.8.1 +16 -14 src/contrib/amd/fsinfo/fsi_analyze.c 1.1.1.6.8.1 +6 -3 src/contrib/amd/fsinfo/fsi_data.h 1.1.1.6.8.1 +2 -3 src/contrib/amd/fsinfo/fsi_dict.c 1.1.1.6.8.1 +2 -19 src/contrib/amd/fsinfo/fsi_gram.y 1.1.1.7.8.1 +2 -2 src/contrib/amd/fsinfo/fsi_lex.l 1.1.1.6.8.1 +7 -19 src/contrib/amd/fsinfo/fsi_util.c 1.12.2.1 +33 -11 src/contrib/amd/fsinfo/fsinfo.8 1.6.8.1 +7 -6 src/contrib/amd/fsinfo/fsinfo.c 1.1.1.6.8.1 +3 -3 src/contrib/amd/fsinfo/fsinfo.h 1.1.1.6.8.1 +8 -8 src/contrib/amd/fsinfo/wr_atab.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/fsinfo/wr_bparam.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/fsinfo/wr_dumpset.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/fsinfo/wr_exportfs.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/fsinfo/wr_fstab.c 1.15.2.1 +83 -59 src/contrib/amd/hlfsd/hlfsd.8 1.8.8.1 +84 -103 src/contrib/amd/hlfsd/hlfsd.c 1.4.8.1 +4 -10 src/contrib/amd/hlfsd/hlfsd.h 1.7.8.1 +29 -93 src/contrib/amd/hlfsd/homedir.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/hlfsd/nfs_prot_svc.c 1.1.1.7.8.1 +35 -22 src/contrib/amd/hlfsd/stubs.c 1.1.1.4.10.1 +110 -1 src/contrib/amd/include/am_compat.h 1.14.8.1 +213 -62 src/contrib/amd/include/am_defs.h 1.1.1.7.8.1 +100 -582 src/contrib/amd/include/am_utils.h 1.1.1.6.8.1 +156 -14 src/contrib/amd/include/am_xdr_func.h 1.1.1.6.8.1 +4 -4 src/contrib/amd/include/amq_defs.h 1.1.1.2.10.1 +60 -11 src/contrib/amd/include/mount_headers1.h 1.1.1.1.14.1 +63 -5 src/contrib/amd/include/mount_headers2.h 1.1.1.1.14.1 +31 -31 src/contrib/amd/ldap-id.ms 1.1.1.1.4.1 +52 -0 src/contrib/amd/ldap.schema (new) 1.1.1.1.36.1 +0 -504 src/contrib/amd/libamu/alloca.c (dead) 1.1.1.6.8.1 +4 -3 src/contrib/amd/libamu/amu.h 1.1.1.6.8.1 +7 -8 src/contrib/amd/libamu/hasmntopt.c 1.1.1.6.8.1 +3 -4 src/contrib/amd/libamu/misc_rpc.c 1.7.8.1 +257 -194 src/contrib/amd/libamu/mount_fs.c 1.1.1.6.8.1 +100 -29 src/contrib/amd/libamu/mtab.c 1.1.1.6.8.1 +2 -3 src/contrib/amd/libamu/nfs_prot_xdr.c 1.1.1.2.8.1 +4 -4 src/contrib/amd/libamu/strerror.c 1.1.1.1.4.1 +270 -0 src/contrib/amd/libamu/strutil.c (new) 1.1.1.6.8.1 +0 -176 src/contrib/amd/libamu/util.c (dead) 1.1.1.6.8.1 +60 -47 src/contrib/amd/libamu/wire.c 1.1.1.6.8.1 +260 -206 src/contrib/amd/libamu/xdr_func.c 1.1.1.9.8.1 +223 -85 src/contrib/amd/libamu/xutil.c 1.1.1.1.10.1 +0 -155 src/contrib/amd/m4/GNUmakefile (dead) 1.1.1.1.10.1 +0 -7 src/contrib/amd/m4/amdgrep (dead) 1.1.1.1.10.1 +0 -328 src/contrib/amd/m4/amindent (dead) 1.1.1.1.10.1 +0 -36 src/contrib/amd/m4/autopat (dead) 1.1.1.1.10.1 +0 -19 src/contrib/amd/m4/chop-aclocal.pl (dead) 1.1.1.1.10.1 +0 -29 src/contrib/amd/m4/copy-if-newbig (dead) 1.1.1.1.10.1 +0 -13 src/contrib/amd/m4/macros/HEADER (dead) 1.1.1.1.10.1 +0 -2 src/contrib/amd/m4/macros/TRAILER (dead) 1.1.1.1.10.1 +0 -18 src/contrib/amd/m4/mk-aclocal (dead) 1.1.1.1.10.1 +0 -20 src/contrib/amd/m4/mkconf (dead) 1.1.1.1.10.1 +0 -6 src/contrib/amd/m4/rmtspc (dead) 1.1.1.1.10.1 +0 -22 src/contrib/amd/m4/update_build_version (dead) 1.7.2.1 +34 -5 src/contrib/amd/mk-amd-map/mk-amd-map.8 1.10.8.1 +16 -15 src/contrib/amd/mk-amd-map/mk-amd-map.c 1.1.1.2.14.1 +1 -1 src/contrib/amd/scripts/am-eject.in 1.1.1.5.8.1 +86 -29 src/contrib/amd/scripts/amd.conf-sample 1.17.2.2 +612 -382 src/contrib/amd/scripts/amd.conf.5 1.1.1.1.38.1 +4 -2 src/contrib/amd/scripts/amd2ldif.in 1.1.1.1.38.1 +1 -1 src/contrib/amd/scripts/amd2sun.in 1.1.1.4.8.1 +20 -5 src/contrib/amd/scripts/automount2amd.8 1.1.1.1.36.1 +2 -2 src/contrib/amd/scripts/automount2amd.in 1.1.1.5.10.1 +18 -14 src/contrib/amd/scripts/ctl-amd.in 1.1.1.5.10.1 +9 -5 src/contrib/amd/scripts/ctl-hlfsd.in 1.1.1.5.8.1 +1 -2 src/contrib/amd/scripts/expn.1 1.1.1.6.8.1 +1 -1 src/contrib/amd/scripts/expn.in 1.1.1.1.38.1 +1 -1 src/contrib/amd/scripts/fix-amd-map.in 1.1.1.1.38.1 +1 -1 src/contrib/amd/scripts/fixrmtab.in 1.1.1.1.10.1 +3 -1 src/contrib/amd/scripts/redhat-ctl-amd.in 1.1.1.1.4.1 +135 -0 src/contrib/amd/scripts/test-attrcache.in (new) 1.1.1.1.38.1 +1 -1 src/contrib/amd/scripts/wait4amd.in 1.1.1.1.38.1 +3 -3 src/contrib/amd/scripts/wait4amd2die.in 1.1.1.8.8.1 +45 -60 src/contrib/amd/tasks 1.1.1.1.4.1 +1 -0 src/contrib/amd/vers.m4 (new) 1.6.2.1 +35 -9 src/contrib/amd/wire-test/wire-test.8 1.8.8.1 +4 -5 src/contrib/amd/wire-test/wire-test.c 1.24.2.1 +9 -9 src/usr.sbin/amd/amd/Makefile 1.13.14.1 +4 -1 src/usr.sbin/amd/fsinfo/Makefile 1.1.4.1 +8 -0 src/usr.sbin/amd/include/amu_autofs_prot.h (new) 1.4.8.1 +3 -0 src/usr.sbin/amd/include/aux_conf.h 1.1.38.1 +5 -3 src/usr.sbin/amd/include/build_version.h 1.30.8.1 +259 -100 src/usr.sbin/amd/include/config.h 1.9.2.1 +3 -3 src/usr.sbin/amd/include/newvers.sh 1.8.2.1 +8 -3 src/usr.sbin/amd/libamu/Makefile 1.15.14.1 +4 -1 src/usr.sbin/amd/mk-amd-map/Makefile From marcus at FreeBSD.org Fri Feb 8 21:16:26 2008 From: marcus at FreeBSD.org (Joe Marcus Clarke) Date: Fri Feb 8 21:16:29 2008 Subject: cvs commit: src/sys/kern kern_descrip.c src/sys/sys param.h user.h src/usr.bin/procstat procstat_files.c Message-ID: <200802090516.m195GQHF064769@repoman.freebsd.org> marcus 2008-02-09 05:16:26 UTC FreeBSD src repository (doc,ports committer) Modified files: sys/kern kern_descrip.c sys/sys user.h param.h usr.bin/procstat procstat_files.c Log: Add support for displaying a process' current working directory, root directory, and jail directory within procstat. While this functionality is available already in fstat, encapsulating it in the kern.proc.filedesc sysctl makes it accessible without using kvm and thus without needing elevated permissions. The new procstat output looks like: PID COMM FD T V FLAGS REF OFFSET PRO NAME 76792 tcsh cwd v d -------- - - - /usr/src 76792 tcsh root v d -------- - - - / 76792 tcsh 15 v c rw------ 16 9130 - - 76792 tcsh 16 v c rw------ 16 9130 - - 76792 tcsh 17 v c rw------ 16 9130 - - 76792 tcsh 18 v c rw------ 16 9130 - - 76792 tcsh 19 v c rw------ 16 9130 - - I am also bumping __FreeBSD_version for this as this new feature will be used in at least one port. Reviewed by: rwatson Approved by: rwatson Revision Changes Path 1.322 +50 -0 src/sys/kern/kern_descrip.c 1.333 +1 -1 src/sys/sys/param.h 1.74 +5 -1 src/sys/sys/user.h 1.5 +26 -4 src/usr.bin/procstat/procstat_files.c From dwmalone at FreeBSD.org Sat Feb 9 01:12:03 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Sat Feb 9 01:12:08 2008 Subject: cvs commit: src/usr.bin/sed compile.c defs.h main.c process.c Message-ID: <200802090912.m199C23W093683@repoman.freebsd.org> dwmalone 2008-02-09 09:12:02 UTC FreeBSD src repository Modified files: usr.bin/sed compile.c defs.h main.c process.c Log: WARNS fixes: 1) Add missing parens around assignment that is compared to zero. 2) Make some variables that only take non-negative values unsigned. 3) Some casts/type changes to fix other constness warnings. 4) Make one variable a const char *. 5) Make sure termwidth is positive, it doesn't make sense for it to be negative. Approved by: dds Revision Changes Path 1.31 +1 -1 src/usr.bin/sed/compile.c 1.7 +3 -3 src/usr.bin/sed/defs.h 1.41 +1 -1 src/usr.bin/sed/main.c 1.49 +7 -5 src/usr.bin/sed/process.c From rwatson at FreeBSD.org Sat Feb 9 01:33:20 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 9 01:33:26 2008 Subject: cvs commit: src/sys/fs/coda coda_vnops.c coda_vnops.h Message-ID: <200802090933.m199XJfA095338@repoman.freebsd.org> rwatson 2008-02-09 09:33:19 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vnops.c coda_vnops.h Log: Since Coda is effectively a stacked file system, use VOP_EOPNOTSUPP for vop_bmap; delete the existing stub that returned either EINVAL or EOPNOTSUPP, and had unreachable calls to VOP_BMAP on the cache vnode. MFC after: 1 month Revision Changes Path 1.90 +1 -37 src/sys/fs/coda/coda_vnops.c 1.21 +0 -1 src/sys/fs/coda/coda_vnops.h From bde at FreeBSD.org Sat Feb 9 02:36:08 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Sat Feb 9 02:36:11 2008 Subject: cvs commit: src/lib/msun/src s_expm1.c Message-ID: <200802091036.m19Aa8Lt000177@repoman.freebsd.org> bde 2008-02-09 10:36:08 UTC FreeBSD src repository Modified files: lib/msun/src s_expm1.c Log: Fix a comment about coefficients and expand a related one. Revision Changes Path 1.9 +2 -2 src/lib/msun/src/s_expm1.c From rwatson at FreeBSD.org Sat Feb 9 03:12:20 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 9 03:12:22 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_vfsops.c Message-ID: <200802091112.m19BCJAL004329@repoman.freebsd.org> rwatson 2008-02-09 11:12:19 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_vfsops.c Log: Remove unused devtomp(), which exploited UFS-specific knowledge to find the mountpoint for a specific device. This was implemented incorrectly, a bad idea in a fundamental sense, and also never used, so presumably a long-idle debugging function. MFC after: 1 month Revision Changes Path 1.23 +0 -3 src/sys/fs/coda/cnode.h 1.76 +0 -21 src/sys/fs/coda/coda_vfsops.c From rwatson at FreeBSD.org Sat Feb 9 03:40:53 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 9 03:40:56 2008 Subject: cvs commit: src/sys/fs/coda coda_vfsops.c Message-ID: <200802091140.m19BenAw006310@repoman.freebsd.org> rwatson 2008-02-09 11:40:49 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vfsops.c Log: No reason not to maintain stats on statfs in Coda, as it's done for other VFS operations, so uncomment the existing statistics gathering. MFC after: 1 month Revision Changes Path 1.77 +3 -3 src/sys/fs/coda/coda_vfsops.c From rwatson at FreeBSD.org Sat Feb 9 04:49:19 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 9 04:49:20 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_fbsd.c coda_namecache.c coda_psdev.c coda_psdev.h coda_venus.c coda_vfsops.c coda_vfsops.h coda_vnops.c coda_vnops.h Message-ID: <200802091249.m19CnIAG022049@repoman.freebsd.org> rwatson 2008-02-09 12:49:18 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_fbsd.c coda_namecache.c coda_psdev.c coda_psdev.h coda_venus.c coda_vfsops.c coda_vfsops.h coda_vnops.c coda_vnops.h Log: Various further non-functional cleanups to coda: - Rename print_vattr to coda_print_vattr and make static, rename print_cred to coda_print_cred. - Remove unused coda_vop_nop. - Add XXX comment because coda_readdir forwards to the cache vnode's readdir rather than venus_readdir, and annotate venus_readdir as unused. - Rename vc_nb_* to vc_*. - Use d_open_t, d_close_t, d_read_t, d_write_t, d_ioctl_t and d_poll_t for prototyping vc_* as that is the intent, don't use our own definitions. - Rename coda_nb_statfs to coda_statfs, rename NB_SFS_SIZ to CODA_SFS_SIZ. - Replace one more OBE reference to NetBSD with a reference to FreeBSD. - Tidy up a little vertical whitespace here and there. - Annotate coda_nc_zapvnode as unused. - Remove unused vcodattach. - Annotate VM_INTR as unused. - Annotate that coda_fhtovp is unused and doesn't match the FreeBSD prototype, so isn't hooked up to vfs_fhtovp. If we want NFS export of Coda to work someday, this needs to be fixed. - Remove unused getNewVnode. - Remove unused coda_vget, coda_init, coda_quotactl prototypes. MFC after: 1 month Revision Changes Path 1.24 +1 -2 src/sys/fs/coda/cnode.h 1.47 +7 -7 src/sys/fs/coda/coda_fbsd.c 1.24 +4 -6 src/sys/fs/coda/coda_namecache.c 1.42 +9 -17 src/sys/fs/coda/coda_psdev.c 1.7 +6 -6 src/sys/fs/coda/coda_psdev.h 1.29 +3 -0 src/sys/fs/coda/coda_venus.c 1.78 +14 -38 src/sys/fs/coda/coda_vfsops.c 1.13 +1 -6 src/sys/fs/coda/coda_vfsops.h 1.91 +10 -19 src/sys/fs/coda/coda_vnops.c 1.22 +1 -3 src/sys/fs/coda/coda_vnops.h From bde at FreeBSD.org Sat Feb 9 04:53:16 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Sat Feb 9 04:53:17 2008 Subject: cvs commit: src/lib/msun/src s_expm1f.c Message-ID: <200802091253.m19CrFkb022357@repoman.freebsd.org> bde 2008-02-09 12:53:15 UTC FreeBSD src repository Modified files: lib/msun/src s_expm1f.c Log: As usual, use a minimax polynomial that is specialized for float precision. The new polynomial has degree 4 instead of 10, and a maximum error of 2**-30.04 ulps instead of 2**-33.15. This doesn't affect the final error significantly; the maximum error was and is about 0.5015 ulps on i386 -O1, and the number of cases with an error of > 0.5 ulps is increased from 13851 to 14407. Note that the error is only this close to 0.5 ulps due to excessive extra precision caused by compiler bugs on i386. The extra precision could be obtained intentionally, and is useful for keeping the error of the hyperbolic float functions below 1 ulp, since these functions are implemented using expm1f. My recent change for scaling by 2**k had the unintentional side effect of retaining extra precision for longer, so callers of expm1f see errors of more like 0.0015 ulps than 0.5015 ulps, and for the hyperbolic functions this reduces the maximum error from nearly about 2 ulps to about 0.75 ulps. This is about 10% faster on i386 (A64). expm1* is still very slow, but now the float version is actually significantly faster. The algorithm is very sophisticated but not very good except on machines with fast division. Revision Changes Path 1.9 +8 -7 src/lib/msun/src/s_expm1f.c From yar at FreeBSD.org Sat Feb 9 05:04:01 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sat Feb 9 05:04:03 2008 Subject: cvs commit: src/usr.bin/gzip znew Message-ID: <200802091304.m19D41v2023989@repoman.freebsd.org> yar 2008-02-09 13:04:01 UTC FreeBSD src repository Modified files: usr.bin/gzip znew Log: Fix a few obvious errors in the znew(1) script. PR: bin/120249 Submitted by: Jaakko Heinonen Revision Changes Path 1.2 +3 -4 src/usr.bin/gzip/znew From des at des.no Sat Feb 9 11:29:48 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat Feb 9 11:29:51 2008 Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs arc.c In-Reply-To: <200801241124.m0OBOGjr030293@repoman.freebsd.org> (Pawel Jakub Dawidek's message of "Thu\, 24 Jan 2008 11\:24\:16 +0000 \(UTC\)") References: <200801241124.m0OBOGjr030293@repoman.freebsd.org> Message-ID: <86myqaapy5.fsf@ds4.des.no> Pawel Jakub Dawidek writes: > Log: > - Reduce how much ZFS caches by default. This is another change to mitigate > 'kmem_map too small panics'. > - Print two warnings if there is not enough memory and not enough address > space. Thank you. Hopefully, this will shut up the most vocal ZFS bashers. DES -- Dag-Erling Sm?rgrav - des@des.no From des at des.no Sat Feb 9 11:37:29 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat Feb 9 11:37:32 2008 Subject: cvs commit: src/share/man/man5 fstab.5 In-Reply-To: <200801261303.m0QD3af2093786@repoman.freebsd.org> (Mike Pritchard's message of "Sat\, 26 Jan 2008 13\:03\:36 +0000 \(UTC\)") References: <200801261303.m0QD3af2093786@repoman.freebsd.org> Message-ID: <86ir0xc45r.fsf@ds4.des.no> Mike Pritchard writes: > Log: > Explain how the passno field in /etc/fstab works with fsck > and quotacheck in some more detail. One thing that isn't entirely clear: how do fsck and quotacheck behave for passno > 1? I get the impression (both from the man page and from previous mailing list discussions) that all file systems with a passno above 1 are treated equally, rather than being ranked by their passno. This is highly undesirable on systems that use labels instead of disk / slice / partition names, since fsck and quotacheck will think all the file systems are on different drives, when in fact they may all be on the same drive. DES -- Dag-Erling Sm?rgrav - des@des.no From phk at phk.freebsd.dk Sat Feb 9 12:02:36 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Sat Feb 9 12:02:42 2008 Subject: cvs commit: src/share/man/man5 fstab.5 In-Reply-To: Your message of "Sat, 09 Feb 2008 20:37:20 +0100." <86ir0xc45r.fsf@ds4.des.no> Message-ID: <37092.1202587353@critter.freebsd.dk> In message <86ir0xc45r.fsf@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: >Mike Pritchard writes: >> Log: >> Explain how the passno field in /etc/fstab works with fsck >> and quotacheck in some more detail. > >One thing that isn't entirely clear: how do fsck and quotacheck behave >for passno > 1? I get the impression (both from the man page and from >previous mailing list discussions) that all file systems with a passno >above 1 are treated equally, rather than being ranked by their passno. Last I mucked about with this code, it would handle passes sequentially but disks[1] in each pass in parallel. The reason for doing it this way was that there is no way to see from /dev/ccd0 which drives this would affect, this using passes to control when ccd devices where handled allowed manual sceduling. If people have changed it since then, I'm not aware of it. Poul-Henning [1] A disk being defined as anything in the device name up to and including the first numeric sequenc of characters. Ie: "ad0s4b" is on disk "ad0" -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From attilio at FreeBSD.org Sat Feb 9 12:13:20 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Sat Feb 9 12:13:22 2008 Subject: cvs commit: src/sys/nfsclient nfs_bio.c nfs_subs.c nfsnode.h Message-ID: <200802092013.m19KDKMi083034@repoman.freebsd.org> attilio 2008-02-09 20:13:19 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_bio.c nfs_subs.c nfsnode.h Log: namei() can call underlying nfs_readlink() passing a struct uio pointer owned by a NULL owner. This will lead consequent VOP_ISLOCKED() present into nfs_upgrade_vnlock() to panic as it only acquire curthread now. Fix nfs_upgrade_vnlock() and nfs_downgrade_vnlock() in order to not use more the struct thread pointer passed as argument (as it is really nomore required there as vn_lock() and VOP_UNLOCK doesn't get the lock more). Using curthread, in place, doesn't get ambiguity as LK_EXCLOTHER should be handled as a "not locked" request by both functions. Reported by: kris Tested by: kris Reviewed by: ups Revision Changes Path 1.166 +4 -4 src/sys/nfsclient/nfs_bio.c 1.151 +3 -3 src/sys/nfsclient/nfs_subs.c 1.61 +2 -2 src/sys/nfsclient/nfsnode.h From attilio at FreeBSD.org Sat Feb 9 13:37:55 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Sat Feb 9 13:37:57 2008 Subject: cvs commit: src/sys/sys lockmgr.h Message-ID: <200802092137.m19Lbsiu098036@repoman.freebsd.org> attilio 2008-02-09 21:37:54 UTC FreeBSD src repository Modified files: sys/sys lockmgr.h Log: Use LOCK_FILE and LOCK_LINE where necessary instead than __FILE__ and __LINE__ with lockmgr. Revision Changes Path 1.60 +2 -2 src/sys/sys/lockmgr.h From iwasaki at FreeBSD.org Sat Feb 9 22:21:52 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Sat Feb 9 22:21:54 2008 Subject: cvs commit: src/share/man/man4 ciss.4 src/sys/dev/ciss ciss.c Message-ID: <200802100621.m1A6Lq5F061662@repoman.freebsd.org> iwasaki 2008-02-10 06:21:52 UTC FreeBSD src repository Modified files: share/man/man4 ciss.4 sys/dev/ciss ciss.c Log: Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for NOP-message polling in ciss_periodic(). Note that setting the tunable to non-zero can be workaround only for `ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o the problem. Reviewed by: scottl Reported by: Attila Nagy MFC after: 3 days Revision Changes Path 1.15 +6 -0 src/share/man/man4/ciss.4 1.87 +4 -1 src/sys/dev/ciss/ciss.c From kib at FreeBSD.org Sat Feb 9 23:34:17 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sat Feb 9 23:34:18 2008 Subject: cvs commit: src/sys/dev/usb ehci.c Message-ID: <200802100734.m1A7YGf3067017@repoman.freebsd.org> kib 2008-02-10 07:34:16 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c Log: After rev. 1.60 of sys/lockmgr.h, the header requires inclusion of the sys/lock.h. Revision Changes Path 1.59 +1 -0 src/sys/dev/usb/ehci.c From remko at FreeBSD.org Sun Feb 10 03:15:28 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 03:15:30 2008 Subject: cvs commit: src/sys/dev/drm drm_drv.c Message-ID: <200802101115.m1ABFR8X002204@repoman.freebsd.org> remko 2008-02-10 11:15:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/drm drm_drv.c Log: MFC rev 1.7 drm_drv.c Dont accidentally remove a filesocket which is still in use. This gives problems when the DRM driver is loaded and the AIXGL extension is loaded , the AIXGL driver requests a drm_close and this will cause the radeon driver to fail while starting X windows. PR: kern/114688 Submitted by: vehemens Prodded by: Robert Noland Approved by: imp (mentor, a while ago already), anholt Approved by: imp (mentor, implicit) Revision Changes Path 1.1.2.4 +9 -6 src/sys/dev/drm/drm_drv.c From rwatson at FreeBSD.org Sun Feb 10 03:18:13 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 10 03:18:16 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_fbsd.c coda_io.h coda_kernel.h coda_namecache.c coda_namecache.h coda_opstats.h coda_pioctl.h coda_psdev.c coda_psdev.h coda_subr.c coda_subr.h coda_venus.c coda_venus.h coda_vfsops.c coda_vfsops.h coda_vnops.c ... Message-ID: <200802101118.m1ABIC3o002333@repoman.freebsd.org> rwatson 2008-02-10 11:18:12 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_fbsd.c coda_io.h coda_kernel.h coda_namecache.c coda_namecache.h coda_opstats.h coda_pioctl.h coda_psdev.c coda_psdev.h coda_subr.c coda_subr.h coda_venus.c coda_venus.h coda_vfsops.c coda_vfsops.h coda_vnops.c coda_vnops.h Log: Since we're now actively maintaining the Coda module in the FreeBSD source tree, restyle everything but coda.h (which is more explicitly shared across systems) into a closer approximation to style(9). Remove a few more unused function prototypes. Add or clarify some comments. MFC after: 1 month Revision Changes Path 1.25 +85 -78 src/sys/fs/coda/cnode.h 1.48 +40 -33 src/sys/fs/coda/coda_fbsd.c 1.10 +30 -16 src/sys/fs/coda/coda_io.h 1.7 +31 -30 src/sys/fs/coda/coda_kernel.h 1.25 +383 -439 src/sys/fs/coda/coda_namecache.c 1.14 +127 -118 src/sys/fs/coda/coda_namecache.h 1.8 +60 -57 src/sys/fs/coda/coda_opstats.h 1.10 +25 -26 src/sys/fs/coda/coda_pioctl.h 1.43 +494 -484 src/sys/fs/coda/coda_psdev.c 1.8 +14 -7 src/sys/fs/coda/coda_psdev.h 1.35 +325 -327 src/sys/fs/coda/coda_subr.c 1.11 +24 -20 src/sys/fs/coda/coda_subr.h 1.30 +494 -477 src/sys/fs/coda/coda_venus.c 1.11 +55 -105 src/sys/fs/coda/coda_venus.h 1.79 +308 -318 src/sys/fs/coda/coda_vfsops.c 1.14 +21 -18 src/sys/fs/coda/coda_vfsops.h 1.92 +1448 -1364 src/sys/fs/coda/coda_vnops.c 1.23 +45 -44 src/sys/fs/coda/coda_vnops.h From remko at FreeBSD.org Sun Feb 10 03:19:35 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 03:19:38 2008 Subject: cvs commit: src/sys/nfsserver nfs_srvsubs.c Message-ID: <200802101119.m1ABJYud002397@repoman.freebsd.org> remko 2008-02-10 11:19:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/nfsserver nfs_srvsubs.c Log: MFC rev 1.153 nfs_srvsubs.c Use nfsrv_destroycache() only once, else it crashes the server. PR: kern/118152 Submitted by: Bjoern Groenvall Approved by: imp (mentor, a while ago already), jhb MFC After: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.149.2.2 +0 -1 src/sys/nfsserver/nfs_srvsubs.c From kostikbel at gmail.com Sun Feb 10 03:39:54 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Sun Feb 10 03:39:58 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <200802092137.m19Lbsiu098036@repoman.freebsd.org> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> Message-ID: <20080210113949.GN57756@deviant.kiev.zoral.com.ua> On Sat, Feb 09, 2008 at 09:37:54PM +0000, Attilio Rao wrote: > attilio 2008-02-09 21:37:54 UTC > > FreeBSD src repository > > Modified files: > sys/sys lockmgr.h > Log: > Use LOCK_FILE and LOCK_LINE where necessary instead than __FILE__ and > __LINE__ with lockmgr. > > Revision Changes Path > 1.60 +2 -2 src/sys/sys/lockmgr.h I think this shall be MFCed to RELENG_7 and RELENG_7_0. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080210/6856d9f3/attachment.pgp From rwatson at FreeBSD.org Sun Feb 10 04:04:53 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 10 04:04:56 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <20080210113949.GN57756@deviant.kiev.zoral.com.ua> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> <20080210113949.GN57756@deviant.kiev.zoral.com.ua> Message-ID: <20080210120359.A97821@fledge.watson.org> On Sun, 10 Feb 2008, Kostik Belousov wrote: > On Sat, Feb 09, 2008 at 09:37:54PM +0000, Attilio Rao wrote: >> attilio 2008-02-09 21:37:54 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/sys lockmgr.h >> Log: >> Use LOCK_FILE and LOCK_LINE where necessary instead than __FILE__ and >> __LINE__ with lockmgr. >> >> Revision Changes Path >> 1.60 +2 -2 src/sys/sys/lockmgr.h > > I think this shall be MFCed to RELENG_7 and RELENG_7_0. ... once it no longer breaks the tinderbox? BTW, at this point 7.0 is basically closed to any further changes. Anyone planning on getting things in to 7.x needs to be thinking about either errata notices (for really critical things) and 7.1. Robert N M Watson Computer Laboratory University of Cambridge From kostikbel at gmail.com Sun Feb 10 04:06:31 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Sun Feb 10 04:06:35 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <20080210120359.A97821@fledge.watson.org> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> <20080210113949.GN57756@deviant.kiev.zoral.com.ua> <20080210120359.A97821@fledge.watson.org> Message-ID: <20080210120624.GO57756@deviant.kiev.zoral.com.ua> On Sun, Feb 10, 2008 at 12:04:52PM +0000, Robert Watson wrote: > > On Sun, 10 Feb 2008, Kostik Belousov wrote: > > >On Sat, Feb 09, 2008 at 09:37:54PM +0000, Attilio Rao wrote: > >>attilio 2008-02-09 21:37:54 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/sys lockmgr.h > >> Log: > >> Use LOCK_FILE and LOCK_LINE where necessary instead than __FILE__ and > >> __LINE__ with lockmgr. > >> > >> Revision Changes Path > >> 1.60 +2 -2 src/sys/sys/lockmgr.h > > > >I think this shall be MFCed to RELENG_7 and RELENG_7_0. > Does it still ? I though I fixed it. > > BTW, at this point 7.0 is basically closed to any further changes. Anyone > planning on getting things in to 7.x needs to be thinking about either > errata notices (for really critical things) and 7.1. RELENG_7 is fine with me. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080210/29333bfb/attachment.pgp From remko at FreeBSD.org Sun Feb 10 04:25:17 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:25:20 2008 Subject: cvs commit: src/share/man/man5 hosts.equiv.5 Message-ID: <200802101225.m1ACPGSw007065@repoman.freebsd.org> remko 2008-02-10 12:25:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man5 hosts.equiv.5 Log: MFC rev 1.22 hosts.equiv.5 Improve readability for the hosts.equiv file regarding the notation of hostnames. PR: docs/35953 Submitted by: "Gary W. Swearingen" With minor modifications by me. Revision Changes Path 1.20.2.1 +3 -2 src/share/man/man5/hosts.equiv.5 From remko at FreeBSD.org Sun Feb 10 04:26:03 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:26:05 2008 Subject: cvs commit: src/share/man/man5 hosts.equiv.5 Message-ID: <200802101226.m1ACQ3hY007121@repoman.freebsd.org> remko 2008-02-10 12:26:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man5 hosts.equiv.5 Log: MFC rev 1.22 hosts.equiv.5 Improve readability for the hosts.equiv file regarding the notation of hostnames. PR: docs/35953 Submitted by: "Gary W. Swearingen" With minor modifications by me. Revision Changes Path 1.21.2.1 +3 -2 src/share/man/man5/hosts.equiv.5 From remko at FreeBSD.org Sun Feb 10 04:27:34 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:27:37 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802101227.m1ACRXeR007175@repoman.freebsd.org> remko 2008-02-10 12:27:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys access.2 Log: MFC rev 1.20 access.2 Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies MFC After: 3 days Revision Changes Path 1.19.2.1 +10 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 04:28:31 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:28:35 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802101228.m1ACSUKw007217@repoman.freebsd.org> remko 2008-02-10 12:28:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys access.2 Log: MFC rev 1.20 access.2 Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies MFC After: 3 days Revision Changes Path 1.18.12.1 +10 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 04:30:31 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:30:33 2008 Subject: cvs commit: src/sbin/bsdlabel bsdlabel.8 Message-ID: <200802101230.m1ACUUku007358@repoman.freebsd.org> remko 2008-02-10 12:30:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/bsdlabel bsdlabel.8 Log: MFC rev 1.69 bsdlabel.8 Attempt to describe the ''auto'' type a bit better in the default section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith Minor modifications by me. Revision Changes Path 1.60.2.4 +3 -2 src/sbin/bsdlabel/bsdlabel.8 From remko at FreeBSD.org Sun Feb 10 04:31:07 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:31:11 2008 Subject: cvs commit: src/sbin/bsdlabel bsdlabel.8 Message-ID: <200802101231.m1ACV7CU007404@repoman.freebsd.org> remko 2008-02-10 12:31:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/bsdlabel bsdlabel.8 Log: MFC rev 1.69 bsdlabel.8 Attempt to describe the ''auto'' type a bit better in the default section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith Minor modifications by me. Revision Changes Path 1.68.2.1 +3 -2 src/sbin/bsdlabel/bsdlabel.8 From remko at FreeBSD.org Sun Feb 10 04:32:14 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:32:16 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802101232.m1ACWDZB007448@repoman.freebsd.org> remko 2008-02-10 12:32:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/timed/timed timed.8 Log: MFC rev 1.17 timed.8 Enhance descriptions in the timed manual. PR: docs/115445 Submitted by: "Julian Stacey" MFC After: 3 days Revision Changes Path 1.16.20.1 +32 -7 src/usr.sbin/timed/timed/timed.8 From remko at FreeBSD.org Sun Feb 10 04:33:00 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:33:03 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802101232.m1ACWx9U007491@repoman.freebsd.org> remko 2008-02-10 12:32:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/timed/timed timed.8 Log: MFC rev 1.17 timed.8 Enhance descriptions in the timed manual. PR: docs/115445 Submitted by: "Julian Stacey" MFC After: 3 days Revision Changes Path 1.16.10.1 +32 -7 src/usr.sbin/timed/timed/timed.8 From remko at FreeBSD.org Sun Feb 10 04:34:37 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:34:40 2008 Subject: cvs commit: src/share/man/man4 nve.4 Message-ID: <200802101234.m1ACYaOp007609@repoman.freebsd.org> remko 2008-02-10 12:34:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 nve.4 Log: MFC rev 1.9 nve.4 Add 1000baseTX support for the nve driver, which is known here and there. Also mention that the driver sometimes returns '10baseTX' as output instead of 100baseTX (which is the case at that moment). PR: docs/115284 Submitted by: Julian Stacey Jhs MFC After: 3 days Revision Changes Path 1.2.2.6 +8 -1 src/share/man/man4/nve.4 From remko at FreeBSD.org Sun Feb 10 04:35:04 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 04:35:08 2008 Subject: cvs commit: src/share/man/man4 nve.4 Message-ID: <200802101235.m1ACZ4GT007684@repoman.freebsd.org> remko 2008-02-10 12:35:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 nve.4 Log: MFC rev 1.9 nve.4 Add 1000baseTX support for the nve driver, which is known here and there. Also mention that the driver sometimes returns '10baseTX' as output instead of 100baseTX (which is the case at that moment). PR: docs/115284 Submitted by: Julian Stacey Jhs MFC After: 3 days Revision Changes Path 1.8.2.1 +8 -1 src/share/man/man4/nve.4 From attilio at freebsd.org Sun Feb 10 04:49:06 2008 From: attilio at freebsd.org (Attilio Rao) Date: Sun Feb 10 04:49:12 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <20080210120359.A97821@fledge.watson.org> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> <20080210113949.GN57756@deviant.kiev.zoral.com.ua> <20080210120359.A97821@fledge.watson.org> Message-ID: <3bbf2fe10802100449r1b673bbfl3e41a419b08c0@mail.gmail.com> 2008/2/10, Robert Watson : > > On Sun, 10 Feb 2008, Kostik Belousov wrote: > > > On Sat, Feb 09, 2008 at 09:37:54PM +0000, Attilio Rao wrote: > >> attilio 2008-02-09 21:37:54 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/sys lockmgr.h > >> Log: > >> Use LOCK_FILE and LOCK_LINE where necessary instead than __FILE__ and > >> __LINE__ with lockmgr. > >> > >> Revision Changes Path > >> 1.60 +2 -2 src/sys/sys/lockmgr.h > > > > I think this shall be MFCed to RELENG_7 and RELENG_7_0. > > > ... once it no longer breaks the tinderbox? > > BTW, at this point 7.0 is basically closed to any further changes. Anyone > planning on getting things in to 7.x needs to be thinking about either errata > notices (for really critical things) and 7.1. Buh! I'm very sorry for this. Really, this needed to be better croaked. It needs to include sys/lock.h for any lockmgr.h consumer (making lock.h a pre-requirement in lockmgr usage). This is going to be a little bit of work. For the moment I will revert this change, doing a better stub later, once other details about lockmgr are refined. Thanks, Attilio (pointy hat on) -- Peace can only be achieved by understanding - A. Einstein From rwatson at FreeBSD.org Sun Feb 10 06:34:32 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 10 06:34:42 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <3bbf2fe10802100449r1b673bbfl3e41a419b08c0@mail.gmail.com> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> <20080210113949.GN57756@deviant.kiev.zoral.com.ua> <20080210120359.A97821@fledge.watson.org> <3bbf2fe10802100449r1b673bbfl3e41a419b08c0@mail.gmail.com> Message-ID: <20080210143313.W90254@fledge.watson.org> On Sun, 10 Feb 2008, Attilio Rao wrote: >> > I think this shall be MFCed to RELENG_7 and RELENG_7_0. >> >> ... once it no longer breaks the tinderbox? >> >> BTW, at this point 7.0 is basically closed to any further changes. Anyone >> planning on getting things in to 7.x needs to be thinking about either >> errata notices (for really critical things) and 7.1. > > Buh! I'm very sorry for this. Really, this needed to be better croaked. It > needs to include sys/lock.h for any lockmgr.h consumer (making lock.h a > pre-requirement in lockmgr usage). This is going to be a little bit of work. > > For the moment I will revert this change, doing a better stub later, once > other details about lockmgr are refined. Or temporarily nested include lock.h from lockmgr.h. I'm pretty sure that all consumers of struct lock pretty much include _lock.h, so if there's a widespread dependency you could also move whatever the definitions are to _lock.h. Robert N M Watson Computer Laboratory University of Cambridge From jkoshy at FreeBSD.org Sun Feb 10 06:34:37 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sun Feb 10 06:34:44 2008 Subject: cvs commit: src/lib/libelf elf.3 libelf_data.c Message-ID: <200802101434.m1AEYb9n025815@repoman.freebsd.org> jkoshy 2008-02-10 14:34:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libelf elf.3 libelf_data.c Log: MFC [r1.3 libelf_data.c, r1.5 elf.3]: "Sections of type SHT_GNU_versym use ELF type ELF_T_HALF. Update manual page and code to match." Revision Changes Path 1.3.2.1 +1 -0 src/lib/libelf/elf.3 1.2.2.1 +1 -1 src/lib/libelf/libelf_data.c From attilio at freebsd.org Sun Feb 10 06:41:29 2008 From: attilio at freebsd.org (Attilio Rao) Date: Sun Feb 10 06:41:34 2008 Subject: cvs commit: src/sys/sys lockmgr.h In-Reply-To: <20080210143313.W90254@fledge.watson.org> References: <200802092137.m19Lbsiu098036@repoman.freebsd.org> <20080210113949.GN57756@deviant.kiev.zoral.com.ua> <20080210120359.A97821@fledge.watson.org> <3bbf2fe10802100449r1b673bbfl3e41a419b08c0@mail.gmail.com> <20080210143313.W90254@fledge.watson.org> Message-ID: <3bbf2fe10802100641k4ebbf44fgc32978175678cb22@mail.gmail.com> 2008/2/10, Robert Watson : > > On Sun, 10 Feb 2008, Attilio Rao wrote: > > >> > I think this shall be MFCed to RELENG_7 and RELENG_7_0. > >> > >> ... once it no longer breaks the tinderbox? > >> > >> BTW, at this point 7.0 is basically closed to any further changes. Anyone > >> planning on getting things in to 7.x needs to be thinking about either > >> errata notices (for really critical things) and 7.1. > > > > Buh! I'm very sorry for this. Really, this needed to be better croaked. It > > needs to include sys/lock.h for any lockmgr.h consumer (making lock.h a > > pre-requirement in lockmgr usage). This is going to be a little bit of work. > > > > For the moment I will revert this change, doing a better stub later, once > > other details about lockmgr are refined. > > > Or temporarily nested include lock.h from lockmgr.h. I'm pretty sure that all > consumers of struct lock pretty much include _lock.h, so if there's a > widespread dependency you could also move whatever the definitions are to > _lock.h. As long as this is also temporary code, I would prefer to move lock.h into lockmgr.h as solution. I don't want to touch _lock.h as traditionally (about all the other locking primitives too) this only includes structures definition and related macros (which has nothing to do with this specific problem). Attilio -- Peace can only be achieved by understanding - A. Einstein From jkoshy at FreeBSD.org Sun Feb 10 06:42:22 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sun Feb 10 06:42:29 2008 Subject: cvs commit: src/lib/libelf gelf_fsize.3 Message-ID: <200802101442.m1AEgJFn026162@repoman.freebsd.org> jkoshy 2008-02-10 14:42:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libelf gelf_fsize.3 Log: MFC r1.3: "Document the return type for gelf_fsize(3)." Revision Changes Path 1.2.2.1 +3 -2 src/lib/libelf/gelf_fsize.3 From marius at FreeBSD.org Sun Feb 10 07:19:05 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Feb 10 07:19:08 2008 Subject: cvs commit: src/usr.bin/netstat netstat.h route.c Message-ID: <200802101519.m1AFJ5ZI029663@repoman.freebsd.org> marius 2008-02-10 15:19:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/netstat netstat.h route.c Log: MFC: netstat.h 1.53; route.c 1.86 Fix netname() and routename() on big-endian LP64 archs. Revision Changes Path 1.51.2.1 +2 -2 src/usr.bin/netstat/netstat.h 1.82.2.1 +5 -6 src/usr.bin/netstat/route.c From marius at FreeBSD.org Sun Feb 10 07:24:14 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Feb 10 07:24:16 2008 Subject: cvs commit: src/sys/modules/mii Makefile Message-ID: <200802101524.m1AFOE0N029906@repoman.freebsd.org> marius 2008-02-10 15:24:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/mii Makefile Log: MFC: 1.31 Sort values according to style.Makefile(5). Revision Changes Path 1.30.2.1 +9 -8 src/sys/modules/mii/Makefile From marius at FreeBSD.org Sun Feb 10 07:39:21 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Feb 10 07:39:24 2008 Subject: cvs commit: src/sys/modules/mii Makefile Message-ID: <200802101539.m1AFdL1Y030498@repoman.freebsd.org> marius 2008-02-10 15:39:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/modules/mii Makefile Log: MFC: 1.27; 1.31 - ciphy wasn't included here. - Sort values according to style.Makefile(5). Revision Changes Path 1.26.8.2 +9 -8 src/sys/modules/mii/Makefile From attilio at FreeBSD.org Sun Feb 10 07:50:22 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Sun Feb 10 07:50:24 2008 Subject: cvs commit: src/sys/dev/usb ehci.c src/sys/sys lockmgr.h Message-ID: <200802101550.m1AFoLGY031027@repoman.freebsd.org> attilio 2008-02-10 15:50:21 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c sys/sys lockmgr.h Log: - Revert last ehci.c change - Include lock.h in lockmgr.h as nested header in order to safely use LOCK_FILE and LOCK_LINE. As long as this code will be replaced soon we can tollerate for a while this namespace pollution even if the real fix would be to let lockmgr() depend by lock.h as a separate header. Revision Changes Path 1.60 +0 -1 src/sys/dev/usb/ehci.c 1.61 +1 -1 src/sys/sys/lockmgr.h From marius at FreeBSD.org Sun Feb 10 08:02:30 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Feb 10 08:02:33 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/mii miidevs nsphyter.c nsphyterreg.h src/sys/modules/mii Makefile Message-ID: <200802101602.m1AG2UZV031663@repoman.freebsd.org> marius 2008-02-10 16:02:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/dev/mii miidevs sys/modules/mii Makefile Added files: (Branch: RELENG_7) sys/dev/mii nsphyter.c nsphyterreg.h Log: MFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1; dev/mii/nsphyterreg.h 1.1; modules/mii/Makefile 1.32 Add a driver for the National Semiconductor DP83815, DP83843 and DP83847 PHYs. PR: 112654 Revision Changes Path 1.1243.2.3 +1 -0 src/sys/conf/files 1.46.2.2 +2 -0 src/sys/dev/mii/miidevs 1.1.2.1 +341 -0 src/sys/dev/mii/nsphyter.c (new) 1.1.2.1 +186 -0 src/sys/dev/mii/nsphyterreg.h (new) 1.30.2.2 +1 -1 src/sys/modules/mii/Makefile From marius at FreeBSD.org Sun Feb 10 08:02:51 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Feb 10 08:02:52 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/mii miidevs nsphyter.c nsphyterreg.h src/sys/modules/mii Makefile Message-ID: <200802101602.m1AG2oJZ031740@repoman.freebsd.org> marius 2008-02-10 16:02:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf files sys/dev/mii miidevs sys/modules/mii Makefile Added files: (Branch: RELENG_6) sys/dev/mii nsphyter.c nsphyterreg.h Log: MFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1; dev/mii/nsphyterreg.h 1.1; modules/mii/Makefile 1.32 Add a driver for the National Semiconductor DP83815, DP83843 and DP83847 PHYs. PR: 112654 Revision Changes Path 1.1031.2.71 +2 -0 src/sys/conf/files 1.30.2.12 +2 -0 src/sys/dev/mii/miidevs 1.1.4.1 +341 -0 src/sys/dev/mii/nsphyter.c (new) 1.1.4.1 +186 -0 src/sys/dev/mii/nsphyterreg.h (new) 1.26.8.3 +1 -1 src/sys/modules/mii/Makefile From phk at FreeBSD.org Sun Feb 10 11:14:43 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sun Feb 10 11:14:46 2008 Subject: cvs commit: src/sys/i386/i386 geode.c Message-ID: <200802101914.m1AJEg9d066020@repoman.freebsd.org> phk 2008-02-10 19:14:42 UTC FreeBSD src repository Modified files: sys/i386/i386 geode.c Log: Add support for PC Engines ALIX boards. Style cleanup. Hide some messages behind bootverbose. Revision Changes Path 1.11 +74 -43 src/sys/i386/i386/geode.c From phk at phk.freebsd.dk Sun Feb 10 11:15:40 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Sun Feb 10 11:15:49 2008 Subject: cvs commit: src/sys/i386/i386 geode.c In-Reply-To: Your message of "Sun, 10 Feb 2008 19:14:42 GMT." <200802101914.m1AJEg9d066020@repoman.freebsd.org> Message-ID: <96175.1202670939@critter.freebsd.dk> In message <200802101914.m1AJEg9d066020@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2008-02-10 19:14:42 UTC > > FreeBSD src repository > > Modified files: > sys/i386/i386 geode.c > Log: > Add support for PC Engines ALIX boards. > > Style cleanup. > > Hide some messages behind bootverbose. Forgot: Partially Submitted by: Larry Baird -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From dwmalone at FreeBSD.org Sun Feb 10 13:06:39 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Sun Feb 10 13:06:41 2008 Subject: cvs commit: src/usr.sbin/traceroute6 traceroute6.8 traceroute6.c Message-ID: <200802102106.m1AL6dEq083983@repoman.freebsd.org> dwmalone 2008-02-10 21:06:38 UTC FreeBSD src repository Modified files: usr.sbin/traceroute6 traceroute6.8 traceroute6.c Log: Give traceroute6 the ability to traceroute with packets with no upper layer header (IP PROTO = 59). Useful for testing firewalls. MFC after: 2 months Revision Changes Path 1.17 +7 -1 src/usr.sbin/traceroute6/traceroute6.8 1.22 +104 -47 src/usr.sbin/traceroute6/traceroute6.c From kientzle at FreeBSD.org Sun Feb 10 15:24:18 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 15:24:21 2008 Subject: cvs commit: src/usr.bin/tar COPYING Makefile bsdtar.1 bsdtar.c bsdtar_platform.h config_freebsd.h Message-ID: <200802102324.m1ANOH5n094783@repoman.freebsd.org> kientzle 2008-02-10 23:24:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar COPYING Makefile bsdtar.1 bsdtar.c bsdtar_platform.h config_freebsd.h Log: MFC: Various, including: * -l now always has the POSIX behavior (GNU tar recently adjusted their -l to comply with POSIX, so bsdtar no longer has to guess what the user really meant). * More complete COPYING information. * Various portability fixes and minor configuration changes. This brings bsdtar into line with -CURRENT, except for one change that relies on a new libarchive feature that hasn't been MFCed yet. Revision Changes Path 1.2.2.1 +36 -1 src/usr.bin/tar/COPYING 1.32.2.1 +5 -2 src/usr.bin/tar/Makefile 1.35.2.1 +9 -18 src/usr.bin/tar/bsdtar.1 1.77.2.1 +14 -14 src/usr.bin/tar/bsdtar.c 1.24.2.1 +2 -1 src/usr.bin/tar/bsdtar_platform.h 1.1.4.1 +2 -1 src/usr.bin/tar/config_freebsd.h From mpp at mail.mppsystems.com Sun Feb 10 15:33:14 2008 From: mpp at mail.mppsystems.com (Mike Pritchard) Date: Sun Feb 10 15:33:22 2008 Subject: cvs commit: src/share/man/man5 fstab.5 In-Reply-To: <37092.1202587353@critter.freebsd.dk> References: <86ir0xc45r.fsf@ds4.des.no> <37092.1202587353@critter.freebsd.dk> Message-ID: <20080210221011.GA2731@mail.mppsystems.com> On Sat, Feb 09, 2008 at 08:02:33PM +0000, Poul-Henning Kamp wrote: > In message <86ir0xc45r.fsf@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr > ites: > >Mike Pritchard writes: > >> Log: > >> Explain how the passno field in /etc/fstab works with fsck > >> and quotacheck in some more detail. > > > >One thing that isn't entirely clear: how do fsck and quotacheck behave > >for passno > 1? I get the impression (both from the man page and from > >previous mailing list discussions) that all file systems with a passno > >above 1 are treated equally, rather than being ranked by their passno. > > Last I mucked about with this code, it would handle passes sequentially > but disks[1] in each pass in parallel. > > The reason for doing it this way was that there is no way to see from > /dev/ccd0 which drives this would affect, this using passes to control > when ccd devices where handled allowed manual sceduling. > > If people have changed it since then, I'm not aware of it. > > Poul-Henning > > [1] A disk being defined as anything in the device name up to and including > the first numeric sequenc of characters. Ie: "ad0s4b" is on disk "ad0" It is how phk stated. I'll try and make it a bit clearer in the man page. And in the past, only pass numbers 0, 1 and 2 were supported. Around 2001 Poul-Henning changed it to support any passno up to INTMAX-1, and until recently quotacheck still only supported passnos 0 - 2. -- Mike Pritchard mpp @ FreeBSD.org "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." - James Madison (1787) From rwatson at FreeBSD.org Sun Feb 10 16:01:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 10 16:01:48 2008 Subject: cvs commit: src/sys/fs/coda coda_vnops.c Message-ID: <200802110001.m1B01js4096349@repoman.freebsd.org> rwatson 2008-02-11 00:01:45 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vnops.c Log: Clean up coda_pathconf() slightly while debugging a problem there. MFC after: 1 month Revision Changes Path 1.93 +7 -11 src/sys/fs/coda/coda_vnops.c From delphij at FreeBSD.org Sun Feb 10 16:24:59 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sun Feb 10 16:25:01 2008 Subject: cvs commit: src/lib/libkvm kvm.c Message-ID: <200802110024.m1B0OxQY099861@repoman.freebsd.org> delphij 2008-02-11 00:24:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libkvm kvm.c Log: MFC revision 1.32: date: 2008/01/12 00:54:47; author: delphij; state: Exp; lines: +4 -0 Plug memory leaks that is observed when argbuf or argspc is used in the context. Submitted by: Michal Vranek delphij 2008-02-11 00:31:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libkvm kvm.c Log: MFC revision 1.32 date: 2008/01/12 00:54:47; author: delphij; state: Exp; lines: +4 -0 Plug memory leaks that is observed when argbuf or argspc is used in the context. Submitted by: Michal Vranek PR: bin/118380 Revision Changes Path 1.27.2.2 +4 -0 src/lib/libkvm/kvm.c From kientzle at FreeBSD.org Sun Feb 10 16:31:10 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:31:13 2008 Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.h archive_read.c archive_read_extract.c archive_read_private.h archive_read_support_compression_none.c archive_read_support_format_all.c ... Message-ID: <200802110031.m1B0VAWr000480@repoman.freebsd.org> kientzle 2008-02-11 00:31:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.h archive_read.c archive_read_extract.c archive_read_private.h archive_read_support_compression_none.c archive_read_support_format_all.c archive_read_support_format_ar.c archive_read_support_format_cpio.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_util.c archive_write_disk.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c archive_write_set_compression_none.c archive_write_set_format_ar.c archive_write_set_format_cpio.c archive_write_set_format_cpio_newc.c archive_write_set_format_pax.c archive_write_set_format_ustar.c filter_fork.c libarchive-formats.5 libarchive_internals.3 lib/libarchive/test Makefile README main.c read_open_memory.c test.h test_read_format_cpio_odc.c test_read_format_gtar_sparse.c test_read_format_isorr_bz2.c test_read_format_tar.c test_read_format_zip.c test_read_pax_truncated.c test_tar_filenames.c test_write_disk.c test_write_disk_perms.c test_write_format_cpio.c Added files: (Branch: RELENG_7) lib/libarchive/test test_compat_gtar.c test_compat_gtar_1.tgz.uu test_compat_tar_hardlink.c test_compat_tar_hardlink_1.tar.uu test_compat_zip.c test_compat_zip_1.zip.uu test_empty_write.c test_entry_strmode.c test_read_format_gtar_sparse_1_13.tgz.uu test_read_format_gtar_sparse_1_17.tgz.uu test_read_format_gtar_sparse_1_17_posix00.tgz.uu test_read_format_gtar_sparse_1_17_posix01.tgz.uu test_read_format_gtar_sparse_1_17_posix10.tgz.uu test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu test_read_format_mtree.c test_tar_large.c test_write_disk_hardlink.c test_write_format_cpio_newc.c test_write_format_cpio_odc.c Log: MFC: libarchive 2.4.12 * Formats are now only bid once per file, not once per entry (Affects archive_read.c, most format readers, internals manpage) * Correct tar/cpio history in libarchive_formats manpage * Avoid unnecessary copies in {write,read}_compression_none (significant performance boost for uncompressed archives!) * Protect against zero-length writes in gzip/bzip2 compressors * Tar reader: improve hardlink length heuristics, GNU tar --posix --sparse support, related fixes to SCHILY.realsize handling * Cpio reader: recover from sync errors * Cpio writer: pad symlinks properly in newc format * Ar writer: close out empty archive correctly * Zip reader: ignore PK00 header, code cleanups from des@ * Iso9660 reader: support device node entries * archive_write_disk: support hardlinks with bodies, enforce maximum file size * Reconnect progress callback from archive_read_extract() * New: archive_entry_strmode() * New: mtree reader * New: "linkresolver" makes it easier to do hardlink resolution * UUencode test reference files (be nice to CVS) * New test: exercise very large entries (2G up to 1T) in tar archives * New test: Detailed verification of cpio odc and newc formats * New test: Various strategies for restoring multiple links to a file * New tests: Various compatibility checks against gzip, zip, old tar, etc. * New test: cpio recovery from damaged archives * New test: mtree reading * Improved statistics reporting from test harness * Plus minor portability improvements Revision Changes Path 1.77.2.1 +11 -15 src/lib/libarchive/Makefile 1.46.2.1 +25 -33 src/lib/libarchive/archive.h.in 1.44.2.1 +26 -5 src/lib/libarchive/archive_entry.c 1.23.2.1 +30 -5 src/lib/libarchive/archive_entry.h 1.1.4.1 +2 -0 src/lib/libarchive/archive_entry_private.h 1.27.2.1 +3 -2 src/lib/libarchive/archive_platform.h 1.35.2.1 +23 -6 src/lib/libarchive/archive_read.c 1.59.2.1 +8 -2 src/lib/libarchive/archive_read_extract.c 1.3.4.1 +3 -0 src/lib/libarchive/archive_read_private.h 1.17.2.2 +55 -50 src/lib/libarchive/archive_read_support_compression_none.c 1.9.2.1 +1 -0 src/lib/libarchive/archive_read_support_format_all.c 1.6.4.1 +1 -7 src/lib/libarchive/archive_read_support_format_ar.c 1.24.2.1 +177 -7 src/lib/libarchive/archive_read_support_format_cpio.c 1.23.2.1 +17 -11 src/lib/libarchive/archive_read_support_format_iso9660.c 1.61.2.2 +86 -80 src/lib/libarchive/archive_read_support_format_tar.c 1.14.2.3 +62 -93 src/lib/libarchive/archive_read_support_format_zip.c 1.15.2.1 +1 -1 src/lib/libarchive/archive_util.c 1.17.2.1 +37 -5 src/lib/libarchive/archive_write_disk.c 1.12.2.1 +7 -1 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.14.2.1 +7 -1 src/lib/libarchive/archive_write_set_compression_gzip.c 1.15.2.1 +30 -13 src/lib/libarchive/archive_write_set_compression_none.c 1.3.4.1 +23 -5 src/lib/libarchive/archive_write_set_format_ar.c 1.11.2.2 +1 -0 src/lib/libarchive/archive_write_set_format_cpio.c 1.1.4.2 +7 -1 src/lib/libarchive/archive_write_set_format_cpio_newc.c 1.41.2.1 +8 -5 src/lib/libarchive/archive_write_set_format_pax.c 1.24.2.1 +8 -5 src/lib/libarchive/archive_write_set_format_ustar.c 1.1.4.1 +2 -0 src/lib/libarchive/filter_fork.c 1.14.2.1 +23 -9 src/lib/libarchive/libarchive-formats.5 1.1.4.1 +6 -16 src/lib/libarchive/libarchive_internals.3 1.11.2.1 +65 -16 src/lib/libarchive/test/Makefile 1.2.2.1 +10 -2 src/lib/libarchive/test/README 1.8.2.1 +353 -54 src/lib/libarchive/test/main.c 1.1.2.1 +1 -1 src/lib/libarchive/test/read_open_memory.c 1.6.2.1 +64 -40 src/lib/libarchive/test/test.h 1.1.2.1 +110 -0 src/lib/libarchive/test/test_compat_gtar.c (new) 1.1.2.1 +10 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu (new) 1.1.2.1 +104 -0 src/lib/libarchive/test/test_compat_tar_hardlink.c (new) 1.1.2.1 +39 -0 src/lib/libarchive/test/test_compat_tar_hardlink_1.tar.uu (new) 1.1.2.1 +69 -0 src/lib/libarchive/test/test_compat_zip.c (new) 1.1.2.1 +15 -0 src/lib/libarchive/test/test_compat_zip_1.zip.uu (new) 1.1.2.1 +118 -0 src/lib/libarchive/test/test_empty_write.c (new) 1.1.2.1 +48 -0 src/lib/libarchive/test/test_entry_strmode.c (new) 1.1.2.1 +1 -1 src/lib/libarchive/test/test_read_format_cpio_odc.c 1.6.2.1 +47 -652 src/lib/libarchive/test/test_read_format_gtar_sparse.c 1.1.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu (new) 1.1.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu (new) 1.1.2.1 +30 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu (new) 1.1.2.1 +28 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu (new) 1.1.2.1 +28 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu (new) 1.1.2.1 +1370 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu (new) 1.2.2.1 +3 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.1.2.1 +113 -0 src/lib/libarchive/test/test_read_format_mtree.c (new) 1.2.2.1 +47 -0 src/lib/libarchive/test/test_read_format_tar.c 1.2.2.1 +6 -0 src/lib/libarchive/test/test_read_format_zip.c 1.1.2.1 +2 -2 src/lib/libarchive/test/test_read_pax_truncated.c 1.7.2.1 +1 -1 src/lib/libarchive/test/test_tar_filenames.c 1.1.2.1 +309 -0 src/lib/libarchive/test/test_tar_large.c (new) 1.6.2.1 +23 -0 src/lib/libarchive/test/test_write_disk.c 1.1.2.1 +165 -0 src/lib/libarchive/test/test_write_disk_hardlink.c (new) 1.7.2.1 +19 -14 src/lib/libarchive/test/test_write_disk_perms.c 1.2.2.1 +89 -5 src/lib/libarchive/test/test_write_format_cpio.c 1.2.2.1 +210 -0 src/lib/libarchive/test/test_write_format_cpio_newc.c (new) 1.1.2.1 +223 -0 src/lib/libarchive/test/test_write_format_cpio_odc.c (new) From delphij at FreeBSD.org Sun Feb 10 16:31:24 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sun Feb 10 16:31:26 2008 Subject: cvs commit: src/lib/libkvm kvm.c Message-ID: <200802110031.m1B0VNMB000511@repoman.freebsd.org> delphij 2008-02-11 00:31:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libkvm kvm.c Log: MFC revision 1.32 date: 2008/01/12 00:54:47; author: delphij; state: Exp; lines: +4 -0 Plug memory leaks that is observed when argbuf or argspc is used in the context. Submitted by: Michal Vranek PR: bin/118380 Revision Changes Path 1.26.2.1 +4 -0 src/lib/libkvm/kvm.c From kientzle at FreeBSD.org Sun Feb 10 16:40:54 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:40:58 2008 Subject: cvs commit: src/lib/libarchive archive_read.c Message-ID: <200802110040.m1B0esHx000896@repoman.freebsd.org> kientzle 2008-02-11 00:40:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read.c Log: MFC archive_read.c 1.37: * Test format once at beginning of archive instead of once per entry. * New __archive_read_ahead() support function These changes are essential for MFCing fixes to various format handlers. Revision Changes Path 1.15.2.8 +23 -6 src/lib/libarchive/archive_read.c From kientzle at FreeBSD.org Sun Feb 10 16:43:43 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:43:46 2008 Subject: cvs commit: src/lib/libarchive archive_read_private.h Message-ID: <200802110043.m1B0hhAj001033@repoman.freebsd.org> kientzle 2008-02-11 00:43:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_private.h Log: MFC: Declare __archive_read_ahead utility function. Revision Changes Path 1.3.2.2 +3 -0 src/lib/libarchive/archive_read_private.h From kientzle at FreeBSD.org Sun Feb 10 16:49:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:49:54 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c Message-ID: <200802110049.m1B0nqwk010174@repoman.freebsd.org> kientzle 2008-02-11 00:49:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c Log: Zero-byte writes are acceptable. Revision Changes Path 1.8.2.3 +7 -1 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.10.2.3 +7 -1 src/lib/libarchive/archive_write_set_compression_gzip.c From kientzle at FreeBSD.org Sun Feb 10 16:54:05 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:54:07 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_ar.c Message-ID: <200802110054.m1B0s5Yd010368@repoman.freebsd.org> kientzle 2008-02-11 00:54:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_format_ar.c Log: MFC ar writer: empty archives need a global header as well. Plus a minor portability enhancement. Revision Changes Path 1.3.2.2 +23 -5 src/lib/libarchive/archive_write_set_format_ar.c From kientzle at FreeBSD.org Sun Feb 10 16:57:00 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 16:57:04 2008 Subject: cvs commit: src/lib/libarchive archive_entry_strmode.c Message-ID: <200802110057.m1B0v06i010530@repoman.freebsd.org> kientzle 2008-02-11 00:56:59 UTC FreeBSD src repository Added files: (Branch: RELENG_7) lib/libarchive archive_entry_strmode.c Log: MFC: Implementation of new archive_entry_strmode() function. Revision Changes Path 1.1.2.1 +83 -0 src/lib/libarchive/archive_entry_strmode.c (new) From kientzle at FreeBSD.org Sun Feb 10 17:00:27 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Feb 10 17:00:29 2008 Subject: cvs commit: src/lib/libarchive archive_endian.h archive_entry_link_resolver.c archive_read_support_format_mtree.c Message-ID: <200802110100.m1B10RXQ010724@repoman.freebsd.org> kientzle 2008-02-11 01:00:27 UTC FreeBSD src repository Added files: (Branch: RELENG_7) lib/libarchive archive_endian.h archive_entry_link_resolver.c archive_read_support_format_mtree.c Log: MFC: Three files that I accidentally left out of the big MFC to 7-STABLE. Revision Changes Path 1.1.2.1 +142 -0 src/lib/libarchive/archive_endian.h (new) 1.1.2.1 +222 -0 src/lib/libarchive/archive_entry_link_resolver.c (new) 1.1.2.1 +705 -0 src/lib/libarchive/archive_read_support_format_mtree.c (new) From thompsa at FreeBSD.org Sun Feb 10 19:05:12 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Feb 10 19:05:13 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 Message-ID: <200802110305.m1B35BFm022000@repoman.freebsd.org> thompsa 2008-02-11 03:05:11 UTC FreeBSD src repository Added files: sys/geom/lvm g_lvm.c g_lvm.h share/man/man4 geom_lvm.4 Log: Add a geom class to map Linux LVM logical volumes. The logical disks will appear as /dev/lvm/-, for instance /dev/lvm/vg0-home. GLVM currently supports linear stripes with segments on multiple physical disks. The metadata is read only, logical volumes can not be allocated or resized. Reviewed by: Ivan Voras Revision Changes Path 1.1 +88 -0 src/share/man/man4/geom_lvm.4 (new) 1.1 +1177 -0 src/sys/geom/lvm/g_lvm.c (new) 1.1 +113 -0 src/sys/geom/lvm/g_lvm.h (new) From thompsa at FreeBSD.org Sun Feb 10 19:10:41 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Feb 10 19:10:45 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules/geom Makefile src/sys/modules/geom/geom_lvm Makefile src/share/man/man4 Makefile Message-ID: <200802110310.m1B3AeEH022394@repoman.freebsd.org> thompsa 2008-02-11 03:10:40 UTC FreeBSD src repository Modified files: sys/conf NOTES files sys/modules/geom Makefile share/man/man4 Makefile Added files: sys/modules/geom/geom_lvm Makefile Log: Hook geom_lvm(4) up to the build. Revision Changes Path 1.408 +1 -0 src/share/man/man4/Makefile 1.1466 +1 -0 src/sys/conf/NOTES 1.1267 +1 -0 src/sys/conf/files 1.21 +1 -0 src/sys/modules/geom/Makefile 1.1 +8 -0 src/sys/modules/geom/geom_lvm/Makefile (new) From bde at FreeBSD.org Sun Feb 10 21:20:02 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Sun Feb 10 21:20:06 2008 Subject: cvs commit: src/lib/msun/src s_exp2f.c Message-ID: <200802110520.m1B5K2Xm041236@repoman.freebsd.org> bde 2008-02-11 05:20:02 UTC FreeBSD src repository Modified files: lib/msun/src s_exp2f.c Log: Use double precision for z and thus for the entire calculation of exp2(i/TBLSIZE) * p(z) instead of only for the final multiplication and addition. This fixes the code to match the comment that the maximum error is 0.5010 ulps (except on machines that evaluate float expressions in extra precision, e.g., i386's, where the evaluation was already in extra precision). Fix and expand the comment about use of double precision. The relative roundoff error from evaluating p(z) in non-extra precision was about 16 times larger than in exp2() because the interval length is 16 times smaller. Its maximum was at least P1 * (1.0 ulps) * max(|z|) ~= log(2) * 1.0 * 1/32 ~= 0.0217 ulps (1.0 ulps from the addition in (1 + P1*z) with a cancelation error when z ~= -1/32). The actual final maximum was 0.5313 ulps, of which 0.0303 ulps must have come from the additional roundoff error in p(z). I can't explain why the additional roundoff error was almost 3/2 times larger than the rough estimate. Revision Changes Path 1.6 +4 -3 src/lib/msun/src/s_exp2f.c From thompsa at FreeBSD.org Sun Feb 10 21:36:16 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Feb 10 21:36:20 2008 Subject: cvs commit: src/sys/conf options Message-ID: <200802110536.m1B5aG8M041935@repoman.freebsd.org> thompsa 2008-02-11 05:36:15 UTC FreeBSD src repository Modified files: sys/conf options Log: Add missing GEOM_LVM option. Revision Changes Path 1.617 +1 -0 src/sys/conf/options From remko at FreeBSD.org Sun Feb 10 23:15:53 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:15:54 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110715.m1B7Fre7049586@repoman.freebsd.org> remko 2008-02-11 07:15:53 UTC FreeBSD src repository Modified files: lib/libc/sys access.2 Log: Fix typo (s/existance/existence/) Noticed by: ceri Revision Changes Path 1.22 +2 -2 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:17:09 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:17:12 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110717.m1B7H9CS049628@repoman.freebsd.org> remko 2008-02-11 07:17:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys access.2 Log: MFC rev 1.21, 1.22 access.2 v1.21 Fix some style nits. Prodded by: brueffer v1.22 Fix typo (s/existance/existence/) Noticed by: ceri Revision Changes Path 1.18.12.2 +4 -4 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:20:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:20:16 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110720.m1B7KDGF049797@repoman.freebsd.org> remko 2008-02-11 07:20:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys access.2 Log: MFC rev 1.21, 1.22 access.2 v1.21 Fix some style nits. Prodded by: brueffer v1.22 Fix typo (s/existance/existence/) Noticed by: ceri Revision Changes Path 1.19.2.2 +4 -4 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:20:47 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:20:49 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110720.m1B7Klec049855@repoman.freebsd.org> remko 2008-02-11 07:20:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys access.2 Log: Oeps, I forgot to bump the date here as well. Revision Changes Path 1.18.12.3 +1 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:43:23 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:43:26 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110743.m1B7hNDW050694@repoman.freebsd.org> remko 2008-02-11 07:43:23 UTC FreeBSD src repository Modified files: lib/libc/sys access.2 Log: After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] Revision Changes Path 1.23 +1 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:44:49 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:44:53 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110744.m1B7inen050784@repoman.freebsd.org> remko 2008-02-11 07:44:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys access.2 Log: MFC rev 1.23 access.2 After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] Revision Changes Path 1.18.12.4 +1 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:45:18 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:45:19 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802110745.m1B7jH9u050878@repoman.freebsd.org> remko 2008-02-11 07:45:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys access.2 Log: MFC rev 1.23 access.2 After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] Revision Changes Path 1.19.2.3 +1 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Sun Feb 10 23:47:33 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:47:36 2008 Subject: cvs commit: src/sbin/bsdlabel bsdlabel.8 Message-ID: <200802110747.m1B7lXQf050970@repoman.freebsd.org> remko 2008-02-11 07:47:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/bsdlabel bsdlabel.8 Log: MFC rev 1.70 bsdlabel.8 Remove redundant whitespace. Noticed by: brueffer Revision Changes Path 1.68.2.2 +1 -1 src/sbin/bsdlabel/bsdlabel.8 From remko at FreeBSD.org Sun Feb 10 23:48:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:48:15 2008 Subject: cvs commit: src/sbin/bsdlabel bsdlabel.8 Message-ID: <200802110748.m1B7mDgn051033@repoman.freebsd.org> remko 2008-02-11 07:48:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/bsdlabel bsdlabel.8 Log: MFC rev 1.70 bsdlabel.8 Remove redundant whitespace. Noticed by: brueffer Revision Changes Path 1.60.2.5 +1 -1 src/sbin/bsdlabel/bsdlabel.8 From remko at FreeBSD.org Sun Feb 10 23:50:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:50:15 2008 Subject: cvs commit: src/share/man/man4 nve.4 Message-ID: <200802110750.m1B7oDfo051158@repoman.freebsd.org> remko 2008-02-11 07:50:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 nve.4 Log: MFC rev 1.10, 1.11 nve.4 v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.11 Language nit. Revision Changes Path 1.2.2.7 +2 -3 src/share/man/man4/nve.4 From remko at FreeBSD.org Sun Feb 10 23:51:05 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 10 23:51:09 2008 Subject: cvs commit: src/share/man/man4 nve.4 Message-ID: <200802110751.m1B7p5ZO051200@repoman.freebsd.org> remko 2008-02-11 07:51:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 nve.4 Log: MFC rev 1.10, 1.11 nve.4 v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.11 Language nit. Revision Changes Path 1.8.2.2 +2 -3 src/share/man/man4/nve.4 From remko at FreeBSD.org Mon Feb 11 00:12:59 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Feb 11 00:13:01 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802110812.m1B8Cwfd053174@repoman.freebsd.org> remko 2008-02-11 08:12:58 UTC FreeBSD src repository Modified files: usr.sbin/timed/timed timed.8 Log: Typo fix. Spotted by: brueffer Revision Changes Path 1.18 +2 -2 src/usr.sbin/timed/timed/timed.8 From remko at FreeBSD.org Mon Feb 11 00:14:10 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Feb 11 00:14:15 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802110814.m1B8EAXl053983@repoman.freebsd.org> remko 2008-02-11 08:14:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/timed/timed timed.8 Log: MFC rev 1.18 timed.8 Typo fix. Spotted by: brueffer Revision Changes Path 1.16.20.2 +2 -2 src/usr.sbin/timed/timed/timed.8 From remko at FreeBSD.org Mon Feb 11 00:14:59 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Feb 11 00:15:00 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802110814.m1B8ExIn054128@repoman.freebsd.org> remko 2008-02-11 08:14:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/timed/timed timed.8 Log: MFC rev 1.18 timed.8 Typo fix. Spotted by: brueffer Revision Changes Path 1.16.10.2 +2 -2 src/usr.sbin/timed/timed/timed.8 From h.schmalzbauer at omnisec.de Mon Feb 11 00:34:40 2008 From: h.schmalzbauer at omnisec.de (Harald Schmalzbauer) Date: Mon Feb 11 00:34:44 2008 Subject: cvs commit: src/lib/libarchive archive_endian.h archive_entry_link_resolver.c archive_read_support_format_mtree.c In-Reply-To: <200802110100.m1B10RXQ010724@repoman.freebsd.org> References: <200802110100.m1B10RXQ010724@repoman.freebsd.org> Message-ID: <47B004C5.4070800@omnisec.de> Tim Kientzle schrieb am 11.02.2008 02:00 (localtime): > kientzle 2008-02-11 01:00:27 UTC > > FreeBSD src repository > > Added files: (Branch: RELENG_7) > lib/libarchive archive_endian.h > archive_entry_link_resolver.c > archive_read_support_format_mtree.c > Log: > MFC: Three files that I accidentally left out of the big MFC to 7-STABLE. I think you also missed cpio.5 At least my build broke. Thanks, -Harry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080211/34d852f9/signature.pgp From brueffer at FreeBSD.org Mon Feb 11 01:01:15 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Mon Feb 11 01:01:16 2008 Subject: cvs commit: src/share/man/man4 geom_lvm.4 Message-ID: <200802110901.m1B91EI8073134@repoman.freebsd.org> brueffer 2008-02-11 09:01:14 UTC FreeBSD src repository Modified files: share/man/man4 geom_lvm.4 Log: Some small fixes, also introduce an EXAMPLES section. Revision Changes Path 1.2 +3 -3 src/share/man/man4/geom_lvm.4 From mpp at FreeBSD.org Mon Feb 11 01:02:48 2008 From: mpp at FreeBSD.org (Mike Pritchard) Date: Mon Feb 11 01:02:52 2008 Subject: cvs commit: src/share/man/man5 fstab.5 Message-ID: <200802110902.m1B92mS3073188@repoman.freebsd.org> mpp 2008-02-11 09:02:48 UTC FreeBSD src repository Modified files: share/man/man5 fstab.5 Log: Explain in more detail how the pass number field works. Bump .Dd. Revision Changes Path 1.29 +30 -2 src/share/man/man5/fstab.5 From thompsa at FreeBSD.org Mon Feb 11 01:20:03 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Feb 11 01:20:09 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c Message-ID: <200802110920.m1B9K29q075823@repoman.freebsd.org> thompsa 2008-02-11 09:20:02 UTC FreeBSD src repository Modified files: sys/geom/lvm g_lvm.c Log: Unbreak build, size_t is larger on 64bit platforms. Revision Changes Path 1.2 +1 -1 src/sys/geom/lvm/g_lvm.c From thompsa at FreeBSD.org Mon Feb 11 01:32:07 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Feb 11 01:32:15 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c In-Reply-To: <200802110920.m1B9K29q075823@repoman.freebsd.org> References: <200802110920.m1B9K29q075823@repoman.freebsd.org> Message-ID: <20080211092119.GA40770@heff.fud.org.nz> On Mon, Feb 11, 2008 at 09:20:02AM +0000, Andrew Thompson wrote: > thompsa 2008-02-11 09:20:02 UTC > > FreeBSD src repository > > Modified files: > sys/geom/lvm g_lvm.c > Log: > Unbreak build, size_t is larger on 64bit platforms. > > Revision Changes Path > 1.2 +1 -1 src/sys/geom/lvm/g_lvm.c Pointy hat: me I compile tested on different arches but forgot INVARIANTS :( From mpp at FreeBSD.org Mon Feb 11 01:36:44 2008 From: mpp at FreeBSD.org (Mike Pritchard) Date: Mon Feb 11 01:36:51 2008 Subject: cvs commit: src/share/man/man5 fstab.5 Message-ID: <200802110936.m1B9ahFH076536@repoman.freebsd.org> mpp 2008-02-11 09:36:43 UTC FreeBSD src repository Modified files: share/man/man5 fstab.5 Log: We no longer have both block and character devices, so remove the misleading information stated here. Revision Changes Path 1.30 +1 -8 src/share/man/man5/fstab.5 From raj at FreeBSD.org Mon Feb 11 04:30:33 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Mon Feb 11 04:30:42 2008 Subject: cvs commit: src/sys/boot/powerpc/ofw Makefile conf.c Message-ID: <200802111230.m1BCUX8L089260@repoman.freebsd.org> raj 2008-02-11 12:30:32 UTC FreeBSD src repository Modified files: sys/boot/powerpc/ofw Makefile conf.c Log: Clean up PowerPC loader(8) build config. Turn off TFTP support by default: when both TFTP and NFS are enabled in the loader, strange interactions occur in the pure netbooting scenario (i.e. loader is TFTP-ed, kernel+world mounted over NFS), leading to very slow access to the NFS-exported files. Reviewed by: grehan Approved by: cognet (mentor) Revision Changes Path 1.22 +1 -1 src/sys/boot/powerpc/ofw/Makefile 1.13 +1 -1 src/sys/boot/powerpc/ofw/conf.c From remko at FreeBSD.org Mon Feb 11 05:14:16 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Feb 11 05:14:23 2008 Subject: cvs commit: src/lib/libarchive cpio.5 Message-ID: <200802111314.m1BDEGxO006183@repoman.freebsd.org> remko 2008-02-11 13:14:16 UTC FreeBSD src repository Added files: (Branch: RELENG_7) lib/libarchive cpio.5 Log: With doc-hat, MFC cpio.5 This unbreaks the current build. Revision Changes Path 1.1.2.1 +325 -0 src/lib/libarchive/cpio.5 (new) From rafan at FreeBSD.org Mon Feb 11 05:37:18 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Mon Feb 11 05:37:34 2008 Subject: cvs commit: src/contrib/ncurses - Imported sources Message-ID: <200802111337.m1BDbHmG007515@repoman.freebsd.org> rafan 2008-02-11 13:37:17 UTC FreeBSD src repository src/contrib/ncurses - Imported sources Update of /home/ncvs/src/contrib/ncurses In directory repoman.freebsd.org:/tmp/cvs-serv7492 Log Message: Import ncurses 5.6-20080209 snapshot onto the vender branch Status: Vendor Tag: NCURSES Release Tags: v5_6_20080209 U src/contrib/ncurses/MANIFEST U src/contrib/ncurses/mkdirs.sh U src/contrib/ncurses/mk-hdr.awk U src/contrib/ncurses/configure U src/contrib/ncurses/mk-1st.awk U src/contrib/ncurses/install-sh U src/contrib/ncurses/ANNOUNCE U src/contrib/ncurses/AUTHORS U src/contrib/ncurses/README U src/contrib/ncurses/aclocal.m4 U src/contrib/ncurses/README.emx U src/contrib/ncurses/dist.mk U src/contrib/ncurses/configure.in U src/contrib/ncurses/mk-2nd.awk U src/contrib/ncurses/convert_configure.pl U src/contrib/ncurses/config.guess U src/contrib/ncurses/announce.html.in U src/contrib/ncurses/TO-DO U src/contrib/ncurses/mk-0th.awk U src/contrib/ncurses/Makefile.in U src/contrib/ncurses/INSTALL U src/contrib/ncurses/NEWS U src/contrib/ncurses/Makefile.os2 U src/contrib/ncurses/tar-copy.sh U src/contrib/ncurses/config.sub U src/contrib/ncurses/menu/m_item_val.c U src/contrib/ncurses/menu/headers U src/contrib/ncurses/menu/m_global.c U src/contrib/ncurses/menu/READ.ME U src/contrib/ncurses/menu/m_spacing.c U src/contrib/ncurses/menu/m_item_cur.c U src/contrib/ncurses/menu/m_pad.c U src/contrib/ncurses/menu/m_cursor.c U src/contrib/ncurses/menu/llib-lmenuw U src/contrib/ncurses/menu/m_pattern.c U src/contrib/ncurses/menu/m_attribs.c U src/contrib/ncurses/menu/m_hook.c U src/contrib/ncurses/menu/m_sub.c U src/contrib/ncurses/menu/m_item_opt.c U src/contrib/ncurses/menu/m_opts.c U src/contrib/ncurses/menu/m_format.c U src/contrib/ncurses/menu/m_new.c U src/contrib/ncurses/menu/m_item_top.c U src/contrib/ncurses/menu/m_item_new.c U src/contrib/ncurses/menu/mf_common.h U src/contrib/ncurses/menu/eti.h U src/contrib/ncurses/menu/m_req_name.c U src/contrib/ncurses/menu/m_items.c U src/contrib/ncurses/menu/menu.h U src/contrib/ncurses/menu/m_post.c U src/contrib/ncurses/menu/m_scale.c U src/contrib/ncurses/menu/m_userptr.c U src/contrib/ncurses/menu/m_item_use.c U src/contrib/ncurses/menu/m_item_nam.c U src/contrib/ncurses/menu/menu.priv.h U src/contrib/ncurses/menu/modules U src/contrib/ncurses/menu/m_win.c U src/contrib/ncurses/menu/m_item_vis.c U src/contrib/ncurses/menu/llib-lmenu U src/contrib/ncurses/menu/Makefile.in U src/contrib/ncurses/menu/m_driver.c U src/contrib/ncurses/menu/m_trace.c U src/contrib/ncurses/panel/headers U src/contrib/ncurses/panel/p_replace.c U src/contrib/ncurses/panel/panel.c U src/contrib/ncurses/panel/p_delete.c U src/contrib/ncurses/panel/llib-lpanelw U src/contrib/ncurses/panel/panel.priv.h U src/contrib/ncurses/panel/p_below.c U src/contrib/ncurses/panel/p_win.c U src/contrib/ncurses/panel/p_show.c U src/contrib/ncurses/panel/p_above.c U src/contrib/ncurses/panel/p_hide.c U src/contrib/ncurses/panel/panel.h U src/contrib/ncurses/panel/p_user.c U src/contrib/ncurses/panel/p_update.c U src/contrib/ncurses/panel/Makefile.in U src/contrib/ncurses/panel/p_top.c U src/contrib/ncurses/panel/llib-lpanel U src/contrib/ncurses/panel/p_move.c U src/contrib/ncurses/panel/p_new.c U src/contrib/ncurses/panel/p_hidden.c U src/contrib/ncurses/panel/modules U src/contrib/ncurses/panel/p_bottom.c U src/contrib/ncurses/include/headers U src/contrib/ncurses/include/nc_alloc.h U src/contrib/ncurses/include/curses.tail U src/contrib/ncurses/include/term_entry.h U src/contrib/ncurses/include/ncurses_dll.h U src/contrib/ncurses/include/nc_panel.h U src/contrib/ncurses/include/termcap.h.in U src/contrib/ncurses/include/hashed_db.h U src/contrib/ncurses/include/Caps U src/contrib/ncurses/include/MKhashsize.sh U src/contrib/ncurses/include/Makefile.in U src/contrib/ncurses/include/nc_tparm.h U src/contrib/ncurses/include/Caps.uwin U src/contrib/ncurses/include/curses.wide U src/contrib/ncurses/include/curses.h.in U src/contrib/ncurses/include/MKterm.h.awk.in U src/contrib/ncurses/include/Caps.osf1r5 U src/contrib/ncurses/include/Caps.keys U src/contrib/ncurses/include/Caps.hpux11 U src/contrib/ncurses/include/capdefaults.c U src/contrib/ncurses/include/MKncurses_def.sh U src/contrib/ncurses/include/ncurses_cfg.hin U src/contrib/ncurses/include/unctrl.h.in U src/contrib/ncurses/include/ncurses_defs U src/contrib/ncurses/include/edit_cfg.sh U src/contrib/ncurses/include/tic.h U src/contrib/ncurses/include/MKparametrized.sh U src/contrib/ncurses/include/MKkey_defs.sh U src/contrib/ncurses/include/Caps.aix4 U src/contrib/ncurses/progs/tset.c U src/contrib/ncurses/progs/progs.priv.h U src/contrib/ncurses/progs/dump_entry.c U src/contrib/ncurses/progs/modules U src/contrib/ncurses/progs/toe.c U src/contrib/ncurses/progs/tic.c U src/contrib/ncurses/progs/tput.c U src/contrib/ncurses/progs/infocmp.c U src/contrib/ncurses/progs/capconvert U src/contrib/ncurses/progs/Makefile.in U src/contrib/ncurses/progs/dump_entry.h U src/contrib/ncurses/progs/clear.sh U src/contrib/ncurses/progs/MKtermsort.sh U src/contrib/ncurses/progs/clear.c U src/contrib/ncurses/form/fld_type.c U src/contrib/ncurses/form/frm_hook.c U src/contrib/ncurses/form/fld_current.c U src/contrib/ncurses/form/frm_driver.c U src/contrib/ncurses/form/modules U src/contrib/ncurses/form/fld_def.c U src/contrib/ncurses/form/fty_int.c U src/contrib/ncurses/form/fty_num.c U src/contrib/ncurses/form/fld_newftyp.c U src/contrib/ncurses/form/form.h U src/contrib/ncurses/form/fld_dup.c U src/contrib/ncurses/form/fty_enum.c U src/contrib/ncurses/form/frm_user.c U src/contrib/ncurses/form/fty_alnum.c U src/contrib/ncurses/form/llib-lform U src/contrib/ncurses/form/fld_pad.c U src/contrib/ncurses/form/frm_win.c U src/contrib/ncurses/form/form.priv.h U src/contrib/ncurses/form/fld_max.c U src/contrib/ncurses/form/f_trace.c U src/contrib/ncurses/form/fty_ipv4.c U src/contrib/ncurses/form/llib-lformw U src/contrib/ncurses/form/frm_page.c U src/contrib/ncurses/form/frm_opts.c U src/contrib/ncurses/form/fld_ftlink.c U src/contrib/ncurses/form/frm_post.c U src/contrib/ncurses/form/fld_move.c U src/contrib/ncurses/form/fty_alpha.c U src/contrib/ncurses/form/frm_data.c U src/contrib/ncurses/form/fty_regex.c U src/contrib/ncurses/form/fld_info.c U src/contrib/ncurses/form/fld_arg.c U src/contrib/ncurses/form/Makefile.in U src/contrib/ncurses/form/fld_ftchoice.c U src/contrib/ncurses/form/headers U src/contrib/ncurses/form/frm_sub.c U src/contrib/ncurses/form/frm_req_name.c U src/contrib/ncurses/form/fld_user.c U src/contrib/ncurses/form/frm_cursor.c U src/contrib/ncurses/form/READ.ME U src/contrib/ncurses/form/fld_attr.c U src/contrib/ncurses/form/fld_link.c U src/contrib/ncurses/form/frm_def.c U src/contrib/ncurses/form/fld_just.c U src/contrib/ncurses/form/frm_scale.c U src/contrib/ncurses/form/fld_stat.c U src/contrib/ncurses/form/fld_page.c U src/contrib/ncurses/form/fld_opts.c U src/contrib/ncurses/doc/hackguide.doc U src/contrib/ncurses/doc/ncurses-intro.doc U src/contrib/ncurses/doc/html/hackguide.html U src/contrib/ncurses/doc/html/NCURSES-Programming-HOWTO.html U src/contrib/ncurses/doc/html/ncurses-intro.html U src/contrib/ncurses/doc/html/announce.html U src/contrib/ncurses/man/mitem_userptr.3x U src/contrib/ncurses/man/curs_terminfo.3x U src/contrib/ncurses/man/curs_ins_wstr.3x U src/contrib/ncurses/man/resizeterm.3x U src/contrib/ncurses/man/form_page.3x U src/contrib/ncurses/man/curs_deleteln.3x U src/contrib/ncurses/man/menu_post.3x U src/contrib/ncurses/man/form_cursor.3x U src/contrib/ncurses/man/curs_util.3x U src/contrib/ncurses/man/keyok.3x U src/contrib/ncurses/man/curs_get_wstr.3x U src/contrib/ncurses/man/form_hook.3x U src/contrib/ncurses/man/panel.3x U src/contrib/ncurses/man/form_new_page.3x U src/contrib/ncurses/man/curs_border_set.3x U src/contrib/ncurses/man/menu_driver.3x U src/contrib/ncurses/man/mitem_name.3x U src/contrib/ncurses/man/curs_print.3x U src/contrib/ncurses/man/MKterminfo.sh U src/contrib/ncurses/man/curs_termcap.3x U src/contrib/ncurses/man/curs_kernel.3x U src/contrib/ncurses/man/curs_addchstr.3x U src/contrib/ncurses/man/curs_refresh.3x U src/contrib/ncurses/man/tput.1 U src/contrib/ncurses/man/form_data.3x U src/contrib/ncurses/man/curs_beep.3x U src/contrib/ncurses/man/curs_scroll.3x U src/contrib/ncurses/man/form_field_userptr.3x U src/contrib/ncurses/man/curs_in_wch.3x U src/contrib/ncurses/man/define_key.3x U src/contrib/ncurses/man/curs_inwstr.3x U src/contrib/ncurses/man/man_db.renames U src/contrib/ncurses/man/menu_items.3x U src/contrib/ncurses/man/menu_spacing.3x U src/contrib/ncurses/man/ncurses.3x U src/contrib/ncurses/man/infotocap.1m U src/contrib/ncurses/man/curs_pad.3x U src/contrib/ncurses/man/menu_pattern.3x U src/contrib/ncurses/man/default_colors.3x U src/contrib/ncurses/man/menu_win.3x U src/contrib/ncurses/man/terminfo.tail U src/contrib/ncurses/man/curs_outopts.3x U src/contrib/ncurses/man/curs_mouse.3x U src/contrib/ncurses/man/mitem_value.3x U src/contrib/ncurses/man/curs_bkgd.3x U src/contrib/ncurses/man/curs_in_wchstr.3x U src/contrib/ncurses/man/clear.1 U src/contrib/ncurses/man/menu_new.3x U src/contrib/ncurses/man/curs_extend.3x U src/contrib/ncurses/man/curs_legacy.3x U src/contrib/ncurses/man/menu_attributes.3x U src/contrib/ncurses/man/curs_initscr.3x U src/contrib/ncurses/man/Makefile.in U src/contrib/ncurses/man/menu_opts.3x U src/contrib/ncurses/man/curs_addch.3x U src/contrib/ncurses/man/curs_getcchar.3x U src/contrib/ncurses/man/form_field_new.3x U src/contrib/ncurses/man/term.7 U src/contrib/ncurses/man/menu_userptr.3x U src/contrib/ncurses/man/curs_scanw.3x U src/contrib/ncurses/man/menu.3x U src/contrib/ncurses/man/curs_opaque.3x U src/contrib/ncurses/man/curs_getyx.3x U src/contrib/ncurses/man/curs_addstr.3x U src/contrib/ncurses/man/menu_format.3x U src/contrib/ncurses/man/curs_getch.3x U src/contrib/ncurses/man/form_field_opts.3x U src/contrib/ncurses/man/curs_addwstr.3x U src/contrib/ncurses/man/curs_add_wch.3x U src/contrib/ncurses/man/curs_clear.3x U src/contrib/ncurses/man/legacy_coding.3x U src/contrib/ncurses/man/tset.1 U src/contrib/ncurses/man/manlinks.sed U src/contrib/ncurses/man/curs_ins_wch.3x U src/contrib/ncurses/man/terminfo.head U src/contrib/ncurses/man/curs_touch.3x U src/contrib/ncurses/man/form_opts.3x U src/contrib/ncurses/man/mitem_new.3x U src/contrib/ncurses/man/curs_overlay.3x U src/contrib/ncurses/man/form_requestname.3x U src/contrib/ncurses/man/curs_printw.3x U src/contrib/ncurses/man/term.5 U src/contrib/ncurses/man/curs_inopts.3x U src/contrib/ncurses/man/captoinfo.1m N src/contrib/ncurses/man/curs_threads.3x U src/contrib/ncurses/man/curs_termattrs.3x U src/contrib/ncurses/man/curs_color.3x U src/contrib/ncurses/man/form_win.3x U src/contrib/ncurses/man/tic.1m U src/contrib/ncurses/man/curs_add_wchstr.3x U src/contrib/ncurses/man/form_fieldtype.3x U src/contrib/ncurses/man/infocmp.1m U src/contrib/ncurses/man/mitem_opts.3x U src/contrib/ncurses/man/toe.1m U src/contrib/ncurses/man/curs_bkgrnd.3x U src/contrib/ncurses/man/form_new.3x U src/contrib/ncurses/man/curs_attr.3x U src/contrib/ncurses/man/wresize.3x U src/contrib/ncurses/man/curs_scr_dump.3x U src/contrib/ncurses/man/form_userptr.3x U src/contrib/ncurses/man/curs_inch.3x U src/contrib/ncurses/man/curs_insstr.3x U src/contrib/ncurses/man/curs_move.3x U src/contrib/ncurses/man/menu_requestname.3x U src/contrib/ncurses/man/curs_slk.3x U src/contrib/ncurses/man/form_field.3x U src/contrib/ncurses/man/key_defined.3x U src/contrib/ncurses/man/curs_get_wch.3x U src/contrib/ncurses/man/mitem_current.3x U src/contrib/ncurses/man/form_field_info.3x U src/contrib/ncurses/man/curs_insch.3x U src/contrib/ncurses/man/curs_inchstr.3x U src/contrib/ncurses/man/form_field_validation.3x U src/contrib/ncurses/man/form.3x U src/contrib/ncurses/man/make_sed.sh U src/contrib/ncurses/man/keybound.3x U src/contrib/ncurses/man/menu_cursor.3x U src/contrib/ncurses/man/form_post.3x U src/contrib/ncurses/man/curs_window.3x U src/contrib/ncurses/man/curs_instr.3x U src/contrib/ncurses/man/menu_mark.3x U src/contrib/ncurses/man/form_field_just.3x U src/contrib/ncurses/man/form_field_attributes.3x U src/contrib/ncurses/man/form_driver.3x U src/contrib/ncurses/man/form_field_buffer.3x U src/contrib/ncurses/man/curs_border.3x U src/contrib/ncurses/man/mitem_visible.3x U src/contrib/ncurses/man/curs_delch.3x U src/contrib/ncurses/man/curs_getstr.3x U src/contrib/ncurses/man/menu_hook.3x U src/contrib/ncurses/man/curs_trace.3x U src/contrib/ncurses/misc/emx.src U src/contrib/ncurses/misc/terminfo.src U src/contrib/ncurses/misc/tdlint U src/contrib/ncurses/misc/cmpdef.cmd U src/contrib/ncurses/misc/panel.ref U src/contrib/ncurses/misc/form.ref U src/contrib/ncurses/misc/cleantic.cmd U src/contrib/ncurses/misc/gen_edit.sh U src/contrib/ncurses/misc/csort U src/contrib/ncurses/misc/ncurses.ref U src/contrib/ncurses/misc/menu.ref U src/contrib/ncurses/misc/makedef.cmd U src/contrib/ncurses/misc/run_tic.in U src/contrib/ncurses/misc/chkdef.cmd U src/contrib/ncurses/misc/jpf-indent U src/contrib/ncurses/misc/panel.def U src/contrib/ncurses/misc/form.def U src/contrib/ncurses/misc/ncurses.def U src/contrib/ncurses/misc/makellib U src/contrib/ncurses/misc/ncurses-config.in U src/contrib/ncurses/misc/menu.def U src/contrib/ncurses/misc/Makefile.in U src/contrib/ncurses/misc/ncu-indent U src/contrib/ncurses/misc/shlib U src/contrib/ncurses/misc/tabset/std U src/contrib/ncurses/misc/tabset/vt300 U src/contrib/ncurses/misc/tabset/vt100 U src/contrib/ncurses/misc/tabset/stdcrt U src/contrib/ncurses/ncurses/modules U src/contrib/ncurses/ncurses/curses.priv.h U src/contrib/ncurses/ncurses/llib-lncurses N src/contrib/ncurses/ncurses/llib-lncursest U src/contrib/ncurses/ncurses/fifo_defs.h U src/contrib/ncurses/ncurses/SigAction.h U src/contrib/ncurses/ncurses/README U src/contrib/ncurses/ncurses/llib-lncursesw U src/contrib/ncurses/ncurses/Makefile.in U src/contrib/ncurses/ncurses/README.IZ U src/contrib/ncurses/ncurses/trace/varargs.c U src/contrib/ncurses/ncurses/trace/trace_xnames.c U src/contrib/ncurses/ncurses/trace/lib_tracemse.c U src/contrib/ncurses/ncurses/trace/README U src/contrib/ncurses/ncurses/trace/trace_buf.c U src/contrib/ncurses/ncurses/trace/visbuf.c U src/contrib/ncurses/ncurses/trace/lib_traceatr.c U src/contrib/ncurses/ncurses/trace/lib_tracechr.c U src/contrib/ncurses/ncurses/trace/lib_trace.c U src/contrib/ncurses/ncurses/trace/lib_tracedmp.c U src/contrib/ncurses/ncurses/trace/lib_tracebits.c U src/contrib/ncurses/ncurses/trace/trace_tries.c U src/contrib/ncurses/ncurses/base/lib_endwin.c U src/contrib/ncurses/ncurses/base/README U src/contrib/ncurses/ncurses/base/lib_flash.c U src/contrib/ncurses/ncurses/base/tries.c U src/contrib/ncurses/ncurses/base/lib_wattroff.c U src/contrib/ncurses/ncurses/base/lib_window.c U src/contrib/ncurses/ncurses/base/lib_restart.c U src/contrib/ncurses/ncurses/base/lib_slkatron.c U src/contrib/ncurses/ncurses/base/lib_delwin.c U src/contrib/ncurses/ncurses/base/lib_dft_fgbg.c U src/contrib/ncurses/ncurses/base/lib_scrollok.c U src/contrib/ncurses/ncurses/base/lib_scrreg.c U src/contrib/ncurses/ncurses/base/lib_printw.c U src/contrib/ncurses/ncurses/base/lib_freeall.c U src/contrib/ncurses/ncurses/base/key_defined.c U src/contrib/ncurses/ncurses/base/lib_instr.c U src/contrib/ncurses/ncurses/base/MKlib_gen.sh U src/contrib/ncurses/ncurses/base/keybound.c U src/contrib/ncurses/ncurses/base/lib_getch.c U src/contrib/ncurses/ncurses/base/lib_addch.c U src/contrib/ncurses/ncurses/base/lib_clrbot.c U src/contrib/ncurses/ncurses/base/MKkeyname.awk U src/contrib/ncurses/ncurses/base/lib_isendwin.c U src/contrib/ncurses/ncurses/base/nc_panel.c U src/contrib/ncurses/ncurses/base/use_window.c U src/contrib/ncurses/ncurses/base/lib_redrawln.c U src/contrib/ncurses/ncurses/base/memmove.c U src/contrib/ncurses/ncurses/base/legacy_coding.c U src/contrib/ncurses/ncurses/base/lib_initscr.c U src/contrib/ncurses/ncurses/base/lib_refresh.c U src/contrib/ncurses/ncurses/base/lib_scanw.c U src/contrib/ncurses/ncurses/base/version.c U src/contrib/ncurses/ncurses/base/lib_pad.c U src/contrib/ncurses/ncurses/base/wresize.c U src/contrib/ncurses/ncurses/base/lib_slkatrof.c U src/contrib/ncurses/ncurses/base/lib_erase.c U src/contrib/ncurses/ncurses/base/lib_newwin.c U src/contrib/ncurses/ncurses/base/lib_slkcolor.c U src/contrib/ncurses/ncurses/base/lib_hline.c U src/contrib/ncurses/ncurses/base/lib_slkclear.c U src/contrib/ncurses/ncurses/base/lib_touch.c U src/contrib/ncurses/ncurses/base/lib_slklab.c U src/contrib/ncurses/ncurses/base/lib_scroll.c U src/contrib/ncurses/ncurses/base/lib_nl.c U src/contrib/ncurses/ncurses/base/lib_wattron.c U src/contrib/ncurses/ncurses/base/lib_clreol.c U src/contrib/ncurses/ncurses/base/lib_box.c U src/contrib/ncurses/ncurses/base/lib_slkatr_set.c U src/contrib/ncurses/ncurses/base/lib_colorset.c U src/contrib/ncurses/ncurses/base/MKunctrl.awk U src/contrib/ncurses/ncurses/base/lib_overlay.c U src/contrib/ncurses/ncurses/base/lib_insdel.c U src/contrib/ncurses/ncurses/base/lib_immedok.c U src/contrib/ncurses/ncurses/base/lib_mouse.c U src/contrib/ncurses/ncurses/base/lib_slkset.c U src/contrib/ncurses/ncurses/base/lib_vline.c U src/contrib/ncurses/ncurses/base/lib_insnstr.c U src/contrib/ncurses/ncurses/base/lib_delch.c U src/contrib/ncurses/ncurses/base/lib_mvwin.c U src/contrib/ncurses/ncurses/base/lib_set_term.c U src/contrib/ncurses/ncurses/base/lib_slkrefr.c U src/contrib/ncurses/ncurses/base/lib_echo.c U src/contrib/ncurses/ncurses/base/define_key.c U src/contrib/ncurses/ncurses/base/lib_slkatrset.c U src/contrib/ncurses/ncurses/base/lib_slkattr.c U src/contrib/ncurses/ncurses/base/lib_bkgd.c U src/contrib/ncurses/ncurses/base/sigaction.c U src/contrib/ncurses/ncurses/base/lib_clearok.c U src/contrib/ncurses/ncurses/base/resizeterm.c U src/contrib/ncurses/ncurses/base/lib_slk.c U src/contrib/ncurses/ncurses/base/lib_beep.c U src/contrib/ncurses/ncurses/base/lib_chgat.c U src/contrib/ncurses/ncurses/base/lib_winch.c U src/contrib/ncurses/ncurses/base/lib_move.c U src/contrib/ncurses/ncurses/base/keyok.c U src/contrib/ncurses/ncurses/base/lib_ungetch.c U src/contrib/ncurses/ncurses/base/lib_screen.c U src/contrib/ncurses/ncurses/base/lib_inchstr.c U src/contrib/ncurses/ncurses/base/lib_addstr.c U src/contrib/ncurses/ncurses/base/lib_slkinit.c U src/contrib/ncurses/ncurses/base/lib_newterm.c U src/contrib/ncurses/ncurses/base/vsscanf.c U src/contrib/ncurses/ncurses/base/lib_color.c U src/contrib/ncurses/ncurses/base/safe_sprintf.c U src/contrib/ncurses/ncurses/base/lib_insch.c U src/contrib/ncurses/ncurses/base/lib_clear.c U src/contrib/ncurses/ncurses/base/lib_slktouch.c U src/contrib/ncurses/ncurses/base/lib_leaveok.c U src/contrib/ncurses/ncurses/base/lib_getstr.c U src/contrib/ncurses/ncurses/tinfo/comp_error.c U src/contrib/ncurses/ncurses/tinfo/make_keys.c U src/contrib/ncurses/ncurses/tinfo/doalloc.c U src/contrib/ncurses/ncurses/tinfo/trim_sgr0.c U src/contrib/ncurses/ncurses/tinfo/lib_tparm.c U src/contrib/ncurses/ncurses/tinfo/comp_scan.c U src/contrib/ncurses/ncurses/tinfo/lib_longname.c U src/contrib/ncurses/ncurses/tinfo/lib_termname.c U src/contrib/ncurses/ncurses/tinfo/lib_tputs.c U src/contrib/ncurses/ncurses/tinfo/README U src/contrib/ncurses/ncurses/tinfo/alloc_entry.c U src/contrib/ncurses/ncurses/tinfo/lib_ti.c U src/contrib/ncurses/ncurses/tinfo/MKcaptab.sh U src/contrib/ncurses/ncurses/tinfo/lib_napms.c U src/contrib/ncurses/ncurses/tinfo/captoinfo.c U src/contrib/ncurses/ncurses/tinfo/lib_print.c U src/contrib/ncurses/ncurses/tinfo/MKfallback.sh U src/contrib/ncurses/ncurses/tinfo/lib_data.c U src/contrib/ncurses/ncurses/tinfo/home_terminfo.c U src/contrib/ncurses/ncurses/tinfo/strings.c U src/contrib/ncurses/ncurses/tinfo/MKkeys_list.sh U src/contrib/ncurses/ncurses/tinfo/setbuf.c U src/contrib/ncurses/ncurses/tinfo/parse_entry.c U src/contrib/ncurses/ncurses/tinfo/lib_raw.c U src/contrib/ncurses/ncurses/tinfo/write_entry.c U src/contrib/ncurses/ncurses/tinfo/comp_parse.c U src/contrib/ncurses/ncurses/tinfo/read_entry.c U src/contrib/ncurses/ncurses/tinfo/free_ttype.c U src/contrib/ncurses/ncurses/tinfo/lib_has_cap.c U src/contrib/ncurses/ncurses/tinfo/lib_ttyflags.c U src/contrib/ncurses/ncurses/tinfo/comp_expand.c U src/contrib/ncurses/ncurses/tinfo/access.c U src/contrib/ncurses/ncurses/tinfo/entries.c U src/contrib/ncurses/ncurses/tinfo/init_keytry.c U src/contrib/ncurses/ncurses/tinfo/alloc_ttype.c U src/contrib/ncurses/ncurses/tinfo/name_match.c U src/contrib/ncurses/ncurses/tinfo/add_tries.c U src/contrib/ncurses/ncurses/tinfo/comp_hash.c U src/contrib/ncurses/ncurses/tinfo/MKcaptab.awk U src/contrib/ncurses/ncurses/tinfo/getenv_num.c U src/contrib/ncurses/ncurses/tinfo/use_screen.c U src/contrib/ncurses/ncurses/tinfo/lib_baudrate.c U src/contrib/ncurses/ncurses/tinfo/lib_tgoto.c U src/contrib/ncurses/ncurses/tinfo/lib_kernel.c U src/contrib/ncurses/ncurses/tinfo/MKnames.awk U src/contrib/ncurses/ncurses/tinfo/lib_termcap.c U src/contrib/ncurses/ncurses/tinfo/lib_options.c U src/contrib/ncurses/ncurses/tinfo/hashed_db.c U src/contrib/ncurses/ncurses/tinfo/MKcodes.awk U src/contrib/ncurses/ncurses/tinfo/lib_cur_term.c U src/contrib/ncurses/ncurses/tinfo/lib_setup.c U src/contrib/ncurses/ncurses/tinfo/read_termcap.c U src/contrib/ncurses/ncurses/tinfo/db_iterator.c U src/contrib/ncurses/ncurses/tinfo/lib_acs.c U src/contrib/ncurses/ncurses/tty/lib_vidattr.c U src/contrib/ncurses/ncurses/tty/lib_twait.c U src/contrib/ncurses/ncurses/tty/tty_update.c U src/contrib/ncurses/ncurses/tty/tty_display.h U src/contrib/ncurses/ncurses/tty/lib_mvcur.c U src/contrib/ncurses/ncurses/tty/tty_input.h U src/contrib/ncurses/ncurses/tty/MKexpanded.sh U src/contrib/ncurses/ncurses/tty/hardscroll.c U src/contrib/ncurses/ncurses/tty/lib_tstp.c U src/contrib/ncurses/ncurses/tty/hashmap.c U src/contrib/ncurses/ncurses/widechar/lib_add_wch.c U src/contrib/ncurses/ncurses/widechar/lib_get_wstr.c U src/contrib/ncurses/ncurses/widechar/lib_vid_attr.c U src/contrib/ncurses/ncurses/widechar/lib_key_name.c U src/contrib/ncurses/ncurses/widechar/lib_inwstr.c U src/contrib/ncurses/ncurses/widechar/lib_cchar.c U src/contrib/ncurses/ncurses/widechar/lib_erasewchar.c U src/contrib/ncurses/ncurses/widechar/charable.c U src/contrib/ncurses/ncurses/widechar/lib_hline_set.c U src/contrib/ncurses/ncurses/widechar/lib_pecho_wchar.c U src/contrib/ncurses/ncurses/widechar/lib_get_wch.c U src/contrib/ncurses/ncurses/widechar/lib_vline_set.c U src/contrib/ncurses/ncurses/widechar/lib_slk_wset.c U src/contrib/ncurses/ncurses/widechar/lib_box_set.c U src/contrib/ncurses/ncurses/widechar/lib_ins_wch.c U src/contrib/ncurses/ncurses/widechar/lib_unget_wch.c U src/contrib/ncurses/ncurses/widechar/lib_in_wch.c U src/contrib/ncurses/ncurses/widechar/lib_in_wchnstr.c U src/contrib/ncurses/ncurses/widechar/lib_wacs.c U src/contrib/ncurses/ncurses/widechar/lib_wunctrl.c No conflicts created by this import From rafan at FreeBSD.org Mon Feb 11 05:39:37 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Mon Feb 11 05:39:43 2008 Subject: cvs commit: src/lib/ncurses/ncurses Makefile ncurses_cfg.h Message-ID: <200802111339.m1BDdaSB007624@repoman.freebsd.org> rafan 2008-02-11 13:39:36 UTC FreeBSD src repository Modified files: lib/ncurses/ncurses Makefile ncurses_cfg.h Log: - Update build glues for ncurses 5.6 snapshot 20080209 - While I'm here, sort macro defines in ncurses_cfg.h Revision Changes Path 1.95 +5 -0 src/lib/ncurses/ncurses/Makefile 1.10 +6 -6 src/lib/ncurses/ncurses/ncurses_cfg.h From rafan at FreeBSD.org Mon Feb 11 05:40:20 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Mon Feb 11 05:40:26 2008 Subject: cvs commit: src/contrib/ncurses FREEBSD-vendor Message-ID: <200802111340.m1BDeKss007795@repoman.freebsd.org> rafan 2008-02-11 13:40:20 UTC FreeBSD src repository Added files: contrib/ncurses FREEBSD-vendor Log: Per discussion on developers@, add vendor information for ncurses. Revision Changes Path 1.1 +8 -0 src/contrib/ncurses/FREEBSD-vendor (new) From rafan at FreeBSD.org Mon Feb 11 05:42:45 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Mon Feb 11 05:42:50 2008 Subject: cvs commit: src/contrib/ncurses FREEBSD-upgrade Message-ID: <200802111342.m1BDgjpS007893@repoman.freebsd.org> rafan 2008-02-11 13:42:45 UTC FreeBSD src repository Modified files: contrib/ncurses FREEBSD-upgrade Log: - Update instructions for snapshot import Revision Changes Path 1.3 +4 -0 src/contrib/ncurses/FREEBSD-upgrade From itetcu at FreeBSD.org Mon Feb 11 06:16:23 2008 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Mon Feb 11 06:16:32 2008 Subject: cvs commit: src/lib/libarchive cpio.5 In-Reply-To: <200802111314.m1BDEGxO006183@repoman.freebsd.org> References: <200802111314.m1BDEGxO006183@repoman.freebsd.org> Message-ID: <20080211160130.5f36bb0f@it.buh.tecnik93.com> On Mon, 11 Feb 2008 13:14:16 +0000 (UTC) Remko Lodder wrote: > remko 2008-02-11 13:14:16 UTC > > FreeBSD src repository > > Added files: (Branch: RELENG_7) > lib/libarchive cpio.5 > Log: > With doc-hat, MFC cpio.5 > > This unbreaks the current build. Thanks. -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080211/9f5ddf24/signature.pgp From jkim at FreeBSD.org Mon Feb 11 11:35:04 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Feb 11 11:35:07 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c Message-ID: <200802111935.m1BJZ3q9052580@repoman.freebsd.org> jkim 2008-02-11 19:35:03 UTC FreeBSD src repository Modified files: sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c Log: Fix Linux mmap with MAP_GROWSDOWN flag. Reported by: Andriy Gapon (avg at icyb dot net dot ua) Tested by: Andriy Gapon (avg at icyb dot net dot ua) Pointyhat: me MFC after: 3 days Revision Changes Path 1.46 +14 -13 src/sys/amd64/linux32/linux32_machdep.c 1.80 +15 -14 src/sys/i386/linux/linux_machdep.c From rdivacky at FreeBSD.org Mon Feb 11 11:47:27 2008 From: rdivacky at FreeBSD.org (Roman Divacky) Date: Mon Feb 11 11:47:34 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c In-Reply-To: <200802111935.m1BJZ3q9052580@repoman.freebsd.org> References: <200802111935.m1BJZ3q9052580@repoman.freebsd.org> Message-ID: <20080211194714.GA14292@freebsd.org> On Mon, Feb 11, 2008 at 07:35:03PM +0000, Jung-uk Kim wrote: > jkim 2008-02-11 19:35:03 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/linux32 linux32_machdep.c > sys/i386/linux linux_machdep.c > Log: > Fix Linux mmap with MAP_GROWSDOWN flag. > > Reported by: Andriy Gapon (avg at icyb dot net dot ua) > Tested by: Andriy Gapon (avg at icyb dot net dot ua) > Pointyhat: me > MFC after: 3 days thnx for commiting this.. the mmap problems have plagued us for a long time.. :( any chance of getting this into 7.0R ? From jkim at FreeBSD.org Mon Feb 11 12:00:07 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Feb 11 12:00:14 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c In-Reply-To: <20080211194714.GA14292@freebsd.org> References: <200802111935.m1BJZ3q9052580@repoman.freebsd.org> <20080211194714.GA14292@freebsd.org> Message-ID: <200802111459.54988.jkim@FreeBSD.org> On Monday 11 February 2008 02:47 pm, Roman Divacky wrote: > On Mon, Feb 11, 2008 at 07:35:03PM +0000, Jung-uk Kim wrote: > > jkim 2008-02-11 19:35:03 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/amd64/linux32 linux32_machdep.c > > sys/i386/linux linux_machdep.c > > Log: > > Fix Linux mmap with MAP_GROWSDOWN flag. > > > > Reported by: Andriy Gapon (avg at icyb dot net dot ua) > > Tested by: Andriy Gapon (avg at icyb dot net dot ua) > > Pointyhat: me > > MFC after: 3 days > > thnx for commiting this.. the mmap problems have plagued us > for a long time.. :( > > any chance of getting this into 7.0R ? Sorry but I am afraid it is too late. :-( Jung-uk Kim From marius at FreeBSD.org Mon Feb 11 12:34:27 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Feb 11 12:34:29 2008 Subject: cvs commit: src/usr.bin/netstat route.c Message-ID: <200802112034.m1BKYR5d058114@repoman.freebsd.org> marius 2008-02-11 20:34:27 UTC FreeBSD src repository Modified files: usr.bin/netstat route.c Log: Change another argument and a variable both related to netname() to be also 32-bit on all archs. MFC after: 3 days Revision Changes Path 1.87 +3 -3 src/usr.bin/netstat/route.c From marius at FreeBSD.org Mon Feb 11 12:41:27 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Feb 11 12:41:30 2008 Subject: cvs commit: src/sys/dev/mii nsphy.c Message-ID: <200802112041.m1BKfREj058501@repoman.freebsd.org> marius 2008-02-11 20:41:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii nsphy.c Log: MFC: 1.30 - Fix a typo in a comment. - Fix whitespace according to style(9). - Sync the comment describing why we have to wait in nsphy_reset() with nsphyter_reset(). It's true that the manual tells to not do a reset within 500us of applying power but that's unlikely the cause of problems seen here. Generally having to wait 500us after a reset however is. Revision Changes Path 1.28.2.2 +10 -8 src/sys/dev/mii/nsphy.c From marius at FreeBSD.org Mon Feb 11 12:42:37 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Feb 11 12:42:40 2008 Subject: cvs commit: src/sys/dev/mii nsphy.c Message-ID: <200802112042.m1BKgaV8058623@repoman.freebsd.org> marius 2008-02-11 20:42:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii nsphy.c Log: MFC: 1.30 - Fix a typo in a comment. - Fix whitespace according to style(9). - Sync the comment describing why we have to wait in nsphy_reset() with nsphyter_reset(). It's true that the manual tells to not do a reset within 500us of applying power but that's unlikely the cause of problems seen here. Generally having to wait 500us after a reset however is. Revision Changes Path 1.23.2.5 +10 -8 src/sys/dev/mii/nsphy.c From remko at FreeBSD.org Mon Feb 11 13:09:35 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Feb 11 13:09:40 2008 Subject: cvs commit: src/contrib/pf/man pf.conf.5 Message-ID: <200802112109.m1BL9Yfo069797@repoman.freebsd.org> remko 2008-02-11 21:09:34 UTC FreeBSD src repository Modified files: contrib/pf/man pf.conf.5 Log: MFOpenBSD rev 1.393 pf.conf.5 do not describe `/' as solidus; from Allen (freebsd pr120484); PR: 120484 Submitted by: Allen MFC After: 3 days Revision Changes Path 1.15 +3 -3 src/contrib/pf/man/pf.conf.5 From marius at FreeBSD.org Mon Feb 11 13:40:23 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Feb 11 13:40:25 2008 Subject: cvs commit: src/sys/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c Message-ID: <200802112140.m1BLeM33072030@repoman.freebsd.org> marius 2008-02-11 21:40:22 UTC FreeBSD src repository Modified files: sys/conf files.sparc64 sys/sparc64/include md_var.h Added files: sys/sparc64/sparc64 ata_machdep.c Log: The Sun disk label only uses 16-bit fields for cylinders, heads and sectors so the geometry of large IDE disks has to be adjusted. This corresponds to what the OpenSolaris dad(7D) driver does except that the latter only tweaks sectors and effectively limits the mediasize to 128GB so the cylinders and heads fields won't ever overflow. Not limiting the mediasize is a compromise between allowing to use Sun disk label as far as possible and being able to use the entire disk with another disk label. This allows to use the full capacity of large IDE disks if they were not labeled under (Open)Solaris (in both ways of the meaning). MFC after: 2 weeks Revision Changes Path 1.94 +1 -0 src/sys/conf/files.sparc64 1.17 +13 -0 src/sys/sparc64/include/md_var.h 1.1 +52 -0 src/sys/sparc64/sparc64/ata_machdep.c (new) From xcllnt at mac.com Mon Feb 11 14:21:03 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Mon Feb 11 14:21:12 2008 Subject: cvs commit: src/sys/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c In-Reply-To: <200802112140.m1BLeM33072030@repoman.freebsd.org> References: <200802112140.m1BLeM33072030@repoman.freebsd.org> Message-ID: <31A282DF-2A1F-47BE-94E8-BD8ACA03D8C5@mac.com> On Feb 11, 2008, at 1:40 PM, Marius Strobl wrote: > marius 2008-02-11 21:40:22 UTC > > FreeBSD src repository > > Modified files: > sys/conf files.sparc64 > sys/sparc64/include md_var.h > Added files: > sys/sparc64/sparc64 ata_machdep.c > Log: > The Sun disk label only uses 16-bit fields for cylinders, heads and > sectors so the geometry of large IDE disks has to be adjusted. Would support for VTOC16 help with this? -- Marcel Moolenaar xcllnt@mac.com From kris at FreeBSD.org Mon Feb 11 15:23:22 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Feb 11 15:23:26 2008 Subject: cvs commit: src UPDATING src/sbin/mount_nfs mount_nfs.8 mount_nfs.c src/sys/nfsclient nfs_diskless.c Message-ID: <200802112323.m1BNNLJC080645@repoman.freebsd.org> kris 2008-02-11 23:23:21 UTC FreeBSD src repository Modified files: . UPDATING sbin/mount_nfs mount_nfs.8 mount_nfs.c sys/nfsclient nfs_diskless.c Log: Switch the default NFS mount mode from UDP to TCP. UDP mounts are a historical relic, and are no longer appropriate for either LAN or WAN mounting. At modern (gigabit and 10 gigabit) LAN speeds packet loss from socket buffer fill events is common, and sequence numbers wrap quickly enough that data corruption is possible. TCP solves both of these problems without imposing significant overhead. MFC after: 1 month Revision Changes Path 1.519 +6 -0 src/UPDATING 1.48 +5 -5 src/sbin/mount_nfs/mount_nfs.8 1.73 +1 -1 src/sbin/mount_nfs/mount_nfs.c 1.18 +2 -2 src/sys/nfsclient/nfs_diskless.c From kris at FreeBSD.org Mon Feb 11 15:28:35 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Feb 11 15:28:37 2008 Subject: cvs commit: src/sys/nfsclient nfs_diskless.c Message-ID: <200802112328.m1BNSZMq080851@repoman.freebsd.org> kris 2008-02-11 23:28:35 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_diskless.c Log: Forced commit: previous change also switches the default diskless NFS mode from NFSv2 to NFSv3. Revision Changes Path 1.19 +0 -0 src/sys/nfsclient/nfs_diskless.c From jhb at freebsd.org Mon Feb 11 15:52:01 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Feb 11 15:52:08 2008 Subject: cvs commit: src/sys/dev/ata ata-all.h ata-chipset.c ata-dma.c ata-lowlevel.c In-Reply-To: <200712131147.lBDBlaFi066300@repoman.freebsd.org> References: <200712131147.lBDBlaFi066300@repoman.freebsd.org> Message-ID: <200802111849.44512.jhb@freebsd.org> On Thursday 13 December 2007 06:47:36 am SXren Schmidt wrote: > sos 2007-12-13 11:47:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-all.h ata-chipset.c ata-dma.c > ata-lowlevel.c > Log: > Implement a workaround of the datacorruption problem on serverworks HT1000 chipsets. > The HT1000 DMA engine seems to not always like 64K transfers and sometimes barfs data all over memory leading to instant chrash and burn. > Also fix 48bit adressing issues, apparently newer chips needs 16bit writes and not the usual fifo thing. > > HW donated by: Travis Mikalson at TerraNovaNet I'm not sure how best to fix it, but it seems that this broke crash dumps on the HT1000 chipset: exit1() at exit1+0x39d sys_exit() at sys_exit+0xe ia32_syscall() at ia32_syscall+0x256 Xint0x80_syscall() at Xint0x80_syscall+0x5d Uptime: 5d0h51m55s Physical memory: 4084 MB Dumping 325 MB:ata2: FAILURE - oversized DMA transfer attempt 65536 > 64512 ad4: setting up DMA failed ** DUMP FAILED (ERROR 5) ** Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset: Restarting BSP I'm guessing that the atadev->max_iosize is still set to 64k somehow (DMA default) for the ata disk when it does the check in ad_strategy(), but I'm not sure how as for the HT1000 chipset at least ch->dma->max_iosize is set to 63k in the controller allocate routine which should be run before the child disk devices are probed and attached AFAICT. -- John Baldwin From brueffer at FreeBSD.org Tue Feb 12 00:58:27 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Tue Feb 12 00:58:29 2008 Subject: cvs commit: src/sys/dev/twe twe.c Message-ID: <200802120858.m1C8wQcW050771@repoman.freebsd.org> brueffer 2008-02-12 08:58:26 UTC FreeBSD src repository Modified files: sys/dev/twe twe.c Log: Add missing \n. PR: 120341 Submitted by: CyberLeo Approved by: rwatson (mentor), aradford@amcc.com MFC after: 3 days Revision Changes Path 1.26 +1 -1 src/sys/dev/twe/twe.c From ceri at FreeBSD.org Tue Feb 12 01:20:28 2008 From: ceri at FreeBSD.org (Ceri Davies) Date: Tue Feb 12 01:20:30 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.8 Message-ID: <200802120920.m1C9KRiH053658@repoman.freebsd.org> ceri 2008-02-12 09:20:27 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.8 Log: Bump .Dd for r1.48. Revision Changes Path 1.49 +1 -1 src/sbin/mount_nfs/mount_nfs.8 From ceri at FreeBSD.org Tue Feb 12 01:24:12 2008 From: ceri at FreeBSD.org (Ceri Davies) Date: Tue Feb 12 01:24:15 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.8 Message-ID: <200802120924.m1C9OBsd053828@repoman.freebsd.org> ceri 2008-02-12 09:24:11 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.8 Log: Add the -4 option to the synopsis. Revision Changes Path 1.50 +1 -1 src/sbin/mount_nfs/mount_nfs.8 From raj at FreeBSD.org Tue Feb 12 03:03:29 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Tue Feb 12 03:03:33 2008 Subject: cvs commit: src/sys/dev/usb usbdi.c Message-ID: <200802121103.m1CB3TqS060825@repoman.freebsd.org> raj 2008-02-12 11:03:29 UTC FreeBSD src repository Modified files: sys/dev/usb usbdi.c Log: Eliminate BUS_DMA <-> cache incoherencies in USB transfers. With write-allocate cache we get into the following scenario: 1. data has been updated in the memory by the USB HC, but 2. D-cache holds an un-flushed value of it 3. when affected cache line is being replaced, the old (un-flushed) value is flushed and overwrites the newly arrived This is possible due to how write-allocate works with virtual caches (ARM for example). In case of USB transfers it leads to fatal tags discrepancies in umass(4) operation, which look like the following: umass0: Invalid CSW: tag 1 should be 2 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 3 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 4 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 5 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 6 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted To eliminate this, a BUS_DMASYNC_PREREAD sync operation is required in usbd_start_transfer(). Credits for nailing this down go to Grzegorz Bernacki gjb AT semihalf DOT com. Reviewed by: imp Approved by: cognet (mentor) Revision Changes Path 1.104 +2 -1 src/sys/dev/usb/usbdi.c From raj at FreeBSD.org Tue Feb 12 03:07:33 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Tue Feb 12 03:07:36 2008 Subject: cvs commit: src/sys/cam cam_periph.c Message-ID: <200802121107.m1CB7X7P061003@repoman.freebsd.org> raj 2008-02-12 11:07:33 UTC FreeBSD src repository Modified files: sys/cam cam_periph.c Log: Fix typo. Approved by: cognet (mentor) Revision Changes Path 1.70 +1 -1 src/sys/cam/cam_periph.c From jhb at FreeBSD.org Tue Feb 12 07:27:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 07:27:02 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802121527.m1CFR0bP093329@repoman.freebsd.org> jhb 2008-02-12 15:27:00 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cpu.c Log: Fix a typo when testing for the NO_C3 quirk. MFC after: 3 days Revision Changes Path 1.69 +1 -1 src/sys/dev/acpica/acpi_cpu.c From scottl at FreeBSD.org Tue Feb 12 08:24:30 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 12 08:24:33 2008 Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c src/sys/amd64/amd64 busdma_machdep.c Message-ID: <200802121624.m1CGOUca097546@repoman.freebsd.org> scottl 2008-02-12 16:24:30 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c sys/amd64/amd64 busdma_machdep.c Log: If busdma is being used to realign dynamic buffers and the alignment is set to PAGE_SIZE or less, the bounce page counting logic was flawed and wouldn't reserve any pages. Adjust to be correct. Review of other architectures is forthcoming. Submitted by: Joseph Golio Revision Changes Path 1.85 +2 -2 src/sys/amd64/amd64/busdma_machdep.c 1.91 +2 -2 src/sys/i386/i386/busdma_machdep.c From bde at FreeBSD.org Tue Feb 12 09:11:37 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 12 09:11:39 2008 Subject: cvs commit: src/lib/msun/src e_remainder.c e_remainderf.c Message-ID: <200802121711.m1CHBbsq009593@repoman.freebsd.org> bde 2008-02-12 17:11:36 UTC FreeBSD src repository Modified files: lib/msun/src e_remainder.c e_remainderf.c Log: Fix remainder() and remainderf() in round-towards-minus-infinity mode when the result is +-0. IEEE754 requires (in all rounding modes) that if the result is +-0 then its sign is the same as that of the first arg, but in round-towards-minus-infinity mode an uncorrected implementation detail always reversed the sign. (The detail is that x-x with x's sign positive gives -0 in this mode only, but the algorithm assumed that x-x always has positive sign for such x.) remquo() and remquof() seem to need the same fix, but I cannot test them yet. Use long doubles when mixing NaN args. This trick improves consistency of results on at least amd64, so that more serious problems like the above aren't hidden in simple regression tests by noise for the NaNs. On amd64, hardware remainder should be used since it is about 10 times faster than software remainder and is already used for remquo(), but it involves using the i387 even for floats and doubles, and the i387 does NaN mixing which is better than but inconsistent with SSE NaN mixing. Software remainder() would probably have been inconsistent with software remainderl() for the same reason if the latter existed. Signaling NaNs cause further inconsistencies on at least ia64 and i386. Use __FBSDID(). Revision Changes Path 1.11 +4 -4 src/lib/msun/src/e_remainder.c 1.8 +4 -4 src/lib/msun/src/e_remainderf.c From nate at root.org Tue Feb 12 09:23:40 2008 From: nate at root.org (Nate Lawson) Date: Tue Feb 12 09:23:44 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c In-Reply-To: <20080212152706.B2BB316A5A8@hub.freebsd.org> References: <20080212152706.B2BB316A5A8@hub.freebsd.org> Message-ID: <47B1D615.2070807@root.org> John Baldwin wrote: > jhb 2008-02-12 15:27:00 UTC > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi_cpu.c > Log: > Fix a typo when testing for the NO_C3 quirk. > > MFC after: 3 days > > Revision Changes Path > 1.69 +1 -1 src/sys/dev/acpica/acpi_cpu.c Original bug appeared in rev 1.60. Submitted by: Andriy Gapon on the freebsd-acpi mailing list -- Nate From marcel at FreeBSD.org Tue Feb 12 10:14:47 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Tue Feb 12 10:14:49 2008 Subject: cvs commit: src/sys/powerpc/include intr_machdep.h openpicreg.h openpicvar.h src/sys/powerpc/powermac hrowpic.c openpic_macio.c src/sys/powerpc/powerpc intr_machdep.c openpic.c pic_if.m src/sys/powerpc/psim openpic_iobus.c Message-ID: <200802121814.m1CIEkYt017701@repoman.freebsd.org> marcel 2008-02-12 18:14:46 UTC FreeBSD src repository Modified files: sys/powerpc/include intr_machdep.h openpicreg.h openpicvar.h sys/powerpc/powermac hrowpic.c openpic_macio.c sys/powerpc/powerpc intr_machdep.c openpic.c pic_if.m sys/powerpc/psim openpic_iobus.c Log: Add PIC support for IPIs. When registering an interrupt handler, the PIC also informs the platform at which IRQ level it can start assigning IPIs, since this can depend on the number of IRQs supported for external interrupts. Revision Changes Path 1.10 +3 -1 src/sys/powerpc/include/intr_machdep.h 1.4 +51 -20 src/sys/powerpc/include/openpicreg.h 1.7 +1 -0 src/sys/powerpc/include/openpicvar.h 1.14 +9 -1 src/sys/powerpc/powermac/hrowpic.c 1.11 +1 -0 src/sys/powerpc/powermac/openpic_macio.c 1.15 +1 -1 src/sys/powerpc/powerpc/intr_machdep.c 1.17 +71 -36 src/sys/powerpc/powerpc/openpic.c 1.5 +5 -0 src/sys/powerpc/powerpc/pic_if.m 1.8 +1 -0 src/sys/powerpc/psim/openpic_iobus.c From jhb at FreeBSD.org Tue Feb 12 11:13:29 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:13:58 2008 Subject: cvs commit: src/sys/i386/isa clock.c Message-ID: <200802121913.m1CJDTXe022220@repoman.freebsd.org> jhb 2008-02-12 19:13:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/isa clock.c Log: MFC: Use cpu_spinwait() in DELAY(). Revision Changes Path 1.239.2.2 +1 -0 src/sys/i386/isa/clock.c From jhb at FreeBSD.org Tue Feb 12 11:14:01 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:14:05 2008 Subject: cvs commit: src/sys/amd64/isa clock.c src/sys/i386/isa clock.c Message-ID: <200802121914.m1CJE1fS022290@repoman.freebsd.org> jhb 2008-02-12 19:14:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/isa clock.c sys/i386/isa clock.c Log: MFC: Use cpu_spinwait() in DELAY(). Revision Changes Path 1.221.2.3 +1 -0 src/sys/amd64/isa/clock.c 1.222.2.4 +1 -0 src/sys/i386/isa/clock.c From jhb at FreeBSD.org Tue Feb 12 11:15:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:15:23 2008 Subject: cvs commit: src/sys/dev/if_ndis if_ndis.c Message-ID: <200802121915.m1CJFL18022629@repoman.freebsd.org> jhb 2008-02-12 19:15:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/if_ndis if_ndis.c Log: MFC: Use pause(9) instead of tsleep() on a stack variable. Revision Changes Path 1.124.2.2 +1 -1 src/sys/dev/if_ndis/if_ndis.c From jhb at FreeBSD.org Tue Feb 12 11:16:53 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:16:56 2008 Subject: cvs commit: src/sys/kern kern_rwlock.c Message-ID: <200802121916.m1CJGrFQ022736@repoman.freebsd.org> jhb 2008-02-12 19:16:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_rwlock.c Log: MFC: Remove a conditional that is always true. Revision Changes Path 1.28.4.3 +1 -1 src/sys/kern/kern_rwlock.c From jhb at FreeBSD.org Tue Feb 12 11:18:25 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:18:33 2008 Subject: cvs commit: src/sys/amd64/acpica madt.c src/sys/i386/acpica madt.c Message-ID: <200802121918.m1CJIPdB022929@repoman.freebsd.org> jhb 2008-02-12 19:18:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/acpica madt.c sys/i386/acpica madt.c Log: MFC: Properly handle ACPI table headers that cross a page boundary when looking for the MADT during early boot. Revision Changes Path 1.24.2.1 +7 -5 src/sys/amd64/acpica/madt.c 1.28.2.1 +7 -5 src/sys/i386/acpica/madt.c From jhb at FreeBSD.org Tue Feb 12 11:20:11 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:20:16 2008 Subject: cvs commit: src/sys/amd64/acpica madt.c src/sys/i386/acpica madt.c Message-ID: <200802121920.m1CJKASl023071@repoman.freebsd.org> jhb 2008-02-12 19:20:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/acpica madt.c sys/i386/acpica madt.c Log: MFC: Properly handle ACPI table headers that cross a page boundary when looking for the MADT during early boot. Revision Changes Path 1.16.2.5 +7 -5 src/sys/amd64/acpica/madt.c 1.19.2.5 +7 -5 src/sys/i386/acpica/madt.c From jhb at FreeBSD.org Tue Feb 12 11:22:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:23:01 2008 Subject: cvs commit: src/sbin/gpt gpt.c Message-ID: <200802121922.m1CJMwul023639@repoman.freebsd.org> jhb 2008-02-12 19:22:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/gpt gpt.c Log: MFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs. Revision Changes Path 1.16.2.3 +7 -0 src/sbin/gpt/gpt.c From jhb at FreeBSD.org Tue Feb 12 11:23:37 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 11:23:39 2008 Subject: cvs commit: src/sbin/gpt gpt.c Message-ID: <200802121923.m1CJNbxD023690@repoman.freebsd.org> jhb 2008-02-12 19:23:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/gpt gpt.c Log: MFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs. Revision Changes Path 1.10.2.5 +7 -0 src/sbin/gpt/gpt.c From marcel at FreeBSD.org Tue Feb 12 11:38:40 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Tue Feb 12 11:38:47 2008 Subject: cvs commit: src/sys/powerpc/conf NOTES Message-ID: <200802121938.m1CJceEf024263@repoman.freebsd.org> marcel 2008-02-12 19:38:39 UTC FreeBSD src repository Modified files: sys/powerpc/conf NOTES Log: There's no need to suppress option GDB. Revision Changes Path 1.12 +0 -1 src/sys/powerpc/conf/NOTES From ru at FreeBSD.org Tue Feb 12 12:09:04 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Tue Feb 12 12:09:08 2008 Subject: cvs commit: src/include unistd.h src/lib/libc/sys readlink.2 src/sys/compat/freebsd32 syscalls.master src/sys/kern syscalls.master vfs_syscalls.c src/sys/sys syscallsubr.h Message-ID: <200802122009.m1CK94Y8026959@repoman.freebsd.org> ru 2008-02-12 20:09:04 UTC FreeBSD src repository Modified files: include unistd.h lib/libc/sys readlink.2 sys/compat/freebsd32 syscalls.master sys/kern syscalls.master vfs_syscalls.c sys/sys syscallsubr.h Log: Change readlink(2)'s return type and type of the last argument to match POSIX. Prodded by: Alexey Lyashkov Revision Changes Path 1.83 +1 -1 src/include/unistd.h 1.15 +4 -4 src/lib/libc/sys/readlink.2 1.96 +2 -2 src/sys/compat/freebsd32/syscalls.master 1.237 +2 -2 src/sys/kern/syscalls.master 1.449 +3 -3 src/sys/kern/vfs_syscalls.c 1.48 +1 -1 src/sys/sys/syscallsubr.h From ru at FreeBSD.org Tue Feb 12 12:11:55 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Tue Feb 12 12:11:57 2008 Subject: cvs commit: src/sys/sys syscall.h syscall.mk sysproto.h src/sys/kern init_sysent.c syscalls.c systrace_args.c src/sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Message-ID: <200802122011.m1CKBtKO027232@repoman.freebsd.org> ru 2008-02-12 20:11:54 UTC FreeBSD src repository Modified files: sys/sys syscall.h syscall.mk sysproto.h sys/kern init_sysent.c syscalls.c systrace_args.c sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Log: Regenerate for readlink(2). Revision Changes Path 1.82 +1 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.80 +1 -1 src/sys/compat/freebsd32/freebsd32_syscall.h 1.71 +1 -1 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.81 +1 -1 src/sys/compat/freebsd32/freebsd32_sysent.c 1.233 +1 -1 src/sys/kern/init_sysent.c 1.217 +1 -1 src/sys/kern/syscalls.c 1.17 +1 -1 src/sys/kern/systrace_args.c 1.214 +1 -1 src/sys/sys/syscall.h 1.169 +1 -1 src/sys/sys/syscall.mk 1.218 +2 -2 src/sys/sys/sysproto.h From jhb at FreeBSD.org Tue Feb 12 12:17:53 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:18:02 2008 Subject: cvs commit: src Makefile Message-ID: <200802122017.m1CKHrGm028355@repoman.freebsd.org> jhb 2008-02-12 20:17:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . Makefile Log: MFC: Add a note pointing to build(7) for more info. Revision Changes Path 1.341.2.2 +2 -0 src/Makefile From jhb at FreeBSD.org Tue Feb 12 12:19:34 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:19:43 2008 Subject: cvs commit: src Makefile Message-ID: <200802122019.m1CKJYJU028448@repoman.freebsd.org> jhb 2008-02-12 20:19:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) . Makefile Log: MFC: Add a note pointing to build(7) for more info. Revision Changes Path 1.319.2.7 +2 -0 src/Makefile From jhb at FreeBSD.org Tue Feb 12 12:20:57 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:21:00 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200802122020.m1CKKuXK028741@repoman.freebsd.org> jhb 2008-02-12 20:20:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/pci pci.c Log: MFC: Relax the check for a PCI-express chipset. Revision Changes Path 1.355.2.2 +2 -5 src/sys/dev/pci/pci.c From jhb at FreeBSD.org Tue Feb 12 12:21:36 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:21:40 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200802122021.m1CKLakb028817@repoman.freebsd.org> jhb 2008-02-12 20:21:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: Relax the check for a PCI-express chipset. Revision Changes Path 1.292.2.25 +2 -5 src/sys/dev/pci/pci.c From jhb at FreeBSD.org Tue Feb 12 12:22:30 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:22:36 2008 Subject: cvs commit: src/sys/amd64/isa clock.c Message-ID: <200802122022.m1CKMUKb028879@repoman.freebsd.org> jhb 2008-02-12 20:22:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/isa clock.c Log: MFC: Use cpu_spinwait() in DELAY(). Revision Changes Path 1.234.2.2 +1 -0 src/sys/amd64/isa/clock.c From jhb at FreeBSD.org Tue Feb 12 12:27:34 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 12:27:37 2008 Subject: cvs commit: src/sbin/gpt gpt.8 migrate.c show.c Message-ID: <200802122027.m1CKRXML029132@repoman.freebsd.org> jhb 2008-02-12 20:27:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/gpt gpt.8 migrate.c show.c Log: MFC: Add ZFS support. Revision Changes Path 1.17.2.2 +2 -2 src/sbin/gpt/gpt.8 1.16.2.1 +7 -0 src/sbin/gpt/migrate.c 1.14.2.2 +3 -0 src/sbin/gpt/show.c From marius at alchemy.franken.de Tue Feb 12 12:40:01 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Tue Feb 12 12:40:06 2008 Subject: cvs commit: src/sys/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c In-Reply-To: <31A282DF-2A1F-47BE-94E8-BD8ACA03D8C5@mac.com> References: <200802112140.m1BLeM33072030@repoman.freebsd.org> <31A282DF-2A1F-47BE-94E8-BD8ACA03D8C5@mac.com> Message-ID: <20080212200651.GB1203@alchemy.franken.de> On Mon, Feb 11, 2008 at 01:58:19PM -0800, Marcel Moolenaar wrote: > > On Feb 11, 2008, at 1:40 PM, Marius Strobl wrote: > > >marius 2008-02-11 21:40:22 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/conf files.sparc64 > > sys/sparc64/include md_var.h > > Added files: > > sys/sparc64/sparc64 ata_machdep.c > > Log: > > The Sun disk label only uses 16-bit fields for cylinders, heads and > > sectors so the geometry of large IDE disks has to be adjusted. > > Would support for VTOC16 help with this? > I don't know; I thought Solaris only uses VTOCs in addition to Sun disk labels, though I have no idea what VTOC16 in particular is. Anyway, the idea was to be compatible with Solaris as far as it makes sense and Solaris already fakes the geometry of IDE disks at the device driver level so the disk label uses the faked geometry regardless of the label format. Marius From csjp at FreeBSD.org Tue Feb 12 12:55:04 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 12 12:55:08 2008 Subject: cvs commit: src/sys/sys ipc.h shm.h src/sys/kern sysv_shm.c Message-ID: <200802122055.m1CKt4oL044057@repoman.freebsd.org> csjp 2008-02-12 20:55:04 UTC FreeBSD src repository Modified files: sys/sys ipc.h shm.h sys/kern sysv_shm.c Log: Make sure we restrict Linux only IPC calls from being executed through the FreeBSD ABI. IPC_INFO, SHM_INFO, SHM_STAT were added specifically for Linux binary support. They are not documented as being a part of the FreeBSD ABI, also, the structures necessary for them have been hidden away from the users for a long time. Also, the Linux ABI layer uses it's own structures to populate the responses back to the user to ensure that the ABI is consistent. I think there is a bit more separation work that needs to happen. Reviewed by: jhb Discussed with: jhb Discussed on: freebsd-arch@ (very briefly) MFC after: 1 month Revision Changes Path 1.113 +18 -3 src/sys/kern/sysv_shm.c 1.26 +3 -0 src/sys/sys/ipc.h 1.25 +1 -1 src/sys/sys/shm.h From marcel at FreeBSD.org Tue Feb 12 12:55:52 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Tue Feb 12 12:55:56 2008 Subject: cvs commit: src/sys/powerpc/aim machdep.c ofw_machdep.c Message-ID: <200802122055.m1CKtp1j044195@repoman.freebsd.org> marcel 2008-02-12 20:55:51 UTC FreeBSD src repository Modified files: sys/powerpc/aim machdep.c ofw_machdep.c Log: Remove SMP left-overs from NetBSD. Revision Changes Path 1.108 +3 -11 src/sys/powerpc/aim/machdep.c 1.20 +0 -1 src/sys/powerpc/aim/ofw_machdep.c From sobomax at FreeBSD.org Tue Feb 12 14:01:04 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Tue Feb 12 14:01:11 2008 Subject: cvs commit: src/sys/sys ipc.h shm.h src/sys/kern sysv_shm.c In-Reply-To: <200802122055.m1CKt4oL044057@repoman.freebsd.org> References: <200802122055.m1CKt4oL044057@repoman.freebsd.org> Message-ID: <47B212C2.2040005@FreeBSD.org> Christian S.J. Peron wrote: > csjp 2008-02-12 20:55:04 UTC > > FreeBSD src repository > > Modified files: > sys/sys ipc.h shm.h > sys/kern sysv_shm.c > Log: > Make sure we restrict Linux only IPC calls from being executed > through the FreeBSD ABI. IPC_INFO, SHM_INFO, SHM_STAT were added > specifically for Linux binary support. They are not documented > as being a part of the FreeBSD ABI, also, the structures necessary > for them have been hidden away from the users for a long time. > > Also, the Linux ABI layer uses it's own structures to populate the > responses back to the user to ensure that the ABI is consistent. > > I think there is a bit more separation work that needs to happen. > > Reviewed by: jhb > Discussed with: jhb > Discussed on: freebsd-arch@ (very briefly) > MFC after: 1 month Just curious why not make those functions available via FreeBSD API instead by properly advertising them in the documentation? From my completely ignorant point of view it should make it easier to port a software that has been created on Linux, which is always a Good Thing[tm]. -Maxim From csjp at FreeBSD.org Tue Feb 12 14:09:26 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Feb 12 14:09:28 2008 Subject: cvs commit: src/sys/sys ipc.h shm.h src/sys/kern sysv_shm.c In-Reply-To: <47B212C2.2040005@FreeBSD.org> References: <200802122055.m1CKt4oL044057@repoman.freebsd.org> <47B212C2.2040005@FreeBSD.org> Message-ID: <20080212220924.GA29263@sub.vaned.net> On Tue, Feb 12, 2008 at 01:42:26PM -0800, Maxim Sobolev wrote: [..] > > Just curious why not make those functions available via FreeBSD API > instead by properly advertising them in the documentation? From my > completely ignorant point of view it should make it easier to port a > software that has been created on Linux, which is always a Good Thing[tm]. > > -Maxim That is a possibility, but for now, we do not want to support them as standard BSD APIs. It's probably worth noting that not very many things use them at the moment in Linux, and I wouldn't be surprised if they are deprecated all together in favour of procfs, here an excert from the Linux man page: NOTES The IPC_INFO, SHM_STAT and SHM_INFO operations are used by the ipcs(8) program to provide information on allocated resources. In the future these may modified or moved to a /proc file system interface. So I am really not sure how much value there would be. From emaste at FreeBSD.org Tue Feb 12 14:27:28 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Tue Feb 12 14:27:30 2008 Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200802122227.m1CMRSWW054990@repoman.freebsd.org> emaste 2008-02-12 22:27:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/net if_ethersubr.c Log: MFC revisions 1.232 and 1.236: Remove DIAG code that discards oversized packets. There has been general consensus that this was a bad idea Revision Changes Path 1.177.2.14 +0 -11 src/sys/net/if_ethersubr.c From jhb at freebsd.org Tue Feb 12 15:05:29 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Feb 12 15:05:39 2008 Subject: cvs commit: src/sys/sys ipc.h shm.h src/sys/kern sysv_shm.c In-Reply-To: <47B212C2.2040005@FreeBSD.org> References: <200802122055.m1CKt4oL044057@repoman.freebsd.org> <47B212C2.2040005@FreeBSD.org> Message-ID: <200802121714.57708.jhb@freebsd.org> On Tuesday 12 February 2008 04:42:26 pm Maxim Sobolev wrote: > Christian S.J. Peron wrote: > > csjp 2008-02-12 20:55:04 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/sys ipc.h shm.h > > sys/kern sysv_shm.c > > Log: > > Make sure we restrict Linux only IPC calls from being executed > > through the FreeBSD ABI. IPC_INFO, SHM_INFO, SHM_STAT were added > > specifically for Linux binary support. They are not documented > > as being a part of the FreeBSD ABI, also, the structures necessary > > for them have been hidden away from the users for a long time. > > > > Also, the Linux ABI layer uses it's own structures to populate the > > responses back to the user to ensure that the ABI is consistent. > > > > I think there is a bit more separation work that needs to happen. > > > > Reviewed by: jhb > > Discussed with: jhb > > Discussed on: freebsd-arch@ (very briefly) > > MFC after: 1 month > > Just curious why not make those functions available via FreeBSD API > instead by properly advertising them in the documentation? From my > completely ignorant point of view it should make it easier to port a > software that has been created on Linux, which is always a Good Thing[tm]. The only thing Linux uses it for is to implement ipcs(8). Our current ipcs(8) still grubs around in kvm directly. I think a good idea would be to look at enabling these after the SYSV IPC ABI has settled from all the upcoming changes and use them (or sysctls) to replace the use of kvm on live kernels for ipcs and ipcrm. -- John Baldwin From jhb at FreeBSD.org Tue Feb 12 16:04:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Feb 12 16:05:06 2008 Subject: cvs commit: src/sys/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.h Message-ID: <200802130004.m1D04wRo065416@repoman.freebsd.org> jhb 2008-02-13 00:04:58 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.h Log: Consolidate the code to generate a new XID for a NFS request into a nfs_xid_gen() function instead of duplicating the logic in both nfsm_rpchead() and the NFS3ERR_JUKEBOX handling in nfs_request(). MFC after: 1 week Submitted by: mohans (a long while ago) Revision Changes Path 1.158 +1 -8 src/sys/nfsclient/nfs_socket.c 1.152 +23 -14 src/sys/nfsclient/nfs_subs.c 1.38 +1 -0 src/sys/nfsclient/nfsm_subs.h From obrien at FreeBSD.org Tue Feb 12 21:12:06 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Feb 12 21:12:07 2008 Subject: cvs commit: src/lib/libthr/arch/arm/include pthread_md.h src/lib/libthr/arch/sparc64/include pthread_md.h Message-ID: <200802130512.m1D5C5tM011261@repoman.freebsd.org> obrien 2008-02-13 05:12:05 UTC FreeBSD src repository Modified files: lib/libthr/arch/arm/include pthread_md.h lib/libthr/arch/sparc64/include pthread_md.h Log: style(9) Revision Changes Path 1.5 +3 -3 src/lib/libthr/arch/arm/include/pthread_md.h 1.3 +3 -3 src/lib/libthr/arch/sparc64/include/pthread_md.h From obrien at FreeBSD.org Tue Feb 12 21:25:44 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Feb 12 21:25:46 2008 Subject: cvs commit: src/lib/libthr/arch/amd64 Makefile.inc src/lib/libthr/arch/arm Makefile.inc src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/ia64 Makefile.inc src/lib/libthr/arch/powerpc Makefile.inc src/lib/libthr/arch/sparc64 Makefile.inc Message-ID: <200802130525.m1D5PhVv012766@repoman.freebsd.org> obrien 2008-02-13 05:25:43 UTC FreeBSD src repository Modified files: lib/libthr/arch/amd64 Makefile.inc lib/libthr/arch/arm Makefile.inc lib/libthr/arch/i386 Makefile.inc lib/libthr/arch/ia64 Makefile.inc lib/libthr/arch/powerpc Makefile.inc lib/libthr/arch/sparc64 Makefile.inc Log: style.Makefile(5) Revision Changes Path 1.3 +1 -1 src/lib/libthr/arch/amd64/Makefile.inc 1.3 +1 -1 src/lib/libthr/arch/arm/Makefile.inc 1.3 +1 -1 src/lib/libthr/arch/i386/Makefile.inc 1.3 +1 -1 src/lib/libthr/arch/ia64/Makefile.inc 1.3 +1 -1 src/lib/libthr/arch/powerpc/Makefile.inc 1.4 +1 -1 src/lib/libthr/arch/sparc64/Makefile.inc From bde at FreeBSD.org Tue Feb 12 22:01:49 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 12 22:01:57 2008 Subject: cvs commit: src/lib/msun/amd64 Makefile.inc e_remainder.S e_remainderf.S Message-ID: <200802130601.m1D61nGe016311@repoman.freebsd.org> bde 2008-02-13 06:01:49 UTC FreeBSD src repository Modified files: lib/msun/amd64 Makefile.inc Added files: lib/msun/amd64 e_remainder.S e_remainderf.S Log: Use hardware remainder on amd64 since it is 5 to 10 times faster than software remainder and is already used for remquo(). Revision Changes Path 1.8 +2 -1 src/lib/msun/amd64/Makefile.inc 1.1 +53 -0 src/lib/msun/amd64/e_remainder.S (new) 1.1 +23 -0 src/lib/msun/amd64/e_remainderf.S (new) From brueffer at FreeBSD.org Wed Feb 13 00:09:56 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Wed Feb 13 00:10:00 2008 Subject: cvs commit: src/share/man/man4 mxge.4 Message-ID: <200802130809.m1D89tsa026898@repoman.freebsd.org> brueffer 2008-02-13 08:09:55 UTC FreeBSD src repository Modified files: share/man/man4 mxge.4 Log: - mention new firmware images used in multi-slice mode - mention LRO support - describe multi-slice related tunables. - correct DIAGNOSTICS section to reflect that missing firmware is non-fatal. Submitted by: gallatin Revision Changes Path 1.9 +40 -4 src/share/man/man4/mxge.4 From bde at FreeBSD.org Wed Feb 13 00:36:14 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 00:36:19 2008 Subject: cvs commit: src/lib/msun/src s_exp2f.c Message-ID: <200802130836.m1D8aEjC028776@repoman.freebsd.org> bde 2008-02-13 08:36:13 UTC FreeBSD src repository Modified files: lib/msun/src s_exp2f.c Log: Rearrange the polynomial evaluation for better parallelism. This is faster on all machines tested (old Celeron (P2), A64 (amd64 and i386) and ia64) except on ia64 when compiled with -O1. It takes 2 more multiplications, so it will be slower on old machines. The speedup is about 8 cycles = 17% on A64 (amd64 and i386) with best CFLAGS and some parallelism in the caller. Move the evaluation of 2**k up a bit so that it doesn't compete too much with the new polynomial evaluation. Unlike the previous optimization, this rearrangement cannot change the result, so compilers and CPU schedulers can do it, but they don't do it quite right yet. This saves a whole 1 or 2 cycles on A64. Revision Changes Path 1.7 +4 -3 src/lib/msun/src/s_exp2f.c From Helge.Oldach at atosorigin.com Wed Feb 13 01:07:15 2008 From: Helge.Oldach at atosorigin.com (Helge.Oldach@atosorigin.com) Date: Wed Feb 13 01:07:21 2008 Subject: cvs commit: src/sys/amd64/isa clock.c src/sys/i386/isa clock.c References: <200802121914.m1CJE1fS022290@repoman.freebsd.org> Message-ID: <39AFDF50473FED469B15B6DFF2262F7A039785A9@DEHHX001.deuser.de.intra> John Baldwin wrote on Tuesday, February 12, 2008 8:14 PM: > jhb 2008-02-12 19:14:01 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/amd64/isa clock.c > sys/i386/isa clock.c > Log: > MFC: Use cpu_spinwait() in DELAY(). > > Revision Changes Path > 1.221.2.3 +1 -0 src/sys/amd64/isa/clock.c > 1.222.2.4 +1 -0 src/sys/i386/isa/clock.c In that case you should also MFC a part of rev. 1.226: #include otherwise: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/i386/isa/clock.c /usr/src/sys/i386/isa/clock.c: In function `DELAY': /usr/src/sys/i386/isa/clock.c:301: warning: implicit declaration of function `cpu_spinwait' /usr/src/sys/i386/isa/clock.c:301: warning: nested extern declaration of `cpu_spinwait' *** Error code 1 Stop in /usr/obj/usr/src/sys/HMO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123, D-45001 Essen Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37 Gesch?ftsf?hrer: Wilbert Kieboom, Peter 't Jong, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238 From brueffer at FreeBSD.org Wed Feb 13 01:50:38 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Wed Feb 13 01:50:43 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802130950.m1D9ocli043478@repoman.freebsd.org> brueffer 2008-02-13 09:50:37 UTC FreeBSD src repository Modified files: share/man/man9 Makefile Log: Remove dublicate MLINK. Submitted by: David Naylor Revision Changes Path 1.325 +0 -1 src/share/man/man9/Makefile From bde at FreeBSD.org Wed Feb 13 02:44:45 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 02:44:47 2008 Subject: cvs commit: src/lib/msun/src s_exp2.c s_exp2f.c src/lib/msun/ld128 s_exp2l.c src/lib/msun/ld80 s_exp2l.c Message-ID: <200802131044.m1DAijwH055356@repoman.freebsd.org> bde 2008-02-13 10:44:45 UTC FreeBSD src repository Modified files: lib/msun/src s_exp2f.c s_exp2.c lib/msun/ld128 s_exp2l.c lib/msun/ld80 s_exp2l.c Log: Fix exp2*(x) on signaling NaNs by returning x+x as usual. This has the side effect of confusing gcc-4.2.1's optimizer into more often doing the right thing. When it does the wrong thing here, it seems to be mainly making too many copies of x with dependency chains. This effect is tiny on amd64, but in some cases on i386 it is enormous. E.g., on i386 (A64) with -O1, the current version of exp2() should take about 50 cycles, but took 83 cycles before this change and 66 cycles after this change. exp2f() with -O1 only speeded up from 51 to 47 cycles. (exp2f() should take about 40 cycles, on an Athlon in either i386 or amd64 mode, and now takes 42 on amd64). exp2l() with -O1 slowed down from 155 cycles to 123 for some args; this is unimportant since the i386 exp2l() is a fake; the wrong thing for it seems to involve branch misprediction. Revision Changes Path 1.3 +1 -1 src/lib/msun/ld128/s_exp2l.c 1.3 +1 -1 src/lib/msun/ld80/s_exp2l.c 1.6 +1 -1 src/lib/msun/src/s_exp2.c 1.8 +1 -1 src/lib/msun/src/s_exp2f.c From attilio at FreeBSD.org Wed Feb 13 05:02:14 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Feb 13 05:02:22 2008 Subject: cvs commit: src/sys/fs/ntfs ntfs_subr.c Message-ID: <200802131302.m1DD2CsR075035@repoman.freebsd.org> attilio 2008-02-13 13:02:12 UTC FreeBSD src repository Modified files: sys/fs/ntfs ntfs_subr.c Log: Fix a lock leak in the ntfs locking scheme: When ntfs_ntput() reaches 0 in the refcount the inode lockmgr is not released and directly destroyed. Fix this by unlocking the lockmgr() even in the case of zero-refcount. Reported by: dougb, yar, Scot Hetzel Submitted by: yar Revision Changes Path 1.45 +1 -1 src/sys/fs/ntfs/ntfs_subr.c From rwatson at FreeBSD.org Wed Feb 13 05:06:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 05:06:30 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_psdev.c coda_subr.c coda_subr.h coda_vnops.c coda_vnops.h src/sys/modules/coda Makefile Message-ID: <200802131306.m1DD6MtO076405@repoman.freebsd.org> rwatson 2008-02-13 13:06:22 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_psdev.c coda_subr.c coda_subr.h coda_vnops.c coda_vnops.h sys/modules/coda Makefile Log: Rather than having the Coda module use its own namecache, use the global VFS namecache, as is done by the Coda module on Linux. Unlike the Coda namecache, the global VFS namecache isn't tagged by credential, so use ore conservative flushing behavior (for now) when CODA_PURGEUSER is issued by Venus. This improves overall integration with the FreeBSD VFS, including allowing __getcwd() to work better, procfs/procstat monitoring, and so on. This improves shell behavior in many cases, and improves ".." handling. It may lead to some slowdown until we've implemented a specific access cache, which should net improve performance, but in the mean time, lookup access control now always goes to Venus, whereas previously it didn't. MFC after: 1 month Revision Changes Path 1.26 +2 -1 src/sys/fs/coda/cnode.h 1.44 +5 -20 src/sys/fs/coda/coda_psdev.c 1.36 +30 -17 src/sys/fs/coda/coda_subr.c 1.12 +1 -1 src/sys/fs/coda/coda_subr.h 1.94 +75 -127 src/sys/fs/coda/coda_vnops.c 1.24 +1 -1 src/sys/fs/coda/coda_vnops.h 1.18 +2 -3 src/sys/modules/coda/Makefile From rwatson at FreeBSD.org Wed Feb 13 05:26:02 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 05:26:04 2008 Subject: cvs commit: src/sys/fs/coda coda_namecache.c coda_namecache.h Message-ID: <200802131326.m1DDQ1Vt078182@repoman.freebsd.org> rwatson 2008-02-13 13:26:01 UTC FreeBSD src repository Removed files: sys/fs/coda coda_namecache.c coda_namecache.h Log: Remove now-unused Coda namecache. MFC after: 1 month Revision Changes Path 1.26 +0 -700 src/sys/fs/coda/coda_namecache.c (dead) 1.15 +0 -205 src/sys/fs/coda/coda_namecache.h (dead) From rafan at FreeBSD.org Wed Feb 13 06:34:41 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Wed Feb 13 06:34:49 2008 Subject: cvs commit: src/lib/ncurses/ncurses Makefile Message-ID: <200802131434.m1DEYfMP086677@repoman.freebsd.org> rafan 2008-02-13 14:34:39 UTC FreeBSD src repository Modified files: lib/ncurses/ncurses Makefile Log: - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove the one links to curs_terminfo. Submitted by: David Naylor MFC after: 3 days Revision Changes Path 1.96 +0 -1 src/lib/ncurses/ncurses/Makefile From bde at FreeBSD.org Wed Feb 13 07:22:53 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 07:22:59 2008 Subject: cvs commit: src/lib/msun/src s_ceill.c Message-ID: <200802131522.m1DFMrHk091114@repoman.freebsd.org> bde 2008-02-13 15:22:53 UTC FreeBSD src repository Modified files: lib/msun/src s_ceill.c Log: Fix the C version of ceill(x) for -1 < x <= -0 in all rounding modes. The result should be -0, but was +0. Revision Changes Path 1.5 +1 -1 src/lib/msun/src/s_ceill.c From jhb at FreeBSD.org Wed Feb 13 07:23:31 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 07:23:37 2008 Subject: cvs commit: src/sys/sys disklabel.h Message-ID: <200802131523.m1DFNVMB091172@repoman.freebsd.org> jhb 2008-02-13 15:23:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys disklabel.h Log: MFC 1.108 and 1.109: Sync filesystem types with NetBSD and add a type for ZFS. This should fix the build of gpt(8). Pointy hat: jhb Revision Changes Path 1.108.2.1 +16 -2 src/sys/sys/disklabel.h From rwatson at FreeBSD.org Wed Feb 13 07:45:12 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 07:45:33 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_subr.c coda_vnops.c Message-ID: <200802131545.m1DFjCq0092390@repoman.freebsd.org> rwatson 2008-02-13 15:45:12 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_subr.c coda_vnops.c Log: Implement a rudimentary access cache for the Coda kernel module, modeled on the access cache found in NFS, smbfs, and the Linux coda module. This is a positive access cache of a single entry per file, tracking recently granted rights, but unlike NFS and smbfs, supporting explicit invalidation by the distributed file system. For each cnode, maintain a C_ACCCACHE flag indicating the validity of the cache, and a cached uid and mode tracking recently granted positive access control decisions. Prefer the cache to venus_access() in VOP_ACCESS() if it is valid, and when we must fall back to venus_access(), update the cache. Allow Venus to clear the access cache, either the whole cache on CODA_FLUSH, or just entries for a specific uid on CODA_PURGEUSER. Unlike the Coda module on Linux, we don't flush all entries on a user purge using a generation number, we instead walk present cnodes and clear only entries for the specific user, meaning it is somewhat more expensive but won't hit all users. Since the Coda module is agressive about not keeping around unopened cnodes, the utility of the cache is somewhat limited for files, but works will for directories. We should make Coda less agressive about GCing cnodes in VOP_INACTIVE() in order to improve the effectiveness of in-kernel caching of attributes and access rights. MFC after: 1 month Revision Changes Path 1.27 +4 -0 src/sys/fs/coda/cnode.h 1.37 +63 -8 src/sys/fs/coda/coda_subr.c 1.95 +51 -21 src/sys/fs/coda/coda_vnops.c From jhb at FreeBSD.org Wed Feb 13 07:46:10 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 07:46:21 2008 Subject: cvs commit: src/sys/amd64/isa clock.c src/sys/i386/isa clock.c Message-ID: <200802131546.m1DFkA88092524@repoman.freebsd.org> jhb 2008-02-13 15:46:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/isa clock.c sys/i386/isa clock.c Log: Add missing #include for cpu_spinwait(). Pointy hat: jhb Revision Changes Path 1.221.2.4 +1 -0 src/sys/amd64/isa/clock.c 1.222.2.5 +1 -0 src/sys/i386/isa/clock.c From rwatson at FreeBSD.org Wed Feb 13 08:15:47 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 08:15:49 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200802131615.m1DGFlx5095842@repoman.freebsd.org> rwatson 2008-02-13 16:15:47 UTC FreeBSD src repository Modified files: sys/conf files Log: Remove coda_namecache from "options vcoda", it is no longer required. MFC after: 1 month Spotted by: Tinderbox Revision Changes Path 1.1268 +0 -1 src/sys/conf/files From rwatson at FreeBSD.org Wed Feb 13 08:31:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 08:31:34 2008 Subject: cvs commit: src/sys/modules/coda5 Makefile Message-ID: <200802131631.m1DGV4pW096494@repoman.freebsd.org> rwatson 2008-02-13 16:31:04 UTC FreeBSD src repository Modified files: sys/modules/coda5 Makefile Log: Remove coda_namecache from coda5 as well. We should probably GC coda5 entirely at this point as coda6 is considered the supported branch. MFC after: 1 month Revision Changes Path 1.9 +1 -1 src/sys/modules/coda5/Makefile From remko at FreeBSD.org Wed Feb 13 08:41:28 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Feb 13 08:41:54 2008 Subject: cvs commit: src/sys/kern init_main.c Message-ID: <200802131641.m1DGfRiC097004@repoman.freebsd.org> remko 2008-02-13 16:41:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern init_main.c Log: MFC rev 1.264 init_main.c The VERBOSE_SYSINIT stuff sees the DDB define a lot better if we include opt_ddb.h. Spotted by: benno Pointy hat to: benno Approved by: imp (mentor) PR: kern/119288 Submitted by: "Dan Lukes" Revision Changes Path 1.256.2.7 +1 -0 src/sys/kern/init_main.c From bde at FreeBSD.org Wed Feb 13 08:56:53 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 08:57:02 2008 Subject: cvs commit: src/lib/msun/src s_ceill.c s_floorl.c s_truncl.c src/lib/msun Makefile Message-ID: <200802131656.m1DGurGG006691@repoman.freebsd.org> bde 2008-02-13 16:56:52 UTC FreeBSD src repository Modified files: lib/msun/src s_ceill.c s_floorl.c s_truncl.c lib/msun Makefile Log: On arches where long double is the same as double, alias ceil(), floor() and trunc() to the corresponding long double functions. This is not just an optimization for these arches. The full long double functions have a wrong value for `huge', and the arches without full long doubles depended on it being wrong. Revision Changes Path 1.87 +7 -6 src/lib/msun/Makefile 1.6 +4 -0 src/lib/msun/src/s_ceill.c 1.5 +4 -0 src/lib/msun/src/s_floorl.c 1.6 +4 -0 src/lib/msun/src/s_truncl.c From jhb at FreeBSD.org Wed Feb 13 08:57:58 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 08:58:07 2008 Subject: cvs commit: src/sys/net route.c Message-ID: <200802131657.m1DGvweD006794@repoman.freebsd.org> jhb 2008-02-13 16:57:58 UTC FreeBSD src repository Modified files: sys/net route.c Log: Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on the 'rt' route in rtredirect() as 'rt' is always locked. MFC after: 1 week PR: kern/117913 Submitted by: Stefan Lambrev stefan.lambrev of moneybookers.com Revision Changes Path 1.126 +1 -1 src/sys/net/route.c From bde at FreeBSD.org Wed Feb 13 09:38:17 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 09:38:24 2008 Subject: cvs commit: src/lib/msun/src s_ceill.c s_floorl.c s_truncl.c Message-ID: <200802131738.m1DHcHJe013140@repoman.freebsd.org> bde 2008-02-13 17:38:17 UTC FreeBSD src repository Modified files: lib/msun/src s_ceill.c s_floorl.c s_truncl.c Log: s_ceill.c s_floorl.c s_truncl.c Revision Changes Path 1.7 +2 -3 src/lib/msun/src/s_ceill.c 1.6 +2 -3 src/lib/msun/src/s_floorl.c 1.7 +2 -3 src/lib/msun/src/s_truncl.c From bde at FreeBSD.org Wed Feb 13 10:16:44 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Wed Feb 13 10:16:49 2008 Subject: cvs commit: src/lib/msun/src s_ceill.c s_floorl.c s_truncl.c Message-ID: <200802131816.m1DIGhAE020075@repoman.freebsd.org> bde 2008-02-13 18:16:43 UTC FreeBSD src repository Modified files: lib/msun/src s_ceill.c s_floorl.c s_truncl.c Log: Forced commit to note that the lost log message for the previous commit said that the previous commit was almost a null forced commit too. It just converted to __FBSDID(). I was going to change `huge' from its double precision value of 1e300, but that seems to be unnecessary since `huge' is only used to set FE_INEXACT, and any value with an exponent larger than LDBL_MANT_DIG will do for that, while initializing a really huge value in a portable way would require more code. Revision Changes Path 1.8 +0 -0 src/lib/msun/src/s_ceill.c 1.7 +0 -0 src/lib/msun/src/s_floorl.c 1.8 +0 -0 src/lib/msun/src/s_truncl.c From brueffer at FreeBSD.org Wed Feb 13 10:32:45 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Wed Feb 13 10:32:54 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802131832.m1DIWjRf021057@repoman.freebsd.org> brueffer 2008-02-13 18:32:45 UTC FreeBSD src repository Modified files: share/man/man4 hptrr.4 Log: The hptrr driver first appeared in 6.3, not 5.3. PR: 120616 Submitted by: Josh Paetzel MFC after: 3 days Revision Changes Path 1.3 +1 -1 src/share/man/man4/hptrr.4 From rwatson at FreeBSD.org Wed Feb 13 11:50:29 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 11:50:34 2008 Subject: cvs commit: src/sys/fs/coda coda_subr.c Message-ID: <200802131950.m1DJoSrX031749@repoman.freebsd.org> rwatson 2008-02-13 19:50:17 UTC FreeBSD src repository Modified files: sys/fs/coda coda_subr.c Log: Update cache flushing behavior in light of recent namecache and access cache improvements: - Flush just access control state on CODA_PURGEUSER, not the full namecache for /coda. - When replacing a fid on a cnode as a result of, e.g., reintegration after offline operation, we no longer need to purge the namecache entries associated with its vnode. MFC after: 1 month Revision Changes Path 1.38 +0 -7 src/sys/fs/coda/coda_subr.c From attilio at FreeBSD.org Wed Feb 13 12:44:21 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Feb 13 12:44:24 2008 Subject: cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_buf.c src/sys/kern kern_lock.c vfs_bio.c src/sys/nfs4client nfs4_vnops.c src/sys/nfsclient nfs_vnops.c src/sys/sys buf.h lock.h lockmgr.h Message-ID: <200802132044.m1DKiKXT036480@repoman.freebsd.org> attilio 2008-02-13 20:44:19 UTC FreeBSD src repository Modified files: sys/gnu/fs/xfs/FreeBSD xfs_buf.c sys/kern kern_lock.c vfs_bio.c sys/nfs4client nfs4_vnops.c sys/nfsclient nfs_vnops.c sys/sys buf.h lock.h lockmgr.h Log: - Add real assertions to lockmgr locking primitives. A couple of notes for this: * WITNESS support, when enabled, is only used for shared locks in order to avoid problems with the "disowned" locks * KA_HELD and KA_UNHELD only exists in the lockmgr namespace in order to assert for a generic thread (not curthread) owning or not the lock. Really, this kind of check is bogus but it seems very widespread in the consumers code. So, for the moment, we cater this untrusted behaviour, until the consumers are not fixed and the options could be removed (hopefully during 8.0-CURRENT lifecycle) * Implementing KA_HELD and KA_UNHELD (not surported natively by WITNESS) made necessary the introduction of LA_MASKASSERT which specifies the range for default lock assertion flags * About other aspects, lockmgr_assert() follows exactly what other locking primitives offer about this operation. - Build real assertions for buffer cache locks on the top of lockmgr_assert(). They can be used with the BUF_ASSERT_*(bp) paradigm. - Add checks at lock destruction time and use a cookie for verifying lock integrity at any operation. - Redefine BUF_LOCKFREE() in order to not use a direct assert but let it rely on the aforementioned destruction time check. KPI results evidently broken, so __FreeBSD_version bumping and manpage update result necessary and will be committed soon. Side note: lockmgr_assert() will be used soon in order to implement real assertions in the vnode namespace replacing the legacy and still bogus "VOP_ISLOCKED()" way. Tested by: kris (earlier version) Reviewed by: jhb Revision Changes Path 1.4 +3 -5 src/sys/gnu/fs/xfs/FreeBSD/xfs_buf.c 1.124 +117 -28 src/sys/kern/kern_lock.c 1.536 +11 -13 src/sys/kern/vfs_bio.c 1.41 +2 -3 src/sys/nfs4client/nfs4_vnops.c 1.281 +2 -3 src/sys/nfsclient/nfs_vnops.c 1.200 +27 -6 src/sys/sys/buf.h 1.71 +1 -0 src/sys/sys/lock.h 1.62 +24 -0 src/sys/sys/lockmgr.h From cperciva at FreeBSD.org Wed Feb 13 12:46:24 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Wed Feb 13 12:46:27 2008 Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200802132046.m1DKkN9h036628@repoman.freebsd.org> cperciva 2008-02-13 20:46:23 UTC FreeBSD src repository Modified files: usr.sbin/portsnap/phttpget phttpget.c Log: Improve conformance to the HTTP specification by using case-insensitive comparisons for header keywords. Apparently some proxies use creative capitalization. Weird proxy found by: brooks MFC after: 3 days Revision Changes Path 1.13 +6 -6 src/usr.sbin/portsnap/phttpget/phttpget.c From attilio at FreeBSD.org Wed Feb 13 12:59:29 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Feb 13 12:59:32 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802132059.m1DKxTP8046014@repoman.freebsd.org> attilio 2008-02-13 20:59:29 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version after the introduction of: - lockmgr_assert() - BUF_ASSERT_*() family functions which enriched the KPI. Revision Changes Path 1.334 +1 -1 src/sys/sys/param.h From jhb at FreeBSD.org Wed Feb 13 13:34:06 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 13:34:15 2008 Subject: cvs commit: src/sys/kern kern_module.c src/sys/sys module.h Message-ID: <200802132134.m1DLY6cf049740@repoman.freebsd.org> jhb 2008-02-13 21:34:06 UTC FreeBSD src repository Modified files: sys/kern kern_module.c sys/sys module.h Log: Add an automatic kernel module version dependency to prevent loading modules using invalid ABI versions (e.g. a 7.x module with an 8.x kernel) for a given kernel: - Add a 'kernel' module version whose value is __FreeBSD_version. - Add a version dependency on 'kernel' in every module that has an acceptable version range of __FreeBSD_version up to the end of the branch __FreeBSD_version is part of. E.g. a module compiled on 701000 would work on kernels with versions between 701000 and 799999 inclusive. Discussed on: arch@ MFC after: 1 week Revision Changes Path 1.54 +2 -0 src/sys/kern/kern_module.c 1.23 +13 -0 src/sys/sys/module.h From attilio at FreeBSD.org Wed Feb 13 13:54:16 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Feb 13 13:54:22 2008 Subject: cvs commit: src/share/man/man9 Makefile lock.9 Message-ID: <200802132154.m1DLsGF3050685@repoman.freebsd.org> attilio 2008-02-13 21:54:16 UTC FreeBSD src repository Modified files: share/man/man9 Makefile lock.9 Log: Update manpage with lockmgr_assert() description. Revision Changes Path 1.326 +2 -2 src/share/man/man9/Makefile 1.24 +71 -2 src/share/man/man9/lock.9 From gallatin at FreeBSD.org Wed Feb 13 13:58:47 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Wed Feb 13 13:58:49 2008 Subject: cvs commit: src/sys/dev/mxge rss_eth_z8e.h rss_ethp_z8e.h Message-ID: <200802132158.m1DLwkvT050881@repoman.freebsd.org> gallatin 2008-02-13 21:58:46 UTC FreeBSD src repository Modified files: sys/dev/mxge rss_eth_z8e.h rss_ethp_z8e.h Log: Make the type of the firmware arrays match those in the other eth*_z8e.h files. Revision Changes Path 1.2 +3 -3 src/sys/dev/mxge/rss_eth_z8e.h 1.2 +3 -3 src/sys/dev/mxge/rss_ethp_z8e.h From jhb at FreeBSD.org Wed Feb 13 15:33:51 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 15:33:56 2008 Subject: cvs commit: src/sys/kern kern_mutex.c Message-ID: <200802132333.m1DNXokI060695@repoman.freebsd.org> jhb 2008-02-13 23:33:50 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c Log: Add a couple of assertions and KTR logging to thread_lock_flags() to match mtx_lock_spin_flags(). MFC after: 1 week Revision Changes Path 1.204 +7 -1 src/sys/kern/kern_mutex.c From jhb at FreeBSD.org Wed Feb 13 15:36:57 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 15:37:00 2008 Subject: cvs commit: src/sys/kern subr_sleepqueue.c Message-ID: <200802132336.m1DNauOY060920@repoman.freebsd.org> jhb 2008-02-13 23:36:56 UTC FreeBSD src repository Modified files: sys/kern subr_sleepqueue.c Log: Mark sleepqueue chain spin mutexes are recursable since the sleepq code now recurses on them in sleepq_broadcast() and sleepq_signal() when resuming threads that are fully asleep. MFC after: 1 week Revision Changes Path 1.45 +1 -1 src/sys/kern/subr_sleepqueue.c From jhb at FreeBSD.org Wed Feb 13 15:38:09 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 15:38:13 2008 Subject: cvs commit: src/sys/dev/syscons syscons.h Message-ID: <200802132338.m1DNc8NO060984@repoman.freebsd.org> jhb 2008-02-13 23:38:08 UTC FreeBSD src repository Modified files: sys/dev/syscons syscons.h Log: Mark the syscons video spin mutex as recursable since it is currently recursed in a few places. MFC after: 1 week Revision Changes Path 1.90 +2 -1 src/sys/dev/syscons/syscons.h From jhb at FreeBSD.org Wed Feb 13 15:39:06 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 13 15:39:10 2008 Subject: cvs commit: src/sys/kern kern_mutex.c Message-ID: <200802132339.m1DNd6US061031@repoman.freebsd.org> jhb 2008-02-13 23:39:06 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c Log: Add KASSERT()'s to catch attempts to recurse on spin mutexes that aren't marked recursable either via mtx_lock_spin() or thread_lock(). MFC after: 1 week Revision Changes Path 1.205 +9 -1 src/sys/kern/kern_mutex.c From gallatin at FreeBSD.org Wed Feb 13 16:10:00 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Wed Feb 13 16:10:04 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c Message-ID: <200802140009.m1E09xIP063368@repoman.freebsd.org> gallatin 2008-02-14 00:09:59 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c Log: Add minimally invasive shims to ease MFCs of mxge back as far as RELENG_6 Sponsored by: Myricom, Inc. Revision Changes Path 1.46 +39 -10 src/sys/dev/mxge/if_mxge.c 1.19 +28 -0 src/sys/dev/mxge/if_mxge_var.h 1.7 +1 -0 src/sys/dev/mxge/mxge_lro.c From attilio at freebsd.org Wed Feb 13 16:16:14 2008 From: attilio at freebsd.org (Attilio Rao) Date: Wed Feb 13 16:16:19 2008 Subject: cvs commit: src/sys/kern kern_mutex.c In-Reply-To: <200802132333.m1DNXokI060695@repoman.freebsd.org> References: <200802132333.m1DNXokI060695@repoman.freebsd.org> Message-ID: <3bbf2fe10802131616p53b2bae2ma4bccef2d8c8fb76@mail.gmail.com> 2008/2/14, John Baldwin : > jhb 2008-02-13 23:33:50 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_mutex.c > Log: > Add a couple of assertions and KTR logging to thread_lock_flags() to > match mtx_lock_spin_flags(). As I tried to pointed out in perforce, it would not be better to check against LC_SPINLOCK (and lc_flags) instead than direct comparisons with lock_class_mtx_spin ? Attilio -- Peace can only be achieved by understanding - A. Einstein From rwatson at FreeBSD.org Wed Feb 13 16:30:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 16:30:09 2008 Subject: cvs commit: src/sys/fs/coda coda_subr.c Message-ID: <200802140030.m1E0U6EP065068@repoman.freebsd.org> rwatson 2008-02-14 00:30:06 UTC FreeBSD src repository Modified files: sys/fs/coda coda_subr.c Log: In Coda, flush the attribute cache for a cnode when its fid is changed, as its synthesized inode number may have changed and we want stat(2) to pick up the new inode number. MFC after: 1 month Revision Changes Path 1.39 +4 -1 src/sys/fs/coda/coda_subr.c From rwatson at FreeBSD.org Wed Feb 13 16:55:03 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 13 16:55:07 2008 Subject: cvs commit: src/sys/fs/coda coda_psdev.c coda_vnops.c Message-ID: <200802140055.m1E0t3pn074940@repoman.freebsd.org> rwatson 2008-02-14 00:55:03 UTC FreeBSD src repository Modified files: sys/fs/coda coda_psdev.c coda_vnops.c Log: Remove debugging code under OLD_DIAGNOSTIC; this is all >10 years old and hasn't been used in that time. MFC after: 1 month Revision Changes Path 1.45 +0 -4 src/sys/fs/coda/coda_psdev.c 1.96 +3 -28 src/sys/fs/coda/coda_vnops.c From yongari at FreeBSD.org Wed Feb 13 17:10:49 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Feb 13 17:10:51 2008 Subject: cvs commit: src/sys/dev/sk if_sk.c if_skreg.h Message-ID: <200802140110.m1E1AnOt076856@repoman.freebsd.org> yongari 2008-02-14 01:10:49 UTC FreeBSD src repository Modified files: sys/dev/sk if_sk.c if_skreg.h Log: Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. o Removed unneeded jlist lock which was used to manage jumbo buffers. o Don't reinitialize hardware if MTU was not changed. o Added additional check for minimal MTU size. o Added a new tunable hw.skc.jumbo_disable to disable jumbo frame support for the driver. The tunable could be set for systems that do not need to use jumbo frames and it would save (9K * number of Rx descriptors) bytes kernel memory. o Jumbo buffer allocation failure is no longer critical error for the operation of sk(4). If sk(4) encounter the allocation failure it just disables jumbo frame support and continues to work without user intervention. With these changes jumbo frame performance of sk(4) was slightly increased and users should not encounter jumbo buffer allocation failure. Previously sk(4) tried to allocate physically contiguous memory, 3388KB for 256 Rx descriptors. Sometimes that amount of contiguous memory region could not be available for running systems which in turn resulted in failure of loading the driver. Tested by: Cy Schubert < Cy.Schubert () komquats dot com > Revision Changes Path 1.140 +141 -261 src/sys/dev/sk/if_sk.c 1.42 +1 -34 src/sys/dev/sk/if_skreg.h From yongari at FreeBSD.org Wed Feb 13 17:25:08 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Feb 13 17:25:10 2008 Subject: cvs commit: src/sys/dev/sk if_sk.c Message-ID: <200802140125.m1E1P2UN078289@repoman.freebsd.org> yongari 2008-02-14 01:25:02 UTC FreeBSD src repository Modified files: sys/dev/sk if_sk.c Log: Prefer NULL over integer 0 for pointer type. Revision Changes Path 1.141 +11 -11 src/sys/dev/sk/if_sk.c From alfred at freebsd.org Wed Feb 13 18:02:03 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Wed Feb 13 18:02:07 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_subr.c coda_vnops.c In-Reply-To: <200802131545.m1DFjCq0092390@repoman.freebsd.org> References: <200802131545.m1DFjCq0092390@repoman.freebsd.org> Message-ID: <20080214020203.GP99258@elvis.mu.org> * Robert Watson [080213 07:45] wrote: > rwatson 2008-02-13 15:45:12 UTC > > FreeBSD src repository > > Modified files: > sys/fs/coda cnode.h coda_subr.c coda_vnops.c > Log: ... > Since the Coda module is agressive about not keeping around > unopened cnodes, the utility of the cache is somewhat limited for > files, but works will for directories. We should make Coda less > agressive about GCing cnodes in VOP_INACTIVE() in order to improve > the effectiveness of in-kernel caching of attributes and access > rights. Move the GC to the VOP_RECLAIM VOP and you'll get what you want. -Alfred From rwatson at FreeBSD.org Thu Feb 14 00:20:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Feb 14 00:21:04 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_subr.c coda_vnops.c In-Reply-To: <20080214020203.GP99258@elvis.mu.org> References: <200802131545.m1DFjCq0092390@repoman.freebsd.org> <20080214020203.GP99258@elvis.mu.org> Message-ID: <20080214081830.N13849@fledge.watson.org> On Wed, 13 Feb 2008, Alfred Perlstein wrote: > * Robert Watson [080213 07:45] wrote: >> rwatson 2008-02-13 15:45:12 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/fs/coda cnode.h coda_subr.c coda_vnops.c >> Log: > ... >> Since the Coda module is agressive about not keeping around >> unopened cnodes, the utility of the cache is somewhat limited for >> files, but works will for directories. We should make Coda less >> agressive about GCing cnodes in VOP_INACTIVE() in order to improve >> the effectiveness of in-kernel caching of attributes and access >> rights. > > Move the GC to the VOP_RECLAIM VOP and you'll get what you want. It's not quite that simple, unfortunately -- it's not clear that the kernel gets reliable access to the link count of the object, so may not be able to make an informed decision about whether it's appropriate to vrecycle() in VOP_INACTIVE(). Also, there's a downcall to userspace for VOP_INACTIVE(), but not for VOP_RECLAIM(), and I need to think a bit about whether the two are sufficiently equivalent to move the inactive downcall to reclaim. I'm looking at making the VOP_RECLAIM change, but I think there's more legwork to be done first. Robert N M Watson Computer Laboratory University of Cambridge From bde at FreeBSD.org Thu Feb 14 01:42:24 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 01:42:29 2008 Subject: cvs commit: src/lib/msun/src e_pow.c e_powf.c Message-ID: <200802140942.m1E9gOHR033266@repoman.freebsd.org> bde 2008-02-14 09:42:24 UTC FreeBSD src repository Modified files: lib/msun/src e_pow.c e_powf.c Log: Use the expression (x+0.0)-(y+0.0) instead of x+y when mixing NaN arg(s). This uses 2 tricks to improve consistency so that more serious problems aren't hidden in simple regression tests by noise for the NaNs: - for a signaling NaN, adding 0.0 generates the invalid exception and converts to a quiet NaN, and doesn't have too many effects for other types of args (it converts -0 to +0 in some rounding modes, but that hopefully doesn't change the result after adding the NaN arg). This avoids some inconsistencies on i386 and ia64. On these arches, the result of an operation on 2 NaNs is apparently the largest or the smallest of the NaNs as bits (consistently largest or smallest for each arch, but the opposite). I forget which way the comparison goes and if the sign bit affects it. The quiet bit is is handled poorly by not always setting it before the comparision or ignoring it. Thus if one of the args was originally a signaling NaN and the other was originally a quiet NaN, then the result depends too much on whether the signaling NaN has been quieted at this point, which in turn depends on optimizations and promotions. E.g., passing float signaling NaNs to double functions must quiet them on conversion; on i387, loading a signaling NaN of type float or double (but not long double) into a register involves a conversion, so it quiets signaling NaNs, so if the addition has 2 register operands than it only sees quiet NaNs, but if the addition has a memory operand then it sees a signaling NaN iff it is in the memory operand. - subtraction instead of addition is used to avoid a dubious optimization in old versions of gcc. For SSE operations, mixing of NaNs apparently always gives the target operand. This is not as good as the i387 and ia64 behaviour. It doesn't mix NaNs at all, and makes addition not quite commutative. Old versions of gcc sometimes rewrite x+y to y+x and thus give different results (in bits) for NaNs. gcc-3.3.3 rewrites x+y to y+x for one of pow() and powf() but not the other, so starting from float NaN args x and y, powf(x, y) was almost always different from pow(x, y). These tricks won't give consistency of 2-arg float and double functions with long double ones on amd64, since long double ones use the i387 which has different semantics from SSE. Convert to __FBSDID(). Revision Changes Path 1.12 +4 -5 src/lib/msun/src/e_pow.c 1.13 +4 -5 src/lib/msun/src/e_powf.c From brueffer at FreeBSD.org Thu Feb 14 02:01:48 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 14 02:01:52 2008 Subject: cvs commit: src/share/man/man4 sk.4 Message-ID: <200802141001.m1EA1mD6034681@repoman.freebsd.org> brueffer 2008-02-14 10:01:48 UTC FreeBSD src repository Modified files: share/man/man4 sk.4 Log: Document the hw.skc.jumbo_disable tunable. While here, correct some things in the SYSCTLS section. Submitted by: yongari Revision Changes Path 1.31 +15 -4 src/share/man/man4/sk.4 From bde at FreeBSD.org Thu Feb 14 02:23:52 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 02:23:56 2008 Subject: cvs commit: src/lib/msun/src e_powf.c Message-ID: <200802141023.m1EANpxr042954@repoman.freebsd.org> bde 2008-02-14 10:23:51 UTC FreeBSD src repository Modified files: lib/msun/src e_powf.c Log: Fix the hi+lo decomposition for 2/(3ln2). The decomposition needs to be into 12+24 bits of precision for extra-precision multiplication, but was into 13+24 bits. On i386 with -O1 the bug was hidden by accidental extra precision, but on amd64, in 2^32 trials the bug caused about 200000 errors of more than 1 ulp, with a maximum error of about 80 ulps. Now the maximum error in 2^32 trials on amd64 is 0.8573 ulps. It is still 0.8316 ulps on i386 with -O1. The nearby decomposition of 1/ln2 and the decomposition of 2/(3ln2) in the double precision version seem to be sub-optimal but not broken. Revision Changes Path 1.14 +2 -2 src/lib/msun/src/e_powf.c From simon at FreeBSD.org Thu Feb 14 03:44:32 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:44:34 2008 Subject: cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141144.m1EBiWkM048212@repoman.freebsd.org> simon 2008-02-14 11:44:31 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Submitted by: kib Revision Changes Path 1.323 +1 -1 src/sys/kern/kern_descrip.c 1.267 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:45:00 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:45:02 2008 Subject: cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141145.m1EBj0BL048253@repoman.freebsd.org> simon 2008-02-14 11:45:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Revision Changes Path 1.313.2.1 +1 -1 src/sys/kern/kern_descrip.c 1.259.2.2 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:45:42 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:45:46 2008 Subject: cvs commit: src UPDATING src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141145.m1EBjffG048349@repoman.freebsd.org> simon 2008-02-14 11:45:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) . UPDATING sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: re (kensmith) Revision Changes Path 1.507.2.3.2.3 +3 -0 src/UPDATING 1.313.4.1 +1 -1 src/sys/kern/kern_descrip.c 1.259.4.2 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:46:09 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:46:10 2008 Subject: cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141146.m1EBk8iQ048430@repoman.freebsd.org> simon 2008-02-14 11:46:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Revision Changes Path 1.279.2.16 +1 -1 src/sys/kern/kern_descrip.c 1.221.2.5 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:46:41 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:46:46 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141146.m1EBkfjZ048503@repoman.freebsd.org> simon 2008-02-14 11:46:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_3) . UPDATING sys/conf newvers.sh sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: so (simon) Revision Changes Path 1.416.2.37.2.5 +3 -0 src/UPDATING 1.69.2.15.2.4 +1 -1 src/sys/conf/newvers.sh 1.279.2.15.2.1 +1 -1 src/sys/kern/kern_descrip.c 1.221.2.4.4.1 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:47:06 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:47:13 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141147.m1EBl6Pu048602@repoman.freebsd.org> simon 2008-02-14 11:47:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_2) . UPDATING sys/conf newvers.sh sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: so (simon) Revision Changes Path 1.416.2.29.2.15 +3 -0 src/UPDATING 1.69.2.13.2.14 +1 -1 src/sys/conf/newvers.sh 1.279.2.9.2.1 +1 -1 src/sys/kern/kern_descrip.c 1.221.2.4.2.1 +17 -14 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:47:39 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:47:43 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200802141147.m1EBldMN048680@repoman.freebsd.org> simon 2008-02-14 11:47:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_1) . UPDATING sys/conf newvers.sh sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: so (simon) Revision Changes Path 1.416.2.22.2.26 +3 -0 src/UPDATING 1.69.2.11.2.25 +1 -1 src/sys/conf/newvers.sh 1.279.2.6.2.1 +1 -1 src/sys/kern/kern_descrip.c 1.221.2.1.2.1 +3 -2 src/sys/kern/uipc_syscalls.c From simon at FreeBSD.org Thu Feb 14 03:49:39 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:49:42 2008 Subject: cvs commit: src/sys/kern kern_descrip.c src/sys/netinet6 ipcomp_input.c Message-ID: <200802141149.m1EBndXM048826@repoman.freebsd.org> simon 2008-02-14 11:49:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern kern_descrip.c sys/netinet6 ipcomp_input.c Log: Fix sendfile(2) write-only file permission bypass. [08:03.sendfile] Fix IPsec null pointer dereference panic. [SA-08:04.ipsec] Security: FreeBSD-SA-08:03.sendfile Security: FreeBSD-SA-08:04.ipsec Revision Changes Path 1.243.2.11 +1 -1 src/sys/kern/kern_descrip.c 1.7.4.2 +1 -1 src/sys/netinet6/ipcomp_input.c From simon at FreeBSD.org Thu Feb 14 03:50:29 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Feb 14 03:50:31 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/kern kern_descrip.c src/sys/netinet6 ipcomp_input.c Message-ID: <200802141150.m1EBoSlb049028@repoman.freebsd.org> simon 2008-02-14 11:50:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_5_5) . UPDATING sys/conf newvers.sh sys/kern kern_descrip.c sys/netinet6 ipcomp_input.c Log: Fix sendfile(2) write-only file permission bypass. [08:03.sendfile] Fix IPsec null pointer dereference panic. [SA-08:04.ipsec] Security: FreeBSD-SA-08:03.sendfile Security: FreeBSD-SA-08:04.ipsec Approved by: so (simon) Revision Changes Path 1.342.2.35.2.20 +5 -0 src/UPDATING 1.62.2.21.2.21 +1 -1 src/sys/conf/newvers.sh 1.243.2.9.2.1 +1 -1 src/sys/kern/kern_descrip.c 1.7.4.1.4.1 +1 -1 src/sys/netinet6/ipcomp_input.c From des at FreeBSD.org Thu Feb 14 04:37:59 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Thu Feb 14 04:38:02 2008 Subject: cvs commit: src/lib/libthr/thread thr_mutex.c Message-ID: <200802141237.m1ECbxQW056009@repoman.freebsd.org> des 2008-02-14 12:37:58 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: _pthread_mutex_isowned_np(): use a more reliable method; the current code will work in simple cases, but may fail in more complicated ones. Reviewed by: davidxu Revision Changes Path 1.71 +1 -1 src/lib/libthr/thread/thr_mutex.c From bde at FreeBSD.org Thu Feb 14 04:56:36 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 04:56:40 2008 Subject: cvs commit: src/lib/msun/src e_pow.c e_powf.c Message-ID: <200802141256.m1ECuZOJ065788@repoman.freebsd.org> bde 2008-02-14 12:56:35 UTC FreeBSD src repository Modified files: lib/msun/src e_pow.c e_powf.c Log: Forced commit to note that the minus sign in the fancy expression (x+0.0)-(y+0.0) for mixing NaNs documented in a previous log message didn't actually get committed. Apparently, adding 0.0 uniformizes the order enough to give consistent results. Revision Changes Path 1.13 +0 -0 src/lib/msun/src/e_pow.c 1.15 +0 -0 src/lib/msun/src/e_powf.c From bde at FreeBSD.org Thu Feb 14 05:44:06 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 05:44:11 2008 Subject: cvs commit: src/lib/msun/src e_hypot.c e_hypotf.c Message-ID: <200802141344.m1EDi427069648@repoman.freebsd.org> bde 2008-02-14 13:44:03 UTC FreeBSD src repository Modified files: lib/msun/src e_hypot.c e_hypotf.c Log: Use the expression fabs(x+0.0)+fabs(y+0.0) instad of a+b (where a is |x| or |y| and b is |y| or |x|) when mixing NaN arg(s). hypot*() had its own foot shooting for mixing NaNs -- it swaps the args so that |x| in bits is largest, but does this before quieting signaling NaNs, so on amd64 (where the result of adding NaNs depends on the order) it gets inconsistent results if setting the quiet bit makes a difference, just like a similar ia64 and i387 hardware comparison. The usual fix (see e_powf.c 1.13 for more details) of mixing using (a+0.0)+-(b+0.0) doesn't work on amd64 if the args are swapped (since the rder makes a difference with SSE). Fortunately, the original args are unchanged and don't need to be swapped when we let the hardware decide the mixing after quieting them, but we need to take their absolute value. hypotf() doesn't seem to have any real bugs masked by this non-bug. On amd64, its maximum error in 2^32 trials on amd64 is now 0.8422 ulps, and on i386 the maximum error is unchanged and about the same, except with certain CFLAGS it magically drops to 0.5 (perfect rounding). Convert to __FBSDID(). Revision Changes Path 1.10 +4 -4 src/lib/msun/src/e_hypot.c 1.10 +4 -4 src/lib/msun/src/e_hypotf.c From remko at FreeBSD.org Thu Feb 14 06:12:17 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 06:12:31 2008 Subject: cvs commit: src/sys/nfsserver nfs_srvsubs.c Message-ID: <200802141412.m1EECG3L072315@repoman.freebsd.org> remko 2008-02-14 14:12:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/nfsserver nfs_srvsubs.c Log: MFC rev 1.153 nfs_srvsubs.c Use nfsrv_destroycache() only once, else it crashes the server. PR: kern/118152 Submitted by: Bjoern Groenvall Approved by: imp (mentor, a while ago already), jhb MFC After: 3 days Approved by: re (kensmith), imp (mentor, implicit) Revision Changes Path 1.149.2.1.2.1 +0 -1 src/sys/nfsserver/nfs_srvsubs.c From rpaulo at FreeBSD.org Thu Feb 14 06:15:00 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Feb 14 06:15:02 2008 Subject: cvs commit: src/sys/dev/coretemp coretemp.c Message-ID: <200802141415.m1EEF06b073313@repoman.freebsd.org> rpaulo 2008-02-14 14:15:00 UTC FreeBSD src repository Modified files: sys/dev/coretemp coretemp.c Log: Don't attach to non Core CPUs. This is needed because on the PIII, querying the number of sensors returns > 0. PR: 120541 Approved by: njl (mentor) Revision Changes Path 1.6 +9 -0 src/sys/dev/coretemp/coretemp.c From rpaulo at FreeBSD.org Thu Feb 14 06:41:19 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Feb 14 06:42:16 2008 Subject: cvs commit: src/sys/dev/coretemp coretemp.c In-Reply-To: <200802141415.m1EEF06b073313@repoman.freebsd.org> References: <200802141415.m1EEF06b073313@repoman.freebsd.org> Message-ID: On Feb 14, 2008, at 2:15 PM, Rui Paulo wrote: > rpaulo 2008-02-14 14:15:00 UTC > > FreeBSD src repository > > Modified files: > sys/dev/coretemp coretemp.c > Log: > Don't attach to non Core CPUs. This is needed because on the PIII, > querying the number of sensors returns > 0. > > PR: 120541 > Approved by: njl (mentor) > Also, Reviewed by: njl (mentor) MFC after: 1 week -- Rui Paulo From bde at FreeBSD.org Thu Feb 14 07:10:35 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 07:10:40 2008 Subject: cvs commit: src/lib/msun/src s_ceil.c s_ceill.c s_floor.c s_floorl.c s_trunc.c s_truncl.c Message-ID: <200802141510.m1EFAYQt078135@repoman.freebsd.org> bde 2008-02-14 15:10:34 UTC FreeBSD src repository Modified files: lib/msun/src s_ceil.c s_ceill.c s_floor.c s_floorl.c s_trunc.c s_truncl.c Log: Oops, the weak reference for ceill(), floorl() and truncl() was in the wrong file. This broke arm and powerpc. Reported by: grehan Revision Changes Path 1.10 +4 -0 src/lib/msun/src/s_ceil.c 1.9 +0 -4 src/lib/msun/src/s_ceill.c 1.10 +4 -0 src/lib/msun/src/s_floor.c 1.8 +0 -4 src/lib/msun/src/s_floorl.c 1.2 +4 -0 src/lib/msun/src/s_trunc.c 1.9 +0 -4 src/lib/msun/src/s_truncl.c From grehan at freebsd.org Thu Feb 14 07:40:06 2008 From: grehan at freebsd.org (Peter Grehan) Date: Thu Feb 14 07:40:14 2008 Subject: cvs commit: src/lib/msun/src s_ceil.c s_ceill.c s_floor.c s_floorl.c s_trunc.c s_truncl.c In-Reply-To: <200802141510.m1EFAYQt078135@repoman.freebsd.org> References: <200802141510.m1EFAYQt078135@repoman.freebsd.org> Message-ID: <47B460CF.3060404@freebsd.org> Bruce Evans wrote: > bde 2008-02-14 15:10:34 UTC > > FreeBSD src repository > > Modified files: > lib/msun/src s_ceil.c s_ceill.c s_floor.c s_floorl.c > s_trunc.c s_truncl.c Thanks Bruce. later, Peter. From jhb at freebsd.org Thu Feb 14 07:49:00 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Feb 14 07:49:04 2008 Subject: cvs commit: src/sys/kern kern_mutex.c In-Reply-To: <3bbf2fe10802131616p53b2bae2ma4bccef2d8c8fb76@mail.gmail.com> References: <200802132333.m1DNXokI060695@repoman.freebsd.org> <3bbf2fe10802131616p53b2bae2ma4bccef2d8c8fb76@mail.gmail.com> Message-ID: <200802140925.58430.jhb@freebsd.org> On Wednesday 13 February 2008 07:16:11 pm Attilio Rao wrote: > 2008/2/14, John Baldwin : > > jhb 2008-02-13 23:33:50 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_mutex.c > > Log: > > Add a couple of assertions and KTR logging to thread_lock_flags() to > > match mtx_lock_spin_flags(). > > As I tried to pointed out in perforce, it would not be better to check > against LC_SPINLOCK (and lc_flags) instead than direct comparisons > with lock_class_mtx_spin ? In this case, no, as if we had a foo lock that was a spin lock, mtx_lock_spin() and thread_lock() would still be wrong. They truly only operate on MTX_SPIN mutexes. -- John Baldwin From gallatin at FreeBSD.org Thu Feb 14 08:24:15 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Thu Feb 14 08:24:20 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h Message-ID: <200802141624.m1EGOE0a084154@repoman.freebsd.org> gallatin 2008-02-14 16:24:14 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: Now that mxge supports MSI-X interrupts, reverse the logic and flag legacy interrupts rather than MSI as a special case. Prior to this commit, the interrupt handler was doing the slow handshaking with the device to ensure the legacy interrupt was lowered in both the legacy and MSI-X case. This handshaking was not required for MSI-X. Revision Changes Path 1.47 +9 -7 src/sys/dev/mxge/if_mxge.c 1.20 +1 -1 src/sys/dev/mxge/if_mxge_var.h From iwasaki at FreeBSD.org Thu Feb 14 09:01:34 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Thu Feb 14 09:01:41 2008 Subject: cvs commit: src/share/man/man4 ciss.4 src/sys/dev/ciss ciss.c Message-ID: <200802141701.m1EH1XJV097738@repoman.freebsd.org> iwasaki 2008-02-14 17:01:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ciss.4 sys/dev/ciss ciss.c Log: MFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87 Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for NOP-message polling in ciss_periodic(). Note that setting the tunable to non-zero can be workaround only for `ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o the problem. Revision Changes Path 1.14.2.1 +6 -0 src/share/man/man4/ciss.4 1.81.2.3 +4 -1 src/sys/dev/ciss/ciss.c From yar at FreeBSD.org Thu Feb 14 09:04:32 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Thu Feb 14 09:04:35 2008 Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200802141704.m1EH4VL4099009@repoman.freebsd.org> yar 2008-02-14 17:04:31 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: In the new order of things dictated by nmount(2), a read-only mount is to be requested via a "ro" option. At the same time, MNT_RDONLY is gradually becoming an indicator of the current state of the FS instead of a command flag. Today passing MNT_RDONLY alone to the kernel's mount machinery will lead to various glitches. (See the PRs for examples.) Therefore mount the root FS with a "ro" option instead of the MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount flags internally, by vfs_donmount(), if "ro" was specified.) To be able to pass "ro" cleanly to kernel_vmount(), teach the latter function to accept options with NULL values. Also correct the comment explaining how mount_arg() handles length of -1. PR: bin/106636 kern/120319 Submitted by: Jaakko Heinonen (originally) Revision Changes Path 1.274 +4 -3 src/sys/kern/vfs_mount.c From gallatin at FreeBSD.org Thu Feb 14 10:33:51 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Thu Feb 14 10:33:53 2008 Subject: cvs commit: src/share/man/man4 mxge.4 src/sys/conf files src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h src/sys/modules/mxge Makefile ... Message-ID: <200802141833.m1EIXoUG013258@repoman.freebsd.org> gallatin 2008-02-14 18:33:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 mxge.4 sys/conf files sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h sys/modules/mxge Makefile Added files: (Branch: RELENG_7) sys/dev/mxge mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h sys/modules/mxge/mxge_rss_eth_z8e Makefile sys/modules/mxge/mxge_rss_ethp_z8e Makefile Log: MFC: Merge the MSI-X, "multi-slice" version of the mxge driver and firmware. Revision Changes Path 1.7.4.2 +40 -4 src/share/man/man4/mxge.4 1.1243.2.4 +2 -0 src/sys/conf/files 1.42.2.2 +1166 -481 src/sys/dev/mxge/if_mxge.c 1.16.2.1 +76 -21 src/sys/dev/mxge/if_mxge_var.h 1.5.2.1 +20 -17 src/sys/dev/mxge/mxge_lro.c 1.8.2.1 +61 -12 src/sys/dev/mxge/mxge_mcp.h 1.1.2.1 +47 -0 src/sys/dev/mxge/mxge_rss_eth_z8e.c (new) 1.1.2.1 +47 -0 src/sys/dev/mxge/mxge_rss_ethp_z8e.c (new) 1.2.2.1 +15126 -0 src/sys/dev/mxge/rss_eth_z8e.h (new) 1.2.2.1 +15207 -0 src/sys/dev/mxge/rss_ethp_z8e.h (new) 1.2.4.1 +2 -0 src/sys/modules/mxge/Makefile 1.1.2.1 +7 -0 src/sys/modules/mxge/mxge_rss_eth_z8e/Makefile (new) 1.1.2.1 +7 -0 src/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile (new) From jkim at FreeBSD.org Thu Feb 14 10:37:39 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Feb 14 10:37:42 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c Message-ID: <200802141837.m1EIbdw4013493@repoman.freebsd.org> jkim 2008-02-14 18:37:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c Log: MFC: sys/amd64/linux32/linux32_machdep.c 1.46 sys/i386/linux/linux_machdep.c 1.80 Fix Linux mmap with MAP_GROWSDOWN flag. Revision Changes Path 1.45.2.1 +14 -13 src/sys/amd64/linux32/linux32_machdep.c 1.78.2.2 +15 -14 src/sys/i386/linux/linux_machdep.c From jkim at FreeBSD.org Thu Feb 14 10:41:01 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Feb 14 10:41:03 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c Message-ID: <200802141841.m1EIf0iE013680@repoman.freebsd.org> jkim 2008-02-14 18:41:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c Log: MFC: sys/amd64/linux32/linux32_machdep.c 1.46 sys/i386/linux/linux_machdep.c 1.80 Fix Linux mmap with MAP_GROWSDOWN flag. Revision Changes Path 1.10.2.4 +14 -13 src/sys/amd64/linux32/linux32_machdep.c 1.48.2.6 +15 -14 src/sys/i386/linux/linux_machdep.c From marcel at FreeBSD.org Thu Feb 14 10:46:50 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 14 10:46:55 2008 Subject: cvs commit: src/sys/ia64/ia64 machdep.c pmap.c Message-ID: <200802141846.m1EIkoUN013993@repoman.freebsd.org> marcel 2008-02-14 18:46:50 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c pmap.c Log: On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Commit made on Montecito-based Itanium... Revision Changes Path 1.230 +6 -0 src/sys/ia64/ia64/machdep.c 1.197 +13 -0 src/sys/ia64/ia64/pmap.c From marcel at FreeBSD.org Thu Feb 14 11:15:47 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 14 11:15:51 2008 Subject: cvs commit: src/sys/ia64/ia64 machdep.c pmap.c Message-ID: <200802141915.m1EJFkCm017279@repoman.freebsd.org> marcel 2008-02-14 19:15:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ia64/ia64 machdep.c pmap.c Log: Insta MFC: machdep.c:1.230, pmap.c:1.197 On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Commit made on Montecito-based Itanium... Revision Changes Path 1.225.2.2 +6 -0 src/sys/ia64/ia64/machdep.c 1.191.2.2 +13 -0 src/sys/ia64/ia64/pmap.c From brueffer at FreeBSD.org Thu Feb 14 11:39:10 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 14 11:39:12 2008 Subject: cvs commit: src/share/man/man9 lock.9 Message-ID: <200802141939.m1EJdA6A018270@repoman.freebsd.org> brueffer 2008-02-14 19:39:10 UTC FreeBSD src repository Modified files: share/man/man9 lock.9 Log: Some language and mdoc style improvements. Revision Changes Path 1.25 +7 -5 src/share/man/man9/lock.9 From jhb at FreeBSD.org Thu Feb 14 12:01:53 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Feb 14 12:01:57 2008 Subject: cvs commit: src/usr.bin/netstat route.c Message-ID: <200802142001.m1EK1qJH019174@repoman.freebsd.org> jhb 2008-02-14 20:01:52 UTC FreeBSD src repository Modified files: usr.bin/netstat route.c Log: Make netstat -rn more resilient to having the routing table change out from under it while running. Note that this is still not perfect: - Try to do something intelligent if kvm_read() fails to read a routing table structure such as an rtentry, radix_node, or ifnet. - Don't follow left and right node pointers in radix_nodes unless RNF_ACTIVE is set in rn_flags. This avoids walking through freed radix_nodes. MFC after: 1 week Revision Changes Path 1.88 +43 -19 src/usr.bin/netstat/route.c From yar at FreeBSD.org Thu Feb 14 12:12:24 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Thu Feb 14 12:12:29 2008 Subject: cvs commit: src/usr.sbin/rpcbind rpcbind.c Message-ID: <200802142012.m1EKCNpt020811@repoman.freebsd.org> yar 2008-02-14 20:12:23 UTC FreeBSD src repository Modified files: usr.sbin/rpcbind rpcbind.c Log: No network addresses in the system isn't a good excuse for rpcbind(8) to crash. The crash was due to a boolean variable initialized improperly. Besides fixing the initialization, pick a better name for the variable so that its meaning is clear and no more coding errors appear around it. Revision Changes Path 1.20 +4 -4 src/usr.sbin/rpcbind/rpcbind.c From gallatin at FreeBSD.org Thu Feb 14 12:13:14 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Thu Feb 14 12:13:17 2008 Subject: cvs commit: src/share/man/man4 mxge.4 src/sys/conf files.amd64 files.i386 src/sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h src/sys/modules/mxge Makefile ... Message-ID: <200802142013.m1EKDE8P021086@repoman.freebsd.org> gallatin 2008-02-14 20:13:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 mxge.4 sys/conf files.amd64 files.i386 sys/dev/mxge if_mxge.c if_mxge_var.h mxge_lro.c mxge_mcp.h sys/modules/mxge Makefile Added files: (Branch: RELENG_6) sys/dev/mxge mxge_rss_eth_z8e.c mxge_rss_ethp_z8e.c rss_eth_z8e.h rss_ethp_z8e.h sys/modules/mxge/mxge_rss_eth_z8e Makefile sys/modules/mxge/mxge_rss_ethp_z8e Makefile Log: MFC: Merge the MSI-X, "multi-slice" version of the mxge driver and firmware Revision Changes Path 1.7.2.3 +40 -4 src/share/man/man4/mxge.4 1.71.2.19 +2 -0 src/sys/conf/files.amd64 1.538.2.18 +2 -0 src/sys/conf/files.i386 1.33.2.4 +1413 -501 src/sys/dev/mxge/if_mxge.c 1.13.2.3 +77 -35 src/sys/dev/mxge/if_mxge_var.h 1.1.2.3 +20 -18 src/sys/dev/mxge/mxge_lro.c 1.6.2.3 +61 -12 src/sys/dev/mxge/mxge_mcp.h 1.1.4.1 +47 -0 src/sys/dev/mxge/mxge_rss_eth_z8e.c (new) 1.1.4.1 +47 -0 src/sys/dev/mxge/mxge_rss_ethp_z8e.c (new) 1.2.4.1 +15126 -0 src/sys/dev/mxge/rss_eth_z8e.h (new) 1.2.4.1 +15207 -0 src/sys/dev/mxge/rss_ethp_z8e.h (new) 1.2.2.2 +2 -0 src/sys/modules/mxge/Makefile 1.1.4.1 +7 -0 src/sys/modules/mxge/mxge_rss_eth_z8e/Makefile (new) 1.1.4.1 +7 -0 src/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile (new) From brueffer at FreeBSD.org Thu Feb 14 12:19:03 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 14 12:19:05 2008 Subject: cvs commit: src/sys/dev/twe twe.c Message-ID: <200802142019.m1EKJ2eH022066@repoman.freebsd.org> brueffer 2008-02-14 20:19:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/twe twe.c Log: MFC: rev. 1.26 Add missing \n. Approved by: rwatson (mentor), aradford@amcc.com Revision Changes Path 1.25.10.1 +1 -1 src/sys/dev/twe/twe.c From brueffer at FreeBSD.org Thu Feb 14 12:20:07 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 14 12:20:09 2008 Subject: cvs commit: src/sys/dev/twe twe.c Message-ID: <200802142020.m1EKK6PW022179@repoman.freebsd.org> brueffer 2008-02-14 20:20:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/twe twe.c Log: MFC: rev. 1.26 Add missing \n. Approved by: rwatson (mentor), aradford@amcc.com Revision Changes Path 1.25.2.1 +1 -1 src/sys/dev/twe/twe.c From brueffer at FreeBSD.org Thu Feb 14 12:52:04 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 14 12:52:08 2008 Subject: cvs commit: src/sys/dev/twe twe.c Message-ID: <200802142052.m1EKq4YH032649@repoman.freebsd.org> brueffer 2008-02-14 20:52:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/twe twe.c Log: MFC: rev. 1.26 Add missing \n. Approved by: re (bmah), rwatson (mentor), aradford@amcc.com Revision Changes Path 1.25.14.1 +1 -1 src/sys/dev/twe/twe.c From rwatson at FreeBSD.org Thu Feb 14 12:57:38 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Feb 14 12:57:45 2008 Subject: cvs commit: src/tools/regression/security/open_to_operation Makefile open_to_operation.c Message-ID: <200802142057.m1EKvcNd033049@repoman.freebsd.org> rwatson 2008-02-14 20:57:38 UTC FreeBSD src repository Added files: tools/regression/security/open_to_operation Makefile open_to_operation.c Log: Add open_to_operation, a security regression test that opens files with various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile. Revision Changes Path 1.1 +7 -0 src/tools/regression/security/open_to_operation/Makefile (new) 1.1 +1256 -0 src/tools/regression/security/open_to_operation/open_to_operation.c (new) From marius at FreeBSD.org Thu Feb 14 13:24:43 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Feb 14 13:24:47 2008 Subject: cvs commit: src/usr.bin/netstat route.c Message-ID: <200802142124.m1ELOhYA036542@repoman.freebsd.org> marius 2008-02-14 21:24:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/netstat route.c Log: MFC: 1.87 Change another argument and a variable both related to netname() to be also 32-bit on all archs. Revision Changes Path 1.82.2.2 +3 -3 src/usr.bin/netstat/route.c From remko at FreeBSD.org Thu Feb 14 13:45:41 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 13:45:43 2008 Subject: cvs commit: src/lib/libc/sys access.2 Message-ID: <200802142145.m1ELjfKi037436@repoman.freebsd.org> remko 2008-02-14 21:45:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) lib/libc/sys access.2 Log: MFC rev 1.20 to 1.23 access.2 v1.23 After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] v1.22 Fix typo (s/existance/existence/) Noticed by: ceri v1.21 Fix some style nits. Prodded by: brueffer MFC After: 3 days v1.20 Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies MFC After: 3 days Approved by: re (bmah) Revision Changes Path 1.19.4.1 +10 -1 src/lib/libc/sys/access.2 From remko at FreeBSD.org Thu Feb 14 13:46:19 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 13:46:21 2008 Subject: cvs commit: src/sbin/bsdlabel bsdlabel.8 Message-ID: <200802142146.m1ELkJPl037483@repoman.freebsd.org> remko 2008-02-14 21:46:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sbin/bsdlabel bsdlabel.8 Log: MFC rev 1.69 to 1.70 bsdlabel.8 v1.70 Remove redundant whitespace. Noticed by: brueffer v1.69 Attempt to describe the ''auto'' type a bit better in the default section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith Minor modifications by me. Approved by: re (bmah) Revision Changes Path 1.68.4.1 +3 -2 src/sbin/bsdlabel/bsdlabel.8 From remko at FreeBSD.org Thu Feb 14 13:47:49 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 13:47:53 2008 Subject: cvs commit: src/share/man/man4 nve.4 Message-ID: <200802142147.m1ELlnLI037536@repoman.freebsd.org> remko 2008-02-14 21:47:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man4 nve.4 Log: MFC rev 1.9 to 1.11 nve.4 v1.11 Language nit. v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.9 Add 1000baseTX support for the nve driver, which is known here and there. Also mention that the driver sometimes returns '10baseTX' as output instead of 100baseTX (which is the case at that moment). PR: docs/115284 Submitted by: Julian Stacey Jhs MFC After: 3 days Approved by: re (bmah) Revision Changes Path 1.8.4.1 +7 -1 src/share/man/man4/nve.4 From remko at FreeBSD.org Thu Feb 14 13:48:25 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 13:48:27 2008 Subject: cvs commit: src/usr.sbin/timed/timed timed.8 Message-ID: <200802142148.m1ELmOk2037582@repoman.freebsd.org> remko 2008-02-14 21:48:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) usr.sbin/timed/timed timed.8 Log: MFC revs 1.17 to 1.18 timed.8 v1.18 Typo fix. Spotted by: brueffer v1.17 Enhance descriptions in the timed manual. PR: docs/115445 Submitted by: "Julian Stacey" MFC After: 3 days Approved by: re (bmah) Revision Changes Path 1.16.24.1 +32 -7 src/usr.sbin/timed/timed/timed.8 From remko at FreeBSD.org Thu Feb 14 13:48:54 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 14 13:48:56 2008 Subject: cvs commit: src/share/man/man5 hosts.equiv.5 Message-ID: <200802142148.m1ELmrqN037613@repoman.freebsd.org> remko 2008-02-14 21:48:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man5 hosts.equiv.5 Log: MFC rev 1.22 hosts.equiv.5 v1.22 Improve readability for the hosts.equiv file regarding the notation of hostnames. PR: docs/35953 Submitted by: "Gary W. Swearingen" With minor modifications by me. Approved by: re (bmah) Revision Changes Path 1.21.4.1 +3 -2 src/share/man/man5/hosts.equiv.5 From marius at FreeBSD.org Thu Feb 14 13:52:39 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Feb 14 13:52:40 2008 Subject: cvs commit: src/usr.bin/netstat netstat.h route.c Message-ID: <200802142152.m1ELqcWn037825@repoman.freebsd.org> marius 2008-02-14 21:52:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/netstat netstat.h route.c Log: MFC: netstat.h 1.53; route.c 1.86, 1.87 Fix netname() (though for RELENG_6 more or less cosmetic only) and routename() on big-endian LP64 archs. Revision Changes Path 1.41.2.8 +2 -2 src/usr.bin/netstat/netstat.h 1.76.2.5 +11 -12 src/usr.bin/netstat/route.c From marcel at FreeBSD.org Thu Feb 14 14:51:52 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 14 14:51:58 2008 Subject: cvs commit: src/sys/ia64/ia64 machdep.c pmap.c Message-ID: <200802142251.m1EMpqod042195@repoman.freebsd.org> marcel 2008-02-14 22:51:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/ia64/ia64 machdep.c pmap.c Log: MFC: machdep.c:1.230, pmap.c:1.197 On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Approved by: re (kensmith - big thanks!) Revision Changes Path 1.225.4.2 +6 -0 src/sys/ia64/ia64/machdep.c 1.191.4.2 +13 -0 src/sys/ia64/ia64/pmap.c From kevlo at FreeBSD.org Thu Feb 14 21:29:21 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Thu Feb 14 21:29:24 2008 Subject: cvs commit: src/sys/dev/usb if_rum.c usbdevs Message-ID: <200802150529.m1F5TJ8l004573@repoman.freebsd.org> kevlo 2008-02-15 05:29:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb if_rum.c usbdevs Log: MFC: - sys/dev/usb/usbdevs (revision 1.337) - sys/dev/usb/if_rum.c (revision 1.16) Add the SparkLAN RT2573, found in HP s3200n Obtained from: OpenBSD Revision Changes Path 1.13.2.1 +1 -0 src/sys/dev/usb/if_rum.c 1.328.2.3 +4 -0 src/sys/dev/usb/usbdevs From scottl at FreeBSD.org Thu Feb 14 22:26:26 2008 From: scottl at FreeBSD.org (Scott Long) Date: Thu Feb 14 22:26:27 2008 Subject: cvs commit: src/sys/sys conf.h src/sys/geom geom_disk.c src/sys/i386/i386 dump_machdep.c minidump_machdep.c src/sys/amd64/amd64 dump_machdep.c minidump_machdep.c Message-ID: <200802150626.m1F6QP7D009994@repoman.freebsd.org> scottl 2008-02-15 06:26:25 UTC FreeBSD src repository Modified files: sys/sys conf.h sys/geom geom_disk.c sys/i386/i386 dump_machdep.c minidump_machdep.c sys/amd64/amd64 dump_machdep.c minidump_machdep.c Log: Teach the dump and minidump code to respect the maxioszie attribute of the disk; the hard-coded assumption of 64K doesn't work in all cases. Revision Changes Path 1.14 +6 -2 src/sys/amd64/amd64/dump_machdep.c 1.4 +6 -2 src/sys/amd64/amd64/minidump_machdep.c 1.105 +1 -0 src/sys/geom/geom_disk.c 1.14 +6 -2 src/sys/i386/i386/dump_machdep.c 1.5 +6 -2 src/sys/i386/i386/minidump_machdep.c 1.235 +1 -0 src/sys/sys/conf.h From bde at FreeBSD.org Thu Feb 14 23:01:41 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 14 23:01:45 2008 Subject: cvs commit: src/lib/msun/src s_ceil.c s_floor.c s_trunc.c Message-ID: <200802150701.m1F71fXI011243@repoman.freebsd.org> bde 2008-02-15 07:01:40 UTC FreeBSD src repository Modified files: lib/msun/src s_ceil.c s_floor.c s_trunc.c Log: Sigh, the weak reference for ceill(), floorl() and truncl() was in unreachable code due to a missing include. This kept arm and powerpc broken. Reported by: sam, grehan Revision Changes Path 1.11 +4 -3 src/lib/msun/src/s_ceil.c 1.11 +4 -3 src/lib/msun/src/s_floor.c 1.3 +2 -0 src/lib/msun/src/s_trunc.c From brueffer at FreeBSD.org Fri Feb 15 02:28:47 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Fri Feb 15 02:28:50 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802151028.m1FASk6o036098@repoman.freebsd.org> brueffer 2008-02-15 10:28:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 Makefile Log: MFC: rev. 1.325 Remove dublicate MLINK. Revision Changes Path 1.310.2.2 +0 -1 src/share/man/man9/Makefile From brueffer at FreeBSD.org Fri Feb 15 02:29:41 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Fri Feb 15 02:29:43 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802151029.m1FATeY0036140@repoman.freebsd.org> brueffer 2008-02-15 10:29:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man9 Makefile Log: MFC: rev. 1.325 Remove dublicate MLINK. Revision Changes Path 1.260.2.12 +0 -1 src/share/man/man9/Makefile From rwatson at FreeBSD.org Fri Feb 15 03:58:11 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 15 03:58:16 2008 Subject: cvs commit: src/sys/fs/coda coda_vnops.c Message-ID: <200802151158.m1FBwBZm044631@repoman.freebsd.org> rwatson 2008-02-15 11:58:11 UTC FreeBSD src repository Modified files: sys/fs/coda coda_vnops.c Log: Reorder and clean up make_coda_node(), annotate weaknesses in the implementation. MFC after: 1 month Revision Changes Path 1.97 +25 -20 src/sys/fs/coda/coda_vnops.c From rwatson at FreeBSD.org Fri Feb 15 04:11:46 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 15 04:11:50 2008 Subject: cvs commit: src/sys/fs/coda cnode.h coda_psdev.c Message-ID: <200802151211.m1FCBkav046523@repoman.freebsd.org> rwatson 2008-02-15 12:11:46 UTC FreeBSD src repository Modified files: sys/fs/coda cnode.h coda_psdev.c Log: Spell replys as replies. MFC after: 1 month Revision Changes Path 1.28 +1 -1 src/sys/fs/coda/cnode.h 1.46 +7 -7 src/sys/fs/coda/coda_psdev.c From rwatson at FreeBSD.org Fri Feb 15 05:31:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 15 05:31:43 2008 Subject: cvs commit: src/sys/fs/coda coda_psdev.c Message-ID: <200802151331.m1FDVZje061860@repoman.freebsd.org> rwatson 2008-02-15 13:31:35 UTC FreeBSD src repository Modified files: sys/fs/coda coda_psdev.c Log: The possibly interruptible msleep in coda_call() means well, but is fundamentally fairly confused about how signals work and when it is appropriate for upcalls to be interrupted. In particular, we should be exempting certain upcalls from interruption, we should not always eventually time out sleeping on a upcall, and we should not be interrupting the sleep for certain signals that we currently are (including SIGINFO). This code needs to be reworked in the style of NFS interruptible mounts. MFC after: 1 month Revision Changes Path 1.47 +1 -1 src/sys/fs/coda/coda_psdev.c From des at FreeBSD.org Fri Feb 15 05:37:47 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Feb 15 05:37:48 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802151337.m1FDbkPH062179@repoman.freebsd.org> des 2008-02-15 13:37:46 UTC FreeBSD src repository Modified files: . access Log: Please welcome Oliver Fromme (olli@) to the funny farm. He has extensive experience with graphics programming and is a co-author of the PNG spec. He will be working on adding support for a graphical menu to the i386 / amd64 loader, and hopefully also on syscons. Approved by: core Revision Changes Path 1.856 +1 -0 CVSROOT/access From iwasaki at FreeBSD.org Fri Feb 15 05:55:24 2008 From: iwasaki at FreeBSD.org (Mitsuru IWASAKI) Date: Fri Feb 15 05:55:26 2008 Subject: cvs commit: src/share/man/man4 ciss.4 src/sys/dev/ciss ciss.c Message-ID: <200802151355.m1FDtOCN062904@repoman.freebsd.org> iwasaki 2008-02-15 13:55:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man4 ciss.4 sys/dev/ciss ciss.c Log: MFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87 Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for NOP-message polling in ciss_periodic(). Note that setting the tunable to non-zero can be workaround only for `ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o the problem. Approved by: re (kensmith) Revision Changes Path 1.14.4.1 +6 -0 src/share/man/man4/ciss.4 1.81.2.1.2.2 +4 -1 src/sys/dev/ciss/ciss.c From Alexander at Leidinger.net Fri Feb 15 06:25:36 2008 From: Alexander at Leidinger.net (Alexander Leidinger) Date: Fri Feb 15 06:25:40 2008 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c In-Reply-To: <200802141841.m1EIf0iE013680@repoman.freebsd.org> References: <200802141841.m1EIf0iE013680@repoman.freebsd.org> Message-ID: <20080215150627.dhdz5bbisswo04wc@webmail.leidinger.net> Quoting Jung-uk Kim (from Thu, 14 Feb 2008 18:41:00 +0000 (UTC)): > jkim 2008-02-14 18:41:00 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/amd64/linux32 linux32_machdep.c > sys/i386/linux linux_machdep.c > Log: > MFC: sys/amd64/linux32/linux32_machdep.c 1.46 > sys/i386/linux/linux_machdep.c 1.80 > > Fix Linux mmap with MAP_GROWSDOWN flag. You've asked re@ if a MFC to 7.0 is possible, and/or if they can add an errata item for this to the docs for 6.3 and 7.0? Bye, Alexander. -- We should have a Vollyballocracy. We elect a six-pack of presidents. Each one serves until they screw up, at which point they rotate. -- Dennis Miller http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From ivoras at freebsd.org Fri Feb 15 06:36:17 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Feb 15 06:36:21 2008 Subject: cvs commit: src/sys/sys conf.h src/sys/geom geom_disk.c src/sys/i386/i386 dump_machdep.c minidump_machdep.c src/sys/amd64/amd64 dump_machdep.c minidump_machdep.c In-Reply-To: <200802150626.m1F6QP7D009994__3855.5871964947$1203056853$gmane$org@repoman.freebsd.org> References: <200802150626.m1F6QP7D009994__3855.5871964947$1203056853$gmane$org@repoman.freebsd.org> Message-ID: <47B5A108.5030808@freebsd.org> Scott Long wrote: > scottl 2008-02-15 06:26:25 UTC > > FreeBSD src repository > > Modified files: > sys/sys conf.h > sys/geom geom_disk.c > sys/i386/i386 dump_machdep.c minidump_machdep.c > sys/amd64/amd64 dump_machdep.c minidump_machdep.c > Log: > Teach the dump and minidump code to respect the maxioszie attribute of > the disk; the hard-coded assumption of 64K doesn't work in all cases. Will this work in the other direction, i.e. issuing requests larger than 64KB / 128KB if the device supports it? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080215/eb81f221/signature.pgp From brueffer at FreeBSD.org Fri Feb 15 07:19:27 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Fri Feb 15 07:19:32 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802151519.m1FFJRSr071332@repoman.freebsd.org> brueffer 2008-02-15 15:19:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man9 Makefile Log: MFC: rev. 1.325 Remove dublicate MLINK. Approved by: re (bmah) Revision Changes Path 1.310.2.1.2.1 +0 -1 src/share/man/man9/Makefile From cperciva at FreeBSD.org Fri Feb 15 08:15:10 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Feb 15 08:15:14 2008 Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200802151615.m1FGFA0R087080@repoman.freebsd.org> cperciva 2008-02-15 16:15:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/portsnap/phttpget phttpget.c Log: MFC revision 1.13: Use case-insensitive comparisons for HTTP header keywords. Revision Changes Path 1.4.2.8 +6 -6 src/usr.sbin/portsnap/phttpget/phttpget.c From cperciva at FreeBSD.org Fri Feb 15 08:16:21 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Feb 15 08:16:26 2008 Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200802151616.m1FGGLJI087204@repoman.freebsd.org> cperciva 2008-02-15 16:16:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/portsnap/phttpget phttpget.c Log: MFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords. Revision Changes Path 1.12.2.1 +6 -6 src/usr.sbin/portsnap/phttpget/phttpget.c From cperciva at FreeBSD.org Fri Feb 15 08:17:29 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Feb 15 08:17:36 2008 Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200802151617.m1FGHS6t087262@repoman.freebsd.org> cperciva 2008-02-15 16:17:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) usr.sbin/portsnap/phttpget phttpget.c Log: MFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords. Approved by: re (kensmith) Revision Changes Path 1.12.4.1 +6 -6 src/usr.sbin/portsnap/phttpget/phttpget.c From obrien at FreeBSD.org Fri Feb 15 08:43:03 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 15 08:43:06 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c src/sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c Message-ID: <200802151643.m1FGh3m5089031@repoman.freebsd.org> obrien 2008-02-15 16:43:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c Log: MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS. Revision Changes Path 1.147.2.2 +17 -17 src/sys/ufs/ffs/ffs_alloc.c 1.50.10.3 +2 -2 src/sys/ufs/ffs/ffs_balloc.c 1.108.2.1 +3 -3 src/sys/ufs/ffs/ffs_inode.c 1.136.2.1 +1 -1 src/sys/ufs/ffs/ffs_snapshot.c 1.211.2.1 +27 -24 src/sys/ufs/ffs/ffs_softdep.c 1.173.2.1 +5 -5 src/sys/ufs/ffs/ffs_vnops.c 1.66.2.1 +1 -1 src/sys/ufs/ufs/ufs_bmap.c 1.83.2.1 +1 -1 src/sys/ufs/ufs/ufs_lookup.c 1.291.2.1 +6 -6 src/sys/ufs/ufs/ufs_vnops.c From jhb at FreeBSD.org Fri Feb 15 08:57:24 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 15 08:57:27 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c mfireg.h Message-ID: <200802151657.m1FGvO4h098644@repoman.freebsd.org> jhb 2008-02-15 16:57:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mfi mfi.c mfireg.h Log: MFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Revision Changes Path 1.3.2.11 +92 -58 src/sys/dev/mfi/mfi.c 1.1.2.9 +2 -0 src/sys/dev/mfi/mfireg.h From jhb at FreeBSD.org Fri Feb 15 09:05:08 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 15 09:05:13 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802151705.m1FH58Ne000389@repoman.freebsd.org> jhb 2008-02-15 17:05:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_cpu.c Log: MFC: Fix a typo when testing for the NO_C3 quirk. Revision Changes Path 1.67.2.2 +1 -1 src/sys/dev/acpica/acpi_cpu.c From jhb at FreeBSD.org Fri Feb 15 09:05:40 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 15 09:05:42 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802151705.m1FH5d09000432@repoman.freebsd.org> jhb 2008-02-15 17:05:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_cpu.c Log: MFC: Fix a typo when testing for the NO_C3 quirk. Revision Changes Path 1.57.2.6 +1 -1 src/sys/dev/acpica/acpi_cpu.c From olli at FreeBSD.org Fri Feb 15 10:40:47 2008 From: olli at FreeBSD.org (Oliver Fromme) Date: Fri Feb 15 10:40:49 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200802151840.m1FIekKC008676@repoman.freebsd.org> olli 2008-02-15 18:40:46 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: Add myself and the mentorship relation of des. Approved by: des (mentor) Revision Changes Path 1.72 +2 -0 src/share/misc/committers-src.dot From scottl at samsco.org Fri Feb 15 12:08:43 2008 From: scottl at samsco.org (Scott Long) Date: Fri Feb 15 12:08:46 2008 Subject: cvs commit: src/sys/sys conf.h src/sys/geom geom_disk.c src/sys/i386/i386 dump_machdep.c minidump_machdep.c src/sys/amd64/amd64 dump_machdep.c minidump_machdep.c In-Reply-To: <47B5A108.5030808@freebsd.org> References: <200802150626.m1F6QP7D009994__3855.5871964947$1203056853$gmane$org@repoman.freebsd.org> <47B5A108.5030808@freebsd.org> Message-ID: <47B5F147.5090007@samsco.org> Ivan Voras wrote: > Scott Long wrote: >> scottl 2008-02-15 06:26:25 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/sys conf.h >> sys/geom geom_disk.c >> sys/i386/i386 dump_machdep.c minidump_machdep.c >> sys/amd64/amd64 dump_machdep.c minidump_machdep.c >> Log: >> Teach the dump and minidump code to respect the maxioszie attribute of >> the disk; the hard-coded assumption of 64K doesn't work in all cases. > > Will this work in the other direction, i.e. issuing requests larger than > 64KB / 128KB if the device supports it? > Yes, though I need to review all of the drivers to make sure they're not setting a bogus maxiosize that they can't actually support. If you're looking to improve dump speed, there are two things that need to be done. First, the dumpsys code and driver interface needs to be changed to send the driver large chunks (like PSE-sized chunks, maybe) and let the driver decide how much of it to handle before returning. Second, the dumpsys code and drivers need to be taught to handle physical addresses. Right now, the dumpsys code iterates through all the pages in the system (or through the kernel map if it's a minidump), calls pmap_kenter to generate a virtual address for the driver, then the driver calls busdma and has it call pmap_kextract to get the physical address. That can definitely be improved. Scott From rwatson at FreeBSD.org Fri Feb 15 12:26:18 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Feb 15 12:26:21 2008 Subject: cvs commit: src/sys/sys priv.h Message-ID: <200802152026.m1FKQHWh017225@repoman.freebsd.org> rwatson 2008-02-15 20:26:17 UTC FreeBSD src repository Modified files: sys/sys priv.h Log: Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs. This privilege will authorize debugging system calls. MFC after: 1 month Revision Changes Path 1.19 +6 -1 src/sys/sys/priv.h From attilio at FreeBSD.org Fri Feb 15 13:04:37 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Fri Feb 15 13:04:39 2008 Subject: cvs commit: src/sys/kern kern_lock.c vfs_default.c src/sys/sys buf.h lockmgr.h src/sys/ufs/ffs ffs_vnops.c Message-ID: <200802152104.m1FL4bm0028869@repoman.freebsd.org> attilio 2008-02-15 21:04:37 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c vfs_default.c sys/sys buf.h lockmgr.h sys/ufs/ffs ffs_vnops.c Log: - Introduce lockmgr_args() in the lockmgr space. This function performs the same operation of lockmgr() but accepting a custom wmesg, prio and timo for the particular lock instance, overriding default values lkp->lk_wmesg, lkp->lk_prio and lkp->lk_timo. - Use lockmgr_args() in order to implement BUF_TIMELOCK() - Cleanup BUF_LOCK() - Remove LK_INTERNAL as it is nomore used in the lockmgr namespace Tested by: Andrea Barberio Revision Changes Path 1.125 +44 -24 src/sys/kern/kern_lock.c 1.141 +2 -1 src/sys/kern/vfs_default.c 1.201 +5 -31 src/sys/sys/buf.h 1.63 +15 -5 src/sys/sys/lockmgr.h 1.178 +5 -3 src/sys/ufs/ffs/ffs_vnops.c From attilio at FreeBSD.org Fri Feb 15 13:08:18 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Fri Feb 15 13:08:22 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802152108.m1FL8I2p029113@repoman.freebsd.org> attilio 2008-02-15 21:08:18 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version in order to signal introduction of lockmgr_args() and LK_INTERNAL removal. Revision Changes Path 1.335 +1 -1 src/sys/sys/param.h From antoine at FreeBSD.org Fri Feb 15 13:19:16 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Feb 15 13:19:18 2008 Subject: cvs commit: src/lib/libdisk disk.c Message-ID: <200802152119.m1FLJGrc030491@repoman.freebsd.org> antoine 2008-02-15 21:19:15 UTC FreeBSD src repository Modified files: lib/libdisk disk.c Log: - Make Disk_Names() behave as documented in libdisk(3): return an array of disk names, where you must free each pointer, as well as the array by hand. [1] - Destaticize "disks" in Disk_Names, it has no reasons to be static. PR: kern/96077 [1] PR: kern/114110 [1] MFC after: 1 month Approved by: rwatson (mentor) Revision Changes Path 1.128 +14 -5 src/lib/libdisk/disk.c From antoine at FreeBSD.org Fri Feb 15 13:54:22 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Feb 15 13:54:27 2008 Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200802152154.m1FLsMKH032357@repoman.freebsd.org> antoine 2008-02-15 21:54:21 UTC FreeBSD src repository Modified files: sys/kern subr_autoconf.c Log: Remove a superfluous line in run_interrupt_driven_config_hooks(), next_entry is already initialized during TAILQ_FOREACH_SAFE(). PR: kern/119604 Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.24 +0 -1 src/sys/kern/subr_autoconf.c From des at des.no Fri Feb 15 15:38:03 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri Feb 15 15:38:08 2008 Subject: cvs commit: src/lib/librpcsvc Makefile In-Reply-To: <200802052003.m15K3jkj093200@repoman.freebsd.org> (Matteo Riondato's message of "Tue\, 5 Feb 2008 20\:03\:45 +0000 \(UTC\)") References: <200802052003.m15K3jkj093200@repoman.freebsd.org> Message-ID: <86ir0px030.fsf@ds4.des.no> Matteo Riondato writes: > Log: > set WARNS to 1: with WARNS=2 an aliasing error in a file generated by > rpcgen from include/rpcsvc/rex.x is exposed and I really don't know > how to fix it. Feel free to show us the code and ask for help... DES -- Dag-Erling Sm?rgrav - des@des.no From des at des.no Fri Feb 15 15:42:34 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri Feb 15 15:42:37 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: <200802110305.m1B35BFm022000@repoman.freebsd.org> (Andrew Thompson's message of "Mon\, 11 Feb 2008 03\:05\:11 +0000 \(UTC\)") References: <200802110305.m1B35BFm022000@repoman.freebsd.org> Message-ID: <86ejbdwzve.fsf@ds4.des.no> Andrew Thompson writes: > Added files: > sys/geom/lvm g_lvm.c g_lvm.h > share/man/man4 geom_lvm.4 > Log: > Add a geom class to map Linux LVM logical volumes. I really wish you had chosen a less generic name... DES -- Dag-Erling Sm?rgrav - des@des.no From danger at FreeBSD.org Fri Feb 15 15:56:33 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Fri Feb 15 15:56:35 2008 Subject: cvs commit: src/share/man/man9 pci.9 Message-ID: <200802152356.m1FNuXhO043778@repoman.freebsd.org> danger 2008-02-15 23:56:33 UTC FreeBSD src repository (doc committer) Modified files: share/man/man9 pci.9 Log: - fix typo Submitted by: Constantine A. Murenin MFC after: 3 days Revision Changes Path 1.11 +1 -1 src/share/man/man9/pci.9 From obrien at FreeBSD.org Fri Feb 15 15:59:05 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Fri Feb 15 15:59:12 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: <86ejbdwzve.fsf@ds4.des.no> References: <200802110305.m1B35BFm022000@repoman.freebsd.org> <86ejbdwzve.fsf@ds4.des.no> Message-ID: <20080215235901.GA11610@dragon.NUXI.org> On Sat, Feb 16, 2008 at 12:42:29AM +0100, Dag-Erling Smrgrav wrote: > Andrew Thompson writes: > > Added files: > > sys/geom/lvm g_lvm.c g_lvm.h > > share/man/man4 geom_lvm.4 > > Log: > > Add a geom class to map Linux LVM logical volumes. > > I really wish you had chosen a less generic name... Its not too late to change the name. -- -- David (obrien@FreeBSD.org) From delphij at FreeBSD.org Fri Feb 15 16:16:50 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Feb 15 16:16:51 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c Message-ID: <200802160016.m1G0GnFB046558@repoman.freebsd.org> delphij 2008-02-16 00:16:49 UTC FreeBSD src repository Modified files: lib/libc/resolv res_comp.c Log: Allow underscore in domain names while resolving. While having underscore is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume MFC after: 2 weeks Revision Changes Path 1.5 +2 -1 src/lib/libc/resolv/res_comp.c From phk at phk.freebsd.dk Fri Feb 15 16:34:38 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Fri Feb 15 16:34:45 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: Your message of "Fri, 15 Feb 2008 15:59:01 PST." <20080215235901.GA11610@dragon.NUXI.org> Message-ID: <94261.1203122076@critter.freebsd.dk> In message <20080215235901.GA11610@dragon.NUXI.org>, "David O'Brien" writes: >On Sat, Feb 16, 2008 at 12:42:29AM +0100, Dag-Erling Smrgrav wrote: >> Andrew Thompson writes: >> > Added files: >> > sys/geom/lvm g_lvm.c g_lvm.h >> > share/man/man4 geom_lvm.4 >> > Log: >> > Add a geom class to map Linux LVM logical volumes. >> >> I really wish you had chosen a less generic name... > >Its not too late to change the name. I agree, it should be linux_lvm unless the Linux camp has a more precise name for it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From rpaulo at FreeBSD.org Fri Feb 15 18:00:26 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Fri Feb 15 18:00:30 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802160200.m1G20PZx063596@repoman.freebsd.org> rpaulo 2008-02-16 02:00:25 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cpu.c Log: Skip validation of the C3 state if we disabled C3 by software (i.e., via quirk). Submitted by: Andriy Gapon Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days Revision Changes Path 1.70 +1 -1 src/sys/dev/acpica/acpi_cpu.c From rpaulo at FreeBSD.org Fri Feb 15 18:09:06 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Fri Feb 15 18:09:08 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802160209.m1G295Xs065090@repoman.freebsd.org> rpaulo 2008-02-16 02:09:05 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_thermal.c Log: Allow the user to override the current active cooling state if state is currently TZ_ACTIVE_NONE. Submitted by: Andriy Gapon Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days Revision Changes Path 1.68 +2 -1 src/sys/dev/acpica/acpi_thermal.c From ache at nagual.pp.ru Fri Feb 15 18:45:46 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Fri Feb 15 18:45:49 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <200802160016.m1G0GnFB046558@repoman.freebsd.org> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> Message-ID: <20080216024541.GA31498@nagual.pp.ru> On Sat, Feb 16, 2008 at 12:16:49AM +0000, Xin LI wrote: > delphij 2008-02-16 00:16:49 UTC > > FreeBSD src repository > > Modified files: > lib/libc/resolv res_comp.c > Log: > Allow underscore in domain names while resolving. While having underscore > is a violation of RFC 1034 [STD 13], it is accepted by certain name servers > as well as other popular operating systems' resolver library. Do you mean we'll have now different results from libc and from bind's resolver for names with underscore? If yes, it sounds worse than RFC violation committed. -- http://ache.pp.ru/ From rafan at FreeBSD.org Fri Feb 15 21:35:56 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Fri Feb 15 21:36:01 2008 Subject: cvs commit: src/lib/ncurses/ncurses Makefile Message-ID: <200802160535.m1G5Zt4a089692@repoman.freebsd.org> rafan 2008-02-16 05:35:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/ncurses/ncurses Makefile Log: MFC rev 1.96 - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove the one links to curs_terminfo. Submitted by: David Naylor Revision Changes Path 1.92.2.2 +0 -1 src/lib/ncurses/ncurses/Makefile From rafan at FreeBSD.org Fri Feb 15 21:36:23 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Fri Feb 15 21:36:24 2008 Subject: cvs commit: src/lib/ncurses/ncurses Makefile Message-ID: <200802160536.m1G5aMm5089741@repoman.freebsd.org> rafan 2008-02-16 05:36:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/ncurses/ncurses Makefile Log: MFC rev 1.96 - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove the one links to curs_terminfo. Submitted by: David Naylor Revision Changes Path 1.87.2.5 +0 -1 src/lib/ncurses/ncurses/Makefile From imp at bsdimp.com Fri Feb 15 22:35:59 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Feb 15 22:36:02 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <20080216024541.GA31498@nagual.pp.ru> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> Message-ID: <20080215.233427.1598351542.imp@bsdimp.com> In message: <20080216024541.GA31498@nagual.pp.ru> Andrey Chernov writes: : On Sat, Feb 16, 2008 at 12:16:49AM +0000, Xin LI wrote: : > delphij 2008-02-16 00:16:49 UTC : > : > FreeBSD src repository : > : > Modified files: : > lib/libc/resolv res_comp.c : > Log: : > Allow underscore in domain names while resolving. While having underscore : > is a violation of RFC 1034 [STD 13], it is accepted by certain name servers : > as well as other popular operating systems' resolver library. : : Do you mean we'll have now different results from libc and from bind's : resolver for names with underscore? If yes, it sounds worse than RFC : violation committed. Plus there was a very long, very heated thread about removing _ as a valid name years ago. Have conditions changed since then? Frankly, I'd like to have seen a change like this discussed more widely. There was much debate before, and there turned out to be good reasons for omitting the _. I just can't recall them now. Warner From ume at FreeBSD.org Fri Feb 15 23:15:35 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Fri Feb 15 23:15:40 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802160715.m1G7FZ5W097685@repoman.freebsd.org> ume 2008-02-16 07:15:34 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_thermal.c Log: Create a thread to handle passive cooling for 1st zone which has _PSV, _TSP, _TC1 and _TC2. Contirmed by: "Alexandre \"Sunny\" Kovalenko" Reviewed by: njl MFC after: 1 week Revision Changes Path 1.69 +20 -19 src/sys/dev/acpica/acpi_thermal.c From thompsa at FreeBSD.org Fri Feb 15 23:26:06 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Feb 15 23:26:09 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: <94261.1203122076@critter.freebsd.dk> References: <20080215235901.GA11610@dragon.NUXI.org> <94261.1203122076@critter.freebsd.dk> Message-ID: <20080216072603.GD2144@heff.fud.org.nz> On Sat, Feb 16, 2008 at 12:34:36AM +0000, Poul-Henning Kamp wrote: > In message <20080215235901.GA11610@dragon.NUXI.org>, "David O'Brien" writes: > >On Sat, Feb 16, 2008 at 12:42:29AM +0100, Dag-Erling Smrgrav wrote: > >> Andrew Thompson writes: > >> > Added files: > >> > sys/geom/lvm g_lvm.c g_lvm.h > >> > share/man/man4 geom_lvm.4 > >> > Log: > >> > Add a geom class to map Linux LVM logical volumes. > >> > >> I really wish you had chosen a less generic name... > > > >Its not too late to change the name. > > I agree, it should be linux_lvm unless the Linux camp has a > more precise name for it. Fine by me. Just to be sure the correct module and manpage names should be geom_linux_lvm? Andrew From phk at phk.freebsd.dk Sat Feb 16 00:46:54 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Sat Feb 16 00:46:57 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: Your message of "Sat, 16 Feb 2008 20:26:03 +1300." <20080216072603.GD2144@heff.fud.org.nz> Message-ID: <96033.1203151611@critter.freebsd.dk> In message <20080216072603.GD2144@heff.fud.org.nz>, Andrew Thompson writes: >On Sat, Feb 16, 2008 at 12:34:36AM +0000, Poul-Henning Kamp wrote: >> In message <20080215235901.GA11610@dragon.NUXI.org>, "David O'Brien" writes: >> >On Sat, Feb 16, 2008 at 12:42:29AM +0100, Dag-Erling Smrgrav wrote: >> >> Andrew Thompson writes: >> >> > Added files: >> >> > sys/geom/lvm g_lvm.c g_lvm.h >> >> > share/man/man4 geom_lvm.4 >> >> > Log: >> >> > Add a geom class to map Linux LVM logical volumes. >> >> >> >> I really wish you had chosen a less generic name... >> > >> >Its not too late to change the name. >> >> I agree, it should be linux_lvm unless the Linux camp has a >> more precise name for it. > >Fine by me. Just to be sure the correct module and manpage names should >be geom_linux_lvm? yes. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From brueffer at FreeBSD.org Sat Feb 16 00:59:17 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sat Feb 16 00:59:19 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802160859.m1G8xHu6013074@repoman.freebsd.org> brueffer 2008-02-16 08:59:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 hptrr.4 Log: MFC: rev. 1.3 The hptrr driver first appeared in 6.3, not 5.3. Revision Changes Path 1.1.2.3 +1 -1 src/share/man/man4/hptrr.4 From brueffer at FreeBSD.org Sat Feb 16 01:00:03 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sat Feb 16 01:00:07 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802160900.m1G902dP013148@repoman.freebsd.org> brueffer 2008-02-16 09:00:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 hptrr.4 Log: MFC: rev. 1.3 The hptrr driver first appeared in 6.3, not 5.3. Revision Changes Path 1.1.4.2 +1 -1 src/share/man/man4/hptrr.4 From des at des.no Sat Feb 16 02:51:29 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Sat Feb 16 02:51:36 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <20080215.233427.1598351542.imp@bsdimp.com> (M. Warner Losh's message of "Fri\, 15 Feb 2008 23\:34\:27 -0700 \(MST\)") References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> Message-ID: <863artw4wh.fsf@ds4.des.no> "M. Warner Losh" writes: > Plus there was a very long, very heated thread about removing _ as a > valid name years ago. Have conditions changed since then? Frankly, > I'd like to have seen a change like this discussed more widely. There > was much debate before, and there turned out to be good reasons for > omitting the _. I just can't recall them now. There are valid reasons for allowing it. Somebody[tm] (I'll leave it up to you to guess who) thought it was a good idea to use _ in DNS names used for automatic detection of web proxies and domain controllers, IIRC. DES -- Dag-Erling Sm?rgrav - des@des.no From rwatson at FreeBSD.org Sat Feb 16 03:59:24 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 16 03:59:27 2008 Subject: cvs commit: src/sys/sys priv.h Message-ID: <200802161159.m1GBxOW6066362@repoman.freebsd.org> rwatson 2008-02-16 11:59:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys priv.h Log: Merge priv.h:1.16 from HEAD to RELENG_7: date: 2007/10/21 22:50:11; author: rwatson; state: Exp; lines: +1 -0 Add PRIV_VFS_STAT privilege, which will allow overriding policy limits on the right to stat() a file, such as in mac_bsdextended. Obtained from: TrustedBSD Project Revision Changes Path 1.15.2.1 +1 -0 src/sys/sys/priv.h From rwatson at FreeBSD.org Sat Feb 16 03:59:57 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 16 04:00:00 2008 Subject: cvs commit: src/sys/sys priv.h Message-ID: <200802161159.m1GBxuHY066444@repoman.freebsd.org> rwatson 2008-02-16 11:59:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys priv.h Log: Merge priv.h:1.17 from HEAD to RELENG_7: Add a new privilage category for DDB(4), and add PRIV_DDB_CAPTURE to control access to the DDB capture buffer. Revision Changes Path 1.15.2.2 +6 -1 src/sys/sys/priv.h From rwatson at FreeBSD.org Sat Feb 16 04:02:31 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 16 04:02:33 2008 Subject: cvs commit: src/sys/sys priv.h Message-ID: <200802161202.m1GC2UCP066640@repoman.freebsd.org> rwatson 2008-02-16 12:02:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys priv.h Log: Merge priv.h:1.19 from HEAD to RELENG_7: Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs. This privilege will authorize debugging system calls. (Slightly sooner than the 1 month MFC time I specified, but it's just a privilege definition, not a use of the privilege). Revision Changes Path 1.15.2.3 +6 -1 src/sys/sys/priv.h From ume at FreeBSD.org Sat Feb 16 04:43:38 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Sat Feb 16 04:43:43 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802161243.m1GChbEU074098@repoman.freebsd.org> ume 2008-02-16 12:43:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_thermal.c Log: MFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user overridable but is blocked on user_override mib. Not a few people want to use a passive cooling without their ACPI BIOS support. Revision Changes Path 1.64.2.2 +40 -0 src/sys/dev/acpica/acpi_thermal.c From ume at FreeBSD.org Sat Feb 16 04:45:26 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Sat Feb 16 04:45:28 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802161245.m1GCjQp3074318@repoman.freebsd.org> ume 2008-02-16 12:45:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_thermal.c Log: MFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user overridable but is blocked on user_override mib. Not a few people want to use a passive cooling without their ACPI BIOS support. Revision Changes Path 1.53.2.9 +40 -0 src/sys/dev/acpica/acpi_thermal.c From pawel.worach at gmail.com Sat Feb 16 06:27:23 2008 From: pawel.worach at gmail.com (Pawel Worach) Date: Sat Feb 16 06:27:28 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <863artw4wh.fsf@ds4.des.no> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <863artw4wh.fsf@ds4.des.no> Message-ID: <47B6EBF5.3030505@gmail.com> Dag-Erling Sm?rgrav wrote: > "M. Warner Losh" writes: >> Plus there was a very long, very heated thread about removing _ as a >> valid name years ago. Have conditions changed since then? Frankly, >> I'd like to have seen a change like this discussed more widely. There >> was much debate before, and there turned out to be good reasons for >> omitting the _. I just can't recall them now. > > There are valid reasons for allowing it. Somebody[tm] (I'll leave it up > to you to guess who) thought it was a good idea to use _ in DNS names > used for automatic detection of web proxies and domain controllers, IIRC. > BIND allows it in SRV records but not in A records. -- Pawel From bmah at FreeBSD.org Sat Feb 16 07:52:40 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 07:52:43 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml Message-ID: <200802161552.m1GFqegI098572@repoman.freebsd.org> bmah 2008-02-16 15:52:40 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: New release notes: AMD 6.1.5, awk 20071023, CVS 1.11.12, OpenPAM Hydrangea. Updated release notes: ncurses 5.6-20080209. Revision Changes Path 1.1079 +13 -1 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From bmah at FreeBSD.org Sat Feb 16 07:56:43 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 07:56:47 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml Message-ID: <200802161556.m1GFuhCW098782@repoman.freebsd.org> bmah 2008-02-16 15:56:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: MFC: AMD 6.1.5, awk 20071023, OpenPAM Hydrangea. Remove definition and use of &merged; marker...we don't use this on STABLE branches. Revision Changes Path 1.1068.2.22 +8 -6 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From bmah at FreeBSD.org Sat Feb 16 08:03:48 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 08:03:51 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml Message-ID: <200802161603.m1GG3m62000393@repoman.freebsd.org> bmah 2008-02-16 16:03:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: New release notes: SA-08:03.sendfile, 700MB CDROM media for ISOs, rr232x(4) gone. Modified release notes: Added missing word to SA-08:02.libc note, mention SATA RAID in hptiop(4) note, FILE 4.23. Approved by: re (implicitly) Revision Changes Path 1.1068.2.20.2.3 +22 -3 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From bmah at FreeBSD.org Sat Feb 16 08:08:05 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 08:08:07 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml Message-ID: <200802161608.m1GG84Ds000597@repoman.freebsd.org> bmah 2008-02-16 16:08:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: SA-08:03.sendfile. Revision Changes Path 1.883.2.90 +5 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From bmah at FreeBSD.org Sat Feb 16 08:09:44 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 08:09:48 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml Message-ID: <200802161609.m1GG9hZ4000664@repoman.freebsd.org> bmah 2008-02-16 16:09:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: SA-08:03.sendfile, SA-08:04.ipsec, tzdata2007k. Revision Changes Path 1.761.2.86 +17 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From ume at FreeBSD.org Sat Feb 16 08:19:55 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Sat Feb 16 08:19:58 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <47B6EBF5.3030505@gmail.com> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <863artw4wh.fsf@ds4.des.no> <47B6EBF5.3030505@gmail.com> Message-ID: Hi, >>>>> On Sat, 16 Feb 2008 14:58:13 +0100 >>>>> Pawel Worach said: pawel> Dag-Erling Sm?rgrav wrote: > "M. Warner Losh" writes: >> Plus there was a very long, very heated thread about removing _ as a >> valid name years ago. Have conditions changed since then? Frankly, >> I'd like to have seen a change like this discussed more widely. There >> was much debate before, and there turned out to be good reasons for >> omitting the _. I just can't recall them now. > > There are valid reasons for allowing it. Somebody[tm] (I'll leave it up > to you to guess who) thought it was a good idea to use _ in DNS names > used for automatic detection of web proxies and domain controllers, IIRC. > pawel> BIND allows it in SRV records but not in A records. Not all DNS servers are BIND. Though use of `_' in hostname violates RFC, some implementations of DNS server allow it, and it is used actually. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From markus at FreeBSD.org Sat Feb 16 08:21:17 2008 From: markus at FreeBSD.org (Markus Brueffer) Date: Sat Feb 16 08:21:19 2008 Subject: cvs commit: src/sys/fs/udf udf_vfsops.c Message-ID: <200802161621.m1GGLHgS002264@repoman.freebsd.org> markus 2008-02-16 16:21:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/udf udf_vfsops.c Log: MFC rev. 1.50: Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor tag. Approved by: emax (mentor) Revision Changes Path 1.48.2.2 +1 -1 src/sys/fs/udf/udf_vfsops.c From markus at FreeBSD.org Sat Feb 16 08:21:22 2008 From: markus at FreeBSD.org (Markus Brueffer) Date: Sat Feb 16 08:21:27 2008 Subject: cvs commit: src/sys/fs/udf udf_vfsops.c Message-ID: <200802161621.m1GGLMXQ002291@repoman.freebsd.org> markus 2008-02-16 16:21:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/udf udf_vfsops.c Log: MFC rev. 1.50: Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor tag. Approved by: emax (mentor) Revision Changes Path 1.33.2.6 +1 -1 src/sys/fs/udf/udf_vfsops.c From markus at FreeBSD.org Sat Feb 16 08:21:27 2008 From: markus at FreeBSD.org (Markus Brueffer) Date: Sat Feb 16 08:21:32 2008 Subject: cvs commit: src/sys/fs/udf udf_vfsops.c Message-ID: <200802161621.m1GGLQJZ002318@repoman.freebsd.org> markus 2008-02-16 16:21:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/fs/udf udf_vfsops.c Log: MFC rev. 1.50: Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor tag. Approved by: emax (mentor) Revision Changes Path 1.20.2.2 +1 -1 src/sys/fs/udf/udf_vfsops.c From bmah at freebsd.org Sat Feb 16 08:23:54 2008 From: bmah at freebsd.org (Bruce A. Mah) Date: Sat Feb 16 08:24:51 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml In-Reply-To: <200802161609.m1GG9hZ4000664@repoman.freebsd.org> References: <200802161609.m1GG9hZ4000664@repoman.freebsd.org> Message-ID: <47B70E18.80301@freebsd.org> If memory serves me right, Bruce A. Mah wrote: > bmah 2008-02-16 16:09:43 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_5) > release/doc/en_US.ISO8859-1/relnotes/common new.sgml > Log: > MFC: SA-08:03.sendfile, SA-08:04.ipsec, tzdata2007k. > > Revision Changes Path > 1.761.2.86 +17 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml Oops...I should have mentioned that this commit also added a belated mention of SA-08:01.pty. Bruce. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080216/d2e5f511/signature.pgp From bmah at FreeBSD.org Sat Feb 16 08:28:08 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 08:28:13 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata article.sgml Message-ID: <200802161628.m1GGS8wM002599@repoman.freebsd.org> bmah 2008-02-16 16:28:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/errata article.sgml Log: New errata: SA-08:03.sendfile. Revision Changes Path 1.73.2.53 +4 -6 src/release/doc/en_US.ISO8859-1/errata/article.sgml From bmah at FreeBSD.org Sat Feb 16 08:30:45 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sat Feb 16 08:30:50 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata article.sgml Message-ID: <200802161630.m1GGUj7V002791@repoman.freebsd.org> bmah 2008-02-16 16:30:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) release/doc/en_US.ISO8859-1/errata article.sgml Log: New errata: SA-08:01.pty (somewhat belatedly), SA-08:03.sendfile, SA-08:04.ipsec. Revision Changes Path 1.69.2.52 +18 -0 src/release/doc/en_US.ISO8859-1/errata/article.sgml From rwatson at FreeBSD.org Sat Feb 16 08:31:32 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 16 08:31:37 2008 Subject: cvs commit: src/sys/sys priv.h Message-ID: <200802161631.m1GGVWMV002842@repoman.freebsd.org> rwatson 2008-02-16 16:31:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys priv.h Log: Merge priv.h:1.18 from HEAD to RELENG_7: Introduce a new privilege allowing to set certain IP header options (hop-by-hop, routing headers). Leave a few comments to be addressed later. (Note: This does not MFC the use of the privilege, only the definition of the privilege.) Revision Changes Path 1.15.2.4 +1 -0 src/sys/sys/priv.h From joerg at britannica.bec.de Sat Feb 16 09:47:53 2008 From: joerg at britannica.bec.de (Joerg Sonnenberger) Date: Sat Feb 16 09:47:57 2008 Subject: cvs commit: src/sys/geom/lvm g_lvm.c g_lvm.h src/share/man/man4 geom_lvm.4 In-Reply-To: <20080215235901.GA11610@dragon.NUXI.org> References: <200802110305.m1B35BFm022000@repoman.freebsd.org> <86ejbdwzve.fsf@ds4.des.no> <20080215235901.GA11610@dragon.NUXI.org> Message-ID: <20080216140716.GA928@britannica.bec.de> On Fri, Feb 15, 2008 at 03:59:01PM -0800, David O'Brien wrote: > On Sat, Feb 16, 2008 at 12:42:29AM +0100, Dag-Erling Smrgrav wrote: > > Andrew Thompson writes: > > > Added files: > > > sys/geom/lvm g_lvm.c g_lvm.h > > > share/man/man4 geom_lvm.4 > > > Log: > > > Add a geom class to map Linux LVM logical volumes. > > > > I really wish you had chosen a less generic name... > > Its not too late to change the name. geom_ibm_lvm or geom_aix_lvm? :-) Not sure if they are still compatible. Joerg From marcel at FreeBSD.org Sat Feb 16 09:59:28 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 16 09:59:32 2008 Subject: cvs commit: src/sys/powerpc/conf GENERIC Message-ID: <200802161759.m1GHxSJk019980@repoman.freebsd.org> marcel 2008-02-16 17:59:27 UTC FreeBSD src repository Modified files: sys/powerpc/conf GENERIC Log: Enable option WITNESS_SKIPSPIN by default. Revision Changes Path 1.76 +1 -0 src/sys/powerpc/conf/GENERIC From marcel at FreeBSD.org Sat Feb 16 10:30:59 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 16 10:31:01 2008 Subject: cvs commit: src/sys/ia64/conf GENERIC Message-ID: <200802161830.m1GIUxx9023571@repoman.freebsd.org> marcel 2008-02-16 18:30:59 UTC FreeBSD src repository Modified files: sys/ia64/conf GENERIC Log: Re-sort options. While here: o remove COMPAT_FREEBSD5 o add INVARIANTS o add WITNESS Revision Changes Path 1.95 +8 -5 src/sys/ia64/conf/GENERIC From brueffer at FreeBSD.org Sat Feb 16 12:29:07 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sat Feb 16 12:29:11 2008 Subject: cvs commit: src/share/man/man4 hptrr.4 Message-ID: <200802162029.m1GKT6VR033080@repoman.freebsd.org> brueffer 2008-02-16 20:29:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) share/man/man4 hptrr.4 Log: MFC: rev. 1.3 The hptrr driver first appeared in 6.3, not 5.3. Approved by: re (bmah) Revision Changes Path 1.1.2.1.2.2 +1 -1 src/share/man/man4/hptrr.4 From wilko at FreeBSD.org Sat Feb 16 14:00:07 2008 From: wilko at FreeBSD.org (Wilko Bulte) Date: Sat Feb 16 14:00:17 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802162200.m1GM06gq051488@repoman.freebsd.org> wilko 2008-02-16 22:00:06 UTC FreeBSD src repository Modified files: . access Log: njl has handed in his commit bit for safekeeping. Approved by: core (implicit) Revision Changes Path 1.857 +0 -1 CVSROOT/access From marcel at FreeBSD.org Sat Feb 16 14:13:12 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 16 14:13:17 2008 Subject: cvs commit: src/sys/boot/uboot Makefile src/sys/boot/uboot/common Makefile.inc main.c src/sys/boot/uboot/lib Makefile api_public.h console.c copy.c devicename.c disk.c elf_freebsd.c glue.c libuboot.h module.c net.c reboot.c time.c Message-ID: <200802162213.m1GMDCoJ053590@repoman.freebsd.org> marcel 2008-02-16 22:13:12 UTC FreeBSD src repository Added files: sys/boot/uboot Makefile sys/boot/uboot/common Makefile.inc main.c sys/boot/uboot/lib Makefile api_public.h console.c copy.c devicename.c disk.c elf_freebsd.c glue.c libuboot.h module.c net.c reboot.c time.c Log: MFp4 (e500): Add support for U-Boot. This uses the U-Boot API as developed by Rafal and which is (will be) part of U-Boot 1.3.2 and later. Credits to: raj@ Revision Changes Path 1.1 +5 -0 src/sys/boot/uboot/Makefile (new) 1.1 +3 -0 src/sys/boot/uboot/common/Makefile.inc (new) 1.1 +226 -0 src/sys/boot/uboot/common/main.c (new) 1.1 +28 -0 src/sys/boot/uboot/lib/Makefile (new) 1.1 +104 -0 src/sys/boot/uboot/lib/api_public.h (new) 1.1 +83 -0 src/sys/boot/uboot/lib/console.c (new) 1.1 +57 -0 src/sys/boot/uboot/lib/copy.c (new) 1.1 +237 -0 src/sys/boot/uboot/lib/devicename.c (new) 1.1 +103 -0 src/sys/boot/uboot/lib/disk.c (new) 1.1 +90 -0 src/sys/boot/uboot/lib/elf_freebsd.c (new) 1.1 +530 -0 src/sys/boot/uboot/lib/glue.c (new) 1.1 +74 -0 src/sys/boot/uboot/lib/libuboot.h (new) 1.1 +46 -0 src/sys/boot/uboot/lib/module.c (new) 1.1 +252 -0 src/sys/boot/uboot/lib/net.c (new) 1.1 +34 -0 src/sys/boot/uboot/lib/reboot.c (new) 1.1 +61 -0 src/sys/boot/uboot/lib/time.c (new) From marcel at FreeBSD.org Sat Feb 16 14:40:56 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 16 14:41:00 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot Makefile conf.c help.uboot ldscript.powerpc metadata.c start.S version Message-ID: <200802162240.m1GMetph056392@repoman.freebsd.org> marcel 2008-02-16 22:40:55 UTC FreeBSD src repository Added files: sys/boot/powerpc/uboot Makefile conf.c help.uboot ldscript.powerpc metadata.c start.S version Log: MFp4 (e500): Add support for U-Boot. This uses the U-Boot API as developed by Rafal and which is (will be) part of U-Boot 1.3.2 and later. Credits to: raj@ Revision Changes Path 1.1 +99 -0 src/sys/boot/powerpc/uboot/Makefile (new) 1.1 +109 -0 src/sys/boot/powerpc/uboot/conf.c (new) 1.1 +1 -0 src/sys/boot/powerpc/uboot/help.uboot (new) 1.1 +137 -0 src/sys/boot/powerpc/uboot/ldscript.powerpc (new) 1.1 +369 -0 src/sys/boot/powerpc/uboot/metadata.c (new) 1.1 +93 -0 src/sys/boot/powerpc/uboot/start.S (new) 1.1 +9 -0 src/sys/boot/powerpc/uboot/version (new) From delphij at delphij.net Sat Feb 16 15:40:38 2008 From: delphij at delphij.net (Xin LI) Date: Sat Feb 16 15:40:46 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <20080215.233427.1598351542.imp@bsdimp.com> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> Message-ID: <47B7746A.8080403@delphij.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M. Warner Losh wrote: > In message: <20080216024541.GA31498@nagual.pp.ru> > Andrey Chernov writes: > : On Sat, Feb 16, 2008 at 12:16:49AM +0000, Xin LI wrote: > : > delphij 2008-02-16 00:16:49 UTC > : > > : > FreeBSD src repository > : > > : > Modified files: > : > lib/libc/resolv res_comp.c > : > Log: > : > Allow underscore in domain names while resolving. While having underscore > : > is a violation of RFC 1034 [STD 13], it is accepted by certain name servers > : > as well as other popular operating systems' resolver library. > : > : Do you mean we'll have now different results from libc and from bind's > : resolver for names with underscore? If yes, it sounds worse than RFC > : violation committed. > > Plus there was a very long, very heated thread about removing _ as a > valid name years ago. Have conditions changed since then? Frankly, > I'd like to have seen a change like this discussed more widely. There > was much debate before, and there turned out to be good reasons for > omitting the _. I just can't recall them now. If we are pointing the same discussion thread, it finally reached a point which says that there is security concerns, claiming that gethostbyname() and friends should do aggressive sanity check for domain names. While this might be reasonable at that time of discussion, I would argue that with the world outside *BSD all accepts _ in host names at the resolver side, the alleged _ -> - transition never finished as people expected in the early age of Internet, and so that as applications ported to these platforms from time to time, they will have to face the fact that _ is considered as valid by their resolvers. Moreover, if "_" is that harmful to any individual applications, I would say that they should check it at the input stage, which is considered as the attack surface, not to rely on base services like resolver to do the sanity check. I don't think it would be the end of world if we allow _ in host names. All other (lame) OSes allows it, their resolver just accepts this character and give the answer, actually, I would be very surprised if it can still cause any real world attack nowadays. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHt3Rqi+vbBBjt66ARAlc8AKC3DAuRfzEuIWUicQBDeDLA5aLk/wCfdtNa qJ/s+THCAGNsF7M47UMXieI= =LDaK -----END PGP SIGNATURE----- From delphij at FreeBSD.org Sat Feb 16 17:16:41 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sat Feb 16 17:16:43 2008 Subject: cvs commit: src/release/doc/zh_CN.GB2312/relnotes article.sgml Message-ID: <200802170116.m1H1Gem8091717@repoman.freebsd.org> delphij 2008-02-17 01:16:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) release/doc/zh_CN.GB2312/relnotes article.sgml Log: Catch up with 1.1068.2.20.2.3. Approved by: re (bmah) Revision Changes Path 1.1.2.2.2.3 +17 -3 src/release/doc/zh_CN.GB2312/relnotes/article.sgml From imp at FreeBSD.org Sat Feb 16 18:46:57 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Feb 16 18:46:59 2008 Subject: cvs commit: src/sys/kern kern_tc.c Message-ID: <200802170246.m1H2kuZo098079@repoman.freebsd.org> imp 2008-02-17 02:46:55 UTC FreeBSD src repository Modified files: sys/kern kern_tc.c Log: Fix typo in comment. Revision Changes Path 1.180 +1 -1 src/sys/kern/kern_tc.c From gshapiro at FreeBSD.org Sat Feb 16 21:14:48 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sat Feb 16 21:14:54 2008 Subject: cvs commit: src/lib/libmilter Makefile Message-ID: <200802170514.m1H5ElJY050582@repoman.freebsd.org> gshapiro 2008-02-17 05:14:47 UTC FreeBSD src repository Modified files: lib/libmilter Makefile Log: Switch libmilter from select(2) to poll(2) so milters are not limited by the size of FD_SETSIZE. PR: 118824 Submitted by: vsevolod MFC after: 3 weeks Revision Changes Path 1.8 +1 -0 src/lib/libmilter/Makefile From gshapiro at FreeBSD.org Sat Feb 16 21:22:12 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sat Feb 16 21:22:17 2008 Subject: cvs commit: src/etc/mail access.sample Message-ID: <200802170522.m1H5MC26050962@repoman.freebsd.org> gshapiro 2008-02-17 05:22:09 UTC FreeBSD src repository Modified files: etc/mail access.sample Log: Use better examples (and comment them out for safety). PR: 118837 Submitted by: Matthew Seaman MFC after: 1 week Revision Changes Path 1.4 +13 -6 src/etc/mail/access.sample From gshapiro at FreeBSD.org Sat Feb 16 21:38:31 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sat Feb 16 21:38:34 2008 Subject: cvs commit: src/etc/sendmail freebsd.mc Message-ID: <200802170538.m1H5cUBZ051579@repoman.freebsd.org> gshapiro 2008-02-17 05:38:30 UTC FreeBSD src repository Modified files: etc/sendmail freebsd.mc Log: Fix quoting for the dnsbl example -- m4 misparses quoted strings with commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling MFC after: 1 week Revision Changes Path 1.36 +1 -1 src/etc/sendmail/freebsd.mc From gibbs at FreeBSD.org Sat Feb 16 22:15:03 2008 From: gibbs at FreeBSD.org (Justin T. Gibbs) Date: Sat Feb 16 22:15:06 2008 Subject: cvs commit: src/sys/dev/aic7xxx aic79xx_osm.c Message-ID: <200802170615.m1H6F2cq055442@repoman.freebsd.org> gibbs 2008-02-17 06:15:00 UTC FreeBSD src repository Modified files: sys/dev/aic7xxx aic79xx_osm.c Log: Advertise to CAM the ability of 790X controllers to negotiate information unit transfers (packetized/U320 protocol) and QAS. Revision Changes Path 1.30 +3 -2 src/sys/dev/aic7xxx/aic79xx_osm.c From das at FreeBSD.org Sat Feb 16 23:32:00 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:32:02 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c k_rem_pio2.c math_private.h Message-ID: <200802170731.m1H7Vxu3060498@repoman.freebsd.org> das 2008-02-17 07:31:59 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c k_rem_pio2.c math_private.h Log: Add more pi for long doubles. Also, avoid storing multiple copies of the pi/2 array, as it is unlikely to vary, except in Indiana. Revision Changes Path 1.9 +1 -18 src/lib/msun/src/e_rem_pio2.c 1.20 +1 -18 src/lib/msun/src/e_rem_pio2f.c 1.10 +143 -11 src/lib/msun/src/k_rem_pio2.c 1.24 +9 -3 src/lib/msun/src/math_private.h From das at FreeBSD.org Sat Feb 16 23:32:15 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:32:19 2008 Subject: cvs commit: src/lib/msun/ld80 k_cosl.c k_sinl.c k_tanl.c Message-ID: <200802170732.m1H7WE7H060541@repoman.freebsd.org> das 2008-02-17 07:32:14 UTC FreeBSD src repository Added files: lib/msun/ld80 k_cosl.c k_sinl.c k_tanl.c Log: Add kernel functions for 80-bit long doubles. Many thanks to Steve and Bruce for putting lots of effort into these; getting them right isn't easy, and they went through many iterations. Submitted by: Steve Kargl with revisions from bde Revision Changes Path 1.1 +78 -0 src/lib/msun/ld80/k_cosl.c (new) 1.1 +62 -0 src/lib/msun/ld80/k_sinl.c (new) 1.1 +124 -0 src/lib/msun/ld80/k_tanl.c (new) From das at FreeBSD.org Sat Feb 16 23:32:32 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:32:36 2008 Subject: cvs commit: src/lib/msun/ld128 k_cosl.c k_sinl.c k_tanl.c Message-ID: <200802170732.m1H7WVfb060585@repoman.freebsd.org> das 2008-02-17 07:32:31 UTC FreeBSD src repository Added files: lib/msun/ld128 k_cosl.c k_sinl.c k_tanl.c Log: Add kernel functions for 128-bit long doubles. These could be improved a bit, but access to a freebsd/sparc64 machine is needed. Submitted by: bde and Steve Kargl (earlier version) Revision Changes Path 1.1 +61 -0 src/lib/msun/ld128/k_cosl.c (new) 1.1 +59 -0 src/lib/msun/ld128/k_sinl.c (new) 1.1 +119 -0 src/lib/msun/ld128/k_tanl.c (new) From das at FreeBSD.org Sat Feb 16 23:32:45 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:32:49 2008 Subject: cvs commit: src/lib/msun/man cos.3 sin.3 tan.3 Message-ID: <200802170732.m1H7WiO3060623@repoman.freebsd.org> das 2008-02-17 07:32:44 UTC FreeBSD src repository Modified files: lib/msun/man cos.3 sin.3 tan.3 Log: Documentation for sinl(), cosl(), and tanl(). Revision Changes Path 1.13 +15 -12 src/lib/msun/man/cos.3 1.11 +15 -12 src/lib/msun/man/sin.3 1.11 +16 -11 src/lib/msun/man/tan.3 From das at FreeBSD.org Sat Feb 16 23:33:13 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:33:15 2008 Subject: cvs commit: src/lib/msun/src math.h s_cos.c s_cosl.c s_sin.c s_sinl.c s_tan.c s_tanl.c Message-ID: <200802170733.m1H7XCYl060713@repoman.freebsd.org> das 2008-02-17 07:33:12 UTC FreeBSD src repository Modified files: lib/msun/src math.h s_cos.c s_sin.c s_tan.c Added files: lib/msun/src s_cosl.c s_sinl.c s_tanl.c Log: Add implementations of sinl(), cosl(), and tanl(). Submitted by: Steve Kargl Revision Changes Path 1.68 +6 -0 src/lib/msun/src/math.h 1.11 +6 -0 src/lib/msun/src/s_cos.c 1.1 +114 -0 src/lib/msun/src/s_cosl.c (new) 1.11 +6 -0 src/lib/msun/src/s_sin.c 1.1 +115 -0 src/lib/msun/src/s_sinl.c (new) 1.11 +6 -0 src/lib/msun/src/s_tan.c 1.1 +114 -0 src/lib/msun/src/s_tanl.c (new) From das at FreeBSD.org Sat Feb 16 23:33:52 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Feb 16 23:33:53 2008 Subject: cvs commit: src/lib/msun Makefile Symbol.map Message-ID: <200802170733.m1H7Xp8o060786@repoman.freebsd.org> das 2008-02-17 07:33:51 UTC FreeBSD src repository Modified files: lib/msun Makefile Symbol.map Log: Hook up sinl(), cosl(), and tanl() to the build. Revision Changes Path 1.88 +9 -7 src/lib/msun/Makefile 1.13 +3 -0 src/lib/msun/Symbol.map From rwatson at FreeBSD.org Sun Feb 17 04:40:28 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 17 04:40:34 2008 Subject: cvs commit: src/sys/fs/coda TODO Message-ID: <200802171240.m1HCeRIG099733@repoman.freebsd.org> rwatson 2008-02-17 12:40:27 UTC FreeBSD src repository Modified files: sys/fs/coda TODO Log: Remove namecache performance-tuning todo for Coda: we now use the FreeBSD name cache. MFC after: 1 month Revision Changes Path 1.4 +0 -1 src/sys/fs/coda/TODO From rwatson at FreeBSD.org Sun Feb 17 06:33:29 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 17 06:33:30 2008 Subject: cvs commit: src/sys/fs/coda TODO cnode.h coda_kernel.h coda_psdev.c Message-ID: <200802171433.m1HEXSJV019569@repoman.freebsd.org> rwatson 2008-02-17 14:33:28 UTC FreeBSD src repository Modified files: sys/fs/coda TODO cnode.h coda_psdev.c Removed files: sys/fs/coda coda_kernel.h Log: Remove custom queue macros in Coda, replacing them with queue(9) tailq macros. The only semantic change was the need to add a vc_opened field to struct vcomm since we can no longer use the request queue returning to an uninitialized state to hold whether or not the device is open. MFC after: 1 month Revision Changes Path 1.5 +0 -3 src/sys/fs/coda/TODO 1.29 +8 -12 src/sys/fs/coda/cnode.h 1.8 +0 -67 src/sys/fs/coda/coda_kernel.h (dead) 1.48 +22 -23 src/sys/fs/coda/coda_psdev.c From gibbs at FreeBSD.org Sun Feb 17 07:22:27 2008 From: gibbs at FreeBSD.org (Justin T. Gibbs) Date: Sun Feb 17 07:22:31 2008 Subject: cvs commit: src/sys/dev/aic7xxx aic79xx_osm.c Message-ID: <200802171522.m1HFMQoY023806@repoman.freebsd.org> gibbs 2008-02-17 15:22:26 UTC FreeBSD src repository Modified files: sys/dev/aic7xxx aic79xx_osm.c Log: Remove superfluous setting of the transport_version field of our path inquiry response - a likely holdover from the port of this code from the aic7xxx driver. Revision Changes Path 1.31 +0 -1 src/sys/dev/aic7xxx/aic79xx_osm.c From kris at FreeBSD.org Sun Feb 17 07:28:28 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Feb 17 07:28:34 2008 Subject: cvs commit: src/sys/kern kern_exit.c Message-ID: <200802171528.m1HFSS8W024069@repoman.freebsd.org> kris 2008-02-17 15:28:28 UTC FreeBSD src repository Modified files: sys/kern kern_exit.c Log: Switch from conditionally dropping Giant in exit1() to asserting it is not held, which appears to be always true. Revision Changes Path 1.308 +1 -6 src/sys/kern/kern_exit.c From gibbs at FreeBSD.org Sun Feb 17 08:00:36 2008 From: gibbs at FreeBSD.org (Justin T. Gibbs) Date: Sun Feb 17 08:00:42 2008 Subject: cvs commit: src/sys/dev/aic7xxx aic79xx_osm.c Message-ID: <200802171600.m1HG0aYB026117@repoman.freebsd.org> gibbs 2008-02-17 16:00:36 UTC FreeBSD src repository Modified files: sys/dev/aic7xxx aic79xx_osm.c Log: Only print sense data diagnostics if debugging is enabled with the AHD_SHOW_SENSE flag. Revision Changes Path 1.32 +12 -6 src/sys/dev/aic7xxx/aic79xx_osm.c From antoine at FreeBSD.org Sun Feb 17 08:44:49 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sun Feb 17 08:44:52 2008 Subject: cvs commit: src/sys/kern kern_mib.c Message-ID: <200802171644.m1HGimHq031057@repoman.freebsd.org> antoine 2008-02-17 16:44:48 UTC FreeBSD src repository Modified files: sys/kern kern_mib.c Log: Make sysctl_kern_arnd return a random buffer instead of a random long, as it is expected by userland (stack protector guard setup for example). PR: 119129 Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.88 +9 -5 src/sys/kern/kern_mib.c From jasone at FreeBSD.org Sun Feb 17 09:09:25 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Sun Feb 17 09:09:31 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.3 malloc.c Message-ID: <200802171709.m1HH9O33044137@repoman.freebsd.org> jasone 2008-02-17 17:09:24 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.3 malloc.c Log: Remove support for lazy deallocation. Benchmarks across a wide range of allocation patterns, number of CPUs, and MALLOC_OPTIONS settings indicate that lazy deallocation has the potential to worsen throughput dramatically. Performance degradation occurs when multiple threads try to clear the lazy free cache simultaneously. Various experiments to avoid this bottleneck failed to completely solve this problem, while adding yet more complexity. Revision Changes Path 1.78 +1 -12 src/lib/libc/stdlib/malloc.3 1.165 +3 -209 src/lib/libc/stdlib/malloc.c From jasone at FreeBSD.org Sun Feb 17 10:34:17 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Sun Feb 17 10:34:22 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200802171834.m1HIYHkX067193@repoman.freebsd.org> jasone 2008-02-17 18:34:17 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix a race condition in arena_ralloc() for shrinking in-place large reallocation, when junk filling is enabled. Junk filling must occur prior to shrinking, since any deallocated trailing pages are immediately available for use by other threads. Reported by: Mats Palmgren Revision Changes Path 1.166 +41 -25 src/lib/libc/stdlib/malloc.c From yar at FreeBSD.org Sun Feb 17 12:25:26 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sun Feb 17 12:25:31 2008 Subject: cvs commit: src/sbin/mount getmntopts.3 Message-ID: <200802172025.m1HKPQ5g076722@repoman.freebsd.org> yar 2008-02-17 20:25:26 UTC FreeBSD src repository Modified files: sbin/mount getmntopts.3 Log: Correct the description of getmnt_silent: unknown options are silently ignored if this variable is non-zero, which is quite logical given the variable's name. Revision Changes Path 1.15 +3 -2 src/sbin/mount/getmntopts.3 From marcel at FreeBSD.org Sun Feb 17 12:34:36 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Feb 17 12:34:41 2008 Subject: cvs commit: src/sys/boot Makefile Message-ID: <200802172034.m1HKYaN4077070@repoman.freebsd.org> marcel 2008-02-17 20:34:36 UTC FreeBSD src repository Modified files: sys/boot Makefile Log: Hook the U-Boot library up to the build. Revision Changes Path 1.33 +6 -1 src/sys/boot/Makefile From marcel at FreeBSD.org Sun Feb 17 12:38:22 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Feb 17 12:38:26 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot start.S Message-ID: <200802172038.m1HKcM0x077326@repoman.freebsd.org> marcel 2008-02-17 20:38:22 UTC FreeBSD src repository Modified files: sys/boot/powerpc/uboot start.S Log: Move the $FreeBSD$ tag in a comment as __FBSDID doesn't work. Revision Changes Path 1.2 +2 -3 src/sys/boot/powerpc/uboot/start.S From joao.barros at gmail.com Sun Feb 17 13:20:00 2008 From: joao.barros at gmail.com (Joao Barros) Date: Sun Feb 17 13:20:02 2008 Subject: cvs commit: src/lib/msun/ld128 k_cosl.c k_sinl.c k_tanl.c In-Reply-To: <200802170732.m1H7WVfb060585@repoman.freebsd.org> References: <200802170732.m1H7WVfb060585@repoman.freebsd.org> Message-ID: <70e8236f0802171251g14755269t1dc27a014cc96c9c@mail.gmail.com> On Feb 17, 2008 7:32 AM, David Schultz wrote: > das 2008-02-17 07:32:31 UTC > > FreeBSD src repository > > Added files: > lib/msun/ld128 k_cosl.c k_sinl.c k_tanl.c > Log: > Add kernel functions for 128-bit long doubles. These could be improved > a bit, but access to a freebsd/sparc64 machine is needed. > > Submitted by: bde and Steve Kargl (earlier version) > I can setup my Ultra 5 and provide root access. Please let me know. -- Joao Barros From das at FreeBSD.org Sun Feb 17 13:53:19 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Feb 17 13:53:24 2008 Subject: cvs commit: src/lib/msun/src e_exp.c Message-ID: <200802172153.m1HLrJ5T091750@repoman.freebsd.org> das 2008-02-17 21:53:19 UTC FreeBSD src repository Modified files: lib/msun/src e_exp.c Log: Use volatile hacks to make sure exp() generates an underflow exception when it's supposed to. Previously, gcc -O2 was optimizing away the statement that generated it. Revision Changes Path 1.12 +2 -1 src/lib/msun/src/e_exp.c From yar at FreeBSD.org Sun Feb 17 14:32:08 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sun Feb 17 14:32:12 2008 Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c Message-ID: <200802172232.m1HMW84Z095391@repoman.freebsd.org> yar 2008-02-17 22:32:08 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: Prevent the NFS client from losing MNT_ROOTFS on the root file system. In particular, stop overwriting mount point flags in nfs_mountdiskless() because now they are set elsewhere. (They were _initialized_ by that function in the 4.4BSD days, when mount structures were not allocated in a centralized manner -- see rev. 1.1 of this file.) Fix nfs_mount(), which happened to depend on the loss of MNT_ROOTFS when it came to update handling. Also note that mountnfs() no longer handles updates. Now they shouldn't reach this function, so printf a diagnostic message if that happens due to a coding error. Revision Changes Path 1.199 +6 -9 src/sys/nfsclient/nfs_vfsops.c From das at FreeBSD.org Sun Feb 17 14:45:56 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Feb 17 14:46:00 2008 Subject: cvs commit: src/tools/regression/lib/msun test-exponential.c Message-ID: <200802172245.m1HMjuGR096612@repoman.freebsd.org> das 2008-02-17 22:45:53 UTC FreeBSD src repository Modified files: tools/regression/lib/msun test-exponential.c Log: There are 3 tests here, not 2. Revision Changes Path 1.3 +1 -1 src/tools/regression/lib/msun/test-exponential.c From yar at FreeBSD.org Sun Feb 17 16:05:52 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sun Feb 17 16:05:57 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Message-ID: <200802180005.m1I05pvO003406@repoman.freebsd.org> yar 2008-02-18 00:05:50 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.c Log: Don't forget to prepare string options for nmount(2). Otherwise things won't work as intended, e.g., it'll be impossible to upgrade NFS root mount to read-write. Reported by: kris Revision Changes Path 1.74 +8 -1 src/sbin/mount_nfs/mount_nfs.c From yar at FreeBSD.org Sun Feb 17 16:23:29 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sun Feb 17 16:23:34 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Message-ID: <200802180023.m1I0NSCs005050@repoman.freebsd.org> yar 2008-02-18 00:23:28 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.c Log: Back out rev. 1.74 because the kernel isn't ready yet to see NFS specific string options. Revision Changes Path 1.75 +1 -8 src/sbin/mount_nfs/mount_nfs.c From mpp at FreeBSD.org Sun Feb 17 17:36:41 2008 From: mpp at FreeBSD.org (Mike Pritchard) Date: Sun Feb 17 17:36:42 2008 Subject: cvs commit: src/usr.bin/quota quota.c Message-ID: <200802180136.m1I1afsk019240@repoman.freebsd.org> mpp 2008-02-18 01:36:40 UTC FreeBSD src repository Modified files: usr.bin/quota quota.c Log: Make the human readable numbers printed with the -h option a bit more human readable by telling the human print routines to use a smaller buffer to format the value. This makes it so a value that was previously being printed as 600000K will now print as 586M. Revision Changes Path 1.32 +6 -4 src/usr.bin/quota/quota.c From das at FreeBSD.org Sun Feb 17 18:00:17 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Feb 17 18:00:22 2008 Subject: cvs commit: src/tools/regression/lib/msun Makefile test-trig.c test-trig.t Message-ID: <200802180200.m1I20Hms020345@repoman.freebsd.org> das 2008-02-18 02:00:17 UTC FreeBSD src repository Modified files: tools/regression/lib/msun Makefile Added files: tools/regression/lib/msun test-trig.c test-trig.t Log: Some basic regression tests for {sin,cos,tan}{,f,l}(). Revision Changes Path 1.11 +1 -1 src/tools/regression/lib/msun/Makefile 1.1 +282 -0 src/tools/regression/lib/msun/test-trig.c (new) 1.1 +10 -0 src/tools/regression/lib/msun/test-trig.t (new) From kevlo at FreeBSD.org Sun Feb 17 19:19:26 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Sun Feb 17 19:19:29 2008 Subject: cvs commit: src/lib/libc/db/test dbtest.c src/lib/libc/db/test/btree.tests main.c src/lib/libc/regex/grot main.c src/usr.sbin/powerd powerd.c Message-ID: <200802180319.m1I3JPif027769@repoman.freebsd.org> kevlo 2008-02-18 03:19:25 UTC FreeBSD src repository Modified files: lib/libc/db/test dbtest.c lib/libc/db/test/btree.tests main.c lib/libc/regex/grot main.c usr.sbin/powerd powerd.c Log: getopt(3) returns -1, not EOF. Revision Changes Path 1.6 +1 -1 src/lib/libc/db/test/btree.tests/main.c 1.12 +1 -1 src/lib/libc/db/test/dbtest.c 1.4 +1 -1 src/lib/libc/regex/grot/main.c 1.22 +1 -1 src/usr.sbin/powerd/powerd.c From edwin at FreeBSD.org Sun Feb 17 23:09:18 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sun Feb 17 23:09:20 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.dutch Message-ID: <200802180709.m1I79IPj058198@repoman.freebsd.org> edwin 2008-02-18 07:09:17 UTC FreeBSD src repository Modified files: usr.bin/calendar/calendars calendar.dutch Log: remove Vette Dinsdag. It was on the wrong day of the week, and not really a term I'm familiar with. Of course this can happen since naming of events and happenings during Carnaval are very localized Approved by: grog@ Revision Changes Path 1.4 +1 -1 src/usr.bin/calendar/calendars/calendar.dutch From dds at FreeBSD.org Mon Feb 18 01:15:55 2008 From: dds at FreeBSD.org (Diomidis Spinellis) Date: Mon Feb 18 01:15:58 2008 Subject: cvs commit: src/share/colldef el_GR.ISO8859-7.src Message-ID: <200802180915.m1I9FtmC080096@repoman.freebsd.org> dds 2008-02-18 09:15:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/colldef el_GR.ISO8859-7.src Log: MFC version 1.3 Fix collation order for accented characters. Revision Changes Path 1.2.16.1 +11 -11 src/share/colldef/el_GR.ISO8859-7.src From dds at FreeBSD.org Mon Feb 18 01:17:12 2008 From: dds at FreeBSD.org (Diomidis Spinellis) Date: Mon Feb 18 01:17:17 2008 Subject: cvs commit: src/share/colldef el_GR.ISO8859-7.src Message-ID: <200802180917.m1I9HC30080161@repoman.freebsd.org> dds 2008-02-18 09:17:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/colldef el_GR.ISO8859-7.src Log: MFC version 1.3 Fix collation order for accented characters. Revision Changes Path 1.2.26.1 +11 -11 src/share/colldef/el_GR.ISO8859-7.src From yar at FreeBSD.org Mon Feb 18 02:10:43 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Mon Feb 18 02:10:47 2008 Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200802181010.m1IAAg0a084252@repoman.freebsd.org> yar 2008-02-18 10:10:42 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Add a remark on a questionable property of vfs_mergeopts(). Revision Changes Path 1.275 +7 -0 src/sys/kern/vfs_mount.c From yar at FreeBSD.org Mon Feb 18 02:24:48 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Mon Feb 18 02:24:51 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Message-ID: <200802181024.m1IAOmoF089632@repoman.freebsd.org> yar 2008-02-18 10:24:48 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.c Log: Add a work-around to make it possible again to remount NFS root r/w. The real solution would be to bring the whole nmount(2) framework, including FS drivers and userland tools, into a consistent state at last; but things should work in the meantime, too. Reported by: kris Revision Changes Path 1.76 +9 -0 src/sbin/mount_nfs/mount_nfs.c From rodrigc at crodrigues.org Mon Feb 18 02:37:36 2008 From: rodrigc at crodrigues.org (Craig Rodrigues) Date: Mon Feb 18 02:37:40 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <200802181024.m1IAOmoF089632@repoman.freebsd.org> References: <200802181024.m1IAOmoF089632@repoman.freebsd.org> Message-ID: <20080218103736.GA79284@crodrigues.org> On Mon, Feb 18, 2008 at 10:24:48AM +0000, Yar Tikhiy wrote: > The real solution would be to bring the whole nmount(2) > framework, including FS drivers and userland tools, into > a consistent state at last; but things should work in the > meantime, too. When I read comments like this, I have the feeling that you are doing drive-by-commits to areas where you do not understand the full implications of what you are doing. Can you slow down on your commits to the mount code, and try to post more of your patches to mailing lists so other people can review them and try them out? You've indicated to me that you don't have time to fully test out and implement the necessary changes to fix all the file systems and userland code in FreeBSD related to mounting file systems. While I appreciate your efforts to deal with PR's and fix things, the mount code is a tangled web, and it is very easy to introduce subtle errors in unrelated areas by committing what appear to be "obvious fixes". This has happened to a few people (including me) in the past. -- Craig Rodrigues rodrigc@crodrigues.org From rodrigc at crodrigues.org Mon Feb 18 02:48:46 2008 From: rodrigc at crodrigues.org (Craig Rodrigues) Date: Mon Feb 18 02:48:50 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <200802181024.m1IAOmoF089632@repoman.freebsd.org> References: <200802181024.m1IAOmoF089632@repoman.freebsd.org> Message-ID: <20080218104846.GA81672@crodrigues.org> On Mon, Feb 18, 2008 at 10:24:48AM +0000, Yar Tikhiy wrote: > yar 2008-02-18 10:24:48 UTC > > FreeBSD src repository > > Modified files: > sbin/mount_nfs mount_nfs.c > Log: > Add a work-around to make it possible again to remount > NFS root r/w. This is really a horrible hack. If this hack is necessary due to your 1.274 change to vfs_mount.c, can you back this change and 1.274 to vfs_mount.c out, until we can analyze the full implications of your change, and properly fix the necessary infrastructure, instead of committing hack after hack? Thanks. -- Craig Rodrigues rodrigc@crodrigues.org From des at des.no Mon Feb 18 04:50:38 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 18 04:50:42 2008 Subject: cvs commit: src/sys/kern vfs_mount.c In-Reply-To: <200802141704.m1EH4VL4099009@repoman.freebsd.org> (Yar Tikhiy's message of "Thu\, 14 Feb 2008 17\:04\:31 +0000 \(UTC\)") References: <200802141704.m1EH4VL4099009@repoman.freebsd.org> Message-ID: <86y79i5syt.fsf@ds4.des.no> Yar Tikhiy writes: > Log: > In the new order of things dictated by nmount(2), a read-only mount > is to be requested via a "ro" option. At the same time, MNT_RDONLY > is gradually becoming an indicator of the current state of the FS > instead of a command flag. Today passing MNT_RDONLY alone to the > kernel's mount machinery will lead to various glitches. (See the > PRs for examples.) > > Therefore mount the root FS with a "ro" option instead of the > MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount > flags internally, by vfs_donmount(), if "ro" was specified.) Can you guarantee that this will not f*** up the bootp / dhcp + nfsroot case? There are dragons in that code which were decidedly not funny to track down and fix. DES -- Dag-Erling Sm?rgrav - des@des.no From bde at FreeBSD.org Mon Feb 18 06:02:13 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 18 06:02:18 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c s_cos.c s_sin.c s_tan.c Message-ID: <200802181402.m1IE2CoA017929@repoman.freebsd.org> bde 2008-02-18 14:02:12 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c s_cos.c s_sin.c s_tan.c Log: Inline __ieee754__rem_pio2(). With gcc4-2, this gives an average optimization of about 10% for cos(x), sin(x) and tan(x) on |x| < 2**19*pi/2. We didn't do this before because __ieee754__rem_pio2() is too large and complicated for gcc-3.3 to inline very well. We don't do this for float precision because it interferes with optimization of the usual (?) case (|x| < 9pi/4) which is manually inlined for float precision only. This has some rough edges: - some static data is duplicated unnecessarily. There isn't much after the recent move of large tables to k_rem_pio2.c, and some static data is duplicated to good affect (all the data static const, so that the compiler can evaluate expressions like 2*pio2 at compile time and generate even more static data for the constant for this). - extern inline is used (for the same reason as in previous inlining of k_cosf.c etc.), but C99 apparently doesn't allow extern inline functions with static data, and gcc will eventually warn about this. Convert to __FBSDID(). Indent __ieee754_rem_pio2()'s declaration consistently (its style was made inconsistent with fdlibm a while ago, so complete this). Fix __ieee754_rem_pio2()'s return type to match its prototype. Someone changed too many ints to int32_t's when fixing the assumption that all ints are int32_t's. Revision Changes Path 1.10 +7 -4 src/lib/msun/src/e_rem_pio2.c 1.12 +4 -3 src/lib/msun/src/s_cos.c 1.12 +4 -3 src/lib/msun/src/s_sin.c 1.12 +4 -3 src/lib/msun/src/s_tan.c From bde at FreeBSD.org Mon Feb 18 06:09:41 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 18 06:09:43 2008 Subject: cvs commit: src/lib/msun/ld80 k_tanl.c Message-ID: <200802181409.m1IE9fxU019379@repoman.freebsd.org> bde 2008-02-18 14:09:41 UTC FreeBSD src repository Modified files: lib/msun/ld80 k_tanl.c Log: Fix a typo which broke k_tanl.c on !(amd64 || i386). Revision Changes Path 1.2 +1 -1 src/lib/msun/ld80/k_tanl.c From yar at comp.chem.msu.su Mon Feb 18 06:20:31 2008 From: yar at comp.chem.msu.su (Yar Tikhiy) Date: Mon Feb 18 06:20:34 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <20080218104846.GA81672@crodrigues.org> References: <200802181024.m1IAOmoF089632@repoman.freebsd.org> <20080218104846.GA81672@crodrigues.org> Message-ID: <20080218142013.GH30694@comp.chem.msu.su> On Mon, Feb 18, 2008 at 10:48:46AM +0000, Craig Rodrigues wrote: > On Mon, Feb 18, 2008 at 10:24:48AM +0000, Yar Tikhiy wrote: > > yar 2008-02-18 10:24:48 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/mount_nfs mount_nfs.c > > Log: > > Add a work-around to make it possible again to remount > > NFS root r/w. > > This is really a horrible hack. If this hack is necessary > due to your 1.274 change to vfs_mount.c, can you back this This horrible hack is necessary because Someone(tm) started converting our NFS client to the new nmount(2) semantics a year ago but he has never finished the job. Now the NFS client just uses old mount(2) semantics over nmount(2) by stuffing all NFS-related options in "nfs_args" and passing the standard options as bit flags. At the same time, the kernel part of the NFS client already relies on string options instead of bit flags -- ever tried to remount a r/w NFS mount to read-only since nfs_vfsops.c #1.176? Hence the hack. > change and 1.274 to vfs_mount.c out, until we can analyze > the full implications of your change, and properly fix the > necessary infrastructure, instead of committing hack after hack? Which else _hacks_ did I commit? -- Yar From yar at comp.chem.msu.su Mon Feb 18 06:26:30 2008 From: yar at comp.chem.msu.su (Yar Tikhiy) Date: Mon Feb 18 06:26:35 2008 Subject: cvs commit: src/sys/kern vfs_mount.c In-Reply-To: <86y79i5syt.fsf@ds4.des.no> References: <200802141704.m1EH4VL4099009@repoman.freebsd.org> <86y79i5syt.fsf@ds4.des.no> Message-ID: <20080218142626.GI30694@comp.chem.msu.su> On Mon, Feb 18, 2008 at 01:50:34PM +0100, Dag-Erling Sm??rgrav wrote: > Yar Tikhiy writes: > > Log: > > In the new order of things dictated by nmount(2), a read-only mount > > is to be requested via a "ro" option. At the same time, MNT_RDONLY > > is gradually becoming an indicator of the current state of the FS > > instead of a command flag. Today passing MNT_RDONLY alone to the > > kernel's mount machinery will lead to various glitches. (See the > > PRs for examples.) > > > > Therefore mount the root FS with a "ro" option instead of the > > MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount > > flags internally, by vfs_donmount(), if "ro" was specified.) > > Can you guarantee that this will not f*** up the bootp / dhcp + nfsroot > case? There are dragons in that code which were decidedly not funny to > track down and fix. Indeed; or, as a Russian proverb has it, "Just don't touch the sh*t, and it won't stink". :-) But, fortunately, I've just had a chance to test this WRT the NFS_ROOT case. Thank Daemon, that code path is much clearer now than it used to be in the 4.4BSD days. -- Yar From yar at comp.chem.msu.su Mon Feb 18 06:40:23 2008 From: yar at comp.chem.msu.su (Yar Tikhiy) Date: Mon Feb 18 06:40:30 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <20080218103736.GA79284@crodrigues.org> References: <200802181024.m1IAOmoF089632@repoman.freebsd.org> <20080218103736.GA79284@crodrigues.org> Message-ID: <20080218144016.GK30694@comp.chem.msu.su> On Mon, Feb 18, 2008 at 10:37:36AM +0000, Craig Rodrigues wrote: > On Mon, Feb 18, 2008 at 10:24:48AM +0000, Yar Tikhiy wrote: > > The real solution would be to bring the whole nmount(2) > > framework, including FS drivers and userland tools, into > > a consistent state at last; but things should work in the > > meantime, too. > > When I read comments like this, I have the feeling > that you are doing drive-by-commits to areas where you do > not understand the full implications of what you are doing. I'll pray for your understanding to be better than mine. > Can you slow down on your commits to the mount code, and try > to post more of your patches to mailing lists so other people > can review them and try them out? You've indicated to me > that you don't have time to fully test out and implement the > necessary changes to fix all the file systems and userland code > in FreeBSD related to mounting file systems. I have no more commits pending in my queue. > While I appreciate your efforts to deal with PR's and fix things, > the mount code is a tangled web, and it is very easy to introduce > subtle errors in unrelated areas by committing what appear > to be "obvious fixes". This has happened to a few people (including > me) in the past. Indeed, all our sins are recorded in the CVS history. ;-) -- Yar From ghelmer at palisadesys.com Mon Feb 18 07:18:03 2008 From: ghelmer at palisadesys.com (Guy Helmer) Date: Mon Feb 18 07:18:11 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <47B7746A.8080403@delphij.net> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <47B7746A.8080403@delphij.net> Message-ID: <47B99880.1060306@palisadesys.com> Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > M. Warner Losh wrote: > >> In message: <20080216024541.GA31498@nagual.pp.ru> >> Andrey Chernov writes: >> : On Sat, Feb 16, 2008 at 12:16:49AM +0000, Xin LI wrote: >> : > delphij 2008-02-16 00:16:49 UTC >> : > >> : > FreeBSD src repository >> : > >> : > Modified files: >> : > lib/libc/resolv res_comp.c >> : > Log: >> : > Allow underscore in domain names while resolving. While having underscore >> : > is a violation of RFC 1034 [STD 13], it is accepted by certain name servers >> : > as well as other popular operating systems' resolver library. >> : >> : Do you mean we'll have now different results from libc and from bind's >> : resolver for names with underscore? If yes, it sounds worse than RFC >> : violation committed. >> >> Plus there was a very long, very heated thread about removing _ as a >> valid name years ago. Have conditions changed since then? Frankly, >> I'd like to have seen a change like this discussed more widely. There >> was much debate before, and there turned out to be good reasons for >> omitting the _. I just can't recall them now. >> > > If we are pointing the same discussion thread, it finally reached a > point which says that there is security concerns, claiming that > gethostbyname() and friends should do aggressive sanity check for domain > names. > > While this might be reasonable at that time of discussion, I would argue > that with the world outside *BSD all accepts _ in host names at the > resolver side, the alleged _ -> - transition never finished as people > expected in the early age of Internet, and so that as applications > ported to these platforms from time to time, they will have to face the > fact that _ is considered as valid by their resolvers. Moreover, if "_" > is that harmful to any individual applications, I would say that they > should check it at the input stage, which is considered as the attack > surface, not to rely on base services like resolver to do the sanity check. > > I don't think it would be the end of world if we allow _ in host names. > All other (lame) OSes allows it, their resolver just accepts this > character and give the answer, actually, I would be very surprised if it > can still cause any real world attack nowadays. > Are we talking about hostnames specifically, or domain name components in general? I've been recently looking at DomainKeys, and underscores appear to be typically used in the domain components for domain keys TXT records (example below from http://www.elandsys.com/resources/sendmail/domainkeys.html): mail._domainkey.example.com. IN TXT "k=rsa; t=y; p=MEwwPQRJKoZIhvcNADAQCQADOwAwOAIxANPpYHdE2tevfEpvL1Tk2dDYv0pF28/f5MxU83x/0b sn4R4p7waPaz1IbOGs/6bm5QIDAQAB" Guy -- Guy Helmer, Ph.D. Chief System Architect Palisade Systems, Inc. From bra at fsn.hu Mon Feb 18 07:38:05 2008 From: bra at fsn.hu (Attila Nagy) Date: Mon Feb 18 07:38:16 2008 Subject: cvs commit: src/sys/kern vfs_mount.c In-Reply-To: <20080218142626.GI30694@comp.chem.msu.su> References: <200802141704.m1EH4VL4099009@repoman.freebsd.org> <86y79i5syt.fsf@ds4.des.no> <20080218142626.GI30694@comp.chem.msu.su> Message-ID: <47B9A1D9.7020209@fsn.hu> On 2008.02.18. 15:26, Yar Tikhiy wrote: > On Mon, Feb 18, 2008 at 01:50:34PM +0100, Dag-Erling Sm??rgrav wrote: > >> Yar Tikhiy writes: >> >>> Log: >>> In the new order of things dictated by nmount(2), a read-only mount >>> is to be requested via a "ro" option. At the same time, MNT_RDONLY >>> is gradually becoming an indicator of the current state of the FS >>> instead of a command flag. Today passing MNT_RDONLY alone to the >>> kernel's mount machinery will lead to various glitches. (See the >>> PRs for examples.) >>> >>> Therefore mount the root FS with a "ro" option instead of the >>> MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount >>> flags internally, by vfs_donmount(), if "ro" was specified.) >>> >> Can you guarantee that this will not f*** up the bootp / dhcp + nfsroot >> case? There are dragons in that code which were decidedly not funny to >> track down and fix. >> > > Indeed; or, as a Russian proverb has it, "Just don't touch the sh*t, > and it won't stink". :-) But, fortunately, I've just had a chance > to test this WRT the NFS_ROOT case. Thank Daemon, that code path > is much clearer now than it used to be in the 4.4BSD days. > What about the BOOTP_NFSROOT case? I've corresponded with Kris after his change to default TCP and NFSv3 (and I have some stuff to try for his request), could you also try that part too? From bde at FreeBSD.org Mon Feb 18 07:39:52 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 18 07:39:55 2008 Subject: cvs commit: src/lib/msun/ld80 k_tanl.c Message-ID: <200802181539.m1IFdqwB028461@repoman.freebsd.org> bde 2008-02-18 15:39:52 UTC FreeBSD src repository Modified files: lib/msun/ld80 k_tanl.c Log: 2 long double constants were missing L suffixes. This helped break tanl() on !(amd64 || i386). It gave slightly worse than double precision in some cases. tanl() now passes tests of 2^24 values on ia64. Revision Changes Path 1.3 +2 -2 src/lib/msun/ld80/k_tanl.c From das at FreeBSD.org Mon Feb 18 09:27:12 2008 From: das at FreeBSD.org (David Schultz) Date: Mon Feb 18 09:27:19 2008 Subject: cvs commit: src/lib/msun/src math.h s_tgammaf.c src/lib/msun Makefile Symbol.map src/lib/msun/man lgamma.3 Message-ID: <200802181727.m1IHRBNk060278@repoman.freebsd.org> das 2008-02-18 17:27:11 UTC FreeBSD src repository Modified files: lib/msun/src math.h lib/msun Symbol.map Makefile lib/msun/man lgamma.3 Added files: lib/msun/src s_tgammaf.c Log: Add tgammaf() as a simple wrapper around tgamma(). Revision Changes Path 1.89 +3 -2 src/lib/msun/Makefile 1.14 +1 -0 src/lib/msun/Symbol.map 1.24 +15 -7 src/lib/msun/man/lgamma.3 1.69 +1 -0 src/lib/msun/src/math.h 1.1 +43 -0 src/lib/msun/src/s_tgammaf.c (new) From gibbs at FreeBSD.org Mon Feb 18 09:37:04 2008 From: gibbs at FreeBSD.org (Justin T. Gibbs) Date: Mon Feb 18 09:37:09 2008 Subject: cvs commit: src/sys/dev/aic7xxx aic79xx_osm.c Message-ID: <200802181737.m1IHb3Fm060784@repoman.freebsd.org> gibbs 2008-02-18 17:37:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/aic7xxx aic79xx_osm.c Log: MFC: Properly advertise U320 transport capabilities to CAM. MFC: Quiet sense data logging behind AHD_DEBUG/AHD_SHOW_SENSE. Approved by: scottl Revision Changes Path 1.29.2.1 +15 -9 src/sys/dev/aic7xxx/aic79xx_osm.c From rodrigc at crodrigues.org Mon Feb 18 09:40:06 2008 From: rodrigc at crodrigues.org (Craig Rodrigues) Date: Mon Feb 18 09:40:11 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <20080218142013.GH30694@comp.chem.msu.su> References: <200802181024.m1IAOmoF089632@repoman.freebsd.org> <20080218104846.GA81672@crodrigues.org> <20080218142013.GH30694@comp.chem.msu.su> Message-ID: <20080218174005.GA83923@crodrigues.org> On Mon, Feb 18, 2008 at 05:20:14PM +0300, Yar Tikhiy wrote: > This horrible hack is necessary because Someone(tm) started converting > our NFS client to the new nmount(2) semantics a year ago but he has > never finished the job. Now the NFS client just uses old mount(2) Yes, I acknowledge I started this work and did not finish. I have some pending patches to fully convert mount_nfs to pass nmount() string args to the kernel, but I am in the middle of moving, so do not have time to do a lot of FreeBSD work until the end of next week, when I move into my new house. Additionally, touching the NFS mount code is quite involved, so once I am ready to get back to FreeBSD work, I want to circulate the patches a bit more for feedback and testing before committing. >> change and 1.274 to vfs_mount.c out, until we can analyze >> the full implications of your change, and properly fix the >> necessary infrastructure, instead of committing hack after hack? > > Which else _hacks_ did I commit? The mount_nfs hack is the main one that I saw. Can you revert that plus the vfs_mount.c change until we have time to do this right? Some other people already mentioned possible implications of your change to NFS + bootp, which you didn't test. Thanks. -- Craig Rodrigues rodrigc@crodrigues.org From wes at opensail.org Mon Feb 18 10:49:58 2008 From: wes at opensail.org (Wes Peters) Date: Mon Feb 18 10:50:02 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <47B99880.1060306@palisadesys.com> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <47B7746A.8080403@delphij.net> <47B99880.1060306@palisadesys.com> Message-ID: On Feb 18, 2008, at 6:38 AM, Guy Helmer wrote: > Xin LI wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> M. Warner Losh wrote: >> I don't think it would be the end of world if we allow _ in host >> names. >> All other (lame) OSes allows it, their resolver just accepts this >> character and give the answer, actually, I would be very surprised >> if it >> can still cause any real world attack nowadays. >> > Are we talking about hostnames specifically, or domain name > components in general? > > I've been recently looking at DomainKeys, and underscores appear to > be typically used in the domain components for domain keys TXT > records (example below from http://www.elandsys.com/resources/sendmail/domainkeys.html) > : > mail._domainkey.example.com. IN TXT "k=rsa; t=y; > > p=MEwwPQRJKoZIhvcNADAQCQADOwAwOAIxANPpYHdE2tevfEpvL1Tk2dDYv0pF28/ > f5MxU83x/0b > sn4R4p7waPaz1IbOGs/6bm5QIDAQAB" Other systems, including mDNS and zeroconf, rely on underscores in domain components as well. Underscores in domain names are a de jure standard, in the hostname a de facto standard. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@opensail.org From das at FreeBSD.org Mon Feb 18 11:02:49 2008 From: das at FreeBSD.org (David Schultz) Date: Mon Feb 18 11:02:51 2008 Subject: cvs commit: src/lib/msun/man j0.3 Message-ID: <200802181902.m1IJ2n4x069052@repoman.freebsd.org> das 2008-02-18 19:02:49 UTC FreeBSD src repository Modified files: lib/msun/man j0.3 Log: Document return values better. Revision Changes Path 1.15 +34 -3 src/lib/msun/man/j0.3 From des at des.no Mon Feb 18 11:30:43 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 18 11:30:55 2008 Subject: cvs commit: src/sys/kern vfs_mount.c In-Reply-To: <20080218142626.GI30694@comp.chem.msu.su> (Yar Tikhiy's message of "Mon\, 18 Feb 2008 17\:26\:26 +0300") References: <200802141704.m1EH4VL4099009@repoman.freebsd.org> <86y79i5syt.fsf@ds4.des.no> <20080218142626.GI30694@comp.chem.msu.su> Message-ID: <86k5l2rrj6.fsf@ds4.des.no> Yar Tikhiy writes: > Dag-Erling Sm?rgrav writes: > > Can you guarantee that this will not f*** up the bootp / dhcp + > > nfsroot case? There are dragons in that code which were decidedly > > not funny to track down and fix. > Indeed; or, as a Russian proverb has it, "Just don't touch the sh*t, > and it won't stink". :-) But, fortunately, I've just had a chance to > test this WRT the NFS_ROOT case. Thank Daemon, that code path is much > clearer now than it used to be in the 4.4BSD days. In other words, "no", or possibly "I don't want to answer your question". There are at least two quite different code paths that may lead to having an NFS-mounted root file system. Since you won't give me a proper answer, I have to assume that you only tested the easy one, i.e. pxeboot with a GENERIC kernel; and in that case, as the person who unf***ed both of the NFSROOT code paths the last time around, I support Craig's request to have this backed out and properly reviewed. DES -- Dag-Erling Sm?rgrav - des@des.no From julian at FreeBSD.org Mon Feb 18 11:56:10 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Mon Feb 18 11:56:15 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c Message-ID: <200802181956.m1IJuAuN075674@repoman.freebsd.org> julian 2008-02-18 19:56:10 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 ipfw2.c Log: Instead of using a heuristic to decide whether to display table 'values' as IP addresses, use an explicit argument (-i). This is a 'POLA' issue. This is a low risk change and should be MFC'd to RELENG_6 and RELENG 7. it might be put as an errata item for 6.3. (not sure about 6.2). Fix suggested by: Eugene Grosbein PR: 120720 MFC After: 3 days Revision Changes Path 1.209 +5 -0 src/sbin/ipfw/ipfw.8 1.114 +9 -6 src/sbin/ipfw/ipfw2.c From marcel at FreeBSD.org Mon Feb 18 12:01:34 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Mon Feb 18 12:01:46 2008 Subject: cvs commit: src/bin/sh mksyntax.c Message-ID: <200802182001.m1IK1XEW076018@repoman.freebsd.org> marcel 2008-02-18 20:01:33 UTC FreeBSD src repository Modified files: bin/sh mksyntax.c Log: Fix "warning: comparison is always false due to limited range of data type" on platforms with unsigned chars. The comparison in question is there to determine whether chars are unsigned or not and is based on comparing a char, initialized to -1, for less than 0. Change the comparison to check for geater than 0 instead... Revision Changes Path 1.25 +1 -4 src/bin/sh/mksyntax.c From piso at FreeBSD.org Mon Feb 18 12:26:34 2008 From: piso at FreeBSD.org (Paolo Pisati) Date: Mon Feb 18 12:26:40 2008 Subject: cvs commit: src/sbin/ipfw ipfw2.c Message-ID: <200802182026.m1IKQYt9079113@repoman.freebsd.org> piso 2008-02-18 20:26:34 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw2.c Log: Fix display of multiple nat rules. Bug spotted by: Luiz Otavio O Souza PR: 120734 MFC After: 3 days Revision Changes Path 1.115 +4 -4 src/sbin/ipfw/ipfw2.c From yar at FreeBSD.org Mon Feb 18 12:58:58 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Mon Feb 18 12:59:02 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c src/sys/kern vfs_mount.c Message-ID: <200802182058.m1IKwvu3089524@repoman.freebsd.org> yar 2008-02-18 20:58:57 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.c sys/kern vfs_mount.c Log: Undo the damage I did in sys/kern/vfs_mount.c #1.274 and sbin/mount_nfs/mount_nfs.c #1.76. Let the dragons sleep. Requested by: rodrigc, des PR: kern/120319 (welcome the bug back) Revision Changes Path 1.77 +0 -9 src/sbin/mount_nfs/mount_nfs.c 1.276 +1 -2 src/sys/kern/vfs_mount.c From dougb at FreeBSD.org Mon Feb 18 14:22:34 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Mon Feb 18 14:22:37 2008 Subject: cvs commit: src/lib/libc/resolv res_comp.c In-Reply-To: <47B99880.1060306@palisadesys.com> References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <47B7746A.8080403@delphij.net> <47B99880.1060306@palisadesys.com> Message-ID: <47BA0525.8000700@FreeBSD.org> Guy Helmer wrote: > I've been recently looking at DomainKeys, and underscores appear to be > typically used in the domain components for domain keys TXT records > (example below from > http://www.elandsys.com/resources/sendmail/domainkeys.html): > > mail._domainkey.example.com. IN TXT "k=rsa; t=y; > p=MEwwPQRJKoZIhvcNADAQCQADOwAwOAIxANPpYHdE2tevfEpvL1Tk2dDYv0pF28/f5MxU83x/0b > sn4R4p7waPaz1IbOGs/6bm5QIDAQAB" "example.com" is the domain name above. _domainkey.example.com is a hostname. There are no TLD registries that accept underscore in domain name registrations, but it's extremely difficult to determine reliably where the domain name ends and the hostname begins for all TLDs. This debate is one of the few negative fallouts of the robustness principle. Since others have refused to be "conservative in what they send" we are forced to be "liberal in what we accept" (as much as I find it distasteful on a personal level). Doug -- This .signature sanitized for your protection From kientzle at FreeBSD.org Mon Feb 18 21:27:18 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:27:19 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200802190527.m1J5RIEG071303@repoman.freebsd.org> kientzle 2008-02-19 05:27:17 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: Allow appending to archives on block devices as well as archives in regular files, since both are seekable. Thanks to: Reinoud Zandijk (@netbsd.org) Revision Changes Path 1.64 +1 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Mon Feb 18 21:39:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:39:36 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c Message-ID: <200802190539.m1J5dZaj072196@repoman.freebsd.org> kientzle 2008-02-19 05:39:35 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_disk.c Log: Portability improvements: * If the platform can't restore char nodes, block nodes, or fifos, don't try and just return error. * Include O_BINARY in most open() calls (define O_BINARY to 0 if the platform doesn't provide a definition already) * Refactor the ownership restore to more cleanly support platforms that don't have any form of {l,f,}chown() call. * Comment a lingering issue with older Unix-like systems that allow root to hose the filesystem. I don't (yet) have a good solution for this, but I expect it will require adding more redundant stat() calls. MFC after: 14 days Revision Changes Path 1.22 +66 -23 src/lib/libarchive/archive_write_disk.c From kientzle at FreeBSD.org Mon Feb 18 21:40:29 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:40:31 2008 Subject: cvs commit: src/lib/libarchive config_freebsd.h Message-ID: <200802190540.m1J5eTZe072314@repoman.freebsd.org> kientzle 2008-02-19 05:40:29 UTC FreeBSD src repository Modified files: lib/libarchive config_freebsd.h Log: Mark a few additional functions that are/are not available on FreeBSD. Revision Changes Path 1.6 +7 -0 src/lib/libarchive/config_freebsd.h From kientzle at FreeBSD.org Mon Feb 18 21:45:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:45:05 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_compression_bzip2.c archive_read_support_compression_gzip.c Message-ID: <200802190545.m1J5j1sx072549@repoman.freebsd.org> kientzle 2008-02-19 05:44:59 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_compression_bzip2.c archive_read_support_compression_gzip.c Log: Correct a compile error when libbz2/zlib are unavailable. Revision Changes Path 1.17 +1 -1 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.16 +1 -1 src/lib/libarchive/archive_read_support_compression_gzip.c From kientzle at FreeBSD.org Mon Feb 18 21:46:59 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:47:03 2008 Subject: cvs commit: src/lib/libarchive archive_write_open_filename.c Message-ID: <200802190546.m1J5kwgP072683@repoman.freebsd.org> kientzle 2008-02-19 05:46:58 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_open_filename.c Log: Portability: Include O_BINARY if the local platform defines it. Revision Changes Path 1.20 +5 -1 src/lib/libarchive/archive_write_open_filename.c From kientzle at FreeBSD.org Mon Feb 18 21:49:03 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:49:07 2008 Subject: cvs commit: src/lib/libarchive archive_entry_strmode.c Message-ID: <200802190549.m1J5n2eh072760@repoman.freebsd.org> kientzle 2008-02-19 05:49:02 UTC FreeBSD src repository Modified files: lib/libarchive archive_entry_strmode.c Log: Portability: Since the values are fixed and the symbolic names are only present on some platforms, just use the values directly. Revision Changes Path 1.2 +3 -3 src/lib/libarchive/archive_entry_strmode.c From kientzle at FreeBSD.org Mon Feb 18 21:52:30 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:52:34 2008 Subject: cvs commit: src/lib/libarchive/test main.c test.h Message-ID: <200802190552.m1J5qUmP072948@repoman.freebsd.org> kientzle 2008-02-19 05:52:30 UTC FreeBSD src repository Modified files: lib/libarchive/test main.c test.h Log: The test_assert() function that backs my custom assert() macro now returns a value, which supports such convenient constructs as: if (assert(NULL != foo())) { } Also be careful to setlocale("C") for each new test to avoid locale pollution. Also a couple of minor portability enhancements. Revision Changes Path 1.10 +7 -7 src/lib/libarchive/test/main.c 1.8 +5 -2 src/lib/libarchive/test/test.h From kientzle at FreeBSD.org Mon Feb 18 21:54:25 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 21:54:25 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_ar.c Message-ID: <200802190554.m1J5sOSK073074@repoman.freebsd.org> kientzle 2008-02-19 05:54:24 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_ar.c Log: Simplify file type setting. Revision Changes Path 1.8 +2 -4 src/lib/libarchive/archive_read_support_format_ar.c From kientzle at FreeBSD.org Mon Feb 18 22:02:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 22:02:05 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c Message-ID: <200802190602.m1J622Fe079227@repoman.freebsd.org> kientzle 2008-02-19 06:02:02 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_iso9660.c Log: Someday I might forgive the standards bodies for omitting timegm(). Maybe. In the meantime, my workarounds for trying to coax UTC without timegm() are getting uglier and uglier. Apparently, some systems don't support setenv()/unsetenv(), so you can't set the TZ env var and hope thereby to coax mktime() into generating UTC. Without that, I don't see a really good alternative to just giving up and converting to localtime with mktime(). (I suppose I should research the Perl library approach for computing an inverse function to gmtime(); that might actually be simpler than this growing list of hacks.) Revision Changes Path 1.25 +9 -5 src/lib/libarchive/archive_read_support_format_iso9660.c From kientzle at FreeBSD.org Mon Feb 18 22:06:13 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 22:06:18 2008 Subject: cvs commit: src/lib/libarchive archive_platform.h Message-ID: <200802190606.m1J66D0J080814@repoman.freebsd.org> kientzle 2008-02-19 06:06:13 UTC FreeBSD src repository Modified files: lib/libarchive archive_platform.h Log: Another tiny, tiny step towards Windows support. No, I don't plan to ever commit the Windows support files to FreeBSD CVS. That would just be wrong. Revision Changes Path 1.29 +4 -1 src/lib/libarchive/archive_platform.h From kientzle at FreeBSD.org Mon Feb 18 22:07:11 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 22:07:15 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_mtree.c Message-ID: <200802190607.m1J67Ajs080950@repoman.freebsd.org> kientzle 2008-02-19 06:07:10 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_mtree.c Log: Include O_BINARY in open() calls on platforms that support it. Revision Changes Path 1.2 +8 -2 src/lib/libarchive/archive_read_support_format_mtree.c From kientzle at FreeBSD.org Mon Feb 18 22:10:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Feb 18 22:10:53 2008 Subject: cvs commit: src/lib/libarchive archive_read_open_filename.c Message-ID: <200802190610.m1J6AnC4081452@repoman.freebsd.org> kientzle 2008-02-19 06:10:48 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_open_filename.c Log: Include O_BINARY in open() calls on platforms that support it. Revision Changes Path 1.21 +5 -1 src/lib/libarchive/archive_read_open_filename.c From ru at FreeBSD.org Mon Feb 18 22:30:50 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 18 22:30:51 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC Message-ID: <200802190630.m1J6Unbd086924@repoman.freebsd.org> ru 2008-02-19 06:30:49 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC Log: Eliminate whitespace diffs to the i386 version. Revision Changes Path 1.493 +1 -2 src/sys/amd64/conf/GENERIC From ru at FreeBSD.org Mon Feb 18 23:09:20 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 18 23:09:23 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c src/gnu/usr.bin/man/man man.c src/gnu/usr.bin/man/manpath manpath.c src/sbin/sconfig sconfig.c src/secure/usr.bin/bdes bdes.c src/tools/regression/fsx fsx.c src/usr.bin/ncplogin ncplogin.c src/usr.sbin/cdcontrol ... Message-ID: <200802190709.m1J79J7K090127@repoman.freebsd.org> ru 2008-02-19 07:09:19 UTC FreeBSD src repository Modified files: games/fortune/strfile strfile.c gnu/usr.bin/man/man man.c gnu/usr.bin/man/manpath manpath.c sbin/sconfig sconfig.c secure/usr.bin/bdes bdes.c tools/regression/fsx fsx.c usr.bin/ncplogin ncplogin.c usr.sbin/cdcontrol cdcontrol.c usr.sbin/zic zdump.c Log: getopt(3) returns -1, not EOF. Revision Changes Path 1.29 +1 -1 src/games/fortune/strfile/strfile.c 1.66 +1 -1 src/gnu/usr.bin/man/man/man.c 1.14 +1 -1 src/gnu/usr.bin/man/manpath/manpath.c 1.5 +1 -1 src/sbin/sconfig/sconfig.c 1.10 +1 -1 src/secure/usr.bin/bdes/bdes.c 1.6 +1 -1 src/tools/regression/fsx/fsx.c 1.6 +1 -1 src/usr.bin/ncplogin/ncplogin.c 1.50 +1 -1 src/usr.sbin/cdcontrol/cdcontrol.c 1.10 +1 -1 src/usr.sbin/zic/zdump.c From peterjeremy at optushome.com.au Mon Feb 18 23:19:57 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Mon Feb 18 23:20:01 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c In-Reply-To: <200802190602.m1J622Fe079227@repoman.freebsd.org> References: <200802190602.m1J622Fe079227@repoman.freebsd.org> Message-ID: <20080219071953.GP64299@server.vk2pj.dyndns.org> On Tue, Feb 19, 2008 at 06:02:02AM +0000, Tim Kientzle wrote: > Without that, I > don't see a really good alternative to just giving up and converting to > localtime with mktime(). (I suppose I should research the Perl library > approach for computing an inverse function to gmtime(); that might > actually be simpler than this growing list of hacks.) mktime() and timegm() basically use successive approximation (binary search) with localtime() and gmtime() - so you can fairly easily create your own timegm(). If you have a normalised date, I have a direct formula to go from year/month/day to number of days past some epoch for dates covering at least the 32-bit Unix epoch (I haven't checked to see where the boundaries actually are). -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080219/b6dffc57/attachment.pgp From kientzle at freebsd.org Tue Feb 19 00:41:33 2008 From: kientzle at freebsd.org (Tim Kientzle) Date: Tue Feb 19 00:41:35 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c In-Reply-To: <20080219071953.GP64299@server.vk2pj.dyndns.org> References: <200802190602.m1J622Fe079227@repoman.freebsd.org> <20080219071953.GP64299@server.vk2pj.dyndns.org> Message-ID: <47BA963B.2060704@freebsd.org> Peter Jeremy wrote: > On Tue, Feb 19, 2008 at 06:02:02AM +0000, Tim Kientzle wrote: > >> Without that, I >> don't see a really good alternative to just giving up and converting to >> localtime with mktime(). > > mktime() and timegm() basically use successive approximation (binary > search) with localtime() and gmtime() - so you can fairly easily > create your own timegm(). I'll probably do this soon. I thought I had some useful workarounds, but each one has broken down on some system or another. > If you have a normalised date, I have a direct formula to go from > year/month/day to number of days past some epoch ... I have such code as well, but it has some assumptions that I'm wary of: * ISO C doesn't require that time_t count seconds (POSIX does, so this is probably not a real concern in practice) * None of the standards defines the epoch (if I remember correctly, old Mac OS used a different epoch, so this is not entirely academic). I've also considered trying to measure the local system epoch and then use direct calculation from there, but that's also really messy to get right. The binary search seems the most robust approach; I just haven't had time to research it yet. Cheers, Tim From bde at FreeBSD.org Tue Feb 19 04:54:15 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 19 04:54:16 2008 Subject: cvs commit: src/lib/msun/src k_cos.c k_sin.c Message-ID: <200802191254.m1JCsErV038244@repoman.freebsd.org> bde 2008-02-19 12:54:14 UTC FreeBSD src repository Modified files: lib/msun/src k_cos.c k_sin.c Log: Rearrange the polynomial evaluation for better parallelism. This saves an average of about 8 cycles or 5% on A64 (amd64 and i386 -- more in cycles but about the same percentage on i386, and more with old versions of gcc) with good CFLAGS and some parallelism in the caller. As usual, it takes a couple more multiplications so it will be slower on old machines. Convert to __FBSDID(). Revision Changes Path 1.12 +4 -4 src/lib/msun/src/k_cos.c 1.11 +5 -5 src/lib/msun/src/k_sin.c From bde at FreeBSD.org Tue Feb 19 07:30:59 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 19 07:32:11 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c Message-ID: <200802191530.m1JFUwJe059423@repoman.freebsd.org> bde 2008-02-19 15:30:58 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c Log: Optimize for 3pi/4 <= |x| <= 9pi/4 in much the same way as for pi/4 <= |x| <= 3pi/4. Use the same branch ladder as for float precision. Remove the optimization for |x| near pi/2 and don't do it near the multiples of pi/2 in the newly optimized range, since it requires fairly large code to handle only relativley few cases. Ifdef out optimization for |x| <= pi/4 since this case can't occur because it is done in callers. On amd64 (A64), for cos() and sin() with uniformly distributed args, no cache misses, some parallelism in the caller, and good but not great CC and CFLAGS, etc., this saves about 40 cycles or 38% in the newly optimized range, or about 27% on average across the range |x| <= 2pi (~65 cycles for most args, while the A64 hardware fcos and fsin take ~75 cycles for half the args and 125 cycles for the other half). The speedup for tan() is much smaller, especially relatively. The speedup on i386 (A64) is slightly smaller, especially relatively. i386 is still much slower than amd64 here (unlike in the float case where it is slightly faster). Revision Changes Path 1.11 +56 -18 src/lib/msun/src/e_rem_pio2.c From bde at FreeBSD.org Tue Feb 19 07:42:46 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Tue Feb 19 07:43:05 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2f.c Message-ID: <200802191542.m1JFgkWa060748@repoman.freebsd.org> bde 2008-02-19 15:42:46 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c Log: Merge cosmetic changes from e_rem_pio2.c 1.10 (convert to __FBSDID(); fix indentation and return type of __ieee754_rem_pio2()). Remove unused variables. Revision Changes Path 1.21 +4 -6 src/lib/msun/src/e_rem_pio2f.c From imp at bsdimp.com Tue Feb 19 08:32:14 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Tue Feb 19 08:32:30 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c In-Reply-To: <47BA963B.2060704@freebsd.org> References: <200802190602.m1J622Fe079227@repoman.freebsd.org> <20080219071953.GP64299@server.vk2pj.dyndns.org> <47BA963B.2060704@freebsd.org> Message-ID: <20080219.093004.-1749705352.imp@bsdimp.com> In message: <47BA963B.2060704@freebsd.org> Tim Kientzle writes: : Peter Jeremy wrote: : > On Tue, Feb 19, 2008 at 06:02:02AM +0000, Tim Kientzle wrote: : > : >> Without that, I : >> don't see a really good alternative to just giving up and converting to : >> localtime with mktime(). : > : > mktime() and timegm() basically use successive approximation (binary : > search) with localtime() and gmtime() - so you can fairly easily : > create your own timegm(). : : I'll probably do this soon. I thought I had some useful : workarounds, but each one has broken down on some system : or another. : : > If you have a normalised date, I have a direct formula to go from : > year/month/day to number of days past some epoch ... : : I have such code as well, but it has some assumptions : that I'm wary of: : * ISO C doesn't require that time_t count seconds : (POSIX does, so this is probably not a real concern : in practice) time_t is defined in 7.23.3.5.2 to be: [#2] The time function determines the current calendar time. The encoding of the value is unspecified. so time_t can be anything, really, and still conform to the ANSI-C standard. It must also be an arithmetic type. But it could return the number of days since Julius Caesar assumed the thrown so long as difftime() returns the number of seconds. POSIX is more demanding here and, despite its many flaws, is better. : * None of the standards defines the epoch (if I remember : correctly, old Mac OS used a different epoch, so this is : not entirely academic). POSIX defines the epoch to be Jan 1, 1970, which effectively defines it for everybody. : I've also considered trying to measure the local system : epoch and then use direct calculation from there, but : that's also really messy to get right. The binary : search seems the most robust approach; I just haven't : had time to research it yet. localtime suffers from too many discontinuities to be 'easy' to compute. Warner From gibbs at FreeBSD.org Tue Feb 19 09:08:35 2008 From: gibbs at FreeBSD.org (Justin T. Gibbs) Date: Tue Feb 19 09:08:42 2008 Subject: cvs commit: src/sys/dev/aic7xxx aic79xx_osm.c Message-ID: <200802191708.m1JH8ZLk078240@repoman.freebsd.org> gibbs 2008-02-19 17:08:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/aic7xxx aic79xx_osm.c Log: MFC: Properly advertise U320 transport capabilities to CAM. MFC: Quiet sense data logging behind AHD_DEBUG/AHD_SHOW_SENSE. Approved by: re (kensmith) Revision Changes Path 1.29.4.1 +15 -9 src/sys/dev/aic7xxx/aic79xx_osm.c From kensmith at FreeBSD.org Tue Feb 19 09:23:12 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Tue Feb 19 09:23:18 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h osm.h Message-ID: <200802191723.m1JHNCrH079902@repoman.freebsd.org> kensmith 2008-02-19 17:23:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h osm.h Log: Back out the update to 1.2 due to problems encountered during testing of 7.0-RC2. Reviewed by: rwatson X-MFC-after: about 12 hours so we can proceed with 7.0-RELEASE. Revision Changes Path 1.1.2.3 +12830 -13261 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.1.2.3 +5 -8 src/sys/dev/hptrr/array.h 1.1.2.3 +117 -134 src/sys/dev/hptrr/him.h 1.1.2.3 +20 -76 src/sys/dev/hptrr/hptintf.h 1.1.2.3 +2 -5 src/sys/dev/hptrr/hptrr_config.c 1.1.2.3 +3 -8 src/sys/dev/hptrr/hptrr_config.h 1.1.2.4 +1 -1 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.3 +8 -7 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.1.2.3 +8363 -8768 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.1.2.3 +31 -56 src/sys/dev/hptrr/ldm.h 1.1.2.3 +0 -4 src/sys/dev/hptrr/os_bsd.h 1.1.2.4 +8 -10 src/sys/dev/hptrr/osm.h From kensmith at cse.Buffalo.EDU Tue Feb 19 10:02:36 2008 From: kensmith at cse.Buffalo.EDU (Ken Smith) Date: Tue Feb 19 10:02:55 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h osm.h In-Reply-To: <200802191723.m1JHNCrH079902@repoman.freebsd.org> References: <200802191723.m1JHNCrH079902@repoman.freebsd.org> Message-ID: <1203442212.80641.31.camel@bauer.cse.buffalo.edu> On Tue, 2008-02-19 at 17:23 +0000, Ken Smith wrote: > kensmith 2008-02-19 17:23:12 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h > hptintf.h hptrr_config.c hptrr_config.h > hptrr_os_bsd.c hptrr_osm_bsd.c > i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h > osm.h > Log: > Back out the update to 1.2 due to problems encountered during testing > of 7.0-RC2. > > Reviewed by: rwatson > X-MFC-after: about 12 hours so we can proceed with 7.0-RELEASE. > In the interests of getting 7.0-RELEASE wrapped up I did this with re@ hat on but I committed one of the Cardinal Sins in the process. I was "just" backing up to a previous version so in theory just reverting the CVS changes should be fine but I don't have a Highpoint controller to test this with. If anyone has a test machine kicking around that's running RELENG_7 and has a card that uses hptrr could give this a whirl before I do the same thing to RELENG_7_0 I'd feel better. Thanks. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080219/cf62b48b/attachment.pgp From remko at FreeBSD.org Tue Feb 19 12:54:43 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Feb 19 12:54:54 2008 Subject: cvs commit: src/sys/dev/ti if_ti.c Message-ID: <200802192054.m1JKsgAp022408@repoman.freebsd.org> remko 2008-02-19 20:54:42 UTC FreeBSD src repository Modified files: sys/dev/ti if_ti.c Log: Set the baudrate for if_ti. PR: kern/40516 Submitted by: "Jin Guojun[VFF]" Approved by: imp (mentor, implicit for minor changes) MFC After: 1 week Revision Changes Path 1.131 +1 -0 src/sys/dev/ti/if_ti.c From rafan at FreeBSD.org Wed Feb 20 01:39:05 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Wed Feb 20 01:39:10 2008 Subject: cvs commit: src/etc rc.firewall src/etc/defaults rc.conf src/share/man/man5 rc.conf.5 Message-ID: <200802200139.m1K1d46C056519@repoman.freebsd.org> rafan 2008-02-20 01:39:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc rc.firewall etc/defaults rc.conf share/man/man5 rc.conf.5 Log: MFC the following revisions: src/etc/defaults/rc.conf 1.323 src/etc/rc.firewall 1.54 src/share/man/man5/rc.conf.5 1.333 (by chinsan) Original log: Improve kernel NAT support in rc.firewall - Allow IP in firewall_nat_interface, just like natd_interface - Allow additional configuration parameters passed to ipfw via firewall_nat_flags - Document firewall_nat_* in defaults/rc.conf Tested by: Albert B. Wang MFC after: 1 month Revision Changes Path 1.318.2.5 +3 -0 src/etc/defaults/rc.conf 1.52.2.2 +7 -1 src/etc/rc.firewall 1.327.2.2 +26 -1 src/share/man/man5/rc.conf.5 From kensmith at FreeBSD.org Wed Feb 20 04:35:25 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Wed Feb 20 04:35:27 2008 Subject: cvs commit: src/sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h osm.h Message-ID: <200802200435.m1K4ZPdR070859@repoman.freebsd.org> kensmith 2008-02-20 04:35:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h os_bsd.h osm.h Log: MFR7 the backout of hptrr v1.2 due to problems encountered during testing of 7.0-RC2. Versions being MFR7-ed: 1.1.2.3 amd64-elf.hptrr_lib.o.uu 1.1.2.3 array.h 1.1.2.3 him.h 1.1.2.3 hptintf.h 1.1.2.3 hptrr_config.c 1.1.2.3 hptrr_config.h 1.1.2.4 hptrr_os_bsd.c 1.1.2.3 hptrr_osm_bsd.c 1.1.2.3 i386-elf.hptrr_lib.o.uu 1.1.2.3 ldm.h 1.1.2.3 os_bsd.h 1.1.2.4 osm.h Approved by: re (rwatson) Revision Changes Path 1.1.2.1.2.2 +12830 -13261 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.1.2.1.2.2 +5 -8 src/sys/dev/hptrr/array.h 1.1.2.1.2.2 +117 -134 src/sys/dev/hptrr/him.h 1.1.2.1.2.2 +20 -76 src/sys/dev/hptrr/hptintf.h 1.1.2.1.2.2 +2 -5 src/sys/dev/hptrr/hptrr_config.c 1.1.2.1.2.2 +3 -8 src/sys/dev/hptrr/hptrr_config.h 1.1.2.1.2.3 +1 -1 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.1.2.2 +8 -7 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.1.2.1.2.2 +8363 -8768 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.1.2.1.2.2 +31 -56 src/sys/dev/hptrr/ldm.h 1.1.2.1.2.2 +0 -4 src/sys/dev/hptrr/os_bsd.h 1.1.2.1.2.3 +8 -10 src/sys/dev/hptrr/osm.h From kensmith at FreeBSD.org Wed Feb 20 04:37:25 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Wed Feb 20 04:37:31 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200802200437.m1K4bPqq070928@repoman.freebsd.org> kensmith 2008-02-20 04:37:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/conf newvers.sh Log: Prepare for a "mini-RC3". Only amd64/i386 builds will be done. Targetted at getting people to test the backout of the hptrr(4) driver. Approved by: re (implicit) Revision Changes Path 1.72.2.5.2.3 +1 -1 src/sys/conf/newvers.sh From thompsa at FreeBSD.org Wed Feb 20 07:45:37 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 07:45:38 2008 Subject: cvs commit: src/sys/geom/linux_lvm g_linux_lvm.c g_linux_lvm.h src/share/man/man4 geom_linux_lvm.4 Message-ID: <200802200745.m1K7jbew095292@repoman.freebsd.org> thompsa 2008-02-20 07:45:36 UTC FreeBSD src repository Added files: sys/geom/linux_lvm g_linux_lvm.c g_linux_lvm.h share/man/man4 geom_linux_lvm.4 Log: Add a geom class to map Linux LVM logical volumes. The logical disks will appear as /dev/lvm/-, for instance /dev/lvm/vg0-home. G_LINUX_LVM currently supports linear stripes with segments on multiple physical disks. The metadata is read only, logical volumes can not be allocated or resized. Reviewed by: Ivan Voras Previously known as geom_lvm(4), rename requested by des, phk. Revision Changes Path 1.1 +88 -0 src/share/man/man4/geom_linux_lvm.4 (new) 1.1 +1178 -0 src/sys/geom/linux_lvm/g_linux_lvm.c (new) 1.1 +113 -0 src/sys/geom/linux_lvm/g_linux_lvm.h (new) From thompsa at FreeBSD.org Wed Feb 20 07:50:14 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 07:50:19 2008 Subject: cvs commit: src UPDATING src/share/man/man4 Makefile src/sys/modules/geom/geom_linux_lvm Makefile src/sys/conf NOTES files options Message-ID: <200802200750.m1K7oDY2095705@repoman.freebsd.org> thompsa 2008-02-20 07:50:13 UTC FreeBSD src repository Modified files: . UPDATING share/man/man4 Makefile sys/conf NOTES files options Added files: sys/modules/geom/geom_linux_lvm Makefile Log: Rename geom_lvm(4) to geom_linux_lvm(4). Requested by: des, phk Revision Changes Path 1.520 +4 -0 src/UPDATING 1.409 +1 -1 src/share/man/man4/Makefile 1.1467 +1 -1 src/sys/conf/NOTES 1.1269 +1 -1 src/sys/conf/files 1.618 +1 -1 src/sys/conf/options 1.1 +8 -0 src/sys/modules/geom/geom_linux_lvm/Makefile (new) From thompsa at FreeBSD.org Wed Feb 20 07:52:44 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 07:52:49 2008 Subject: cvs commit: src/share/man/man4 geom_lvm.4 src/sys/geom/lvm g_lvm.c g_lvm.h Message-ID: <200802200752.m1K7qip7095900@repoman.freebsd.org> thompsa 2008-02-20 07:52:43 UTC FreeBSD src repository Removed files: share/man/man4 geom_lvm.4 sys/geom/lvm g_lvm.c g_lvm.h Log: geom_lvm(4) is now known as geom_linux_lvm(4). Revision Changes Path 1.3 +0 -88 src/share/man/man4/geom_lvm.4 (dead) 1.3 +0 -1177 src/sys/geom/lvm/g_lvm.c (dead) 1.2 +0 -113 src/sys/geom/lvm/g_lvm.h (dead) From remko at FreeBSD.org Wed Feb 20 10:43:56 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Feb 20 10:44:02 2008 Subject: cvs commit: src/contrib/pf/man pf.conf.5 Message-ID: <200802201043.m1KAhuFp021297@repoman.freebsd.org> remko 2008-02-20 10:43:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/pf/man pf.conf.5 Log: MFC rev 1.15 pf.conf.5 MFOpenBSD rev 1.393 pf.conf.5 do not describe `/' as solidus; from Allen (freebsd pr120484); PR: 120484 Submitted by: Allen MFC After: 3 days Revision Changes Path 1.14.2.1 +4 -4 src/contrib/pf/man/pf.conf.5 From remko at FreeBSD.org Wed Feb 20 10:45:09 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Feb 20 10:45:14 2008 Subject: cvs commit: src/contrib/pf/man pf.conf.5 Message-ID: <200802201045.m1KAj38h021418@repoman.freebsd.org> remko 2008-02-20 10:45:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/pf/man pf.conf.5 Log: MFC rev 1.15 pf.conf.5 MFOpenBSD rev 1.393 pf.conf.5 do not describe `/' as solidus; from Allen (freebsd pr120484); PR: 120484 Submitted by: Allen MFC After: 3 days Revision Changes Path 1.8.2.2 +3 -3 src/contrib/pf/man/pf.conf.5 From thompsa at FreeBSD.org Wed Feb 20 11:28:29 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 11:28:34 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200802201128.m1KBSTHO028618@repoman.freebsd.org> thompsa 2008-02-20 11:28:29 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: geom_lvm(4) is now known as geom_linux_lvm(4). Revision Changes Path 1.131 +2 -0 src/ObsoleteFiles.inc From thompsa at FreeBSD.org Wed Feb 20 11:30:50 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 11:30:58 2008 Subject: cvs commit: src/sys/modules/geom Makefile Message-ID: <200802201130.m1KBUotY028761@repoman.freebsd.org> thompsa 2008-02-20 11:30:49 UTC FreeBSD src repository Modified files: sys/modules/geom Makefile Log: Rename geom_lvm(4) to geom_linux_lvm(4). Requested by: des, phk Revision Changes Path 1.22 +1 -1 src/sys/modules/geom/Makefile From thompsa at FreeBSD.org Wed Feb 20 11:32:13 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 11:32:18 2008 Subject: cvs commit: src/sys/modules/geom/geom_lvm Makefile Message-ID: <200802201132.m1KBWC1v028817@repoman.freebsd.org> thompsa 2008-02-20 11:32:12 UTC FreeBSD src repository Removed files: sys/modules/geom/geom_lvm Makefile Log: geom_lvm(4) is now known as geom_linux_lvm(4). Revision Changes Path 1.2 +0 -8 src/sys/modules/geom/geom_lvm/Makefile (dead) From rpaulo at FreeBSD.org Wed Feb 20 15:49:10 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 15:49:11 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802201549.m1KFn9Lp057097@repoman.freebsd.org> rpaulo 2008-02-20 15:49:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_thermal.c Log: MFC r1.68 Allow the user to override the current active cooling state if state is currently TZ_ACTIVE_NONE Approved by: njl (mentor) Revision Changes Path 1.53.2.10 +2 -1 src/sys/dev/acpica/acpi_thermal.c From rpaulo at FreeBSD.org Wed Feb 20 15:49:50 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 15:49:56 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802201549.m1KFnocN057147@repoman.freebsd.org> rpaulo 2008-02-20 15:49:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_thermal.c Log: MFC r1.68 Allow the user to override the current active cooling state if state is currently TZ_ACTIVE_NONE Approved by: njl (mentor) Revision Changes Path 1.64.2.3 +2 -1 src/sys/dev/acpica/acpi_thermal.c From rpaulo at FreeBSD.org Wed Feb 20 15:51:54 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 15:52:00 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802201551.m1KFpsIB057338@repoman.freebsd.org> rpaulo 2008-02-20 15:51:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_cpu.c Log: MFC r1.70 Skip validation of the C3 state if we disabled C3 by software (i.e., via quirk). Approved by: njl (mentor) Revision Changes Path 1.67.2.3 +1 -1 src/sys/dev/acpica/acpi_cpu.c From rpaulo at FreeBSD.org Wed Feb 20 15:55:36 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 15:55:49 2008 Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200802201555.m1KFtZLA057552@repoman.freebsd.org> rpaulo 2008-02-20 15:55:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_cpu.c Log: MFC r1.70 Skip validation of the C3 state if we disabled C3 by software (i.e., via quirk). Approved by: njl (mentor) Revision Changes Path 1.57.2.7 +1 -1 src/sys/dev/acpica/acpi_cpu.c From scottl at FreeBSD.org Wed Feb 20 19:49:47 2008 From: scottl at FreeBSD.org (Scott Long) Date: Wed Feb 20 19:49:52 2008 Subject: cvs commit: src/sys/cam/scsi scsi_ses.c Message-ID: <200802201949.m1KJnl9c087420@repoman.freebsd.org> scottl 2008-02-20 19:49:47 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_ses.c Log: Fix a couple of locking mistakes in the ses_ioctl path. Submitted by: Matt Jacob Revision Changes Path 1.36 +3 -3 src/sys/cam/scsi/scsi_ses.c From darrenr at freebsd.org Wed Feb 20 19:51:17 2008 From: darrenr at freebsd.org (Darren Reed) Date: Wed Feb 20 19:51:27 2008 Subject: cvs commit: src UPDATING src/share/man/man4 Makefile src/sys/modules/geom/geom_linux_lvm Makefile src/sys/conf NOTES files options In-Reply-To: <200802200750.m1K7oDY2095705@repoman.freebsd.org> References: <200802200750.m1K7oDY2095705@repoman.freebsd.org> Message-ID: <47BC806F.90208@freebsd.org> Andrew Thompson wrote: > thompsa 2008-02-20 07:50:13 UTC > > FreeBSD src repository > > Modified files: > . UPDATING > share/man/man4 Makefile > sys/conf NOTES files options > Added files: > sys/modules/geom/geom_linux_lvm Makefile > Log: > Rename geom_lvm(4) to geom_linux_lvm(4). > > Requested by: des, phk > > Revision Changes Path > 1.520 +4 -0 src/UPDATING > 1.409 +1 -1 src/share/man/man4/Makefile > 1.1467 +1 -1 src/sys/conf/NOTES > 1.1269 +1 -1 src/sys/conf/files > 1.618 +1 -1 src/sys/conf/options > 1.1 +8 -0 src/sys/modules/geom/geom_linux_lvm/Makefile (new) > When I try to do a "make buildkernel", I see this: mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/source/local/20022008/sys/GENERIC /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ext2fs.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_iso9660.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_msdosfs.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ntfs.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_reiserfs.c /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ufs.c ===> geom/geom_lvm (depend) @ -> /source/local/20022008/sys machine -> /source/local/20022008/sys/i386/include make: don't know how to make g_lvm.c. Stop *** Error code 2 Related? Darren From thompsa at FreeBSD.org Wed Feb 20 20:47:25 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Feb 20 20:47:32 2008 Subject: cvs commit: src UPDATING src/share/man/man4 Makefile src/sys/modules/geom/geom_linux_lvm Makefile src/sys/conf NOTES files options In-Reply-To: <47BC806F.90208@freebsd.org> References: <200802200750.m1K7oDY2095705@repoman.freebsd.org> <47BC806F.90208@freebsd.org> Message-ID: <20080220204723.GA73514@heff.fud.org.nz> On Wed, Feb 20, 2008 at 11:33:03AM -0800, Darren Reed wrote: > Andrew Thompson wrote: >> thompsa 2008-02-20 07:50:13 UTC >> >> FreeBSD src repository >> >> Modified files: >> . UPDATING share/man/man4 Makefile >> sys/conf NOTES files options Added files: >> sys/modules/geom/geom_linux_lvm Makefile Log: >> Rename geom_lvm(4) to geom_linux_lvm(4). >> Requested by: des, phk >> Revision Changes Path >> 1.520 +4 -0 src/UPDATING >> 1.409 +1 -1 src/share/man/man4/Makefile >> 1.1467 +1 -1 src/sys/conf/NOTES >> 1.1269 +1 -1 src/sys/conf/files >> 1.618 +1 -1 src/sys/conf/options >> 1.1 +8 -0 src/sys/modules/geom/geom_linux_lvm/Makefile (new) >> > > When I try to do a "make buildkernel", I see this: > > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq > -I/usr/obj/source/local/20022008/sys/GENERIC > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ext2fs.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_iso9660.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_msdosfs.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ntfs.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_reiserfs.c > /source/local/20022008/sys/modules/geom/geom_label/../../../geom/label/g_label_ufs.c > ===> geom/geom_lvm (depend) > @ -> /source/local/20022008/sys > machine -> /source/local/20022008/sys/i386/include > make: don't know how to make g_lvm.c. Stop > *** Error code 2 > > Related? Yes, there was a shortish window where I forgot to commit sys/modules/Makefile, should be good now. Andrew From dwmalone at FreeBSD.org Wed Feb 20 21:54:41 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Wed Feb 20 21:54:47 2008 Subject: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <200802202154.m1KLsfZG005548@repoman.freebsd.org> dwmalone 2008-02-20 21:54:41 UTC FreeBSD src repository Modified files: usr.sbin/syslogd syslogd.c Log: Two no-op fixes to improve corretness of syslogd code: 1) Use [AP]F_LOCAL rather than [AP]F_UNIX. 2) When copying a pipe's name, use f->f_un.f_pipe.f_pname, not f->f_un.f_fname. PR: 20889 Submitted by: Damieon Stark PR: 116642 Submitted by: Jim Pirzyk Reviewed by: md5 Revision Changes Path 1.155 +4 -3 src/usr.sbin/syslogd/syslogd.c From rpaulo at FreeBSD.org Wed Feb 20 23:29:53 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 23:29:55 2008 Subject: cvs commit: src/contrib/traceroute as.c as.h traceroute.8 traceroute.c src/usr.sbin/traceroute Makefile Message-ID: <200802202329.m1KNTrmr014644@repoman.freebsd.org> rpaulo 2008-02-20 23:29:53 UTC FreeBSD src repository Modified files: contrib/traceroute traceroute.8 traceroute.c usr.sbin/traceroute Makefile Added files: contrib/traceroute as.c as.h Log: Add AS lookup functionality. On each hop we query a whois server to find the corresponding AS for that IP (-a switch). We can also choose a different whois server with the -A switch. The default is whois.radb.net. Obtained from: NetBSD Reviewed by: bms, njl (mentor) Approved by: njl (mentor) Revision Changes Path 1.1 +242 -0 src/contrib/traceroute/as.c (new) 1.1 +42 -0 src/contrib/traceroute/as.h (new) 1.17 +16 -2 src/contrib/traceroute/traceroute.8 1.35 +31 -4 src/contrib/traceroute/traceroute.c 1.23 +1 -1 src/usr.sbin/traceroute/Makefile From rpaulo at FreeBSD.org Wed Feb 20 23:51:48 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 23:51:49 2008 Subject: cvs commit: src/sys/dev/coretemp coretemp.c Message-ID: <200802202351.m1KNpmqQ015876@repoman.freebsd.org> rpaulo 2008-02-20 23:51:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/coretemp coretemp.c Log: MFC r1.6 Don't attach to non Core CPUs. This is needed because on the PIII, querying the number of sensors returns > 0. PR: 120541 Approved by: njl (mentor) Revision Changes Path 1.2.4.1 +9 -0 src/sys/dev/coretemp/coretemp.c From rpaulo at FreeBSD.org Wed Feb 20 23:52:04 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Feb 20 23:52:07 2008 Subject: cvs commit: src/sys/dev/coretemp coretemp.c Message-ID: <200802202352.m1KNq42p015921@repoman.freebsd.org> rpaulo 2008-02-20 23:52:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/coretemp coretemp.c Log: MFC r1.6 Don't attach to non Core CPUs. This is needed because on the PIII, querying the number of sensors returns > 0. PR: 120541 Approved by: njl (mentor) Revision Changes Path 1.2.2.2 +9 -0 src/sys/dev/coretemp/coretemp.c From marcel at FreeBSD.org Thu Feb 21 03:16:38 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 21 03:16:45 2008 Subject: cvs commit: src/release Makefile Message-ID: <200802210316.m1L3GbZs041067@repoman.freebsd.org> marcel 2008-02-21 03:16:37 UTC FreeBSD src repository Modified files: release Makefile Log: Don't use disklabel for the MFS root. The DoFS.sh script creates a bogus partition table and puts the file system on the whole partition. geom_part doesn't expose the 'c' partition as it's an artifact of the BSD label and not to be used. Secondly, gpart(8) is the preferred tool for partitioning disks on ia64. Revision Changes Path 1.931 +1 -0 src/release/Makefile From marcel at FreeBSD.org Thu Feb 21 03:19:47 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 21 03:19:49 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c Message-ID: <200802210319.m1L3JlBS041165@repoman.freebsd.org> marcel 2008-02-21 03:19:47 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c Log: Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. They are typically 0 on new ia64 systems. Since we don't use either field, there's no harm in not checking. Revision Changes Path 1.186 +7 -8 src/sys/fs/msdosfs/msdosfs_vfsops.c From kientzle at FreeBSD.org Thu Feb 21 03:21:51 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Thu Feb 21 03:21:56 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_compression_gzip.c Message-ID: <200802210321.m1L3LpiE041353@repoman.freebsd.org> kientzle 2008-02-21 03:21:51 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_set_compression_gzip.c Log: Sanity-check the block size. Thanks to: Joerg Sonnenberger MFC after: 7 days Revision Changes Path 1.16 +19 -0 src/lib/libarchive/archive_write_set_compression_gzip.c From amdmi3 at amdmi3.ru Thu Feb 21 05:06:41 2008 From: amdmi3 at amdmi3.ru (Dmitry Marakasov) Date: Thu Feb 21 05:06:49 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c In-Reply-To: <200802210319.m1L3JlBS041165@repoman.freebsd.org> References: <200802210319.m1L3JlBS041165@repoman.freebsd.org> Message-ID: <20080221044026.GA16720@hades.panopticon> * Marcel Moolenaar (marcel@FreeBSD.org) wrote: > Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. > They are typically 0 on new ia64 systems. Since we don't use > either field, there's no harm in not checking. Thanks a lot, this fixes mounting some removeable media (for example, Cowon iAudio 7 with latest firmware) which may have invalid values in those fields. I guess there's no way this'll get into 7.0? -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru From xcllnt at mac.com Thu Feb 21 05:15:01 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Thu Feb 21 05:15:07 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c In-Reply-To: <20080221044026.GA16720@hades.panopticon> References: <200802210319.m1L3JlBS041165@repoman.freebsd.org> <20080221044026.GA16720@hades.panopticon> Message-ID: On Feb 20, 2008, at 8:40 PM, Dmitry Marakasov wrote: > * Marcel Moolenaar (marcel@FreeBSD.org) wrote: > >> Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. >> They are typically 0 on new ia64 systems. Since we don't use >> either field, there's no harm in not checking. > Thanks a lot, this fixes mounting some removeable media (for example, > Cowon iAudio 7 with latest firmware) which may have invalid values in > those fields. I guess there's no way this'll get into 7.0? Correct. 7-STABLE I'll probably do, but not 7.0. That boat has sailed :-) -- Marcel Moolenaar xcllnt@mac.com From grog at FreeBSD.org Thu Feb 21 07:12:58 2008 From: grog at FreeBSD.org (Greg Lehey) Date: Thu Feb 21 07:13:02 2008 Subject: cvs commit: src/usr.sbin/sa db.c Message-ID: <200802210712.m1L7Cvnu071221@repoman.freebsd.org> grog 2008-02-21 07:12:57 UTC FreeBSD src repository Modified files: usr.sbin/sa db.c Log: Ensure that the -s flag truncates the accounting data. This problem has only been reported on the amd64 platform. PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks Revision Changes Path 1.3 +1 -1 src/usr.sbin/sa/db.c From kaiw at FreeBSD.org Thu Feb 21 10:52:32 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Thu Feb 21 10:52:40 2008 Subject: cvs commit: src/usr.bin/ar Makefile ar.1 ar.c ar.h read.c util.c write.c Message-ID: <200802211052.m1LAqWH0004434@repoman.freebsd.org> kaiw 2008-02-21 10:52:32 UTC FreeBSD src repository Added files: usr.bin/ar Makefile ar.1 ar.c ar.h read.c util.c write.c Log: Import ar(1) front-end. (aka 'BSD' ar) Reviewed by: jkoshy Approved by: jkoshy (mentor) Tested by: erwin (ports build test on pointyhat) Sponsored by: Google Summer of Code 2007 Reviewed by (earlier version): Jaakko Heinonen Tested by (earlier version): Steve Kargl Tested by (earlier version): Martin Voros Tested by (earlier version): swell.k[AT]gmail.com Tested by (earlier version): joel Tested by (earlier version): Alexey Shuvaev Tested by (earlier version): Arjan van Leeuwen Thanks to gabor@ for building ports for it. Thanks to erwin@ and kris@ for scheduling the ports build test on pointyhat. And thanks to many others for their feedback. Revision Changes Path 1.15 +12 -0 src/usr.bin/ar/Makefile (new) 1.17 +407 -0 src/usr.bin/ar/ar.1 (new) 1.16 +377 -0 src/usr.bin/ar/ar.c (new) 1.1 +119 -0 src/usr.bin/ar/ar.h (new) 1.1 +204 -0 src/usr.bin/ar/read.c (new) 1.1 +86 -0 src/usr.bin/ar/util.c (new) 1.1 +784 -0 src/usr.bin/ar/write.c (new) From ru at FreeBSD.org Thu Feb 21 11:09:59 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Feb 21 11:10:02 2008 Subject: cvs commit: src/sys/modules/geom/geom_eli Makefile src/sys/modules/hwpmc Makefile src/sys/modules/sound/driver/emu10kx Makefile Message-ID: <200802211109.m1LB9xLf006314@repoman.freebsd.org> ru 2008-02-21 11:09:59 UTC FreeBSD src repository Modified files: sys/modules/geom/geom_eli Makefile sys/modules/hwpmc Makefile sys/modules/sound/driver/emu10kx Makefile Log: Remove WARNS from here and compile with default kernel flags. Revision Changes Path 1.5 +0 -1 src/sys/modules/geom/geom_eli/Makefile 1.5 +0 -2 src/sys/modules/hwpmc/Makefile 1.5 +0 -1 src/sys/modules/sound/driver/emu10kx/Makefile From ru at FreeBSD.org Thu Feb 21 11:11:07 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Feb 21 11:11:13 2008 Subject: cvs commit: src/sys/modules/zfs Makefile Message-ID: <200802211111.m1LBB70A006440@repoman.freebsd.org> ru 2008-02-21 11:11:07 UTC FreeBSD src repository Modified files: sys/modules/zfs Makefile Log: Remove WARNS from here and compile with default kernel flags. Switch off those warnings that ZFS sources do not pass. Revision Changes Path 1.8 +14 -10 src/sys/modules/zfs/Makefile From kaiw at FreeBSD.org Thu Feb 21 11:21:30 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Thu Feb 21 11:21:32 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile Message-ID: <200802211121.m1LBLUKQ007904@repoman.freebsd.org> kaiw 2008-02-21 11:21:29 UTC FreeBSD src repository Modified files: sys/sys param.h gnu/usr.bin/binutils/ar Makefile gnu/usr.bin/binutils/ranlib Makefile usr.bin Makefile Log: * Connect ar(1) to the build and make it default ar. Rename GNU binutils ar and ranlib to gar and granlib, respectively. * Introduce a temporary variable WITH_GNUAR as a safety net. When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib will install as default ones and 'BSD' ar will be disabled. * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Approved by: jkoshy (mentor) Revision Changes Path 1.14 +5 -0 src/gnu/usr.bin/binutils/ar/Makefile 1.15 +5 -0 src/gnu/usr.bin/binutils/ranlib/Makefile 1.336 +1 -1 src/sys/sys/param.h 1.307 +4 -0 src/usr.bin/Makefile From des at des.no Thu Feb 21 15:42:40 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Feb 21 15:42:50 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <200802211121.m1LBLUKQ007904@repoman.freebsd.org> (Kai Wang's message of "Thu\, 21 Feb 2008 11\:21\:29 +0000 \(UTC\)") References: <200802211121.m1LBLUKQ007904@repoman.freebsd.org> Message-ID: <86lk5e71uf.fsf@ds4.des.no> Kai Wang writes: > Log: > * Connect ar(1) to the build and make it default ar. Rename GNU > binutils ar and ranlib to gar and granlib, respectively. > > * Introduce a temporary variable WITH_GNUAR as a safety net. > When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib > will install as default ones and 'BSD' ar will be disabled. > > * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Please back this out immediately. If you don't understand why, see http://tinderbox.freebsd.org/ DES -- Dag-Erling Sm?rgrav - des@des.no From rwatson at FreeBSD.org Thu Feb 21 15:45:19 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Feb 21 15:45:25 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <86lk5e71uf.fsf@ds4.des.no> References: <200802211121.m1LBLUKQ007904@repoman.freebsd.org> <86lk5e71uf.fsf@ds4.des.no> Message-ID: <20080221154413.N78264@fledge.watson.org> On Thu, 21 Feb 2008, Dag-Erling Sm?rgrav wrote: > Kai Wang writes: >> Log: >> * Connect ar(1) to the build and make it default ar. Rename GNU >> binutils ar and ranlib to gar and granlib, respectively. >> >> * Introduce a temporary variable WITH_GNUAR as a safety net. >> When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib >> will install as default ones and 'BSD' ar will be disabled. >> >> * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). > > Please back this out immediately. > > If you don't understand why, see http://tinderbox.freebsd.org/ I think it would be sufficient to back out the changes to the makefiles to build and install gnu ar/ranlib by default and install the bsd ar/ranlib as bsdar/bsdranlib, in the same way we did a transition to bsdtar over time (or just set WANT_GNUAR by default). Robert N M Watson Computer Laboratory University of Cambridge From kaiw at FreeBSD.org Thu Feb 21 16:12:47 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Thu Feb 21 16:12:52 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile Message-ID: <200802211612.m1LGCkRt044722@repoman.freebsd.org> kaiw 2008-02-21 16:12:46 UTC FreeBSD src repository Modified files: sys/sys param.h gnu/usr.bin/binutils/ar Makefile gnu/usr.bin/binutils/ranlib Makefile usr.bin Makefile Log: Back out previous commit. Restore Binutils ar as default. Disconnect 'BSD' ar to the build. Requested by: des Revision Changes Path 1.15 +0 -5 src/gnu/usr.bin/binutils/ar/Makefile 1.16 +0 -5 src/gnu/usr.bin/binutils/ranlib/Makefile 1.337 +1 -1 src/sys/sys/param.h 1.308 +0 -4 src/usr.bin/Makefile From ru at FreeBSD.org Thu Feb 21 16:29:32 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Feb 21 16:29:39 2008 Subject: cvs commit: src/share/mk bsd.libnames.mk Message-ID: <200802211629.m1LGTWPK046229@repoman.freebsd.org> ru 2008-02-21 16:29:32 UTC FreeBSD src repository Modified files: share/mk bsd.libnames.mk Log: Add LIBELF. Revision Changes Path 1.106 +1 -0 src/share/mk/bsd.libnames.mk From ru at FreeBSD.org Thu Feb 21 16:29:54 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Feb 21 16:29:56 2008 Subject: cvs commit: src/usr.bin/ar Makefile Message-ID: <200802211629.m1LGTsI9046285@repoman.freebsd.org> ru 2008-02-21 16:29:53 UTC FreeBSD src repository Modified files: usr.bin/ar Makefile Log: Fix static linkage. Revision Changes Path 1.16 +2 -2 src/usr.bin/ar/Makefile From des at des.no Thu Feb 21 16:34:37 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Feb 21 16:34:44 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <200802211612.m1LGCkRt044722@repoman.freebsd.org> (Kai Wang's message of "Thu\, 21 Feb 2008 16\:12\:46 +0000 \(UTC\)") References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> Message-ID: <86skzm5kvc.fsf@ds4.des.no> Kai Wang writes: > Log: > Back out previous commit. Restore Binutils ar as default. Disconnect > 'BSD' ar to the build. > > Requested by: des Thank you. For future reference, any commit that changes how the build system works should be reviewed by - at the very least - ru@. I hope that you and ru@ will soon come up with a solution that allows cross-builds to work properly. DES -- Dag-Erling Sm?rgrav - des@des.no From cokane at FreeBSD.org Thu Feb 21 16:47:26 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Thu Feb 21 16:47:31 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <200802211612.m1LGCkRt044722@repoman.freebsd.org> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> Message-ID: <47BDA6A9.7050006@FreeBSD.org> Kai Wang wrote: > kaiw 2008-02-21 16:12:46 UTC > > FreeBSD src repository > > Modified files: > sys/sys param.h > gnu/usr.bin/binutils/ar Makefile > gnu/usr.bin/binutils/ranlib Makefile > usr.bin Makefile > Log: > Back out previous commit. Restore Binutils ar as default. Disconnect > 'BSD' ar to the build. > > Requested by: des > > Revision Changes Path > 1.15 +0 -5 src/gnu/usr.bin/binutils/ar/Makefile > 1.16 +0 -5 src/gnu/usr.bin/binutils/ranlib/Makefile > 1.337 +1 -1 src/sys/sys/param.h > 1.308 +0 -4 src/usr.bin/Makefile > What still needs to be done to get this to work? Is it just breaking under !i386 && !amd64 ? I kind of fancy the idea of slowly replacing binutils with our own tools. -- Coleman Kane From cokane at FreeBSD.org Thu Feb 21 16:48:23 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Thu Feb 21 16:48:26 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <47BDA6A9.7050006@FreeBSD.org> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> <47BDA6A9.7050006@FreeBSD.org> Message-ID: <47BDAAB9.6070204@FreeBSD.org> Coleman Kane wrote: > Kai Wang wrote: > >> kaiw 2008-02-21 16:12:46 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/sys param.h >> gnu/usr.bin/binutils/ar Makefile >> gnu/usr.bin/binutils/ranlib Makefile >> usr.bin Makefile >> Log: >> Back out previous commit. Restore Binutils ar as default. Disconnect >> 'BSD' ar to the build. >> >> Requested by: des >> >> Revision Changes Path >> 1.15 +0 -5 src/gnu/usr.bin/binutils/ar/Makefile >> 1.16 +0 -5 src/gnu/usr.bin/binutils/ranlib/Makefile >> 1.337 +1 -1 src/sys/sys/param.h >> 1.308 +0 -4 src/usr.bin/Makefile >> >> > What still needs to be done to get this to work? Is it just breaking > under !i386 && !amd64 ? I kind of fancy the idea of slowly replacing > binutils with our own tools. > > -- > Coleman Kane > BTW, I'm not criticizing the choice to back it out, I think that was the right move. I just want to know what "bsdar" and "bsdranlib" are missing... Maybe we can leave the build as-is and default to using the GNU-variants with the make environment, enabling the user to switch over to the BSD-licensed implementations at their choosing. -- Coleman Kane From des at des.no Thu Feb 21 16:54:56 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Feb 21 16:55:03 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <47BDAAB9.6070204@FreeBSD.org> (Coleman Kane's message of "Thu\, 21 Feb 2008 11\:45\:45 -0500") References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> <47BDA6A9.7050006@FreeBSD.org> <47BDAAB9.6070204@FreeBSD.org> Message-ID: <868x1e5jxh.fsf@ds4.des.no> Coleman Kane writes: > BTW, I'm not criticizing the choice to back it out, I think that was the > right move. I just want to know what "bsdar" and "bsdranlib" are > missing... There are issues with cross-building. I'm not sure whether those issues are inherent to the tools, or whether it is simply a matter of adding the correct libraries and tools to the list of libraries and tools required to bootstrap the build. In any case, Kai and Ruslan are working on a solution. DES -- Dag-Erling Sm?rgrav - des@des.no From obrien at FreeBSD.org Thu Feb 21 16:59:03 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Feb 21 16:59:09 2008 Subject: cvs commit: src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile Message-ID: <200802211659.m1LGx2Mu058671@repoman.freebsd.org> obrien 2008-02-21 16:59:02 UTC FreeBSD src repository Modified files: gnu/usr.bin/binutils/ar Makefile gnu/usr.bin/binutils/ranlib Makefile Log: If 'WITH_BSDAR' is defined, install as gnu-. Revision Changes Path 1.16 +5 -0 src/gnu/usr.bin/binutils/ar/Makefile 1.17 +5 -0 src/gnu/usr.bin/binutils/ranlib/Makefile From kaiwang27 at gmail.com Thu Feb 21 17:30:43 2008 From: kaiwang27 at gmail.com (Kai Wang) Date: Thu Feb 21 17:30:47 2008 Subject: cvs commit: src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile In-Reply-To: <200802211659.m1LGx2Mu058671@repoman.freebsd.org> References: <200802211659.m1LGx2Mu058671@repoman.freebsd.org> Message-ID: <20080221170258.GF1372@plan0.kaiwan.csbnet.se> On Thu, Feb 21, 2008 at 04:59:02PM +0000, David E. O'Brien wrote: > obrien 2008-02-21 16:59:02 UTC > > FreeBSD src repository > > Modified files: > gnu/usr.bin/binutils/ar Makefile > gnu/usr.bin/binutils/ranlib Makefile > Log: > If 'WITH_BSDAR' is defined, install as gnu-. > > Revision Changes Path > 1.16 +5 -0 src/gnu/usr.bin/binutils/ar/Makefile > 1.17 +5 -0 src/gnu/usr.bin/binutils/ranlib/Makefile Thank you! I think WITH_BSDAR is the best idea for now, I'll make change in my side soon. Kai From imp at bsdimp.com Thu Feb 21 19:00:56 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Feb 21 19:01:04 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <86skzm5kvc.fsf@ds4.des.no> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> <86skzm5kvc.fsf@ds4.des.no> Message-ID: <20080221.120005.447260150.imp@bsdimp.com> In message: <86skzm5kvc.fsf@ds4.des.no> Dag-Erling_Sm?rgrav writes: : Kai Wang writes: : > Log: : > Back out previous commit. Restore Binutils ar as default. Disconnect : > 'BSD' ar to the build. : > : > Requested by: des : : Thank you. : : For future reference, any commit that changes how the build system works : should be reviewed by - at the very least - ru@. : : I hope that you and ru@ will soon come up with a solution that allows : cross-builds to work properly. I'd like to review that stuff too... Warner From remko at FreeBSD.org Thu Feb 21 19:07:08 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Feb 21 19:07:18 2008 Subject: cvs commit: src/sys/dev/usb umass.c usbdevs Message-ID: <200802211907.m1LJ7872070108@repoman.freebsd.org> remko 2008-02-21 19:07:08 UTC FreeBSD src repository Modified files: sys/dev/usb umass.c usbdevs Log: Add support for the VIA USB2IDE bridge [1]. PR: usb/95173 Submitted by: Goegele Hannes Ben Kelly Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week Revision Changes Path 1.162 +19 -0 src/sys/dev/usb/umass.c 1.338 +3 -0 src/sys/dev/usb/usbdevs From philip at FreeBSD.org Thu Feb 21 19:16:57 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Thu Feb 21 19:17:04 2008 Subject: cvs commit: src/lib/libc/sys mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 mq_setattr.2 Message-ID: <200802211916.m1LJGvHt071397@repoman.freebsd.org> philip 2008-02-21 19:16:57 UTC FreeBSD src repository Modified files: lib/libc/sys mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 mq_setattr.2 Log: Note, as required by our agreement with IEEE/The Open Group, that the message queue manual pages excerpt the POSIX standard. Spotted by: Mindaugas Rasiukevicius Reviewed by: imp MFC after: 1 day Revision Changes Path 1.5 +20 -0 src/lib/libc/sys/mq_close.2 1.5 +20 -0 src/lib/libc/sys/mq_getattr.2 1.9 +20 -0 src/lib/libc/sys/mq_notify.2 1.9 +20 -0 src/lib/libc/sys/mq_open.2 1.6 +20 -0 src/lib/libc/sys/mq_receive.2 1.5 +20 -0 src/lib/libc/sys/mq_send.2 1.6 +20 -0 src/lib/libc/sys/mq_setattr.2 From bkelly at vadev.org Thu Feb 21 20:28:16 2008 From: bkelly at vadev.org (bkelly) Date: Thu Feb 21 20:28:22 2008 Subject: cvs commit: src/sys/dev/usb umass.c usbdevs In-Reply-To: <200802211907.m1LJ7872070108@repoman.freebsd.org> References: <200802211907.m1LJ7872070108@repoman.freebsd.org> Message-ID: <92a4d141142e9d088d3f24ebf75c80d6@mail.vadev.org> On Thu, 21 Feb 2008 19:07:08 +0000 (UTC), Remko Lodder wrote: > remko 2008-02-21 19:07:08 UTC > > FreeBSD src repository > > Modified files: > sys/dev/usb umass.c usbdevs > Log: > Add support for the VIA USB2IDE bridge [1]. > > PR: usb/95173 > Submitted by: Goegele Hannes > Ben Kelly > Tested by: blackend > Approved by: imp (mentor, blanket for simple patches) > X-MFC-After: 1 week > > Revision Changes Path > 1.162 +19 -0 src/sys/dev/usb/umass.c > 1.338 +3 -0 src/sys/dev/usb/usbdevs Thank you! - Ben From brueffer at FreeBSD.org Thu Feb 21 20:44:25 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 21 20:44:27 2008 Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Message-ID: <200802212044.m1LKiPNj078851@repoman.freebsd.org> brueffer 2008-02-21 20:44:25 UTC FreeBSD src repository Modified files: usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Log: Add some missing Xrefs to drivers. MFC after: 3 days Revision Changes Path 1.4 +5 -1 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 From brix at FreeBSD.org Thu Feb 21 21:06:23 2008 From: brix at FreeBSD.org (Henrik Brix Andersen) Date: Thu Feb 21 21:06:27 2008 Subject: cvs commit: src/contrib/traceroute as.c as.h traceroute.8 traceroute.c src/usr.sbin/traceroute Makefile In-Reply-To: <200802202329.m1KNTrmr014644@repoman.freebsd.org> References: <200802202329.m1KNTrmr014644@repoman.freebsd.org> Message-ID: <20080221205018.GD32491@tirith.brixandersen.dk> On Wed, Feb 20, 2008 at 11:29:53PM +0000, Rui Paulo wrote: > rpaulo 2008-02-20 23:29:53 UTC > > FreeBSD src repository > > Modified files: > contrib/traceroute traceroute.8 traceroute.c > usr.sbin/traceroute Makefile > Added files: > contrib/traceroute as.c as.h > Log: > Add AS lookup functionality. On each hop we query a whois server to > find the corresponding AS for that IP (-a switch). > We can also choose a different whois server with the -A switch. The > default is whois.radb.net. > > Obtained from: NetBSD > Reviewed by: bms, njl (mentor) > Approved by: njl (mentor) Great! Thank you. This was actually on my TODO list for when I got some more time on my hands, now I can spend that time on something else :) Brix -- Henrik Brix Andersen -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 217 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080221/eb971f3f/attachment.pgp From piso at FreeBSD.org Thu Feb 21 22:55:55 2008 From: piso at FreeBSD.org (Paolo Pisati) Date: Thu Feb 21 22:55:57 2008 Subject: cvs commit: src/sbin/ipfw ipfw2.c Message-ID: <200802212255.m1LMttRB099832@repoman.freebsd.org> piso 2008-02-21 22:55:54 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw2.c Log: -Fix display of nat range. -Whitespace elimination. Bug spotted by: Luiz Otavio O Souza MFC After: 3 days Revision Changes Path 1.116 +5 -6 src/sbin/ipfw/ipfw2.c From brueffer at FreeBSD.org Thu Feb 21 23:04:44 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 21 23:04:49 2008 Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Message-ID: <200802212304.m1LN4hGm001487@repoman.freebsd.org> brueffer 2008-02-21 23:04:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Log: MFC: rev. 1.4 Add some missing Xrefs to drivers. Revision Changes Path 1.3.2.1 +5 -1 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 From brueffer at FreeBSD.org Thu Feb 21 23:29:26 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 21 23:29:32 2008 Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Message-ID: <200802212329.m1LNTQYx003538@repoman.freebsd.org> brueffer 2008-02-21 23:29:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) usr.sbin/wpa/wpa_supplicant wpa_supplicant.8 Log: MFC: rev. 1.4 Add some missing Xrefs to drivers. Approved by: re (kensmith) Revision Changes Path 1.3.4.1 +5 -1 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 From trhodes at FreeBSD.org Fri Feb 22 00:00:56 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Fri Feb 22 00:01:50 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <868x1e5jxh.fsf@ds4.des.no> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> <47BDA6A9.7050006@FreeBSD.org> <47BDAAB9.6070204@FreeBSD.org> <868x1e5jxh.fsf@ds4.des.no> Message-ID: <20080221190035.2a4606c9.trhodes@FreeBSD.org> On Thu, 21 Feb 2008 17:54:50 +0100 Dag-Erling Sm??rgrav wrote: > Coleman Kane writes: > > BTW, I'm not criticizing the choice to back it out, I think that was the > > right move. I just want to know what "bsdar" and "bsdranlib" are > > missing... > > There are issues with cross-building. I'm not sure whether those issues > are inherent to the tools, or whether it is simply a matter of adding > the correct libraries and tools to the list of libraries and tools > required to bootstrap the build. In any case, Kai and Ruslan are > working on a solution. > This is good to hear, I'd rather see it a part of FreeBSD rather than backed out until who knows when. -- Tom Rhodes From davidch at FreeBSD.org Fri Feb 22 00:46:23 2008 From: davidch at FreeBSD.org (David Christensen) Date: Fri Feb 22 00:46:31 2008 Subject: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h Message-ID: <200802220046.m1M0kMPM008814@repoman.freebsd.org> davidch 2008-02-22 00:46:22 UTC FreeBSD src repository Modified files: sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h Log: MFC after: 4 weeks - Added loose RX MTU functionality to allow frames larger than 1500 bytes to be accepted even though the interface MTU is set to 1500. - Implemented new TCP header splitting/jumbo frame support which uses two chains for receive traffic rather than the original single recevie chain. - Added additional debug support code. Revision Changes Path 1.36 +1559 -675 src/sys/dev/bce/if_bce.c 1.5 +6179 -4850 src/sys/dev/bce/if_bcefw.h 1.17 +264 -55 src/sys/dev/bce/if_bcereg.h From das at FreeBSD.org Fri Feb 22 02:26:51 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Feb 22 02:26:53 2008 Subject: cvs commit: src/lib/msun/bsdsrc b_exp.c b_log.c b_tgamma.c Message-ID: <200802220226.m1M2QpET025707@repoman.freebsd.org> das 2008-02-22 02:26:51 UTC FreeBSD src repository Modified files: lib/msun/bsdsrc b_exp.c b_log.c b_tgamma.c Log: Eliminate some warnings. Revision Changes Path 1.8 +1 -3 src/lib/msun/bsdsrc/b_exp.c 1.9 +1 -3 src/lib/msun/bsdsrc/b_log.c 1.10 +1 -3 src/lib/msun/bsdsrc/b_tgamma.c From das at FreeBSD.org Fri Feb 22 02:27:34 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Feb 22 02:27:36 2008 Subject: cvs commit: src/lib/msun/src s_exp2.c s_exp2f.c s_trunc.c Message-ID: <200802220227.m1M2RYlA025860@repoman.freebsd.org> das 2008-02-22 02:27:34 UTC FreeBSD src repository Modified files: lib/msun/src s_exp2.c s_exp2f.c s_trunc.c Log: Remove an unused variable. Revision Changes Path 1.7 +1 -1 src/lib/msun/src/s_exp2.c 1.9 +1 -1 src/lib/msun/src/s_exp2f.c 1.4 +1 -1 src/lib/msun/src/s_trunc.c From das at FreeBSD.org Fri Feb 22 02:30:38 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Feb 22 02:30:44 2008 Subject: cvs commit: src/lib/msun/src e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c e_expf.c e_fmod.c e_fmodf.c e_gamma.c e_gamma_r.c e_gammaf.c e_gammaf_r.c e_j0.c e_j0f.c ... Message-ID: <200802220230.m1M2UbPo026334@repoman.freebsd.org> das 2008-02-22 02:30:37 UTC FreeBSD src repository Modified files: lib/msun/src e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c e_expf.c e_fmod.c e_fmodf.c e_gamma.c e_gamma_r.c e_gammaf.c e_gammaf_r.c e_j0.c e_j0f.c e_j1.c e_j1f.c e_jn.c e_jnf.c e_lgamma.c e_lgamma_r.c e_lgammaf.c e_lgammaf_r.c e_log.c e_log10.c e_log10f.c e_logf.c e_scalb.c e_scalbf.c e_sinh.c e_sinhf.c k_cosf.c k_sinf.c k_tan.c k_tanf.c s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_cbrt.c s_cbrtf.c s_ceilf.c s_copysign.c s_copysignf.c s_cosf.c s_erf.c s_erff.c s_fabsf.c s_finite.c s_finitef.c s_floorf.c s_frexp.c s_frexpf.c s_ilogb.c s_ilogbf.c s_ilogbl.c s_logbf.c s_modff.c s_nextafter.c s_nextafterf.c s_nextafterl.c s_nexttoward.c s_nexttowardf.c s_rint.c s_rintf.c s_significand.c s_significandf.c s_sinf.c s_tanf.c s_tanh.c s_tanhf.c w_cabs.c Log: s/rcsid/__FBSDID/ Revision Changes Path 1.11 +2 -3 src/lib/msun/src/e_acos.c 1.8 +2 -3 src/lib/msun/src/e_acosf.c 1.9 +2 -3 src/lib/msun/src/e_acosh.c 1.8 +2 -3 src/lib/msun/src/e_acoshf.c 1.12 +2 -3 src/lib/msun/src/e_asin.c 1.10 +2 -3 src/lib/msun/src/e_asinf.c 1.11 +2 -3 src/lib/msun/src/e_atan2.c 1.8 +2 -3 src/lib/msun/src/e_atan2f.c 1.8 +2 -3 src/lib/msun/src/e_atanh.c 1.7 +2 -3 src/lib/msun/src/e_atanhf.c 1.9 +2 -3 src/lib/msun/src/e_cosh.c 1.8 +2 -3 src/lib/msun/src/e_coshf.c 1.13 +2 -3 src/lib/msun/src/e_exp.c 1.14 +2 -3 src/lib/msun/src/e_expf.c 1.10 +2 -3 src/lib/msun/src/e_fmod.c 1.7 +2 -3 src/lib/msun/src/e_fmodf.c 1.8 +2 -3 src/lib/msun/src/e_gamma.c 1.8 +2 -3 src/lib/msun/src/e_gamma_r.c 1.7 +2 -3 src/lib/msun/src/e_gammaf.c 1.8 +2 -3 src/lib/msun/src/e_gammaf_r.c 1.9 +2 -3 src/lib/msun/src/e_j0.c 1.8 +2 -3 src/lib/msun/src/e_j0f.c 1.9 +2 -3 src/lib/msun/src/e_j1.c 1.8 +2 -3 src/lib/msun/src/e_j1f.c 1.10 +2 -3 src/lib/msun/src/e_jn.c 1.9 +2 -3 src/lib/msun/src/e_jnf.c 1.9 +2 -3 src/lib/msun/src/e_lgamma.c 1.10 +2 -3 src/lib/msun/src/e_lgamma_r.c 1.8 +2 -3 src/lib/msun/src/e_lgammaf.c 1.11 +2 -3 src/lib/msun/src/e_lgammaf_r.c 1.14 +2 -3 src/lib/msun/src/e_log.c 1.12 +2 -3 src/lib/msun/src/e_log10.c 1.9 +2 -3 src/lib/msun/src/e_log10f.c 1.10 +2 -3 src/lib/msun/src/e_logf.c 1.13 +2 -3 src/lib/msun/src/e_scalb.c 1.13 +2 -3 src/lib/msun/src/e_scalbf.c 1.10 +2 -3 src/lib/msun/src/e_sinh.c 1.9 +2 -3 src/lib/msun/src/e_sinhf.c 1.16 +2 -3 src/lib/msun/src/k_cosf.c 1.14 +2 -3 src/lib/msun/src/k_sinf.c 1.13 +2 -3 src/lib/msun/src/k_tan.c 1.21 +2 -3 src/lib/msun/src/k_tanf.c 1.9 +2 -3 src/lib/msun/src/s_asinh.c 1.9 +2 -3 src/lib/msun/src/s_asinhf.c 1.10 +2 -3 src/lib/msun/src/s_atan.c 1.8 +2 -3 src/lib/msun/src/s_atanf.c 1.15 +2 -3 src/lib/msun/src/s_cbrt.c 1.18 +2 -3 src/lib/msun/src/s_cbrtf.c 1.8 +2 -3 src/lib/msun/src/s_ceilf.c 1.10 +2 -3 src/lib/msun/src/s_copysign.c 1.10 +2 -3 src/lib/msun/src/s_copysignf.c 1.16 +2 -3 src/lib/msun/src/s_cosf.c 1.8 +2 -3 src/lib/msun/src/s_erf.c 1.8 +2 -3 src/lib/msun/src/s_erff.c 1.8 +2 -3 src/lib/msun/src/s_fabsf.c 1.9 +2 -3 src/lib/msun/src/s_finite.c 1.7 +2 -3 src/lib/msun/src/s_finitef.c 1.8 +2 -3 src/lib/msun/src/s_floorf.c 1.11 +2 -4 src/lib/msun/src/s_frexp.c 1.10 +2 -3 src/lib/msun/src/s_frexpf.c 1.10 +2 -3 src/lib/msun/src/s_ilogb.c 1.8 +2 -3 src/lib/msun/src/s_ilogbf.c 1.2 +2 -3 src/lib/msun/src/s_ilogbl.c 1.9 +2 -3 src/lib/msun/src/s_logbf.c 1.9 +2 -3 src/lib/msun/src/s_modff.c 1.12 +2 -4 src/lib/msun/src/s_nextafter.c 1.11 +2 -3 src/lib/msun/src/s_nextafterf.c 1.2 +2 -4 src/lib/msun/src/s_nextafterl.c 1.2 +2 -3 src/lib/msun/src/s_nexttoward.c 1.2 +2 -3 src/lib/msun/src/s_nexttowardf.c 1.16 +2 -3 src/lib/msun/src/s_rint.c 1.12 +2 -3 src/lib/msun/src/s_rintf.c 1.10 +2 -3 src/lib/msun/src/s_significand.c 1.8 +2 -3 src/lib/msun/src/s_significandf.c 1.15 +2 -3 src/lib/msun/src/s_sinf.c 1.15 +2 -3 src/lib/msun/src/s_tanf.c 1.9 +2 -3 src/lib/msun/src/s_tanh.c 1.9 +2 -3 src/lib/msun/src/s_tanhf.c 1.6 +2 -4 src/lib/msun/src/w_cabs.c From ache at nagual.pp.ru Fri Feb 22 05:09:24 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Fri Feb 22 05:09:28 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <200802211612.m1LGCkRt044722@repoman.freebsd.org> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> Message-ID: <20080222050922.GA79456@nagual.pp.ru> On Thu, Feb 21, 2008 at 04:12:46PM +0000, Kai Wang wrote: > kaiw 2008-02-21 16:12:46 UTC > > FreeBSD src repository > > Modified files: > sys/sys param.h > gnu/usr.bin/binutils/ar Makefile > gnu/usr.bin/binutils/ranlib Makefile > usr.bin Makefile > Log: > Back out previous commit. Restore Binutils ar as default. Disconnect > 'BSD' ar to the build. Good. Please also think about some fixes probably needed in the ports system - I suspect that some ports may require GNU versions of ar/ranlib. -- http://ache.pp.ru/ From jkoshy at FreeBSD.org Fri Feb 22 06:25:50 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Fri Feb 22 06:25:55 2008 Subject: cvs commit: src/usr.sbin/pmcstat Makefile Message-ID: <200802220625.m1M6Pohd053057@repoman.freebsd.org> jkoshy 2008-02-22 06:25:49 UTC FreeBSD src repository Modified files: usr.sbin/pmcstat Makefile Log: Fix 'make checkdpadd'. Revision Changes Path 1.7 +1 -1 src/usr.sbin/pmcstat/Makefile From obrien at FreeBSD.org Fri Feb 22 06:47:48 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 22 06:47:51 2008 Subject: cvs commit: src/usr.bin Makefile src/usr.bin/ar Makefile ar.h Message-ID: <200802220647.m1M6ljMr053949@repoman.freebsd.org> obrien 2008-02-22 06:47:45 UTC FreeBSD src repository Modified files: usr.bin Makefile usr.bin/ar Makefile ar.h Log: Re-introduce the new BSDLed 'ar' to the build. It is installed as "bsdar" unless WANT_BSDAR is defined. Discussed with: kaiw Revision Changes Path 1.309 +1 -0 src/usr.bin/Makefile 1.17 +16 -2 src/usr.bin/ar/Makefile 1.2 +2 -0 src/usr.bin/ar/ar.h From obrien at FreeBSD.org Fri Feb 22 06:51:27 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 22 06:51:32 2008 Subject: cvs commit: src/usr.bin/ar Makefile Message-ID: <200802220651.m1M6pRgY054119@repoman.freebsd.org> obrien 2008-02-22 06:51:27 UTC FreeBSD src repository Modified files: usr.bin/ar Makefile Log: We build important toolchain statically. So build BSD 'ar' statically when its replacing GNU 'ar'. Revision Changes Path 1.18 +1 -0 src/usr.bin/ar/Makefile From obrien at FreeBSD.org Fri Feb 22 06:53:53 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Feb 22 06:53:55 2008 Subject: cvs commit: src/usr.bin/ar Makefile Message-ID: <200802220653.m1M6rrrP054253@repoman.freebsd.org> obrien 2008-02-22 06:53:53 UTC FreeBSD src repository Modified files: usr.bin/ar Makefile Log: Clean up created turds. Revision Changes Path 1.19 +1 -0 src/usr.bin/ar/Makefile From erwin at FreeBSD.org Fri Feb 22 08:18:15 2008 From: erwin at FreeBSD.org (Erwin Lansing) Date: Fri Feb 22 08:18:21 2008 Subject: cvs commit: src/sys/sys param.h src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin Makefile In-Reply-To: <20080222050922.GA79456@nagual.pp.ru> References: <200802211612.m1LGCkRt044722@repoman.freebsd.org> <20080222050922.GA79456@nagual.pp.ru> Message-ID: <20080222081813.GF34170@droso.net> On Fri, Feb 22, 2008 at 08:09:22AM +0300, Andrey Chernov wrote: > On Thu, Feb 21, 2008 at 04:12:46PM +0000, Kai Wang wrote: > > kaiw 2008-02-21 16:12:46 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/sys param.h > > gnu/usr.bin/binutils/ar Makefile > > gnu/usr.bin/binutils/ranlib Makefile > > usr.bin Makefile > > Log: > > Back out previous commit. Restore Binutils ar as default. Disconnect > > 'BSD' ar to the build. > > Good. Please also think about some fixes probably needed in the ports > system - I suspect that some ports may require GNU versions of ar/ranlib. > Only one port is known to do it's own magic to detect which ar is installed and needs patching, all other issues found in a full run on pointyhat are fixed, but please remember to bump __FreeBSD_version when it is turned on by default anyway. Cheers, -erwin -- Erwin Lansing http://droso.org (o_ _o) Errare humanum est \\\_\ /_/// erwin@FreeBSD.org perseverare diabolicum <____) (____> erwin@aauug.dk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080222/9901e1a1/attachment.pgp From bde at FreeBSD.org Fri Feb 22 09:21:16 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 09:21:23 2008 Subject: cvs commit: src/lib/msun/src s_rintl.c Message-ID: <200802220921.m1M9LFq8075132@repoman.freebsd.org> bde 2008-02-22 09:21:14 UTC FreeBSD src repository Modified files: lib/msun/src s_rintl.c Log: Fix rintl() on signaling NaNs and unsupported formats. Revision Changes Path 1.3 +3 -5 src/lib/msun/src/s_rintl.c From ru at FreeBSD.org Fri Feb 22 09:31:23 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Fri Feb 22 09:31:25 2008 Subject: cvs commit: src/usr.bin Makefile Message-ID: <200802220931.m1M9VNY5075522@repoman.freebsd.org> ru 2008-02-22 09:31:23 UTC FreeBSD src repository Modified files: usr.bin Makefile Log: Hide BSD ar(1) under the MK_TOOLCHAIN option. Reviewed by: obrien Revision Changes Path 1.310 +2 -1 src/usr.bin/Makefile From bde at FreeBSD.org Fri Feb 22 10:04:54 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 10:04:59 2008 Subject: cvs commit: src/lib/msun/src s_rintl.c Message-ID: <200802221004.m1MA4rIn077941@repoman.freebsd.org> bde 2008-02-22 10:04:53 UTC FreeBSD src repository Modified files: lib/msun/src s_rintl.c Log: Optimize the fixup for +-0 by using better classification for this case and by using a table lookup to avoid a branch when this case occurs. On i386, this saves 1-4 cycles out of about 64 for non-large args. Revision Changes Path 1.4 +4 -2 src/lib/msun/src/s_rintl.c From ru at FreeBSD.org Fri Feb 22 10:28:04 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Fri Feb 22 10:28:09 2008 Subject: cvs commit: src/usr.bin/ar ar.1 Message-ID: <200802221028.m1MAS3Dx083235@repoman.freebsd.org> ru 2008-02-22 10:28:03 UTC FreeBSD src repository Modified files: usr.bin/ar ar.1 Log: Fix essential bugs and warnings. Revision Changes Path 1.18 +4 -5 src/usr.bin/ar/ar.1 From kib at FreeBSD.org Fri Feb 22 11:47:58 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Feb 22 11:48:04 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c linux_misc.h Message-ID: <200802221147.m1MBlv4A088922@repoman.freebsd.org> kib 2008-02-22 11:47:57 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c linux_misc.h Log: Sanitize arguments to linux_mremap(). Check that only MREMAP_FIXED and MREMAP_MAYMOVE flags are specified. Check for the page alignment of the addr argument. Submitted by: rdivacky MFC after: 1 week Revision Changes Path 1.217 +15 -0 src/sys/compat/linux/linux_misc.c 1.3 +3 -0 src/sys/compat/linux/linux_misc.h From bde at FreeBSD.org Fri Feb 22 11:59:06 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 11:59:07 2008 Subject: cvs commit: src/lib/msun/src s_rintl.c Message-ID: <200802221159.m1MBx6il089462@repoman.freebsd.org> bde 2008-02-22 11:59:05 UTC FreeBSD src repository Modified files: lib/msun/src s_rintl.c Log: Optimize the conversion to bits a little (by about 11 cycles or 16% on i386 (A64), 5 cycles on amd64 (A64), and 3 cycles on ia64). gcc tends to generate very bad code for accessing floating point values as bits except when the integer accesses have the same width as the floating point values, and direct accesses to bit-fields (as is common only for long double precision) always gives such accesses. Use the expsign access method, which is good for 80-bit long doubles and hopefully no worse for 128-bit long doubles. Now the generated code is less bad. There is still unnecessary copying of the arg on amd64 and i386 and mysterious extra slowness on amd64. Revision Changes Path 1.5 +13 -5 src/lib/msun/src/s_rintl.c From bde at FreeBSD.org Fri Feb 22 14:11:04 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 14:11:12 2008 Subject: cvs commit: src/lib/msun/src math_private.h Message-ID: <200802221411.m1MEB3B7009617@repoman.freebsd.org> bde 2008-02-22 14:11:03 UTC FreeBSD src repository Modified files: lib/msun/src math_private.h Log: Add an irint() function in inline asm for amd64 and i386. irint() is the same as lrint() except it returns int instead of long. Though the extern lrint() is fairly fast on these arches, it still takes about 12 cycles longer than the inline version, and 12 cycles is a lot in applications where [li]rint() is used to avoid slow conversions that are only a couple of times slower. This is only for internal use. The libm versions of *rint*() should also be inline, but that would take would take more header engineering. Implementing irint() instead of lrint() also avoids a conflict with the extern declaration of the latter. Revision Changes Path 1.25 +30 -0 src/lib/msun/src/math_private.h From rrs at FreeBSD.org Fri Feb 22 15:06:26 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Fri Feb 22 15:06:32 2008 Subject: cvs commit: src/sys/netinet sctp_output.c Message-ID: <200802221506.m1MF6P0U013866@repoman.freebsd.org> rrs 2008-02-22 15:06:25 UTC FreeBSD src repository Modified files: sys/netinet sctp_output.c Log: - Takes out stray ifdef code that should not have been present. Revision Changes Path 1.67 +0 -5 src/sys/netinet/sctp_output.c From rrs at FreeBSD.org Fri Feb 22 15:08:11 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Fri Feb 22 15:08:13 2008 Subject: cvs commit: src/sys/netinet sctp_pcb.c Message-ID: <200802221508.m1MF8AQV013948@repoman.freebsd.org> rrs 2008-02-22 15:08:10 UTC FreeBSD src repository Modified files: sys/netinet sctp_pcb.c Log: Fixes a memory leak when VRF's are in play. Submitted by: Prasad Narasimha (snprasad@cisco.com) Reviewed by: rrs Revision Changes Path 1.66 +4 -0 src/sys/netinet/sctp_pcb.c From bde at FreeBSD.org Fri Feb 22 15:55:16 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 15:55:21 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c Message-ID: <200802221555.m1MFtFkE016654@repoman.freebsd.org> bde 2008-02-22 15:55:15 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c Log: Optimize the 9pi/2 < |x| <= 2**19pi/2 case on amd64 and i386 by avoiding the the double to int conversion operation which is very slow on these arches. Assume that the current rounding mode is the default of round-to-nearest and use rounding operations in this mode instead of faking this mode using the round-towards-zero mode for conversion to int. Round the double to an integer as a double first and as an int second since the double result is needed much earler. Double rounding isn't a problem since we only need a rough approximation. We didn't support other current rounding modes and produce much larger errors than before if called in a non-default mode. This saves an average about 10 cycles on amd64 (A64) and about 25 on i386 (A64) for x in the above range. In some cases the saving is over 25%. Most cases with |x| < 1000pi now take about 88 cycles for cos and sin (with certain CFLAGS, etc.), except on i386 where cos and sin (but not cosf and sinf) are much slower at 111 and 121 cycles respectivly due to the compiler only optimizing well for float precision. A64 hardware cos and sin are slower at 105 cycles on i386 and 110 cycles on amd64. Revision Changes Path 1.12 +9 -0 src/lib/msun/src/e_rem_pio2.c 1.22 +9 -0 src/lib/msun/src/e_rem_pio2f.c From bde at FreeBSD.org Fri Feb 22 17:26:24 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 17:26:30 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c Message-ID: <200802221726.m1MHQOC3033513@repoman.freebsd.org> bde 2008-02-22 17:26:24 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c Log: Remove the "quick check no cancellation" optimization for 9pi/2 < |x| < 32pi/2 since it is only a small or negative optimation and it gets in the way of further optimizations. It did one more branch to avoid some integer operations and to use a different dependency on previous results. The branches are fairly predictable so they are usually not a problem, so whether this is a good optimization depends mainly on the timing for the previous results, which is very machine-dependent. On amd64 (A64), this "optimization" is a pessimization of about 1 cycle or 1%; on ia64, it is an optimization of about 2 cycles or 1%; on i386 (A64), it is an optimization of about 5 cycles or 4%; on i386 (Celeron P2) it is an optimization of about 4 cycles or 3% for cos but a pessimization of about 5 cycles for sin and 1 cycle for tan. I think the new i386 (A64) slowness is due to an pipeline stall due to an avoidable load-store mismatch (so the old timing was better), and the i386 (Celeron) variance is due to its branch predictor not being too good. Revision Changes Path 1.13 +1 -12 src/lib/msun/src/e_rem_pio2.c From bde at FreeBSD.org Fri Feb 22 18:43:24 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Fri Feb 22 18:43:30 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c Message-ID: <200802221843.m1MIhOcn042213@repoman.freebsd.org> bde 2008-02-22 18:43:23 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c Log: Avoid using FP-to-integer conversion for !(amd64 || i386) too. Use the FP-to-FP method to round to an integer on all arches, and convert this to an int using FP-to-integer conversion iff irint() is not available. This is cleaner and works well on at least ia64, where it saves 20-30 cycles or about 10% on average for 9Pi/4 < |x| <= 32pi/2 (should be similar up to 2**19pi/2, but I only tested the smaller range). After the previous commit to e_rem_pio2.c removed the "quick check no cancellation" non-optimization, the result of the FP-to-integer conversion is not needed so early, so using irint() became a much smaller optimization than when it was committed. An earlier commit message said that cos, cosf, sin and sinf were equally fast on amd64 and i386 except for cos and sin on i386. Actually, cos and sin on amd64 are equally fast to cosf and sinf on i386 (~88 cycles), while cosf and sinf on amd64 are not quite equally slow to cos and sin on i386 (average 115 cycles with more variance). Revision Changes Path 1.14 +2 -3 src/lib/msun/src/e_rem_pio2.c 1.23 +2 -3 src/lib/msun/src/e_rem_pio2f.c From ups at FreeBSD.org Fri Feb 22 19:13:58 2008 From: ups at FreeBSD.org (Stephan Uphoff) Date: Fri Feb 22 19:14:05 2008 Subject: cvs commit: src/sys/netinet in.c Message-ID: <200802221913.m1MJDwrH044833@repoman.freebsd.org> ups 2008-02-22 19:13:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet in.c Log: Fix reference counting for already existing addresses in in_addmulti() Reviewed by: gnn@ Revision Changes Path 1.85.2.10 +0 -1 src/sys/netinet/in.c From remko at FreeBSD.org Fri Feb 22 20:14:31 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Fri Feb 22 20:14:37 2008 Subject: cvs commit: src UPDATING Message-ID: <200802222014.m1MKEVnC050020@repoman.freebsd.org> remko 2008-02-22 20:14:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) . UPDATING Log: Mention 6.3-RELEASE PR: misc/120760 Submitted by: pluknet Revision Changes Path 1.416.2.39 +3 -0 src/UPDATING From bms at FreeBSD.org Fri Feb 22 21:02:37 2008 From: bms at FreeBSD.org (Bruce M Simpson) Date: Fri Feb 22 21:02:39 2008 Subject: cvs commit: src/share/man/man4 ip6.4 Message-ID: <200802222102.m1ML2a6U061023@repoman.freebsd.org> bms 2008-02-22 21:02:36 UTC FreeBSD src repository Modified files: share/man/man4 ip6.4 Log: ip6(4) man page lacks documentation for TCLASS option. PR: docs/120945 Reviewed by: remko Revision Changes Path 1.23 +13 -2 src/share/man/man4/ip6.4 From remko at FreeBSD.org Fri Feb 22 22:01:05 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Fri Feb 22 22:01:09 2008 Subject: cvs commit: src/share/man/man4 ip6.4 In-Reply-To: <200802222102.m1ML2a6U061023@repoman.freebsd.org> References: <200802222102.m1ML2a6U061023@repoman.freebsd.org> Message-ID: <47BF39E9.2090500@FreeBSD.org> Bruce M Simpson wrote: > bms 2008-02-22 21:02:36 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 ip6.4 > Log: > ip6(4) man page lacks documentation for TCLASS option. > > PR: docs/120945 > Reviewed by: remko > > Revision Changes Path > 1.23 +13 -2 src/share/man/man4/ip6.4 Thanks! :) cheers remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From des at FreeBSD.org Sat Feb 23 01:01:49 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Feb 23 01:01:51 2008 Subject: cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c src/sys/sys ktrace.h src/usr.bin/kdump kdump.1 kdump.c mksubr src/usr.bin/ktrace ktrace.1 ktrace.h subr.c Message-ID: <200802230101.m1N11ndD091703@repoman.freebsd.org> des 2008-02-23 01:01:49 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c sys/sys ktrace.h usr.bin/kdump kdump.1 kdump.c mksubr usr.bin/ktrace ktrace.1 ktrace.h subr.c Log: This patch adds a new ktrace(2) record type, KTR_STRUCT, whose payload consists of the null-terminated name and the contents of any structure you wish to record. A new ktrstruct() function constructs and emits a KTR_STRUCT record. It is accompanied by convenience macros for struct stat and struct sockaddr. In kdump(1), KTR_STRUCT records are handled by a dispatcher function that runs stringent sanity checks on its contents before handing it over to individual decoding funtions for each type of structure. Currently supported structures are struct stat and struct sockaddr for the AF_INET, AF_INET6 and AF_UNIX families; support for AF_APPLETALK and AF_IPX is present but disabled, as I am unable to test it properly. Since 's' was already taken, the letter 't' is used by ktrace(1) to enable KTR_STRUCT trace points, and in kdump(1) to enable their decoding. Derived from patches by Andrew Li . PR: kern/117836 MFC after: 3 weeks Revision Changes Path 1.324 +8 -0 src/sys/kern/kern_descrip.c 1.126 +31 -1 src/sys/kern/kern_ktrace.c 1.268 +36 -0 src/sys/kern/uipc_syscalls.c 1.450 +12 -0 src/sys/kern/vfs_syscalls.c 1.34 +13 -0 src/sys/sys/ktrace.h 1.16 +7 -3 src/usr.bin/kdump/kdump.1 1.40 +239 -4 src/usr.bin/kdump/kdump.c 1.11 +1 -0 src/usr.bin/kdump/mksubr 1.19 +7 -5 src/usr.bin/ktrace/ktrace.1 1.5 +1 -1 src/usr.bin/ktrace/ktrace.h 1.14 +3 -0 src/usr.bin/ktrace/subr.c From kmacy at FreeBSD.org Sat Feb 23 01:04:19 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sat Feb 23 01:04:25 2008 Subject: cvs commit: src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/tom Makefile Message-ID: <200802230104.m1N14JaS093000@repoman.freebsd.org> kmacy 2008-02-23 01:04:19 UTC FreeBSD src repository Modified files: sys/modules/cxgb/cxgb Makefile sys/modules/cxgb/tom Makefile Log: - update firmware to 5.0 - add support for T3C - add DDP support (zero-copy receive) - fix TOE transmit of large requests - fix shutdown so that sockets don't remain in CLOSING state indefinitely - register listeners when an interface is brought up after tom is loaded - fix setting of multicast filter - enable link at device attach - exit tick handler if shutdown is in progress - add helper for logging TCB - add sysctls for dumping transmit queues - note that TOE wxill not be MFC'd until after 7.0 has been finalized MFC after: 3 days Revision Changes Path 1.6 +11 -7 src/sys/modules/cxgb/cxgb/Makefile 1.4 +4 -2 src/sys/modules/cxgb/tom/Makefile From kmacy at FreeBSD.org Sat Feb 23 01:06:18 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sat Feb 23 01:06:25 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_ioctl.h cxgb_l2t.c cxgb_l2t.h cxgb_main.c cxgb_multiq.c cxgb_offload.c cxgb_osdep.h cxgb_sge.c t3cdev.h t3fw-4.7.0.bin.gz.uu t3fw-5.0.0.bin.gz.uu src/sys/dev/cxgb/common cxgb_ael1002.c ... Message-ID: <200802230106.m1N16Igr093371@repoman.freebsd.org> kmacy 2008-02-23 01:06:18 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_ioctl.h cxgb_l2t.c cxgb_l2t.h cxgb_main.c cxgb_multiq.c cxgb_offload.c cxgb_osdep.h cxgb_sge.c t3cdev.h sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_ctl_defs.h cxgb_firmware_exports.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_regs.h cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_tcb.h cxgb_version.h cxgb_vsc8211.c cxgb_xgmac.c sys/dev/cxgb/sys cxgb_support.c mbufq.h mvec.h uipc_mvec.c sys/dev/cxgb/ulp/toecore cxgb_toedev.h sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_defs.h cxgb_listen.c cxgb_t3_ddp.h cxgb_toepcb.h cxgb_tom.c cxgb_tom.h cxgb_tom_sysctl.c Added files: sys/dev/cxgb t3fw-5.0.0.bin.gz.uu sys/dev/cxgb/ulp/tom cxgb_ddp.c cxgb_vm.c cxgb_vm.h Removed files: sys/dev/cxgb t3fw-4.7.0.bin.gz.uu sys/dev/cxgb/ulp/tom cxgb_tcp_subr.c cxgb_tcp_usrreq.c Log: - update firmware to 5.0 - add support for T3C - add DDP support (zero-copy receive) - fix TOE transmit of large requests - fix shutdown so that sockets don't remain in CLOSING state indefinitely - register listeners when an interface is brought up after tom is loaded - fix setting of multicast filter - enable link at device attach - exit tick handler if shutdown is in progress - add helper for logging TCB - add sysctls for dumping transmit queues - note that TOE wxill not be MFC'd until after 7.0 has been finalized MFC after: 3 days Revision Changes Path 1.4 +29 -18 src/sys/dev/cxgb/common/cxgb_ael1002.c 1.8 +24 -16 src/sys/dev/cxgb/common/cxgb_common.h 1.4 +2 -2 src/sys/dev/cxgb/common/cxgb_ctl_defs.h 1.3 +2 -0 src/sys/dev/cxgb/common/cxgb_firmware_exports.h 1.6 +16 -3 src/sys/dev/cxgb/common/cxgb_mc5.c 1.3 +26 -9 src/sys/dev/cxgb/common/cxgb_mv88e1xxx.c 1.4 +1206 -489 src/sys/dev/cxgb/common/cxgb_regs.h 1.7 +8 -2 src/sys/dev/cxgb/common/cxgb_t3_cpl.h 1.10 +292 -81 src/sys/dev/cxgb/common/cxgb_t3_hw.c 1.3 +5 -2 src/sys/dev/cxgb/common/cxgb_tcb.h 1.5 +1 -1 src/sys/dev/cxgb/common/cxgb_version.h 1.4 +169 -7 src/sys/dev/cxgb/common/cxgb_vsc8211.c 1.8 +115 -28 src/sys/dev/cxgb/common/cxgb_xgmac.c 1.30 +24 -3 src/sys/dev/cxgb/cxgb_adapter.h 1.6 +12 -9 src/sys/dev/cxgb/cxgb_ioctl.h 1.7 +11 -16 src/sys/dev/cxgb/cxgb_l2t.c 1.5 +0 -2 src/sys/dev/cxgb/cxgb_l2t.h 1.48 +226 -90 src/sys/dev/cxgb/cxgb_main.c 1.7 +8 -5 src/sys/dev/cxgb/cxgb_multiq.c 1.11 +86 -49 src/sys/dev/cxgb/cxgb_offload.c 1.21 +31 -16 src/sys/dev/cxgb/cxgb_osdep.h 1.50 +201 -76 src/sys/dev/cxgb/cxgb_sge.c 1.6 +7 -0 src/sys/dev/cxgb/sys/cxgb_support.c 1.4 +1 -1 src/sys/dev/cxgb/sys/mbufq.h 1.15 +25 -4 src/sys/dev/cxgb/sys/mvec.h 1.25 +2 -2 src/sys/dev/cxgb/sys/uipc_mvec.c 1.3 +2 -1 src/sys/dev/cxgb/t3cdev.h 1.2 +0 -451 src/sys/dev/cxgb/t3fw-4.7.0.bin.gz.uu (dead) 1.1 +496 -0 src/sys/dev/cxgb/t3fw-5.0.0.bin.gz.uu (new) 1.2 +3 -1 src/sys/dev/cxgb/ulp/toecore/cxgb_toedev.h 1.4 +1237 -328 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.5 +552 -177 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.1 +735 -0 src/sys/dev/cxgb/ulp/tom/cxgb_ddp.c (new) 1.2 +9 -1 src/sys/dev/cxgb/ulp/tom/cxgb_defs.h 1.3 +8 -14 src/sys/dev/cxgb/ulp/tom/cxgb_listen.c 1.2 +23 -29 src/sys/dev/cxgb/ulp/tom/cxgb_t3_ddp.h 1.2 +0 -694 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_subr.c (dead) 1.2 +0 -1362 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_usrreq.c (dead) 1.2 +44 -35 src/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h 1.3 +46 -56 src/sys/dev/cxgb/ulp/tom/cxgb_tom.c 1.2 +2 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom.h 1.2 +16 -2 src/sys/dev/cxgb/ulp/tom/cxgb_tom_sysctl.c 1.1 +180 -0 src/sys/dev/cxgb/ulp/tom/cxgb_vm.c (new) 1.1 +40 -0 src/sys/dev/cxgb/ulp/tom/cxgb_vm.h (new) From scf at FreeBSD.org Sat Feb 23 01:17:42 2008 From: scf at FreeBSD.org (Sean Farley) Date: Sat Feb 23 01:17:44 2008 Subject: cvs commit: src/usr.sbin/pw pw.c pw_group.c Message-ID: <200802230117.m1N1Hgdf094760@repoman.freebsd.org> scf 2008-02-23 01:17:42 UTC FreeBSD src repository Modified files: usr.sbin/pw pw.c pw_group.c Log: style(9) (verified no object changes) Approved by: wes (mentor) MFC after: 5 days Revision Changes Path 1.32 +1 -1 src/usr.sbin/pw/pw.c 1.15 +1 -2 src/usr.sbin/pw/pw_group.c From scf at FreeBSD.org Sat Feb 23 01:25:26 2008 From: scf at FreeBSD.org (Sean Farley) Date: Sat Feb 23 01:25:27 2008 Subject: cvs commit: src/usr.sbin/pw pw.8 pw.c pw_group.c Message-ID: <200802230125.m1N1PPXu095124@repoman.freebsd.org> scf 2008-02-23 01:25:22 UTC FreeBSD src repository Modified files: usr.sbin/pw pw.8 pw.c pw_group.c Log: Add the groupmod '-d' option to pw to allow the deletion of existing users from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. Approved by: wes (mentor) MFC after: 5 days Revision Changes Path 1.43 +10 -0 src/usr.sbin/pw/pw.8 1.33 +2 -1 src/usr.sbin/pw/pw.c 1.16 +80 -15 src/usr.sbin/pw/pw_group.c From kmacy at FreeBSD.org Sat Feb 23 06:19:20 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sat Feb 23 06:19:21 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_offload.c Message-ID: <200802230619.m1N6JHCn027669@repoman.freebsd.org> kmacy 2008-02-23 06:19:17 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_offload.c Log: Fix tinderbox by removing call to kdb_backtrace MFC after: 3 days Revision Changes Path 1.12 +0 -1 src/sys/dev/cxgb/cxgb_offload.c From bde at FreeBSD.org Sat Feb 23 12:53:21 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Sat Feb 23 12:53:27 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c Message-ID: <200802231253.m1NCrLK4075970@repoman.freebsd.org> bde 2008-02-23 12:53:21 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c Log: Optimize the 9pi/2 < |x| <= 2**19pi/2 case some more by avoiding an fabs(), a conditional branch, and sign adjustments of 3 variables for x < 0 when the branch is taken. In double precision, even when the branch is perfectly predicted, this saves about 10 cycles or 10% on amd64 (A64) and i386 (A64) for the negative half of the range, but makes little difference for the positive half of the range. In float precision, it also saves about 4 cycles for the positive half of the range on i386, and many more cycles in both halves on amd64 (28 in the negative half and 11 in the positive half for tanf), but the amd64 times for float precision are anomalously slow so the larger improvement is only a side effect. Previous commits arranged for the x < 0 case to be handled simply: - one part of the rounding method uses the magic number 0x1.8p52 instead of the usual 0x1.0p52. The latter is required for large |x|, but it doesn't work for negative x and we don't need it for large |x|. - another part of the rounding method no longer needs to add `half'. It would have needed to add -half for negative x. - removing the "quick check no cancellation" in the double precision case removed the need to take the absolute value of the quadrant number. Add my noncopyright in e_rem_pio2.c Revision Changes Path 1.15 +4 -5 src/lib/msun/src/e_rem_pio2.c 1.24 +4 -6 src/lib/msun/src/e_rem_pio2f.c From brueffer at FreeBSD.org Sat Feb 23 14:34:52 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Sat Feb 23 14:34:54 2008 Subject: cvs commit: src/usr.bin/ar ar.1 Message-ID: <200802231434.m1NEYqot084792@repoman.freebsd.org> brueffer 2008-02-23 14:34:52 UTC FreeBSD src repository Modified files: usr.bin/ar ar.1 Log: Fix typo. Revision Changes Path 1.19 +1 -1 src/usr.bin/ar/ar.1 From imp at FreeBSD.org Sat Feb 23 16:29:05 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Feb 23 16:29:06 2008 Subject: cvs commit: src/usr.bin/find extern.h find.1 find.h function.c option.c Message-ID: <200802231629.m1NGT428095710@repoman.freebsd.org> imp 2008-02-23 16:29:04 UTC FreeBSD src repository Modified files: usr.bin/find extern.h find.1 find.h function.c option.c Log: Implement a number of primaries present in GNU find, but not present in our find. The following are nops because they aren't relevant to our find: -ignore_readdir_race -noignore_readdir_race -noleaf The following aliaes were created: -gid -> -group [2] -uid -> -user [2] -wholename -> -path -iwholename -> ipath -mount -> -xdev -d -> -depth [1] The following new primaries were created: -lname like -name, but matches symbolic links only) -ilname like -lname but case insensitive -quit exit(0) -samefile returns true for hard links to the specified file -true Always true I changed one primary to match GNU find since I think our use of it violates POLA -false Always false (was an alias for -not!) Also, document the '+' modifier for -execdir, as well as all of the above. This was previously implemented. Document the remaining 7 primaries that are in GNU find, but aren't yet implemented in find(1) [1] This was done in GNU find for compatibility with FreeBSD, yet they mixed up command line args and primary args. [2] -uid/-gid in GNU find ONLY takes a numeric arg, but that arg does the normal range thing that. GNU find -user and -uid also take a numberic arg, but don't do the range processing. find(1) does both for -user and -group, so making -uid and -gid aliases is compatible for all non-error cases used in GNU find. While not perfect emulation, this seems a reasonable thing for us. Revision Changes Path 1.24 +3 -0 src/usr.bin/find/extern.h 1.83 +75 -1 src/usr.bin/find/find.1 1.20 +1 -0 src/usr.bin/find/find.h 1.59 +57 -3 src/usr.bin/find/function.c 1.26 +23 -1 src/usr.bin/find/option.c From marcel at FreeBSD.org Sat Feb 23 17:48:23 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 17:48:25 2008 Subject: cvs commit: src/sys/boot/powerpc/ofw Makefile Message-ID: <200802231748.m1NHmNOD010211@repoman.freebsd.org> marcel 2008-02-23 17:48:23 UTC FreeBSD src repository Modified files: sys/boot/powerpc/ofw Makefile Log: We build ficl and libofw with -msoft-float. Build the loader with -msoft-float too. Revision Changes Path 1.23 +1 -1 src/sys/boot/powerpc/ofw/Makefile From marcel at FreeBSD.org Sat Feb 23 17:52:30 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 17:52:32 2008 Subject: cvs commit: src/sys/boot/uboot/lib api_public.h Message-ID: <200802231752.m1NHqUWe010454@repoman.freebsd.org> marcel 2008-02-23 17:52:30 UTC FreeBSD src repository Modified files: sys/boot/uboot/lib api_public.h Log: Add the appropriate license information. This file is double licensed under GPL and BSD. Thanks to: raj@ Revision Changes Path 1.2 +55 -1 src/sys/boot/uboot/lib/api_public.h From marcel at FreeBSD.org Sat Feb 23 17:56:17 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 17:56:19 2008 Subject: cvs commit: src/sys/boot/uboot/lib Makefile glue.c glue.h Message-ID: <200802231756.m1NHuHrh010672@repoman.freebsd.org> marcel 2008-02-23 17:56:17 UTC FreeBSD src repository Modified files: sys/boot/uboot/lib Makefile glue.c Added files: sys/boot/uboot/lib glue.h Log: o Build libuboot with -msoft-float like everything else. o Move the API prototypes to a separate header (glue.h) o Allow the platform to hint libuboot about where to look for the API signature. The uboot_address variable is expected to be defined by the platform. Revision Changes Path 1.2 +1 -1 src/sys/boot/uboot/lib/Makefile 1.2 +10 -49 src/sys/boot/uboot/lib/glue.c 1.1 +77 -0 src/sys/boot/uboot/lib/glue.h (new) From marcel at FreeBSD.org Sat Feb 23 17:58:12 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 17:58:15 2008 Subject: cvs commit: src/sys/boot/uboot/common main.c Message-ID: <200802231758.m1NHwCun010890@repoman.freebsd.org> marcel 2008-02-23 17:58:12 UTC FreeBSD src repository Modified files: sys/boot/uboot/common main.c Log: o Include glue.h o Support multiple memory regions. Revision Changes Path 1.2 +10 -12 src/sys/boot/uboot/common/main.c From marcel at FreeBSD.org Sat Feb 23 18:01:46 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 18:01:48 2008 Subject: cvs commit: src/sys/powerpc/include bootinfo.h metadata.h Message-ID: <200802231801.m1NI1jjU011134@repoman.freebsd.org> marcel 2008-02-23 18:01:45 UTC FreeBSD src repository Modified files: sys/powerpc/include bootinfo.h metadata.h Log: Define the bootinfo structure for FreeBSD. It is not used on AIM, but it's used for BookE. Revision Changes Path 1.10 +56 -74 src/sys/powerpc/include/bootinfo.h 1.4 +1 -0 src/sys/powerpc/include/metadata.h From marcel at FreeBSD.org Sat Feb 23 18:33:50 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 18:33:52 2008 Subject: cvs commit: src/sys/boot/common bootstrap.h load_elf.c Message-ID: <200802231833.m1NIXoNv014862@repoman.freebsd.org> marcel 2008-02-23 18:33:50 UTC FreeBSD src repository Modified files: sys/boot/common bootstrap.h load_elf.c Log: Add __elfN(relocation_offset). It holds the offset between the virtual (link) address and the physical (load) address. Ideally, the mapping between link and load addresses should be abstracted by the copyin(), copyout() and readin() functions, so that we don't have to add kluges in __elfN(loadimage)(). Then, we could also have paged virtual memory for the kernel. This can be important under EFI, where you need to allocate physical memory form the firmware if you want to work in all scenarios. Revision Changes Path 1.45 +3 -1 src/sys/boot/common/bootstrap.h 1.38 +27 -1 src/sys/boot/common/load_elf.c From marcel at FreeBSD.org Sat Feb 23 18:36:14 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 18:36:20 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot conf.c Message-ID: <200802231836.m1NIaEq7015055@repoman.freebsd.org> marcel 2008-02-23 18:36:14 UTC FreeBSD src repository Modified files: sys/boot/powerpc/uboot conf.c Log: The NFS file system support is conditional upon LOADER_NFS_SUPPORT, not LOADER_NET_SUPPORT. Revision Changes Path 1.2 +1 -1 src/sys/boot/powerpc/uboot/conf.c From marcel at FreeBSD.org Sat Feb 23 18:42:53 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 18:42:59 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot start.S Message-ID: <200802231842.m1NIgrnx015352@repoman.freebsd.org> marcel 2008-02-23 18:42:53 UTC FreeBSD src repository Modified files: sys/boot/powerpc/uboot start.S Log: o Keep running on U-Boot's stack. o Disable interrupts while not running U-Boot code. We clobber registers that the U-Boot interrupt handlers assume to be fixed as per the U-Boot register usage. At this time this only applies to r14. U-Boot uses r2 now for what they used r29 for. After we restore r14 in preparation of doing the syscall, we re-enable interrupts. When we return from the syscall, we disable interrupts and restore the callee-saved r14. Revision Changes Path 1.3 +23 -21 src/sys/boot/powerpc/uboot/start.S From marcel at FreeBSD.org Sat Feb 23 19:08:26 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 19:08:32 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot metadata.c Message-ID: <200802231908.m1NJ8QWt017540@repoman.freebsd.org> marcel 2008-02-23 19:08:26 UTC FreeBSD src repository Modified files: sys/boot/powerpc/uboot metadata.c Log: Setup the new bootinfo structure. While here, make local function static and update copyright. Revision Changes Path 1.2 +99 -36 src/sys/boot/powerpc/uboot/metadata.c From ru at FreeBSD.org Sat Feb 23 19:27:55 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Sat Feb 23 19:27:56 2008 Subject: cvs commit: src/gnu/usr.bin/groff/tmac mdoc.local Message-ID: <200802231927.m1NJRsTu019402@repoman.freebsd.org> ru 2008-02-23 19:27:54 UTC FreeBSD src repository Modified files: gnu/usr.bin/groff/tmac mdoc.local Log: Bump the default .Os version to FreeBSD 8.0. Revision Changes Path 1.63 +1 -1 src/gnu/usr.bin/groff/tmac/mdoc.local From marcel at FreeBSD.org Sat Feb 23 19:43:30 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 19:43:36 2008 Subject: cvs commit: src/sys/boot/powerpc/uboot metadata.c Message-ID: <200802231943.m1NJhUlv020288@repoman.freebsd.org> marcel 2008-02-23 19:43:30 UTC FreeBSD src repository Modified files: sys/boot/powerpc/uboot metadata.c Log: style(9) commit. Revision Changes Path 1.3 +217 -210 src/sys/boot/powerpc/uboot/metadata.c From marcel at FreeBSD.org Sat Feb 23 19:45:20 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 19:45:21 2008 Subject: cvs commit: src/sys/boot/powerpc Makefile src/sys/boot/powerpc/uboot Makefile Message-ID: <200802231945.m1NJjKx4020490@repoman.freebsd.org> marcel 2008-02-23 19:45:20 UTC FreeBSD src repository Modified files: sys/boot/powerpc Makefile sys/boot/powerpc/uboot Makefile Log: o Build and install the U-Boot loader as ubldr. o Don't build/install the manual pages or configuration files that are already installed by the OFW loader. o Hook the U-Boot loader to the build. Revision Changes Path 1.3 +1 -1 src/sys/boot/powerpc/Makefile 1.2 +5 -9 src/sys/boot/powerpc/uboot/Makefile From marcel at FreeBSD.org Sat Feb 23 20:05:27 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 20:05:28 2008 Subject: cvs commit: src/sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c fpu_div.c fpu_emu.c fpu_emu.h fpu_explode.c fpu_extern.h fpu_implode.c fpu_instr.h fpu_mul.c fpu_sqrt.c fpu_subr.c Message-ID: <200802232005.m1NK5R60022761@repoman.freebsd.org> marcel 2008-02-23 20:05:27 UTC FreeBSD src repository Added files: sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c fpu_div.c fpu_emu.c fpu_emu.h fpu_explode.c fpu_extern.h fpu_implode.c fpu_instr.h fpu_mul.c fpu_sqrt.c fpu_subr.c Log: Add a floating-point emulator so that a single userland or single ABI can run on processors that don't have a FPU. This is typically the case for Book E processors. While a tuned system will probably want to use soft-float (or use a processor that has a FPU if the usage is FP intensive enough), allowing hard-float on FPU-less systems gives great portability and flexibility. Obtained from: NetBSD Revision Changes Path 1.1 +227 -0 src/sys/powerpc/fpu/fpu_add.c (new) 1.1 +152 -0 src/sys/powerpc/fpu/fpu_arith.h (new) 1.1 +162 -0 src/sys/powerpc/fpu/fpu_compare.c (new) 1.1 +292 -0 src/sys/powerpc/fpu/fpu_div.c (new) 1.1 +787 -0 src/sys/powerpc/fpu/fpu_emu.c (new) 1.1 +192 -0 src/sys/powerpc/fpu/fpu_emu.h (new) 1.1 +262 -0 src/sys/powerpc/fpu/fpu_explode.c (new) 1.1 +83 -0 src/sys/powerpc/fpu/fpu_extern.h (new) 1.1 +462 -0 src/sys/powerpc/fpu/fpu_implode.c (new) 1.1 +386 -0 src/sys/powerpc/fpu/fpu_instr.h (new) 1.1 +239 -0 src/sys/powerpc/fpu/fpu_mul.c (new) 1.1 +415 -0 src/sys/powerpc/fpu/fpu_sqrt.c (new) 1.1 +221 -0 src/sys/powerpc/fpu/fpu_subr.c (new) From marcel at FreeBSD.org Sat Feb 23 20:10:50 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 20:10:56 2008 Subject: cvs commit: src/sys/libkern cmpdi2.c Message-ID: <200802232010.m1NKAnWb022962@repoman.freebsd.org> marcel 2008-02-23 20:10:49 UTC FreeBSD src repository Added files: sys/libkern cmpdi2.c Log: Bring back (without advertising clause) cmpdi2.c. It's needed on PowerPC when the FP emulator is compiled-in. Revision Changes Path 1.8 +54 -0 src/sys/libkern/cmpdi2.c (new) From marcel at FreeBSD.org Sat Feb 23 20:16:39 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 20:16:40 2008 Subject: cvs commit: src/sys/conf files.powerpc options.powerpc Message-ID: <200802232016.m1NKGcML024231@repoman.freebsd.org> marcel 2008-02-23 20:16:38 UTC FreeBSD src repository Modified files: sys/conf files.powerpc options.powerpc Log: Hook-up the FPU emulator. It's optional upon FPU_EMU. Revision Changes Path 1.73 +10 -0 src/sys/conf/files.powerpc 1.11 +2 -0 src/sys/conf/options.powerpc From kmacy at FreeBSD.org Sat Feb 23 21:18:14 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sat Feb 23 21:18:19 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_tom.c Message-ID: <200802232118.m1NLIDrt037619@repoman.freebsd.org> kmacy 2008-02-23 21:18:13 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_tom.c Log: remove call to kdb_backtrace() Revision Changes Path 1.4 +0 -1 src/sys/dev/cxgb/ulp/tom/cxgb_tom.c From marcel at FreeBSD.org Sat Feb 23 22:32:17 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 22:32:19 2008 Subject: cvs commit: src/sys/powerpc/conf NOTES Message-ID: <200802232232.m1NMWGIF044585@repoman.freebsd.org> marcel 2008-02-23 22:32:16 UTC FreeBSD src repository Modified files: sys/powerpc/conf NOTES Log: Add FPU_EMU. Revision Changes Path 1.13 +2 -0 src/sys/powerpc/conf/NOTES From marcel at FreeBSD.org Sat Feb 23 22:40:05 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Feb 23 22:40:08 2008 Subject: cvs commit: src/sys/libkern quad.h Message-ID: <200802232240.m1NMe56R045120@repoman.freebsd.org> marcel 2008-02-23 22:40:05 UTC FreeBSD src repository Modified files: sys/libkern quad.h Log: Add prototype for __cmpd2(). Revision Changes Path 1.19 +1 -0 src/sys/libkern/quad.h From imp at FreeBSD.org Sun Feb 24 00:01:07 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Feb 24 00:01:56 2008 Subject: cvs commit: src/usr.bin/find function.c Message-ID: <200802240001.m1O016WU050799@repoman.freebsd.org> imp 2008-02-24 00:01:06 UTC FreeBSD src repository Modified files: usr.bin/find function.c Log: The matching in -lname and -ilname are on the contents of the link itself, not on the type of the file. As such, do a readlink to get the symbolic link's contents and fail to match if the path isn't a symbolic link. Pointed out by: des@ Revision Changes Path 1.60 +10 -5 src/usr.bin/find/function.c From cperciva at FreeBSD.org Sun Feb 24 00:07:01 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sun Feb 24 00:07:06 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <200802240007.m1O071xr052282@repoman.freebsd.org> cperciva 2008-02-24 00:07:00 UTC FreeBSD src repository Modified files: sys/kern uipc_syscalls.c Log: After finishing sending file data in sendfile(2), don't forget to send the provided trailers. This has been broken since revision 1.240. Submitted by: Dan Nelson PR: kern/120948 "sounds ok to me" from: phk MFC after: 3 days Revision Changes Path 1.269 +3 -1 src/sys/kern/uipc_syscalls.c From gshapiro at FreeBSD.org Sun Feb 24 00:58:06 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 00:58:12 2008 Subject: cvs commit: src/etc/mail access.sample Message-ID: <200802240058.m1O0w4hv064001@repoman.freebsd.org> gshapiro 2008-02-24 00:58:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/mail access.sample Log: MFC: Use better examples (and comment them out for safety). PR: 118837 Submitted by: Matthew Seaman Revision Changes Path 1.4 +13 -6 src/etc/mail/access.sample Revision Changes Path 1.3.24.1 +13 -6 src/etc/mail/access.sample From gshapiro at FreeBSD.org Sun Feb 24 00:59:25 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 00:59:27 2008 Subject: cvs commit: src/etc/mail access.sample Message-ID: <200802240059.m1O0xPPw064061@repoman.freebsd.org> gshapiro 2008-02-24 00:59:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/mail access.sample Log: MFC: Use better examples (and comment them out for safety). PR: 118837 Submitted by: Matthew Seaman Revision Changes Path 1.4 +13 -6 src/etc/mail/access.sample Revision Changes Path 1.3.14.1 +13 -6 src/etc/mail/access.sample From gshapiro at FreeBSD.org Sun Feb 24 00:59:48 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 00:59:53 2008 Subject: cvs commit: src/etc/mail access.sample Message-ID: <200802240059.m1O0xmJ5064095@repoman.freebsd.org> gshapiro 2008-02-24 00:59:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) etc/mail access.sample Log: MFC: Use better examples (and comment them out for safety). PR: 118837 Submitted by: Matthew Seaman Revision Changes Path 1.4 +13 -6 src/etc/mail/access.sample Revision Changes Path 1.3.8.1 +13 -6 src/etc/mail/access.sample From gshapiro at FreeBSD.org Sun Feb 24 01:00:07 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 01:00:13 2008 Subject: cvs commit: src/etc/mail access.sample Message-ID: <200802240100.m1O10783064201@repoman.freebsd.org> gshapiro 2008-02-24 01:00:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) etc/mail access.sample Log: MFC: Use better examples (and comment them out for safety). PR: 118837 Submitted by: Matthew Seaman Revision Changes Path 1.4 +13 -6 src/etc/mail/access.sample Revision Changes Path 1.1.2.3 +13 -6 src/etc/mail/access.sample From gshapiro at FreeBSD.org Sun Feb 24 01:02:18 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 01:02:24 2008 Subject: cvs commit: src/etc/sendmail freebsd.mc Message-ID: <200802240102.m1O12Ie6064306@repoman.freebsd.org> gshapiro 2008-02-24 01:02:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/sendmail freebsd.mc Log: MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling Revision Changes Path 1.36 +1 -1 src/etc/sendmail/freebsd.mc Revision Changes Path 1.34.2.2 +1 -1 src/etc/sendmail/freebsd.mc From gshapiro at FreeBSD.org Sun Feb 24 01:03:11 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 01:03:13 2008 Subject: cvs commit: src/etc/sendmail freebsd.mc Message-ID: <200802240103.m1O13BN1065558@repoman.freebsd.org> gshapiro 2008-02-24 01:03:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/sendmail freebsd.mc Log: MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling Revision Changes Path 1.36 +1 -1 src/etc/sendmail/freebsd.mc Revision Changes Path 1.30.2.5 +1 -1 src/etc/sendmail/freebsd.mc From gshapiro at FreeBSD.org Sun Feb 24 01:03:24 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 01:03:33 2008 Subject: cvs commit: src/etc/sendmail freebsd.mc Message-ID: <200802240103.m1O13Oha065588@repoman.freebsd.org> gshapiro 2008-02-24 01:03:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) etc/sendmail freebsd.mc Log: MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling Revision Changes Path 1.36 +1 -1 src/etc/sendmail/freebsd.mc Revision Changes Path 1.29.2.5 +1 -1 src/etc/sendmail/freebsd.mc From gshapiro at FreeBSD.org Sun Feb 24 01:03:34 2008 From: gshapiro at FreeBSD.org (Gregory Neil Shapiro) Date: Sun Feb 24 01:03:38 2008 Subject: cvs commit: src/etc/sendmail freebsd.mc Message-ID: <200802240103.m1O13X6d065618@repoman.freebsd.org> gshapiro 2008-02-24 01:03:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) etc/sendmail freebsd.mc Log: MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling Revision Changes Path 1.36 +1 -1 src/etc/sendmail/freebsd.mc Revision Changes Path 1.10.2.24 +1 -1 src/etc/sendmail/freebsd.mc From andre at freebsd.org Sun Feb 24 01:09:51 2008 From: andre at freebsd.org (Andre Oppermann) Date: Sun Feb 24 01:09:58 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c In-Reply-To: <200802240007.m1O071xr052282@repoman.freebsd.org> References: <200802240007.m1O071xr052282@repoman.freebsd.org> Message-ID: <47C0C3DF.1080700@freebsd.org> Colin Percival wrote: > cperciva 2008-02-24 00:07:00 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_syscalls.c > Log: > After finishing sending file data in sendfile(2), don't forget to send > the provided trailers. This has been broken since revision 1.240. > > Submitted by: Dan Nelson > PR: kern/120948 > "sounds ok to me" from: phk It is correct. > MFC after: 3 days > > Revision Changes Path > 1.269 +3 -1 src/sys/kern/uipc_syscalls.c Pointy hat extra wide and extra long to /me for not having written a proper regression program. Mea culpa. Shall happen never again. The implementation of kern_sendfile() is a damn complex beast. -- Andre From marcel at FreeBSD.org Sun Feb 24 03:01:27 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Feb 24 03:01:32 2008 Subject: cvs commit: src/sys/powerpc/fpu fpu_add.c fpu_emu.c fpu_emu.h fpu_extern.h fpu_subr.c Message-ID: <200802240301.m1O31R4E073106@repoman.freebsd.org> marcel 2008-02-24 03:01:26 UTC FreeBSD src repository Modified files: sys/powerpc/fpu fpu_add.c fpu_emu.c fpu_emu.h fpu_extern.h fpu_subr.c Log: Resolve warnings exposed by LINT. o Put prototypes in a single header only. o Fix printf format specifiers. Revision Changes Path 1.2 +0 -1 src/sys/powerpc/fpu/fpu_add.c 1.2 +3 -3 src/sys/powerpc/fpu/fpu_emu.c 1.2 +2 -0 src/sys/powerpc/fpu/fpu_emu.h 1.2 +0 -21 src/sys/powerpc/fpu/fpu_extern.h 1.2 +0 -1 src/sys/powerpc/fpu/fpu_subr.c From silby at FreeBSD.org Sun Feb 24 05:13:21 2008 From: silby at FreeBSD.org (Mike Silbersack) Date: Sun Feb 24 05:13:58 2008 Subject: cvs commit: src/sys/netinet tcp_var.h Message-ID: <200802240513.m1O5DKBG093031@repoman.freebsd.org> silby 2008-02-24 05:13:20 UTC FreeBSD src repository Modified files: sys/netinet tcp_var.h Log: Change FreeBSD 7 so that it returns TCP options in the same order that FreeBSD 6 and before did. Doug White and the other bloodhounds at ISC discovered that while FreeBSD 7's ordering of options was more efficient, it caused some cable modem routers to ignore the SYN-ACKs ordered in this fashion. The placement of sackOK after the timestamp option seems to be the critical difference: FreeBSD 6: FreeBSD 7.0: FreeBSD 7.0 + this change: MFC after: 1 week Revision Changes Path 1.161 +5 -2 src/sys/netinet/tcp_var.h From kensmith at FreeBSD.org Sun Feb 24 05:16:55 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sun Feb 24 05:17:00 2008 Subject: cvs commit: src UPDATING Message-ID: <200802240516.m1O5Gt41093421@repoman.freebsd.org> kensmith 2008-02-24 05:16:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: Speculate on the release date for FreeBSD 7.0. Revision Changes Path 1.507.2.5 +3 -0 src/UPDATING From kensmith at FreeBSD.org Sun Feb 24 05:17:54 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sun Feb 24 05:18:00 2008 Subject: cvs commit: src UPDATING Message-ID: <200802240517.m1O5HsQG093530@repoman.freebsd.org> kensmith 2008-02-24 05:17:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) . UPDATING Log: Speculate on the release date for FreeBSD 7.0. Approved by: re (implicit) Revision Changes Path 1.507.2.3.2.4 +3 -0 src/UPDATING From kensmith at FreeBSD.org Sun Feb 24 05:45:17 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sun Feb 24 05:45:20 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200802240545.m1O5jHGB000806@repoman.freebsd.org> kensmith 2008-02-24 05:45:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/conf newvers.sh Log: Prepare for tagging RELENG_7_0_0_RELEASE and the 7.0-RELEASE builds. Approved by: re (implicit) Revision Changes Path 1.72.2.5.2.4 +1 -1 src/sys/conf/newvers.sh From das at FreeBSD.ORG Sun Feb 24 07:02:50 2008 From: das at FreeBSD.ORG (David Schultz) Date: Sun Feb 24 07:02:59 2008 Subject: cvs commit: src/sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c fpu_div.c fpu_emu.c fpu_emu.h fpu_explode.c fpu_extern.h fpu_implode.c fpu_instr.h fpu_mul.c fpu_sqrt.c fpu_subr.c In-Reply-To: <200802232005.m1NK5R60022761@repoman.freebsd.org> References: <200802232005.m1NK5R60022761@repoman.freebsd.org> Message-ID: <20080224063836.GB42714@zim.MIT.EDU> On Sat, Feb 23, 2008, Marcel Moolenaar wrote: > marcel 2008-02-23 20:05:27 UTC > > FreeBSD src repository > > Added files: > sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c > fpu_div.c fpu_emu.c fpu_emu.h > fpu_explode.c fpu_extern.h fpu_implode.c > fpu_instr.h fpu_mul.c fpu_sqrt.c > fpu_subr.c > Log: > Add a floating-point emulator so that a single userland or single ABI > can run on processors that don't have a FPU. This is typically the > case for Book E processors. While a tuned system will probably want > to use soft-float (or use a processor that has a FPU if the usage is > FP intensive enough), allowing hard-float on FPU-less systems gives > great portability and flexibility. > > Obtained from: NetBSD It looks like everything except for fpu_emu.? and fpu_instr.h is pretty generic, and surely there are other architectures (e.g., ARM, low-power 486-SX clones) that could use in-kernel FP emulation. Do you think it's worthwhile to separate the MI bits and put them somewhere other than sys/powerpc, or is the plan to burn that bridge when we get to it? From kmacy at FreeBSD.org Sun Feb 24 07:19:32 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Feb 24 07:19:33 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_offload.h src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Message-ID: <200802240719.m1O7JVGf021224@repoman.freebsd.org> kmacy 2008-02-24 07:19:31 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_offload.h sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Log: Fix namespace collision with sparc macro Revision Changes Path 1.8 +1 -1 src/sys/dev/cxgb/cxgb_offload.h 1.5 +5 -5 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c From imp at bsdimp.com Sun Feb 24 07:51:53 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Sun Feb 24 07:52:00 2008 Subject: cvs commit: src/sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c fpu_div.c fpu_emu.c fpu_emu.h fpu_explode.c fpu_extern.h fpu_implode.c fpu_instr.h fpu_mul.c fpu_sqrt.c fpu_subr.c In-Reply-To: <20080224063836.GB42714@zim.MIT.EDU> References: <200802232005.m1NK5R60022761@repoman.freebsd.org> <20080224063836.GB42714@zim.MIT.EDU> Message-ID: <20080224.005119.1260396910.imp@bsdimp.com> In message: <20080224063836.GB42714@zim.MIT.EDU> David Schultz writes: : On Sat, Feb 23, 2008, Marcel Moolenaar wrote: : > marcel 2008-02-23 20:05:27 UTC : > : > FreeBSD src repository : > : > Added files: : > sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c : > fpu_div.c fpu_emu.c fpu_emu.h : > fpu_explode.c fpu_extern.h fpu_implode.c : > fpu_instr.h fpu_mul.c fpu_sqrt.c : > fpu_subr.c : > Log: : > Add a floating-point emulator so that a single userland or single ABI : > can run on processors that don't have a FPU. This is typically the : > case for Book E processors. While a tuned system will probably want : > to use soft-float (or use a processor that has a FPU if the usage is : > FP intensive enough), allowing hard-float on FPU-less systems gives : > great portability and flexibility. : > : > Obtained from: NetBSD : : It looks like everything except for fpu_emu.? and fpu_instr.h is : pretty generic, and surely there are other architectures (e.g., : ARM, low-power 486-SX clones) that could use in-kernel FP emulation. : Do you think it's worthwhile to separate the MI bits and put them : somewhere other than sys/powerpc, or is the plan to burn that : bridge when we get to it? I'd say the first new architecture to want to use this (ARM, 486SX or MIPS) should pay the freight for that. Warner From mav at FreeBSD.org Sun Feb 24 10:13:33 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 24 10:13:38 2008 Subject: cvs commit: src/sys/netgraph ng_tee.c Message-ID: <200802241013.m1OADXgi024836@repoman.freebsd.org> mav 2008-02-24 10:13:32 UTC FreeBSD src repository Modified files: sys/netgraph ng_tee.c Log: Fix shutdown bug made by previous commit. Revision Changes Path 1.35 +1 -0 src/sys/netgraph/ng_tee.c From rwatson at FreeBSD.org Sun Feb 24 11:07:30 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 24 11:07:35 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c In-Reply-To: <200802240007.m1O071xr052282@repoman.freebsd.org> References: <200802240007.m1O071xr052282@repoman.freebsd.org> Message-ID: <20080224110613.X25292@fledge.watson.org> On Sun, 24 Feb 2008, Colin Percival wrote: > cperciva 2008-02-24 00:07:00 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_syscalls.c > Log: > After finishing sending file data in sendfile(2), don't forget to send > the provided trailers. This has been broken since revision 1.240. Nice work tracking this down -- it sounds like the perfect candidate for a regression test. Over the last year or two, we've been working hard to populate src/tools/regression/sockets with various test cases, and it sounds like the sendfile tests there could use some fleshing out, since we've now seen several rather significant functional regressions over the last few years. Any chance we can get you to take a look at doing that as well? :-) Robert N M Watson Computer Laboratory University of Cambridge From akiyama at FreeBSD.org Sun Feb 24 12:16:02 2008 From: akiyama at FreeBSD.org (Shunsuke Akiyama) Date: Sun Feb 24 12:16:08 2008 Subject: cvs commit: src/sys/dev/usb ucom.c Message-ID: <200802241216.m1OCG1Bx031078@repoman.freebsd.org> akiyama 2008-02-24 12:16:01 UTC FreeBSD src repository Modified files: sys/dev/usb ucom.c Log: o Add module event handler. Now ucom kernel module can unload properly. o Update copyright year. PR: usb/88966 MFC after: 1 week Revision Changes Path 1.65 +19 -2 src/sys/dev/usb/ucom.c From andre at freebsd.org Sun Feb 24 12:22:08 2008 From: andre at freebsd.org (Andre Oppermann) Date: Sun Feb 24 12:22:14 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c In-Reply-To: <20080224110613.X25292@fledge.watson.org> References: <200802240007.m1O071xr052282@repoman.freebsd.org> <20080224110613.X25292@fledge.watson.org> Message-ID: <47C1616F.5040603@freebsd.org> Robert Watson wrote: > On Sun, 24 Feb 2008, Colin Percival wrote: > >> cperciva 2008-02-24 00:07:00 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern uipc_syscalls.c >> Log: >> After finishing sending file data in sendfile(2), don't forget to send >> the provided trailers. This has been broken since revision 1.240. > > Nice work tracking this down -- it sounds like the perfect candidate for > a regression test. Over the last year or two, we've been working hard > to populate src/tools/regression/sockets with various test cases, and it > sounds like the sendfile tests there could use some fleshing out, since > we've now seen several rather significant functional regressions over > the last few years. Any chance we can get you to take a look at doing > that as well? :-) Writing a regression test should be my task as I'm the one who broke the stuff with rev 1.240. I'll whip something up over the next week. -- Andre From rwatson at FreeBSD.org Sun Feb 24 13:20:01 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Feb 24 13:20:06 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c In-Reply-To: <47C1616F.5040603@freebsd.org> References: <200802240007.m1O071xr052282@repoman.freebsd.org> <20080224110613.X25292@fledge.watson.org> <47C1616F.5040603@freebsd.org> Message-ID: <20080224131348.C29908@fledge.watson.org> On Sun, 24 Feb 2008, Andre Oppermann wrote: >>> After finishing sending file data in sendfile(2), don't forget to send >>> the provided trailers. This has been broken since revision 1.240. >> >> Nice work tracking this down -- it sounds like the perfect candidate for a >> regression test. Over the last year or two, we've been working hard to >> populate src/tools/regression/sockets with various test cases, and it >> sounds like the sendfile tests there could use some fleshing out, since >> we've now seen several rather significant functional regressions over the >> last few years. Any chance we can get you to take a look at doing that as >> well? :-) > > Writing a regression test should be my task as I'm the one who broke the That would be really great, thanks! Make sure to add a protocol switch/loop somewhere so that the tests are run over UNIX domain sockets and SCTP, not just for TCP on IPv4 and IPv6. I suspect sendfile() on non-TCP sockets doesn't see a whole lot of use, but needs to be exercised also. Certainly SCTP will see a lot more use in the future. Robert N M Watson Computer Laboratory University of Cambridge From mav at FreeBSD.org Sun Feb 24 13:21:14 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 24 13:21:15 2008 Subject: cvs commit: src/sys/netgraph ng_bpf.c Message-ID: <200802241321.m1ODLDQT043399@repoman.freebsd.org> mav 2008-02-24 13:21:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_bpf.c Log: Partial MFC rev. 1.23-1.24 - Avoid data copying. bpf_filter() is able to work directly on mbuf chain - Prepare hooks direct pointers on setup to avoid heavy ng_findhook() calls during operarion. Merge is 'Partial' due to lack of JITTER support on 6.x. Revision Changes Path 1.19.2.2 +68 -34 src/sys/netgraph/ng_bpf.c From remko at FreeBSD.org Sun Feb 24 13:55:45 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 13:55:52 2008 Subject: cvs commit: src/usr.sbin/mtree verify.c Message-ID: <200802241355.m1ODti2f044600@repoman.freebsd.org> remko 2008-02-24 13:55:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/mtree verify.c Log: MFC rev 1.26 verify.c When applying a spec, traverse the existing directory tree in lexical order. This allows direct comparison of the output of two different runs, regardless of the order in which readdir(2) returns directory entries. MFC after: 3 weeks Approved by: imp (mentor, implicit for trivial changes), des (I am doing several MFC's for him). Revision Changes Path 1.23.8.3 +7 -1 src/usr.sbin/mtree/verify.c From remko at FreeBSD.org Sun Feb 24 14:01:10 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 14:01:16 2008 Subject: cvs commit: src/sys/dev/ichwd ichwd.c ichwd.h Message-ID: <200802241401.m1OE19He044820@repoman.freebsd.org> remko 2008-02-24 14:01:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ichwd ichwd.c ichwd.h Log: MFC rev 1.12 to 1.14 for ichwd.c rev 1.12 Tabify rev 1.13 Add device IDs for the ICH9 family. PR: i386/119126 Submitted by: Dan Lukes MFC after: 1 week rev 1.14 Add support for ICH8M. PR: kern/119351 Submitted by: Takeharu KATO MFC after: 1 week MFC rev 1.6 to 1.8 for ichwd.h rev 1.6 Tabify. rev 1.7 Add device IDs for the ICH9 family. PR: i386/119126 Submitted by: Dan Lukes MFC after: 1 week rev 1.8 Add support for ICH8M. PR: kern/119351 Submitted by: Takeharu KATO MFC after: 1 week Approved by: imp (mentor, implicit for trivial changes), des ( I am doing some MFC's for him) Revision Changes Path 1.10.2.2 +24 -19 src/sys/dev/ichwd/ichwd.c 1.4.2.2 +6 -1 src/sys/dev/ichwd/ichwd.h From remko at FreeBSD.org Sun Feb 24 14:14:40 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 14:14:43 2008 Subject: cvs commit: src/sys/dev/ichwd ichwd.c ichwd.h Message-ID: <200802241414.m1OEEemJ046406@repoman.freebsd.org> remko 2008-02-24 14:14:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ichwd ichwd.c ichwd.h Log: MFC rev 1.11 to 1.14 for ichwd.c rev 1.11 Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems will not install without the usb changes in the install kernel, so I would like to MFC this in time for 7.0 RC MFC: 3 days rev 1.12 Tabify rev 1.13 Add device IDs for the ICH9 family. PR: i386/119126 Submitted by: Dan Lukes MFC after: 1 week rev 1.14 Add support for ICH8M. PR: kern/119351 Submitted by: Takeharu KATO MFC after: 1 week MFC rev 1.5 to 1.8 for ichwd.h rev 1.5 Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems will not install without the usb changes in the install kernel, so I would like to MFC this in time for 7.0 RC MFC: 3 days rev 1.6 Tabify. rev 1.7 Add device IDs for the ICH9 family. PR: i386/119126 Submitted by: Dan Lukes MFC after: 1 week rev 1.8 Add support for ICH8M. PR: kern/119351 Submitted by: Takeharu KATO MFC after: 1 week Approved by: imp (mentor, implicit for trivial changes), des ( I am doing some MFC's for him) Revision Changes Path 1.5.2.5 +24 -18 src/sys/dev/ichwd/ichwd.c 1.2.2.3 +7 -1 src/sys/dev/ichwd/ichwd.h From remko at FreeBSD.org Sun Feb 24 14:25:19 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 14:25:25 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802241425.m1OEPJAo046845@repoman.freebsd.org> remko 2008-02-24 14:25:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/periodic/security 100.chksetuid Log: MFC rev 1.9 to 1.10 100.chksetuid rev 1.9 Also check setuid executables on ZFS. rev 1.10 Rewrite to consume significantly less memory, by using find -s instead of find | sort. As a bonus, this simplifies the logic considerably. Also remove the bogus "overruning the args to ls" comment and the corresponding "-n 20" argument to xargs; the whole point with xargs is precisely that it knows how large the argument list can safely get. Note that the first run of the updated script may hypotheticall produce false positives due to differences between find's and sort's sorting algorithm. I haven't seen this during testing, but others might. MFC after: 2 weeks Approved by: imp (mentor, implicit for trivial changes), des (doing some MFC's for him) Revision Changes Path 1.8.2.1 +11 -16 src/etc/periodic/security/100.chksetuid From remko at FreeBSD.org Sun Feb 24 14:26:45 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 14:26:46 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802241426.m1OEQi5W046891@repoman.freebsd.org> remko 2008-02-24 14:26:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/periodic/security 100.chksetuid Log: MFC rev 1.10 100.chksetuid rev 1.10 Rewrite to consume significantly less memory, by using find -s instead of find | sort. As a bonus, this simplifies the logic considerably. Also remove the bogus "overruning the args to ls" comment and the corresponding "-n 20" argument to xargs; the whole point with xargs is precisely that it knows how large the argument list can safely get. Note that the first run of the updated script may hypotheticall produce false positives due to differences between find's and sort's sorting algorithm. I haven't seen this during testing, but others might. MFC after: 2 weeks Approved by: imp (mentor, implicit for trivial changes), des (doing some MFC's for him) Revision Changes Path 1.8.10.2 +11 -16 src/etc/periodic/security/100.chksetuid From remko at FreeBSD.org Sun Feb 24 14:31:42 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 14:31:47 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200802241431.m1OEVgD5047049@repoman.freebsd.org> remko 2008-02-24 14:31:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . Makefile.inc1 Log: MFC rev 1.597 to 1.598 Makefile.inc1 rev 1.597 Give usr.bin/kdump/kdump_subr.c the same treatment as usr.bin/kdump/ioctl.c and usr.bin/truss/ioctl.c. This is the correct way to address the problem that arises when doing an incremental build after a header used by kdump has been removed (cf. i4b disconnect a while ago) Explained by: ru MFC after: 2 weeks rev 1.598 Satisfy a particularly obstinate nit-picker :) Approved by: imp (mentor, implicit for trivial changes), des (I am doing several MFC's for him) Revision Changes Path 1.588.2.4 +2 -1 src/Makefile.inc1 From andre at freebsd.org Sun Feb 24 14:50:30 2008 From: andre at freebsd.org (Andre Oppermann) Date: Sun Feb 24 14:50:33 2008 Subject: cvs commit: src/sys/netinet tcp_var.h In-Reply-To: <200802240513.m1O5DKBG093031@repoman.freebsd.org> References: <200802240513.m1O5DKBG093031@repoman.freebsd.org> Message-ID: <47C18436.5060308@freebsd.org> Mike Silbersack wrote: > silby 2008-02-24 05:13:20 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_var.h > Log: > Change FreeBSD 7 so that it returns TCP options in > the same order that FreeBSD 6 and before did. Doug > White and the other bloodhounds at ISC discovered that > while FreeBSD 7's ordering of options was more efficient, > it caused some cable modem routers to ignore the > SYN-ACKs ordered in this fashion. Could you be more specific on which models/firmware choke on this? I'd like to document all known broken devices and share the information with other TCP implementors. Also I want to try to contact the vendor and have them fix the issue. -- Andre > The placement of sackOK after the timestamp option seems > to be the critical difference: > > FreeBSD 6: > > > FreeBSD 7.0: > > > FreeBSD 7.0 + this change: > From piso at FreeBSD.org Sun Feb 24 15:37:46 2008 From: piso at FreeBSD.org (Paolo Pisati) Date: Sun Feb 24 15:37:52 2008 Subject: cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c Message-ID: <200802241537.m1OFbkEr050522@repoman.freebsd.org> piso 2008-02-24 15:37:46 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c sbin/ipfw ipfw.8 ipfw2.c Log: Add table/tablearg support to ipfw's nat. MFC After: 1 week Revision Changes Path 1.210 +1 -1 src/sbin/ipfw/ipfw.8 1.117 +5 -9 src/sbin/ipfw/ipfw2.c 1.181 +4 -2 src/sys/netinet/ip_fw2.c From attilio at FreeBSD.org Sun Feb 24 16:26:52 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Sun Feb 24 16:27:05 2008 Subject: cvs commit: src/sys/netsmb smb_conn.c Message-ID: <200802241626.m1OGQqVu053354@repoman.freebsd.org> attilio 2008-02-24 16:26:52 UTC FreeBSD src repository Modified files: sys/netsmb smb_conn.c Log: Currently, smb_co_init() uses the same lock name for the mutex interlock and the lockmgr. Use different names in order to avoid WITNESS conflicts. Reported by: Bryan Venteicher Revision Changes Path 1.20 +9 -8 src/sys/netsmb/smb_conn.c From marck at rinet.ru Sun Feb 24 16:28:57 2008 From: marck at rinet.ru (Dmitry Morozovsky) Date: Sun Feb 24 16:29:05 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <200802241425.m1OEPJAo046845@repoman.freebsd.org> References: <200802241425.m1OEPJAo046845@repoman.freebsd.org> Message-ID: <20080224192835.M26112@woozle.rinet.ru> On Sun, 24 Feb 2008, Remko Lodder wrote: RL> remko 2008-02-24 14:25:18 UTC RL> RL> FreeBSD src repository RL> RL> Modified files: (Branch: RELENG_6) RL> etc/periodic/security 100.chksetuid RL> Log: RL> MFC rev 1.9 to 1.10 100.chksetuid RL> RL> rev 1.9 RL> Also check setuid executables on ZFS. Hmm, is it applicable to RELENG_6? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From silby at silby.com Sun Feb 24 16:31:33 2008 From: silby at silby.com (Mike Silbersack) Date: Sun Feb 24 16:31:40 2008 Subject: cvs commit: src/sys/netinet tcp_var.h In-Reply-To: <47C18436.5060308@freebsd.org> References: <200802240513.m1O5DKBG093031@repoman.freebsd.org> <47C18436.5060308@freebsd.org> Message-ID: <20080224103053.S93514@odysseus.silby.com> On Sun, 24 Feb 2008, Andre Oppermann wrote: > Could you be more specific on which models/firmware choke > on this? I'd like to document all known broken devices and > share the information with other TCP implementors. Also I > want to try to contact the vendor and have them fix the issue. > > -- > Andre I neglected to ask Doug if he made note of the model involved. Doug, can you get that info? -Mike From attilio at FreeBSD.org Sun Feb 24 16:38:58 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Sun Feb 24 16:39:01 2008 Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c src/sys/fs/nwfs nwfs_node.c src/sys/fs/pseudofs pseudofs_vncache.c src/sys/fs/smbfs smbfs_node.c src/sys/gnu/fs/xfs/FreeBSD xfs_freebsd_iget.c src/sys/kern vfs_lookup.c src/sys/netncp ... Message-ID: <200802241638.m1OGcwU0053917@repoman.freebsd.org> attilio 2008-02-24 16:38:58 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c sys/fs/nwfs nwfs_node.c sys/fs/pseudofs pseudofs_vncache.c sys/fs/smbfs smbfs_node.c sys/gnu/fs/xfs/FreeBSD xfs_freebsd_iget.c sys/kern vfs_lookup.c sys/netncp ncp_conn.c sys/nfsclient nfs_node.c sys/sys vnode.h sys/ufs/ffs ffs_softdep.c ffs_vfsops.c Log: Introduce some functions in the vnode locks namespace and in the ffs namespace in order to handle lockmgr fields in a controlled way instead than spreading all around bogus stubs: - VN_LOCK_AREC() allows lock recursion for a specified vnode - VN_LOCK_ASHARE() allows lock sharing for a specified vnode In FFS land: - BUF_AREC() allows lock recursion for a specified buffer lock - BUF_NOREC() disallows recursion for a specified buffer lock Side note: union_subr.c::unionfs_node_update() is the only other function directly handling lockmgr fields. As this is not simple to fix, it has been left behind as "sole" exception. Revision Changes Path 1.13 +4 -4 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c 1.42 +1 -1 src/sys/fs/nwfs/nwfs_node.c 1.41 +1 -1 src/sys/fs/pseudofs/pseudofs_vncache.c 1.37 +1 -1 src/sys/fs/smbfs/smbfs_node.c 1.4 +1 -1 src/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd_iget.c 1.106 +1 -1 src/sys/kern/vfs_lookup.c 1.32 +1 -1 src/sys/netncp/ncp_conn.c 1.88 +2 -2 src/sys/nfsclient/nfs_node.c 1.330 +3 -0 src/sys/sys/vnode.h 1.217 +6 -3 src/sys/ufs/ffs/ffs_softdep.c 1.336 +2 -2 src/sys/ufs/ffs/ffs_vfsops.c From remko at FreeBSD.org Sun Feb 24 16:47:20 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 16:47:23 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802241647.m1OGlKDX063210@repoman.freebsd.org> remko 2008-02-24 16:47:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/periodic/security 100.chksetuid Log: Remove ZFS from the search list. ZFS is not available on RELENG_6. Noticed by: rink Revision Changes Path 1.8.2.2 +1 -1 src/etc/periodic/security/100.chksetuid From remko at FreeBSD.org Sun Feb 24 16:50:24 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 16:50:28 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <200802241647.m1OGlKDX063210@repoman.freebsd.org> References: <200802241647.m1OGlKDX063210@repoman.freebsd.org> Message-ID: <55333.195.64.94.120.1203871822.squirrel@galain.elvandar.org> On Sun, February 24, 2008 5:47 pm, Remko Lodder wrote: > remko 2008-02-24 16:47:20 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > etc/periodic/security 100.chksetuid > Log: > Remove ZFS from the search list. ZFS is not available on > RELENG_6. > > Noticed by: rink ^^^ Approved by: imp (mentor, implicit for trivial changes) -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From stefanf at FreeBSD.org Sun Feb 24 16:50:56 2008 From: stefanf at FreeBSD.org (Stefan Farfeleder) Date: Sun Feb 24 16:50:57 2008 Subject: cvs commit: src/bin/sh cd.c Message-ID: <200802241650.m1OGotF9063806@repoman.freebsd.org> stefanf 2008-02-24 16:50:55 UTC FreeBSD src repository Modified files: bin/sh cd.c Log: Split updatepwd() into two smaller functions. The first one, findpwd(), computes the new path and the second one, updatepwd(), updates the variables PWD, OLDPWD and the path used for the pwd builtin according to the new directory. For a logical directory change, chdir() is now called between those two functions, no longer causing wrong values to be stored in PWD etc. if it fails. PR: 64990, 101316, 120571 Revision Changes Path 1.36 +45 -38 src/bin/sh/cd.c From stefanf at FreeBSD.org Sun Feb 24 16:52:03 2008 From: stefanf at FreeBSD.org (Stefan Farfeleder) Date: Sun Feb 24 16:52:05 2008 Subject: cvs commit: src/tools/regression/bin/sh/builtins cd1.0 Message-ID: <200802241652.m1OGq243063876@repoman.freebsd.org> stefanf 2008-02-24 16:52:02 UTC FreeBSD src repository Added files: tools/regression/bin/sh/builtins cd1.0 Log: Add a regression test for cd.c's revision 1.35. Revision Changes Path 1.1 +17 -0 src/tools/regression/bin/sh/builtins/cd1.0 (new) From stefanf at FreeBSD.org Sun Feb 24 16:55:43 2008 From: stefanf at FreeBSD.org (Stefan Farfeleder) Date: Sun Feb 24 16:55:50 2008 Subject: cvs commit: src/tools/regression/bin/sh/builtins cd1.0 Message-ID: <200802241655.m1OGtg6L064058@repoman.freebsd.org> stefanf 2008-02-24 16:55:42 UTC FreeBSD src repository Modified files: tools/regression/bin/sh/builtins cd1.0 Log: Forced commit to fix message: Add a regression test for cd.c's revision 1.36. Revision Changes Path 1.2 +0 -0 src/tools/regression/bin/sh/builtins/cd1.0 From remko at FreeBSD.org Sun Feb 24 16:58:19 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 16:58:26 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid In-Reply-To: <20080224192835.M26112@woozle.rinet.ru> References: <200802241425.m1OEPJAo046845@repoman.freebsd.org> <20080224192835.M26112@woozle.rinet.ru> Message-ID: <57285.195.64.94.120.1203872298.squirrel@galain.elvandar.org> On Sun, February 24, 2008 5:28 pm, Dmitry Morozovsky wrote: > On Sun, 24 Feb 2008, Remko Lodder wrote: > > RL> remko 2008-02-24 14:25:18 UTC > RL> > RL> FreeBSD src repository > RL> > RL> Modified files: (Branch: RELENG_6) > RL> etc/periodic/security 100.chksetuid > RL> Log: > RL> MFC rev 1.9 to 1.10 100.chksetuid > RL> > RL> rev 1.9 > RL> Also check setuid executables on ZFS. > > Hmm, is it applicable to RELENG_6? > Nope you are right, I didnt think about that Rink poked me as well about this. Didn't see your message till after I committed the fix. Thanks for the poke and the attention to details :) Cheers remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From marcel at FreeBSD.org Sun Feb 24 17:10:31 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Feb 24 17:10:38 2008 Subject: cvs commit: src/sys/powerpc/fpu fpu_emu.c Message-ID: <200802241710.m1OHAVPZ065779@repoman.freebsd.org> marcel 2008-02-24 17:10:31 UTC FreeBSD src repository Modified files: sys/powerpc/fpu fpu_emu.c Log: Don't define DEBUG. No debugging required. Pointy hat: marcel Revision Changes Path 1.3 +0 -2 src/sys/powerpc/fpu/fpu_emu.c From kaiw at FreeBSD.org Sun Feb 24 17:57:29 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Sun Feb 24 17:57:31 2008 Subject: cvs commit: src/usr.bin/ar write.c Message-ID: <200802241757.m1OHvTfT067366@repoman.freebsd.org> kaiw 2008-02-24 17:57:29 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: Handle properly when insert zero size objects into the archive: Do not mmap 0-size objects and do not try to extract symbol from 0-size objects, but do treat 0-size objects as qualified objects and accept them as an archive member. (A member with only the header part) Note that GNU binutils ar on FreeBSD ignores 0-size objects, but on Linux it accepts them. [1] But, since this is a rare usage, we can safely ignore the compatibility issue. Reported by: Michael Plass Pointed out by: Michael Plass [1] Reviewed by: Michael Plass Reviewed by: jkoshy Approved by: jkoshy (mentor) Revision Changes Path 1.2 +9 -3 src/usr.bin/ar/write.c From alc at FreeBSD.org Sun Feb 24 18:03:57 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Feb 24 18:04:00 2008 Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <200802241803.m1OI3vFk068769@repoman.freebsd.org> alc 2008-02-24 18:03:57 UTC FreeBSD src repository Modified files: sys/vm vm_object.c Log: Correct a long-standing error in vm_object_deallocate(). Specifically, only anonymous default (OBJT_DEFAULT) and swap (OBJT_SWAP) objects should ever have OBJ_ONEMAPPING set. However, vm_object_deallocate() was setting it on device (OBJT_DEVICE) objects. As a result, vm_object_page_remove() could be called on a device object and if that occurred pmap_remove_all() would be called on the device object's pages. However, a device object's pages are fictitious, and fictitious pages do not have an initialized pv list (struct md_page). To date, fictitious pages have been allocated from zeroed memory, effectively hiding this problem. Now, however, the conversion of rotting diagnostics to invariants in the amd64 and i386 pmaps has revealed the problem. Specifically, assertion failures have occurred during the initialization phase of the X server on some hardware. MFC after: 1 week Discussed with: Kostik Belousov Reported by: Michiel Boland Revision Changes Path 1.391 +4 -1 src/sys/vm/vm_object.c From kaiw at FreeBSD.org Sun Feb 24 18:07:47 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Sun Feb 24 18:07:49 2008 Subject: cvs commit: src/usr.bin/ar ar.c Message-ID: <200802241807.m1OI7lxE068965@repoman.freebsd.org> kaiw 2008-02-24 18:07:47 UTC FreeBSD src repository Modified files: usr.bin/ar ar.c Log: Since the program is installed as 'bsdranlib', we need to check if it is invoked as 'bsdranlib'. Reported by: Michael Plass Reviewed by: Michael Plass Reviewed by: jkoshy Approved by: jkoshy (mentor) Revision Changes Path 1.17 +2 -1 src/usr.bin/ar/ar.c From kaiw at FreeBSD.org Sun Feb 24 18:30:18 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Sun Feb 24 18:30:24 2008 Subject: cvs commit: src/usr.bin/ar write.c Message-ID: <200802241830.m1OIUIQU069724@repoman.freebsd.org> kaiw 2008-02-24 18:30:18 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: style(9) whitespace fix: A space is mandated after keyword 'return'. Submitted by: jkoshy Approved by: jkoshy (mentor) Revision Changes Path 1.3 +5 -5 src/usr.bin/ar/write.c From mav at FreeBSD.org Sun Feb 24 18:31:17 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Feb 24 18:31:22 2008 Subject: cvs commit: src/sys/netgraph ng_tee.c Message-ID: <200802241831.m1OIVGG7069795@repoman.freebsd.org> mav 2008-02-24 18:31:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_tee.c Log: MFC rev. 1.35 Fix shutdown bug made by previous commit. Revision Changes Path 1.33.10.2 +1 -0 src/sys/netgraph/ng_tee.c From raj at FreeBSD.org Sun Feb 24 19:22:53 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Sun Feb 24 19:22:59 2008 Subject: cvs commit: src/sys/powerpc/include float.h src/gnu/lib/libgcc Makefile src/lib/libc/powerpc/gen flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c fpsetround.c src/lib/msun/powerpc fenv.h Message-ID: <200802241922.m1OJMrUX073062@repoman.freebsd.org> raj 2008-02-24 19:22:53 UTC FreeBSD src repository Modified files: sys/powerpc/include float.h gnu/lib/libgcc Makefile lib/libc/powerpc/gen flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c fpsetround.c lib/msun/powerpc fenv.h Log: Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPC variations (e500 currently), this provides a gcc-level FPU emulation and is an alternative approach to the recently introduced kernel-level emulation (FPU_EMU). Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.59 +1 -1 src/gnu/lib/libgcc/Makefile 1.2 +2 -0 src/lib/libc/powerpc/gen/flt_rounds.c 1.2 +2 -0 src/lib/libc/powerpc/gen/fpgetmask.c 1.2 +2 -0 src/lib/libc/powerpc/gen/fpgetround.c 1.2 +2 -0 src/lib/libc/powerpc/gen/fpgetsticky.c 1.2 +2 -0 src/lib/libc/powerpc/gen/fpsetmask.c 1.2 +2 -0 src/lib/libc/powerpc/gen/fpsetround.c 1.4 +5 -0 src/lib/msun/powerpc/fenv.h 1.9 +5 -1 src/sys/powerpc/include/float.h From imp at FreeBSD.org Sun Feb 24 19:46:28 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Feb 24 19:46:30 2008 Subject: cvs commit: src/usr.bin/find find.1 Message-ID: <200802241946.m1OJkRkG073906@repoman.freebsd.org> imp 2008-02-24 19:46:27 UTC FreeBSD src repository Modified files: usr.bin/find find.1 Log: Tag -ilname and -lname as GNU extensions. Correct their descriptions to indicate that it is the contents of the symbolic link that are matched. Revision Changes Path 1.84 +4 -1 src/usr.bin/find/find.1 From ceri at FreeBSD.org Sun Feb 24 19:52:23 2008 From: ceri at FreeBSD.org (Ceri Davies) Date: Sun Feb 24 19:52:25 2008 Subject: cvs commit: src/usr.bin/find find.1 Message-ID: <200802241952.m1OJqNCr074109@repoman.freebsd.org> ceri 2008-02-24 19:52:23 UTC FreeBSD src repository Modified files: usr.bin/find find.1 Log: Bump .Dd for revisions 1.83 and 1.84. Revision Changes Path 1.85 +1 -1 src/usr.bin/find/find.1 From remko at FreeBSD.org Sun Feb 24 20:07:40 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 20:07:41 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802242007.m1OK7e8s075777@repoman.freebsd.org> remko 2008-02-24 20:07:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/periodic/security 100.chksetuid Log: MFC rev 1.11 100.chksetuid Eliminate xargs in favor of find -exec {} + Requested by: ceri Approved by: imp (mentor, implicit trivial changes) Revision Changes Path 1.8.10.3 +1 -2 src/etc/periodic/security/100.chksetuid From remko at FreeBSD.org Sun Feb 24 20:09:52 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Feb 24 20:09:54 2008 Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802242009.m1OK9q28075869@repoman.freebsd.org> remko 2008-02-24 20:09:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/periodic/security 100.chksetuid Log: MFC rev 1.11 100.chksetuid Eliminate xargs in favor of find -exec {} + Requested by: ceri Approved by: imp (mentor, implicit trivial changes) Revision Changes Path 1.8.2.3 +1 -2 src/etc/periodic/security/100.chksetuid From imp at FreeBSD.org Sun Feb 24 20:32:45 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Feb 24 20:32:47 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802242032.m1OKWibU076700@repoman.freebsd.org> imp 2008-02-24 20:32:44 UTC FreeBSD src repository Modified files: . access Log: Forced commit to note that rink@ (Rink Springer) has formally been released from mentorship. I should have done this a long time ago, but dropped the ball... Approved by: core (implicit) Revision Changes Path 1.858 +0 -0 CVSROOT/access From raj at FreeBSD.org Mon Feb 25 00:09:24 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Mon Feb 25 00:09:30 2008 Subject: cvs commit: src/sys/powerpc/include hid.h spr.h src/sys/powerpc/powerpc cpu.c Message-ID: <200802250009.m1P09N7P097516@repoman.freebsd.org> raj 2008-02-25 00:09:23 UTC FreeBSD src repository Modified files: sys/powerpc/include hid.h spr.h sys/powerpc/powerpc cpu.c Log: Teach PowerPC CPU identification routines to recognize e500 cores. Fix style issues in this area. Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.4 +9 -2 src/sys/powerpc/include/hid.h 1.7 +2 -0 src/sys/powerpc/include/spr.h 1.10 +105 -90 src/sys/powerpc/powerpc/cpu.c From sam at FreeBSD.org Mon Feb 25 01:28:15 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Feb 25 01:28:16 2008 Subject: cvs commit: src/contrib/tcpdump print-802_11.c Message-ID: <200802250128.m1P1SEhA011080@repoman.freebsd.org> sam 2008-02-25 01:28:14 UTC FreeBSD src repository Modified files: contrib/tcpdump print-802_11.c Log: unbreak printing 802.11 tx/rx rates MFC after: 3 days Revision Changes Path 1.4 +2 -2 src/contrib/tcpdump/print-802_11.c From des at des.no Mon Feb 25 02:48:30 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 25 02:48:35 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c In-Reply-To: <47C1616F.5040603@freebsd.org> (Andre Oppermann's message of "Sun\, 24 Feb 2008 13\:22\:07 +0100") References: <200802240007.m1O071xr052282@repoman.freebsd.org> <20080224110613.X25292@fledge.watson.org> <47C1616F.5040603@freebsd.org> Message-ID: <86r6f1zr7u.fsf@ds4.des.no> Andre Oppermann writes: > Writing a regression test should be my task as I'm the one who broke > the stuff with rev 1.240. I'll whip something up over the next week. Umm, there is already one in the PR. DES -- Dag-Erling Sm?rgrav - des@des.no From obrien at FreeBSD.org Mon Feb 25 06:30:26 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 06:30:33 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c src/sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c Message-ID: <200802250630.m1P6UPkj035852@repoman.freebsd.org> obrien 2008-02-25 06:30:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c Log: MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS. Revision Changes Path 1.132.2.9 +17 -17 src/sys/ufs/ffs/ffs_alloc.c 1.50.2.1 +2 -2 src/sys/ufs/ffs/ffs_balloc.c 1.106.2.2 +3 -3 src/sys/ufs/ffs/ffs_inode.c 1.103.2.25 +1 -1 src/sys/ufs/ffs/ffs_snapshot.c 1.181.2.18 +27 -24 src/sys/ufs/ffs/ffs_softdep.c 1.157.2.7 +10 -7 src/sys/ufs/ffs/ffs_vnops.c 1.64.2.2 +1 -1 src/sys/ufs/ufs/ufs_bmap.c 1.77.2.4 +1 -1 src/sys/ufs/ufs/ufs_lookup.c 1.271.2.10 +6 -6 src/sys/ufs/ufs/ufs_vnops.c From obrien at FreeBSD.org Mon Feb 25 07:47:55 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 07:48:02 2008 Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c Message-ID: <200802250747.m1P7lsn7039613@repoman.freebsd.org> obrien 2008-02-25 07:47:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ufs ufs_lookup.c Log: MFC: rev 1.82: panic gives the nice error message with details. Revision Changes Path 1.77.2.5 +5 -3 src/sys/ufs/ufs/ufs_lookup.c From obrien at FreeBSD.org Mon Feb 25 07:54:10 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 07:54:16 2008 Subject: cvs commit: src/sys/ufs/ufs dir.h Message-ID: <200802250754.m1P7s9J1039814@repoman.freebsd.org> obrien 2008-02-25 07:54:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ufs dir.h Log: MFC: rev 1.12: fix an pointer/int cast warning that shows up on 64bit systems Revision Changes Path 1.11.2.1 +1 -1 src/sys/ufs/ufs/dir.h From obrien at FreeBSD.org Mon Feb 25 08:37:55 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 08:37:56 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Message-ID: <200802250837.m1P8bsGb042395@repoman.freebsd.org> obrien 2008-02-25 08:37:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_alloc.c Log: MFC: rev 1.140: drop two unnecessary casts. Revision Changes Path 1.132.2.10 +2 -2 src/sys/ufs/ffs/ffs_alloc.c From obrien at FreeBSD.org Mon Feb 25 08:55:04 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 08:55:10 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h Message-ID: <200802250855.m1P8t3w6052042@repoman.freebsd.org> obrien 2008-02-25 08:55:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/nullfs null_vfsops.c sys/fs/nwfs nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c sys/kern vfs_default.c vfs_vnops.c vnode_if.src sys/sys mount.h vnode.h Log: MFC: Eradicate caddr_t from the VFS API. Revision Changes Path 1.72.2.6 +1 -1 src/sys/fs/nullfs/null_vfsops.c 1.40.2.4 +2 -2 src/sys/fs/nwfs/nwfs_vfsops.c 1.34.2.3 +2 -2 src/sys/fs/smbfs/smbfs_vfsops.c 1.127.2.5 +1 -1 src/sys/kern/vfs_default.c 1.233.2.8 +4 -4 src/sys/kern/vfs_vnops.c 1.78.2.1 +2 -2 src/sys/kern/vnode_if.src 1.197.2.11 +1 -1 src/sys/sys/mount.h 1.304.2.10 +2 -2 src/sys/sys/vnode.h 1.27.2.2 +4 -4 src/sys/ufs/ufs/quota.h 1.74.2.7 +10 -10 src/sys/ufs/ufs/ufs_quota.c 1.45.2.3 +1 -1 src/sys/ufs/ufs/ufs_vfsops.c From obrien at FreeBSD.org Mon Feb 25 09:12:44 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 09:12:48 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_rawread.c Message-ID: <200802250912.m1P9Chbd053919@repoman.freebsd.org> obrien 2008-02-25 09:12:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_rawread.c Log: MFC: rev 1.29: call pbgetvp() and pbrelvp() instead of setting b_vp directly. Revision Changes Path 1.25.2.4 +9 -3 src/sys/ufs/ffs/ffs_rawread.c From obrien at FreeBSD.org Mon Feb 25 09:30:01 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 09:30:10 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_softdep.c fs.h src/sys/ufs/ufs dinode.h quota.h ufs_dirhash.c ufs_quota.c ufs_vfsops.c Message-ID: <200802250930.m1P9U0e9054565@repoman.freebsd.org> obrien 2008-02-25 09:30:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_alloc.c ffs_softdep.c fs.h sys/ufs/ufs dinode.h quota.h ufs_dirhash.c ufs_quota.c ufs_vfsops.c Log: MFC: fix spelling, sync comments, malloc type short descriptions, don't use function initializers in varible definitions, add GJOURNAL place holder Revision Changes Path 1.132.2.11 +2 -2 src/sys/ufs/ffs/ffs_alloc.c 1.181.2.19 +2 -2 src/sys/ufs/ffs/ffs_softdep.c 1.48.2.1 +1 -0 src/sys/ufs/ffs/fs.h 1.15.2.1 +2 -2 src/sys/ufs/ufs/dinode.h 1.27.2.3 +7 -4 src/sys/ufs/ufs/quota.h 1.21.2.2 +1 -1 src/sys/ufs/ufs/ufs_dirhash.c 1.74.2.8 +16 -6 src/sys/ufs/ufs/ufs_quota.c 1.45.2.4 +1 -1 src/sys/ufs/ufs/ufs_vfsops.c From obrien at FreeBSD.org Mon Feb 25 09:39:37 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 09:39:48 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c src/sys/ufs/ufs ufs_inode.c Message-ID: <200802250939.m1P9dbtV055089@repoman.freebsd.org> obrien 2008-02-25 09:39:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c sys/ufs/ufs ufs_inode.c Log: MFC: fix livelock that could occur when snapshoting UFS with quotas. (ffs_softdep.c rev 1.221 & ufs_inode.c rev 1.69) Revision Changes Path 1.181.2.20 +1 -0 src/sys/ufs/ffs/ffs_softdep.c 1.63.2.4 +2 -3 src/sys/ufs/ufs/ufs_inode.c From obrien at FreeBSD.org Mon Feb 25 09:52:13 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 09:52:19 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c ffs_softdep.c ffs_vfsops.c ffs_vnops.c Message-ID: <200802250952.m1P9qDY9055590@repoman.freebsd.org> obrien 2008-02-25 09:52:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_snapshot.c ffs_softdep.c ffs_vfsops.c ffs_vnops.c Log: MFC: use *_EMPTY macros when appropriate. Revision Changes Path 1.103.2.26 +2 -2 src/sys/ufs/ffs/ffs_snapshot.c 1.181.2.21 +33 -33 src/sys/ufs/ffs/ffs_softdep.c 1.290.2.18 +5 -5 src/sys/ufs/ffs/ffs_vfsops.c 1.157.2.8 +5 -5 src/sys/ufs/ffs/ffs_vnops.c From obrien at FreeBSD.org Mon Feb 25 10:00:20 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 10:00:27 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_balloc.c Message-ID: <200802251000.m1PA0JFO055905@repoman.freebsd.org> obrien 2008-02-25 10:00:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_balloc.c Log: MFC: rev 1.52: remove the buffers from the bufobj properly. rev 1.53: rearrange the recover code to do the ffs_blkfree() after second ffs_syncvnode(), that clears the pointers chain. Revision Changes Path 1.50.2.2 +50 -6 src/sys/ufs/ffs/ffs_balloc.c From obrien at FreeBSD.org Mon Feb 25 10:03:08 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 10:03:13 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c Message-ID: <200802251003.m1PA37Pg057169@repoman.freebsd.org> obrien 2008-02-25 10:03:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_softdep.c Log: MFC: fix spelling, sync comments, malloc type short descriptions, don't use function initializers in varible definitions, add GJOURNAL place holder Revision Changes Path 1.181.2.22 +1 -1 src/sys/ufs/ffs/ffs_softdep.c From obrien at FreeBSD.org Mon Feb 25 10:20:35 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 10:20:41 2008 Subject: cvs commit: src/sys/nfsserver nfs_srvcache.c nfsrvcache.h Message-ID: <200802251020.m1PAKYDe057764@repoman.freebsd.org> obrien 2008-02-25 10:20:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/nfsserver nfs_srvcache.c nfsrvcache.h Log: MFC: size the NFS server dupreq cache on the basis of nmbclusters. Revision Changes Path 1.40.2.2 +20 -2 src/sys/nfsserver/nfs_srvcache.c 1.17.2.2 +2 -2 src/sys/nfsserver/nfsrvcache.h From kris at FreeBSD.org Mon Feb 25 10:34:51 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Feb 25 10:34:59 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c src/sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c In-Reply-To: <200802250630.m1P6UPkj035852@repoman.freebsd.org> References: <200802250630.m1P6UPkj035852@repoman.freebsd.org> Message-ID: <47C299C9.3030501@FreeBSD.org> David E. O'Brien wrote: > obrien 2008-02-25 06:30:24 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c > ffs_snapshot.c ffs_softdep.c ffs_vnops.c > sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c > Log: > MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS. Didn't we (you, Ken and I) discuss that this is not a good merge candidate because of the possibility to introduce further spurious panics into a stable branch? Kris From obrien at FreeBSD.org Mon Feb 25 10:36:10 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Feb 25 10:36:12 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200802251036.m1PAa9eF058310@repoman.freebsd.org> obrien 2008-02-25 10:36:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ffs ffs_vfsops.c Log: MFC: rev 1.295: adjust maxfilesize for UFS1 and old 4.4 FFS. UFS1: increase the limit to (max block - 1) * bsize. 4.4 FFS: decrease the limit from 0.5 TB to 2 GB - 1. Revision Changes Path 1.290.2.19 +2 -2 src/sys/ufs/ffs/ffs_vfsops.c From kris at FreeBSD.org Mon Feb 25 10:36:16 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Feb 25 10:36:21 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <200802250855.m1P8t3w6052042@repoman.freebsd.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> Message-ID: <47C29A07.2070908@FreeBSD.org> David E. O'Brien wrote: > obrien 2008-02-25 08:55:02 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/fs/nullfs null_vfsops.c > sys/fs/nwfs nwfs_vfsops.c > sys/fs/smbfs smbfs_vfsops.c > sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c > sys/kern vfs_default.c vfs_vnops.c vnode_if.src > sys/sys mount.h vnode.h > Log: > MFC: Eradicate caddr_t from the VFS API. Does this change the KAPI on a stable branch? Kris From obrien at FreeBSD.org Mon Feb 25 10:40:47 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Mon Feb 25 10:40:55 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c ffs_softdep.c ffs_vnops.c src/sys/ufs/ufs ufs_bmap.c ufs_lookup.c ufs_vnops.c In-Reply-To: <47C299C9.3030501@FreeBSD.org> References: <200802250630.m1P6UPkj035852@repoman.freebsd.org> <47C299C9.3030501@FreeBSD.org> Message-ID: <20080225104046.GA43586@dragon.NUXI.org> On Mon, Feb 25, 2008 at 11:34:49AM +0100, Kris Kennaway wrote: > David E. O'Brien wrote: >> obrien 2008-02-25 06:30:24 UTC >> FreeBSD src repository >> Modified files: (Branch: RELENG_6) >> sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_inode.c >> ffs_snapshot.c ffs_softdep.c ffs_vnops.c sys/ufs/ufs >> ufs_bmap.c ufs_lookup.c ufs_vnops.c Log: >> MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS. > > Didn't we (you, Ken and I) discuss that this is not a good merge > candidate because of the possibility to introduce further spurious > panics into a stable branch? We agreed to let it soak for a good while. We have not seen any new issues for several months. I think finding file system errors out weight the risks due to any remaining buglets. If one has enabled INVARIANTS, they want to find problems in their system. -- David From obrien at FreeBSD.org Mon Feb 25 10:43:17 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Mon Feb 25 10:43:24 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <47C29A07.2070908@FreeBSD.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> Message-ID: <20080225104317.GA43771@dragon.NUXI.org> On Mon, Feb 25, 2008 at 11:35:51AM +0100, Kris Kennaway wrote: > David E. O'Brien wrote: >> obrien 2008-02-25 08:55:02 UTC >> FreeBSD src repository >> Modified files: (Branch: RELENG_6) >> sys/fs/nullfs null_vfsops.c sys/fs/nwfs >> nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/ufs/ufs >> quota.h ufs_quota.c ufs_vfsops.c sys/kern >> vfs_default.c vfs_vnops.c vnode_if.src sys/sys mount.h >> vnode.h Log: >> MFC: Eradicate caddr_t from the VFS API. > > Does this change the KAPI on a stable branch? Please explain how you feel it does. -- -- David (obrien@FreeBSD.org) From silby at FreeBSD.org Mon Feb 25 10:45:25 2008 From: silby at FreeBSD.org (Mike Silbersack) Date: Mon Feb 25 10:45:32 2008 Subject: cvs commit: src/sbin/ping6 ping6.c Message-ID: <200802251045.m1PAjPmP058758@repoman.freebsd.org> silby 2008-02-25 10:45:25 UTC FreeBSD src repository Modified files: sbin/ping6 ping6.c Log: Decrease ping6's minimum allowed interval from .01 to .000001. Note that due to the architecture of ping6, you are still limited to kern.hz pings per second. MFC after: 2 weeks Revision Changes Path 1.33 +3 -3 src/sbin/ping6/ping6.c From kris at FreeBSD.org Mon Feb 25 10:57:41 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Feb 25 10:57:47 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080225104317.GA43771@dragon.NUXI.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <20080225104317.GA43771@dragon.NUXI.org> Message-ID: <47C29F24.1030901@FreeBSD.org> David O'Brien wrote: > On Mon, Feb 25, 2008 at 11:35:51AM +0100, Kris Kennaway wrote: >> David E. O'Brien wrote: >>> obrien 2008-02-25 08:55:02 UTC >>> FreeBSD src repository >>> Modified files: (Branch: RELENG_6) >>> sys/fs/nullfs null_vfsops.c sys/fs/nwfs >>> nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/ufs/ufs >>> quota.h ufs_quota.c ufs_vfsops.c sys/kern >>> vfs_default.c vfs_vnops.c vnode_if.src sys/sys mount.h >>> vnode.h Log: >>> MFC: Eradicate caddr_t from the VFS API. >> Does this change the KAPI on a stable branch? > > Please explain how you feel it does. I didn't say that, I asked you a question. Kris From obrien at FreeBSD.org Mon Feb 25 10:59:46 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Mon Feb 25 10:59:52 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080225104317.GA43771@dragon.NUXI.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <20080225104317.GA43771@dragon.NUXI.org> Message-ID: <20080225105945.GA51370@dragon.NUXI.org> On Mon, Feb 25, 2008 at 02:43:17AM -0800, David O'Brien (@FreeBSD) wrote: > On Mon, Feb 25, 2008 at 11:35:51AM +0100, Kris Kennaway wrote: > > David E. O'Brien wrote: > >> obrien 2008-02-25 08:55:02 UTC > >> FreeBSD src repository > >> Modified files: (Branch: RELENG_6) > >> sys/fs/nullfs null_vfsops.c sys/fs/nwfs > >> nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/ufs/ufs > >> quota.h ufs_quota.c ufs_vfsops.c sys/kern > >> vfs_default.c vfs_vnops.c vnode_if.src sys/sys mount.h > >> vnode.h Log: > >> MFC: Eradicate caddr_t from the VFS API. > > > > Does this change the KAPI on a stable branch? > > Please explain how you feel it does. Meaning I really don't think it does, but if you think it does please educate me. If I've messed up the KAPI I want to back it out ASAP. -- -- David (obrien@FreeBSD.org) From des at des.no Mon Feb 25 11:29:36 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Feb 25 11:29:40 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <47C29A07.2070908@FreeBSD.org> (Kris Kennaway's message of "Mon\, 25 Feb 2008 11\:35\:51 +0100") References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> Message-ID: <86d4qli8a1.fsf@ds4.des.no> Kris Kennaway writes: > David E. O'Brien writes: > > [...] > > MFC: Eradicate caddr_t from the VFS API. > Does this change the KAPI on a stable branch? No, it changes neither the API nor the ABI. It replaces caddr_t (which is typedef'd to char *) with void *, and those two are compatible types. The following program demonstrates this: #include void *f1(void *arg) { return arg; } caddr_t f2(caddr_t arg) { return arg; } int main(void) { caddr_t ca; void *vp; ca = f1(ca); ca = f1(vp); vp = f2(ca); vp = f2(vp); return 0; } Compile it with 'cc -Wall -Wextra -pedantic -o /dev/null caddr_t.c' The program tests both passing a caddr_t in to a function that expects void * and returning a void * to a caller that expects caddr_t, which are two of the three cases that might break (for completeness, it also tests the reverse, which isn't actually relevant here). The third case, which the program doesn't test, is the case where the type of a member of a struct that is exposed through the API changes; that would indeed change the API, because the caller might want to perform pointer arithmetic on that member. However, the patch does none of these things. It only changes internal use of caddr_t, and the type of some API function arguments - no return types, no structure members - so it's completely safe. To tell you the truth, I'm surprised this wasn't MFCed earlier... Thanks, David :) DES -- Dag-Erling Sm?rgrav - des@des.no From bde at FreeBSD.org Mon Feb 25 11:43:22 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 25 11:43:24 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c k_rem_pio2.c Message-ID: <200802251143.m1PBhLm6061915@repoman.freebsd.org> bde 2008-02-25 11:43:20 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c k_rem_pio2.c Log: Fix some off-by-1 errors. e_rem_pio2.c: Float and double precision didn't work because init_jk[] was 1 too small. It needs to be 2 larger than you might expect, and 1 larger than it was for these precisions, since its test for recomputing needs a margin of 47 bits (almost 2 24-bit units). init_jk[] seems to be barely enough for extended and quad precisions. This hasn't been completely verified. Callers now get about 24 bits of extra precision for float, and about 19 for double, but only about 8 for extended and quad. 8 is not enough for callers that want to produce extra-precision results, but current callers have rounding errors of at least 0.8 ulps, so another 1/2**8 ulps of error from the reduction won't affect them much. Add a comment about some of the magic for init_jk[]. e_rem_pio2.c: Double precision worked in practice because of a compensating off-by-1 error here. Extended precision was asked for, and it executed exactly the same code as the unbroken double precision. e_rem_pio2f.c: Float precision worked in practice because of a compensating off-by-1 error here. Double precision was asked for, and was almost needed, since the cosf() and sinf() callers want to produce extra-precision results, at least internally so that their error is only 0.5009 ulps. However, the extra precision provided by unbroken float precision is enough, and the double-precision code has extra overheads, so the off-by-1 error cost about 5% in efficiency on amd64 and i386. Revision Changes Path 1.16 +1 -1 src/lib/msun/src/e_rem_pio2.c 1.25 +2 -2 src/lib/msun/src/e_rem_pio2f.c 1.11 +8 -3 src/lib/msun/src/k_rem_pio2.c From brueffer at FreeBSD.org Mon Feb 25 13:03:19 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Mon Feb 25 13:03:21 2008 Subject: cvs commit: src/lib/libc/sys clock_gettime.2 Message-ID: <200802251303.m1PD3IHv075993@repoman.freebsd.org> brueffer 2008-02-25 13:03:18 UTC FreeBSD src repository Modified files: lib/libc/sys clock_gettime.2 Log: Add missing words. MFC after: 3 days Revision Changes Path 1.25 +2 -2 src/lib/libc/sys/clock_gettime.2 From bde at FreeBSD.org Mon Feb 25 13:33:21 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 25 13:33:29 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2f.c math_private.h s_cosf.c s_sinf.c s_tanf.c Message-ID: <200802251333.m1PDXKau077565@repoman.freebsd.org> bde 2008-02-25 13:33:20 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c math_private.h s_cosf.c s_sinf.c s_tanf.c Log: Change __ieee754_rem_pio2f() to return double instead of float so that this function and its callers cosf(), sinf() and tanf() don't waste time converting values from doubles to floats and back for |x| > 9pi/4. All these functions were optimized a few years ago to mostly use doubles internally and across the __kernel*() interfaces but not across the __ieee754_rem_pio2f() interface. This saves about 40 cycles in cosf(), sinf() and tanf() for |x| > 9pi/4 on amd64 (A64), and about 20 cycles on i386 (A64) (except for cosf() and sinf() in the upper range). 40 cycles is about 35% for |x| < 9pi/4 <= 2**19pi/2 and about 5% for |x| > 2**19pi/2. The saving is much larger on amd64 than on i386 since the conversions are not easy to optimize except on i386 where some of them are automatic and others are optimized invalidly. amd64 is still about 10% slower in cosf() and tanf() in the lower range due to conversion overhead. This also gives a tiny speedup for |x| <= 9pi/4 on amd64 (by simplifying the code). It also avoids compiler bugs and/or additional slowness in the conversions on (not yet supported) machines where double_t != double. Revision Changes Path 1.26 +8 -11 src/lib/msun/src/e_rem_pio2f.c 1.26 +1 -1 src/lib/msun/src/math_private.h 1.17 +6 -6 src/lib/msun/src/s_cosf.c 1.16 +6 -6 src/lib/msun/src/s_sinf.c 1.16 +3 -3 src/lib/msun/src/s_tanf.c From rpaulo at FreeBSD.org Mon Feb 25 13:52:39 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Mon Feb 25 13:53:12 2008 Subject: cvs commit: src/contrib/traceroute as.c as.h traceroute.8 traceroute.c src/usr.sbin/traceroute Makefile In-Reply-To: <20080221205018.GD32491@tirith.brixandersen.dk> References: <200802202329.m1KNTrmr014644@repoman.freebsd.org> <20080221205018.GD32491@tirith.brixandersen.dk> Message-ID: <42527473-5F94-4058-B51C-8864C822D2A7@FreeBSD.org> On Feb 21, 2008, at 8:50 PM, Henrik Brix Andersen wrote: > On Wed, Feb 20, 2008 at 11:29:53PM +0000, Rui Paulo wrote: >> rpaulo 2008-02-20 23:29:53 UTC >> >> FreeBSD src repository >> >> Modified files: >> contrib/traceroute traceroute.8 traceroute.c >> usr.sbin/traceroute Makefile >> Added files: >> contrib/traceroute as.c as.h >> Log: >> Add AS lookup functionality. On each hop we query a whois server to >> find the corresponding AS for that IP (-a switch). >> We can also choose a different whois server with the -A switch. The >> default is whois.radb.net. >> >> Obtained from: NetBSD >> Reviewed by: bms, njl (mentor) >> Approved by: njl (mentor) > > Great! Thank you. > > This was actually on my TODO list for when I got some more time on my > hands, now I can spend that time on something else :) > > Brix > -- > Henrik Brix Andersen No problem :-) Regards. -- Rui Paulo From mav at FreeBSD.org Mon Feb 25 13:53:14 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Feb 25 13:53:16 2008 Subject: cvs commit: src/sys/netgraph ng_tee.c Message-ID: <200802251353.m1PDrDld078308@repoman.freebsd.org> mav 2008-02-25 13:53:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_tee.c Log: MFC rev. 1.35 Fix shutdown bug made by previous commit. Revision Changes Path 1.33.2.2 +1 -0 src/sys/netgraph/ng_tee.c From rink at FreeBSD.org Mon Feb 25 13:57:29 2008 From: rink at FreeBSD.org (Rink Springer) Date: Mon Feb 25 13:57:35 2008 Subject: cvs commit: src/sys/dev/atkbdc psm.c Message-ID: <200802251357.m1PDvSGu078483@repoman.freebsd.org> rink 2008-02-25 13:57:18 UTC FreeBSD src repository Modified files: sys/dev/atkbdc psm.c Log: Some PS/2 mice (at least the A4Tech X-7xx) need to be set to Intelli mode first before they can be set to Explorer mode. PR: kern/118578 Submitted by: Andriy Gapon (I added some comments) Reviewed by: philip MFC after: 1 month Revision Changes Path 1.94 +7 -0 src/sys/dev/atkbdc/psm.c From ume at FreeBSD.org Mon Feb 25 15:32:43 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Mon Feb 25 15:32:50 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802251532.m1PFWdO1083925@repoman.freebsd.org> ume 2008-02-25 15:32:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_thermal.c Log: MFC 1.69: Create a thread to handle passive cooling for 1st zone which has _PSV, _TSP, _TC1 and _TC2. Revision Changes Path 1.64.2.4 +20 -19 src/sys/dev/acpica/acpi_thermal.c From ume at FreeBSD.org Mon Feb 25 15:34:46 2008 From: ume at FreeBSD.org (Hajimu UMEMOTO) Date: Mon Feb 25 15:34:48 2008 Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c Message-ID: <200802251534.m1PFYkO8084032@repoman.freebsd.org> ume 2008-02-25 15:34:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_thermal.c Log: MFC 1.69: Create a thread to handle passive cooling for 1st zone which has _PSV, _TSP, _TC1 and _TC2. Revision Changes Path 1.53.2.11 +20 -19 src/sys/dev/acpica/acpi_thermal.c From ru at FreeBSD.org Mon Feb 25 16:16:18 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 25 16:16:24 2008 Subject: cvs commit: src/sys/sys param.h src Makefile.inc1 src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib Makefile src/usr.bin/ar Makefile Message-ID: <200802251616.m1PGGHEl086684@repoman.freebsd.org> ru 2008-02-25 16:16:17 UTC FreeBSD src repository Modified files: sys/sys param.h . Makefile.inc1 gnu/usr.bin/binutils/ar Makefile gnu/usr.bin/binutils/ranlib Makefile usr.bin/ar Makefile Log: Make again BSD ar(1) the default system ar(1), now properly handling source upgrades by falling back to GNU ar(1) as necessary. Option WITH_BSDAR is gone. Option _WITH_GNUAR to aid in upgrades is *not* supposed to be set by the user. Stop bootstrapping BSD ar(1) on the next __FreeBSD_version bump, as there are no known bugs in it. Bump __FreeBSD_version to anticipate this and to flag the switch to BSD ar(1), should it be needed for something. Input from: obrien, des, kaiw Revision Changes Path 1.599 +9 -0 src/Makefile.inc1 1.17 +8 -5 src/gnu/usr.bin/binutils/ar/Makefile 1.18 +8 -5 src/gnu/usr.bin/binutils/ranlib/Makefile 1.338 +1 -1 src/sys/sys/param.h 1.20 +1 -14 src/usr.bin/ar/Makefile From ru at FreeBSD.org Mon Feb 25 16:29:55 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Mon Feb 25 16:29:57 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200802251629.m1PGTtjM087085@repoman.freebsd.org> ru 2008-02-25 16:29:54 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: Sort. Prodded by: obrien Revision Changes Path 1.600 +5 -5 src/Makefile.inc1 From bde at FreeBSD.org Mon Feb 25 18:28:58 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 25 18:29:00 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c Message-ID: <200802251828.m1PISwno002525@repoman.freebsd.org> bde 2008-02-25 18:28:58 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c Log: Use a temporary array instead of the arg array y[] for calling __kernel_rem_pio2(). This simplifies analysis of aliasing and thus results in better code for the usual case where __kernel_rem_pio2() is not called. In particular, when __ieee854_rem_pio2[f]() is inlined, it normally results in y[] being returned in registers. I couldn't get this to work using the restrict qualifier. In float precision, this saves 2-3% in most cases on amd64 and i386 (A64) despite it not being inlined in float precision yet. In double precision, this has high variance, with an average gain of 2% for amd64 and 0.7% for i386 (but a much larger gain for usual cases) and some losses. Revision Changes Path 1.17 +4 -4 src/lib/msun/src/e_rem_pio2.c 1.27 +4 -4 src/lib/msun/src/e_rem_pio2f.c From attilio at FreeBSD.org Mon Feb 25 18:45:58 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Feb 25 18:46:06 2008 Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c src/sys/fs/devfs devfs_vnops.c src/sys/fs/nullfs null_vfsops.c null_vnops.c src/sys/fs/smbfs smbfs_io.c src/sys/fs/tmpfs tmpfs_subr.c tmpfs_vnops.c src/sys/fs/unionfs union_vfsops.c union_vnops.c ... Message-ID: <200802251845.m1PIjvnE003485@repoman.freebsd.org> attilio 2008-02-25 18:45:57 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c sys/fs/devfs devfs_vnops.c sys/fs/nullfs null_vfsops.c null_vnops.c sys/fs/smbfs smbfs_io.c sys/fs/tmpfs tmpfs_subr.c tmpfs_vnops.c sys/fs/unionfs union_vfsops.c union_vnops.c sys/kern kern_lock.c vfs_cache.c vfs_default.c vfs_lookup.c vfs_subr.c vnode_if.src sys/netncp ncp_conn.c sys/netsmb smb_conn.c sys/nfs4client nfs4_vfsops.c sys/nfsclient nfs_subs.c nfs_vfsops.c sys/sys buf.h lockmgr.h sys/ufs/ffs ffs_rawread.c Log: Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is always curthread. As KPI gets broken by this patch, manpages and __FreeBSD_version will be updated by further commits. Tested by: Andrea Barberio Revision Changes Path 1.27 +3 -3 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c 1.156 +1 -1 src/sys/fs/devfs/devfs_vnops.c 1.88 +3 -3 src/sys/fs/nullfs/null_vfsops.c 1.99 +1 -2 src/sys/fs/nullfs/null_vnops.c 1.43 +1 -1 src/sys/fs/smbfs/smbfs_io.c 1.16 +12 -12 src/sys/fs/tmpfs/tmpfs_subr.c 1.16 +18 -18 src/sys/fs/tmpfs/tmpfs_vnops.c 1.90 +1 -1 src/sys/fs/unionfs/union_vfsops.c 1.153 +3 -3 src/sys/fs/unionfs/union_vnops.c 1.126 +2 -5 src/sys/kern/kern_lock.c 1.118 +3 -5 src/sys/kern/vfs_cache.c 1.142 +1 -4 src/sys/kern/vfs_default.c 1.107 +2 -2 src/sys/kern/vfs_lookup.c 1.719 +11 -13 src/sys/kern/vfs_subr.c 1.89 +0 -1 src/sys/kern/vnode_if.src 1.33 +1 -1 src/sys/netncp/ncp_conn.c 1.21 +1 -1 src/sys/netsmb/smb_conn.c 1.32 +1 -2 src/sys/nfs4client/nfs4_vfsops.c 1.153 +1 -1 src/sys/nfsclient/nfs_subs.c 1.200 +1 -2 src/sys/nfsclient/nfs_vfsops.c 1.202 +1 -1 src/sys/sys/buf.h 1.64 +1 -1 src/sys/sys/lockmgr.h 1.31 +5 -7 src/sys/ufs/ffs/ffs_rawread.c From attilio at FreeBSD.org Mon Feb 25 18:56:52 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Feb 25 18:56:58 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200802251856.m1PIupLV003849@repoman.freebsd.org> attilio 2008-02-25 18:56:51 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version in order to signal lockstatus() and VOP_ISLOCKED() prototypes changing. Revision Changes Path 1.339 +1 -1 src/sys/sys/param.h From keramida at FreeBSD.org Mon Feb 25 19:06:44 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Mon Feb 25 19:06:50 2008 Subject: cvs commit: src/usr.bin/du du.1 du.c Message-ID: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> keramida 2008-02-25 19:06:43 UTC FreeBSD src repository (doc committer) Modified files: usr.bin/du du.1 du.c Log: Implement from scratch a -l option for du(1), to match the same option of the GNU utility. The default behavior of our original `du' is to count hardlinked files only once for each invocation of the utility. With the new -l option they count towards the final size every time they are found. PR: bin/117944 Submitted by: keramida Reviewed by: des, obrien MFC after: 2 weeks Revision Changes Path 1.33 +11 -6 src/usr.bin/du/du.1 1.45 +12 -5 src/usr.bin/du/du.c From attilio at FreeBSD.org Mon Feb 25 19:12:01 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Feb 25 19:12:04 2008 Subject: cvs commit: src/share/man/man9 VOP_LOCK.9 lock.9 Message-ID: <200802251912.m1PJC1Nb005644@repoman.freebsd.org> attilio 2008-02-25 19:12:01 UTC FreeBSD src repository Modified files: share/man/man9 VOP_LOCK.9 lock.9 Log: Modify VOP_ISLOCKED() and lockstatus() prototypes in order to reflect 'thread' argument axing. Revision Changes Path 1.23 +2 -5 src/share/man/man9/VOP_LOCK.9 1.26 +6 -17 src/share/man/man9/lock.9 From keramida at FreeBSD.org Mon Feb 25 19:28:28 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Mon Feb 25 19:28:35 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <200802251928.m1PJSRPm006201@repoman.freebsd.org> keramida 2008-02-25 19:28:27 UTC FreeBSD src repository (doc committer) Modified files: sys/dev/cxgb cxgb_sge.c Log: Spell 'overwriting' correctly in a KASSERT() message. Revision Changes Path 1.51 +4 -3 src/sys/dev/cxgb/cxgb_sge.c From keramida at FreeBSD.org Mon Feb 25 19:31:45 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Mon Feb 25 19:31:51 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_vnops.c Message-ID: <200802251931.m1PJVi0Q006431@repoman.freebsd.org> keramida 2008-02-25 19:31:44 UTC FreeBSD src repository (doc committer) Modified files: sys/ufs/ffs ffs_vnops.c Log: Minor typo nit. Revision Changes Path 1.179 +1 -1 src/sys/ufs/ffs/ffs_vnops.c From rwatson at FreeBSD.org Mon Feb 25 20:28:01 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Feb 25 20:28:03 2008 Subject: cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_private.h Message-ID: <200802252028.m1PKS0BX009565@repoman.freebsd.org> rwatson 2008-02-25 20:28:00 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_private.h Log: Rename several audit functions in the global kernel symbol namespace to have audit_ on the front: - canon_path -> audit_canon_path - msgctl_to_event -> audit_msgctl_to_event - semctl_to_event -> audit_semctl_to_event MFC after: 1 month Revision Changes Path 1.38 +2 -2 src/sys/security/audit/audit.c 1.18 +1 -1 src/sys/security/audit/audit_arg.c 1.25 +2 -2 src/sys/security/audit/audit_bsm.c 1.10 +4 -4 src/sys/security/audit/audit_bsm_klib.c 1.17 +3 -3 src/sys/security/audit/audit_private.h From jhb at FreeBSD.org Mon Feb 25 20:47:23 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Feb 25 20:47:35 2008 Subject: cvs commit: src/sys/netinet in.c In-Reply-To: <200802221913.m1MJDwrH044833@repoman.freebsd.org> References: <200802221913.m1MJDwrH044833@repoman.freebsd.org> Message-ID: <200802251415.30473.jhb@freebsd.org> On Friday 22 February 2008 02:13:57 pm Stephan Uphoff wrote: > ups ? ? ? ? 2008-02-22 19:13:57 UTC > > ? FreeBSD src repository > > ? Modified files: ? ? ? ?(Branch: RELENG_6) > ? ? sys/netinet ? ? ? ? ?in.c > ? Log: > ? Fix reference counting for already existing addresses in in_addmulti() > ? > ? Reviewed by: ? ?gnn@ This probably fixes PRs kern/108197, kern/116077, kern/120266, and kern/120343. -- John Baldwin From attilio at FreeBSD.org Mon Feb 25 21:09:17 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Feb 25 21:09:26 2008 Subject: cvs commit: src/sys/netsmb smb_iod.c Message-ID: <200802252109.m1PL9GIg020996@repoman.freebsd.org> attilio 2008-02-25 21:09:16 UTC FreeBSD src repository Modified files: sys/netsmb smb_iod.c Log: Remove a spourious Giant acquisition. The code seems pretty MPSAFE and Giant is held over kproc_exit() which at lowel calls exit1(). exit1() requires Giant to be unowned so this opens a window for races. Reported by: Bryan Venteicher Tested by: Bryan Venteicher Revision Changes Path 1.19 +0 -3 src/sys/netsmb/smb_iod.c From mav at FreeBSD.org Mon Feb 25 21:24:54 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Feb 25 21:25:00 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802252124.m1PLOsQt021517@repoman.freebsd.org> mav 2008-02-25 21:24:54 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Fix incorrect constant used in rev. 1.146 that broke node writer locking. Revision Changes Path 1.147 +1 -1 src/sys/netgraph/ng_base.c From jhb at FreeBSD.org Mon Feb 25 22:04:08 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Feb 25 22:04:14 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb kgdb.h Message-ID: <200802252204.m1PM48Pq045968@repoman.freebsd.org> jhb 2008-02-25 22:04:07 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kgdb.h Log: Remove a stale prototype I missed when converting the kld support over to hooking into gdb's shared library infrastructure. Revision Changes Path 1.12 +0 -1 src/gnu/usr.bin/gdb/kgdb/kgdb.h From bz at FreeBSD.org Mon Feb 25 22:11:51 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Feb 25 22:11:59 2008 Subject: cvs commit: src/sys/netinet tcp_var.h In-Reply-To: <200802240513.m1O5DKBG093031@repoman.freebsd.org> References: <200802240513.m1O5DKBG093031@repoman.freebsd.org> Message-ID: <20080225213119.P94494@maildrop.int.zabbadoz.net> On Sun, 24 Feb 2008, Mike Silbersack wrote: > silby 2008-02-24 05:13:20 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_var.h > Log: > Change FreeBSD 7 so that it returns TCP options in > the same order that FreeBSD 6 and before did. Doug > White and the other bloodhounds at ISC discovered that > while FreeBSD 7's ordering of options was more efficient, > it caused some cable modem routers to ignore the > SYN-ACKs ordered in this fashion. > > The placement of sackOK after the timestamp option seems > to be the critical difference: After reading and thinking of this I was about to say that apart from TCP option kind 0 and 1 do we preserv order by kind ascending. I couldn't easily remember an RFC talking about this permitting either one or the other but we had TSOPT (kind 8) before SACK permitted (kind 4) so that seems to be nonsense. Still, are you really sure that this is about ordering? Basically there is another crucial change coming with this commit as we discovered while rwatson was showing me the commit message sitting next to him at FOSDEM: no EOL for "7.orig" > FreeBSD 6: > option length: 23 (should be + 1 padding after EOL) > FreeBSD 7.0: > option length: 20 (thus no padding and no EOL) > FreeBSD 7.0 + this change: > option length: 23 (should be + 1 padding after EOL) The questions would be: have you tried simply adding another NOP to "7.orig" thus forcing an EOL or removing the NOP and putting an EOL at the end (I know 793 was before the MUST/MUST NOT times so this might not be strictly correct as it says "This might not coincide with the end of the TCP header according to the Data Offset field. [This option] need only be used if the end of the options would not otherwise coincide with the end of the TCP header". I would really assume (on principle;) that instead of ordering, those consumer grade devices, mostly built cheaply, ... are expecting an End of Option list instead of being picky on the order of the options. Is there any chance we could get that tested so we would be more sure what the actualy cause is and have a reference for the furture? /bz -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. From bde at FreeBSD.org Mon Feb 25 22:19:20 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Mon Feb 25 22:19:26 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2f.c s_cosf.c s_sinf.c s_tanf.c Message-ID: <200802252219.m1PMJKU9054633@repoman.freebsd.org> bde 2008-02-25 22:19:17 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c s_cosf.c s_sinf.c s_tanf.c Log: Inline __ieee754__rem_pio2f(). On amd64 (A64) and i386 (A64), this gives an average speedup of about 12 cycles or 17% for 9pi/4 < |x| <= 2**19pi/2 and a smaller speedup for larger x, and a small speeddown for |x| <= 9pi/4 (only 1-2 cycles average, but that is 4%). Inlining this is less likely to bust caches than inlining the float version since it is much smaller (about 220 bytes text and rodata) and has many fewer branches. However, the float version was already large due to its manual inlining of the branches and also the polynomial evaluations. Revision Changes Path 1.28 +3 -0 src/lib/msun/src/e_rem_pio2f.c 1.18 +4 -0 src/lib/msun/src/s_cosf.c 1.17 +4 -0 src/lib/msun/src/s_sinf.c 1.17 +4 -0 src/lib/msun/src/s_tanf.c From jhb at FreeBSD.org Mon Feb 25 22:19:56 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Feb 25 22:19:58 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb Makefile kgdb.h kld.c kthr.c main.c trgt.c trgt_i386.c Message-ID: <200802252219.m1PMJuBK054690@repoman.freebsd.org> jhb 2008-02-25 22:19:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) gnu/usr.bin/gdb/kgdb Makefile kgdb.h kthr.c main.c trgt.c trgt_i386.c Added files: (Branch: RELENG_7) gnu/usr.bin/gdb/kgdb kld.c Log: MFC: Mostly sync kgdb with HEAD including the following changes: - Add a new 'add-kld ' command to locate a kld and load its symbols. - If the quiet flag is specified, don't dump the unread portion of the message buffer on startup. - Remove the warnx() from kgdb_lookup() and add it in callers where a failed lookup is warning worthy. - Add a shared library backend for kernel files that treats klds as shared libraries and auto-load symbols for klds on startup. - Build a section table from the kernel file so that 'info files' output looks sane. Revision Changes Path 1.6.10.1 +1 -1 src/gnu/usr.bin/gdb/kgdb/Makefile 1.5.2.2 +5 -0 src/gnu/usr.bin/gdb/kgdb/kgdb.h 1.6.2.1 +479 -0 src/gnu/usr.bin/gdb/kgdb/kld.c (new) 1.7.2.2 +7 -5 src/gnu/usr.bin/gdb/kgdb/kthr.c 1.11.2.1 +6 -5 src/gnu/usr.bin/gdb/kgdb/main.c 1.5.2.1 +13 -5 src/gnu/usr.bin/gdb/kgdb/trgt.c 1.6.2.2 +3 -1 src/gnu/usr.bin/gdb/kgdb/trgt_i386.c From jhb at FreeBSD.org Mon Feb 25 22:20:13 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Feb 25 22:20:15 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb Makefile kgdb.h kld.c kthr.c main.c trgt.c trgt_i386.c Message-ID: <200802252220.m1PMKDVX054794@repoman.freebsd.org> jhb 2008-02-25 22:20:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) gnu/usr.bin/gdb/kgdb Makefile kgdb.h kthr.c main.c trgt.c trgt_i386.c Added files: (Branch: RELENG_6) gnu/usr.bin/gdb/kgdb kld.c Log: MFC: Mostly sync kgdb with HEAD including the following changes: - Add a new 'add-kld ' command to locate a kld and load its symbols. - If the quiet flag is specified, don't dump the unread portion of the message buffer on startup. - Remove the warnx() from kgdb_lookup() and add it in callers where a failed lookup is warning worthy. - Add a shared library backend for kernel files that treats klds as shared libraries and auto-load symbols for klds on startup. - Build a section table from the kernel file so that 'info files' output looks sane. Revision Changes Path 1.6.2.1 +1 -1 src/gnu/usr.bin/gdb/kgdb/Makefile 1.2.2.5 +5 -0 src/gnu/usr.bin/gdb/kgdb/kgdb.h 1.6.4.1 +479 -0 src/gnu/usr.bin/gdb/kgdb/kld.c (new) 1.2.2.7 +7 -5 src/gnu/usr.bin/gdb/kgdb/kthr.c 1.7.2.5 +6 -5 src/gnu/usr.bin/gdb/kgdb/main.c 1.2.2.4 +13 -5 src/gnu/usr.bin/gdb/kgdb/trgt.c 1.2.2.3 +3 -1 src/gnu/usr.bin/gdb/kgdb/trgt_i386.c From jhb at FreeBSD.org Mon Feb 25 22:42:34 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Feb 25 22:42:36 2008 Subject: cvs commit: src/sys/i386/i386 identcpu.c initcpu.c Message-ID: <200802252242.m1PMgYcM055606@repoman.freebsd.org> jhb 2008-02-25 22:42:33 UTC FreeBSD src repository Modified files: sys/i386/i386 identcpu.c initcpu.c Log: Support the VIA C7 Eden CPU and treat it just like a C7 Esther. We may want to adjust this code to just assume that all CPUs >= Esther should be checked for the extended cpuid flags register. MFC after: 3 days PR: i386/119491 Revision Changes Path 1.181 +3 -0 src/sys/i386/i386/identcpu.c 1.57 +1 -0 src/sys/i386/i386/initcpu.c From kmacy at FreeBSD.org Tue Feb 26 03:02:21 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Feb 26 03:02:28 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files Message-ID: <200802260302.m1Q32KOT081487@repoman.freebsd.org> kmacy 2008-02-26 03:02:20 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_main.c sys/modules/cxgb Makefile sys/modules/cxgb/cxgb Makefile sys/conf NOTES files Added files: sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h sys/modules/cxgb/cxgb_t3fw Makefile Removed files: sys/dev/cxgb t3fw-5.0.0.bin.gz.uu Log: Move firmware in to separate module that can be compiled statically in to the kernel Add utility for converting future firmware revs to a C header file Revision Changes Path 1.1468 +1 -0 src/sys/conf/NOTES 1.1270 +1 -0 src/sys/conf/files 1.1 +79 -0 src/sys/dev/cxgb/bin2h.pl (new) 1.49 +16 -11 src/sys/dev/cxgb/cxgb_main.c 1.1 +47 -0 src/sys/dev/cxgb/cxgb_t3fw.c (new) 1.1 +6621 -0 src/sys/dev/cxgb/cxgb_t3fw.h (new) 1.2 +0 -496 src/sys/dev/cxgb/t3fw-5.0.0.bin.gz.uu (dead) 1.13 +1 -0 src/sys/modules/cxgb/Makefile 1.7 +1 -10 src/sys/modules/cxgb/cxgb/Makefile 1.1 +8 -0 src/sys/modules/cxgb/cxgb_t3fw/Makefile (new) From delphij at FreeBSD.org Tue Feb 26 03:03:18 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Feb 26 03:03:24 2008 Subject: cvs commit: src/sbin/fsck_ffs setup.c Message-ID: <200802260303.m1Q33HTJ082722@repoman.freebsd.org> delphij 2008-02-26 03:03:17 UTC FreeBSD src repository Modified files: sbin/fsck_ffs setup.c Log: Be more careful when checking superblock. We have already checked whether fs_bsize is larger than MINBSIZE, which is larger than the value that is used to compared with fs_bsize, the sizeof fs, so the check followed, will be always true. By inspecting the code and some old commit log, I believe that the check must be that *fs_sbsize* is larger than sizeof fs. We round up the size to nearest dev_bsize, as the smallest accepted fs_sbsize, personally, I think this can be even changed to equal, because this number is mostly an invariant in file systems. With this check, fsck_ffs(8) will be more picky and has better chance rejecting bad first superblock rather than referring to bad value it supplied, thus gives better chance for it to check the filesystem carefully. Revision Changes Path 1.51 +1 -1 src/sbin/fsck_ffs/setup.c From delphij at FreeBSD.org Tue Feb 26 03:05:48 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Feb 26 03:05:50 2008 Subject: cvs commit: src/sbin/fsck_ffs pass2.c Message-ID: <200802260305.m1Q35mbJ082821@repoman.freebsd.org> delphij 2008-02-26 03:05:48 UTC FreeBSD src repository Modified files: sbin/fsck_ffs pass2.c Log: In pass2check(): Be more strict with the inode information before further processing the information. chk1 is more prone to crash when insane information is provided by the on-disk inode, and does not even work if the inode is being smarshed badly. Revision Changes Path 1.27 +2 -0 src/sbin/fsck_ffs/pass2.c From delphij at FreeBSD.org Tue Feb 26 03:08:23 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Feb 26 03:08:28 2008 Subject: cvs commit: src/sbin/fsck_ffs pass1.c Message-ID: <200802260308.m1Q38Mk9082964@repoman.freebsd.org> delphij 2008-02-26 03:08:22 UTC FreeBSD src repository Modified files: sbin/fsck_ffs pass1.c Log: In pass1(), cap inosused to fs_ipg rather than allowing arbitrary number read from cylinder group. Chances that we read a smarshed cylinder group, and we can not 100% trust information it has supplied. fsck_ffs(8) will crash otherwise for some cases. Revision Changes Path 1.44 +4 -2 src/sbin/fsck_ffs/pass1.c From kientzle at FreeBSD.org Tue Feb 26 07:17:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Tue Feb 26 07:17:50 2008 Subject: cvs commit: src/lib/libarchive archive_endian.h archive_read_support_format_zip.c Message-ID: <200802260717.m1Q7Hlc9004696@repoman.freebsd.org> kientzle 2008-02-26 07:17:47 UTC FreeBSD src repository Modified files: lib/libarchive archive_endian.h archive_read_support_format_zip.c Log: Rename the archive_endian.h functions to avoid name clashes with NetBSD's sys/endian.h file. Pointed out by: Joerg Sonnenberger Revision Changes Path 1.2 +18 -18 src/lib/libarchive/archive_endian.h 1.21 +23 -21 src/lib/libarchive/archive_read_support_format_zip.c From rrs at FreeBSD.org Tue Feb 26 11:30:11 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Feb 26 11:30:13 2008 Subject: cvs commit: src/sys/netinet sctp_output.c Message-ID: <200802261130.m1QBUBp7027036@repoman.freebsd.org> rrs 2008-02-26 11:30:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet sctp_output.c Log: Purge a stray #ifdef __NETBSD__ from the file. Revision Changes Path 1.58.2.4 +0 -4 src/sys/netinet/sctp_output.c From rrs at FreeBSD.org Tue Feb 26 11:31:12 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Feb 26 11:31:22 2008 Subject: cvs commit: src/sys/netinet sctp_pcb.c Message-ID: <200802261131.m1QBVCFg027107@repoman.freebsd.org> rrs 2008-02-26 11:31:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet sctp_pcb.c Log: - For VRF enabled platforms, fix a memory leak when a VRF is deleted Obtained from: snprasad@cisco.com Revision Changes Path 1.62.2.4 +4 -0 src/sys/netinet/sctp_pcb.c From maxim at FreeBSD.org Tue Feb 26 11:32:58 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 11:34:35 2008 Subject: cvs commit: src/sys/cam/scsi scsi_da.c Message-ID: <200802260937.m1Q9b9D6020835@repoman.freebsd.org> maxim 2008-02-26 09:37:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam/scsi scsi_da.c Log: MFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision. Revision Changes Path 1.224.2.1 +1 -1 src/sys/cam/scsi/scsi_da.c From rrs at FreeBSD.org Tue Feb 26 11:33:24 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Feb 26 11:35:57 2008 Subject: cvs commit: src/sys/netinet sctp_usrreq.c Message-ID: <200802261133.m1QBXC9Y027200@repoman.freebsd.org> rrs 2008-02-26 11:33:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet sctp_usrreq.c Log: - Fix a bug in the connect() routine. A ref count was incremented in the wrong place, which could cause a incorrect accounting undre certain error conditions. And worse when we have a duplicate connect we called TCB_LOCK() not TCB_UNLOCK().... which will lead to a system lockup (escalting lock wait scenario). Revision Changes Path 1.48.2.4 +2 -2 src/sys/netinet/sctp_usrreq.c From rwatson at FreeBSD.org Tue Feb 26 11:44:42 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 11:44:50 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 ixp425.c Message-ID: <200802261144.m1QBifIs027618@repoman.freebsd.org> rwatson 2008-02-26 11:44:41 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 ixp425.c Log: On the ixp425, when we fail to initialize the memory rman instance, the panic message should read "memory", not "IRQ". MFC after: 3 days Revision Changes Path 1.9 +1 -1 src/sys/arm/xscale/ixp425/ixp425.c From rwatson at FreeBSD.org Tue Feb 26 11:45:33 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 11:45:35 2008 Subject: cvs commit: src/sys/arm/include _bus.h Message-ID: <200802261145.m1QBjWCf027698@repoman.freebsd.org> rwatson 2008-02-26 11:45:32 UTC FreeBSD src repository Modified files: sys/arm/include _bus.h Log: Remove errant % in license comment. MFC after: 3 days Revision Changes Path 1.2 +1 -1 src/sys/arm/include/_bus.h From maxim at FreeBSD.org Tue Feb 26 11:47:06 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 11:47:15 2008 Subject: cvs commit: src/etc/defaults rc.conf src/share/man/man5 rc.conf.5 Message-ID: <200802261030.m1QAUJvV023861@repoman.freebsd.org> maxim 2008-02-26 10:30:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/defaults rc.conf share/man/man5 rc.conf.5 Log: o Backout rev. 1.252.2.39 rc.conf and rev. 1.256.2.35 rc.conf.5: there is TCP_DROP_SYNFIN in RELENG_6 still. PR: kern/120587 Revision Changes Path 1.252.2.43 +2 -0 src/etc/defaults/rc.conf 1.256.2.36 +5 -1 src/share/man/man5/rc.conf.5 From scottl at FreeBSD.org Tue Feb 26 11:47:46 2008 From: scottl at FreeBSD.org (Scott Long) Date: Tue Feb 26 11:49:18 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200802260809.m1Q89TEh007654@repoman.freebsd.org> scottl 2008-02-26 08:09:29 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c Log: Add a missing unlock to an error path fro XPT_DEBUG handling. Revision Changes Path 1.196 +1 -0 src/sys/cam/cam_xpt.c From rwatson at FreeBSD.org Tue Feb 26 11:49:34 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 11:50:35 2008 Subject: cvs commit: src/sys/fs/coda TODO Message-ID: <200802260927.m1Q9RlF3020394@repoman.freebsd.org> rwatson 2008-02-26 09:27:47 UTC FreeBSD src repository Modified files: sys/fs/coda TODO Log: Add "Make MPSAFE" to the Coda todo list. MFC after: 3 days Revision Changes Path 1.6 +1 -0 src/sys/fs/coda/TODO From maxim at FreeBSD.org Tue Feb 26 11:51:52 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 11:56:41 2008 Subject: cvs commit: src/sbin/setkey parse.y Message-ID: <200802260943.m1Q9hiGX021063@repoman.freebsd.org> maxim 2008-02-26 09:43:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/setkey parse.y Log: MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol name for spdadd. Revision Changes Path 1.9.2.1 +1 -0 src/sbin/setkey/parse.y From kib at FreeBSD.org Tue Feb 26 11:53:01 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Feb 26 12:00:31 2008 Subject: cvs commit: src/sys/fs/fdescfs fdesc_vnops.c Message-ID: <200802261010.m1QAAtgK023216@repoman.freebsd.org> kib 2008-02-26 10:10:55 UTC FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: Rename fdescfs vnode from "fdesc" to "fdescfs" to avoid name collision of the vnode lock with the fdesc_mtx mutex. Having different kinds of locks with the same name confuses witness. Revision Changes Path 1.107 +1 -1 src/sys/fs/fdescfs/fdesc_vnops.c From peterjeremy at optushome.com.au Tue Feb 26 11:53:05 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Tue Feb 26 12:00:44 2008 Subject: cvs commit: src/usr.bin/du du.1 du.c In-Reply-To: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> References: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> Message-ID: <20080226094931.GT83599@server.vk2pj.dyndns.org> On Mon, Feb 25, 2008 at 07:06:43PM +0000, Giorgos Keramidas wrote: > Implement from scratch a -l option for du(1), to match the same option > of the GNU utility. The default behavior of our original `du' is to > count hardlinked files only once for each invocation of the utility. > With the new -l option they count towards the final size every time > they are found. The third possible option is to amortize the size of hardlinked files across all their occurrences by adding size/nlinks each time they are found. IMHO, this results in the least "surprises" in the result. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080226/7faf3cbb/attachment.pgp From maxim at FreeBSD.org Tue Feb 26 11:53:48 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 12:02:44 2008 Subject: cvs commit: src/sbin/setkey parse.y Message-ID: <200802260944.m1Q9ia5q021127@repoman.freebsd.org> maxim 2008-02-26 09:44:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/setkey parse.y Log: MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol name for spdadd. Revision Changes Path 1.8.2.2 +1 -0 src/sbin/setkey/parse.y From maxim at FreeBSD.org Tue Feb 26 11:55:59 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 12:08:04 2008 Subject: cvs commit: src/sys/cam/scsi scsi_da.c Message-ID: <200802260938.m1Q9c99Y020875@repoman.freebsd.org> maxim 2008-02-26 09:38:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/cam/scsi scsi_da.c Log: MFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision. Revision Changes Path 1.180.2.14 +1 -1 src/sys/cam/scsi/scsi_da.c From maxim at FreeBSD.org Tue Feb 26 11:56:01 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 12:08:10 2008 Subject: cvs commit: src/sbin/ipfw ipfw2.c Message-ID: <200802260931.m1Q9VEvo020555@repoman.freebsd.org> maxim 2008-02-26 09:31:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ipfw ipfw2.c Log: MFC rev. 1.112: fix command line parser bug: "ipfw nat 1 config if" requires an argument. Revision Changes Path 1.108.2.2 +2 -0 src/sbin/ipfw/ipfw2.c From maxim at FreeBSD.org Tue Feb 26 11:56:13 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Feb 26 12:08:22 2008 Subject: cvs commit: src/sys/dev/puc pucdata.c Message-ID: <200802260933.m1Q9Xvjm020683@repoman.freebsd.org> maxim 2008-02-26 09:33:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/puc pucdata.c Log: MFC rev. 1.60: add Moxa Technologies CP-104EL PCI Express 4 port Serial card. Revision Changes Path 1.59.2.1 +6 -0 src/sys/dev/puc/pucdata.c From kib at FreeBSD.org Tue Feb 26 12:16:35 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Feb 26 12:16:45 2008 Subject: cvs commit: src/sys/kern vnode_if.src Message-ID: <200802261216.m1QCGZHD029991@repoman.freebsd.org> kib 2008-02-26 12:16:35 UTC FreeBSD src repository Modified files: sys/kern vnode_if.src Log: Do not assert any locks for VOP_PRINT. In particular, do not assert that the vnode interlock is not held. vn_printf() already correctly handles locked and unlocked vnode interlocks, and all the in-tree vop_print methods are interlock-agnostic. Some code calls vprintf() with the vnode interlock held, that causes unjustified panics with INVARIANTS (ffs_syncvnode() as example). Reported by: Peter Holm Revision Changes Path 1.90 +1 -1 src/sys/kern/vnode_if.src From rwatson at FreeBSD.org Tue Feb 26 12:30:09 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 12:30:19 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <47C29A07.2070908@FreeBSD.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> Message-ID: <20080226122936.T90776@fledge.watson.org> On Mon, 25 Feb 2008, Kris Kennaway wrote: > David E. O'Brien wrote: >> obrien 2008-02-25 08:55:02 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_6) >> sys/fs/nullfs null_vfsops.c sys/fs/nwfs >> nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/ufs/ufs >> quota.h ufs_quota.c ufs_vfsops.c sys/kern vfs_default.c >> vfs_vnops.c vnode_if.src sys/sys mount.h vnode.h Log: >> MFC: Eradicate caddr_t from the VFS API. > > Does this change the KAPI on a stable branch? Yes. I ran into this specific issue in updating Arla -- caddr_t -> void * changes the function prototype in a way that breaks the Arla build. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Tue Feb 26 12:33:32 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 12:33:36 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <86d4qli8a1.fsf@ds4.des.no> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> Message-ID: <20080226123107.N90776@fledge.watson.org> On Mon, 25 Feb 2008, Dag-Erling Sm?rgrav wrote: > No, it changes neither the API nor the ABI. It replaces caddr_t (which is > typedef'd to char *) with void *, and those two are compatible types. I'm sorry, but I disagree. The case you failed to test involves a function pointer typedef. Here's the test I had to add to Arla to detect the change with autoconf; without this autoconf mess and changed prototypes in the Arla nnpfs code, I can't build nnpfs on -CURRENT, and presumably now also on our -STABLE branches: AC_DEFUN([AC_BSD_FUNC_VFS_QUOTACTL], [ AC_CACHE_CHECK(if VFS_QUOTACTL takes caddr_t argument, ac_cv_func_vfs_quotactl_caddr, AC_TRY_COMPILE_KERNEL([ #ifdef HAVE_SYS_CDEFS_H #include #endif #include #include #include #include #include #include vfs_quotactl_t foo_quotactl; int foo_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t arg, struct thread *td) { return (0); } ],[], ac_cv_func_vfs_quotctl_caddr=yes, ac_cv_func_vfs_quotactl_caddr=no)) if test "$ac_cv_func_vfs_quotactl_caddr" = yes; then AC_DEFINE(HAVE_VFS_QUOTACTL_CADDR, 1, [define if VFS_QUOTACTL takes a caddr_t argument]) fi ]) From mav at FreeBSD.org Tue Feb 26 12:39:29 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 26 12:39:30 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802261239.m1QCdTV4031094@repoman.freebsd.org> mav 2008-02-26 12:39:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_base.c Log: MFC rev. 1.147 Fix incorrect constant used in rev. 1.146 that broke node writer locking. Revision Changes Path 1.135.2.4 +1 -1 src/sys/netgraph/ng_base.c From mav at FreeBSD.org Tue Feb 26 12:40:07 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Tue Feb 26 12:40:14 2008 Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200802261240.m1QCe6Hn031175@repoman.freebsd.org> mav 2008-02-26 12:40:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph ng_base.c Log: MFC rev. 1.147 Fix incorrect constant used in rev. 1.146 that broke node writer locking. Revision Changes Path 1.102.2.16 +1 -1 src/sys/netgraph/ng_base.c From rwatson at FreeBSD.org Tue Feb 26 12:40:38 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 12:40:43 2008 Subject: cvs commit: src/sys/fs/fdescfs fdesc_vnops.c In-Reply-To: <200802261010.m1QAAtgK023216@repoman.freebsd.org> References: <200802261010.m1QAAtgK023216@repoman.freebsd.org> Message-ID: <20080226123817.L90776@fledge.watson.org> On Tue, 26 Feb 2008, Konstantin Belousov wrote: > kib 2008-02-26 10:10:55 UTC > > FreeBSD src repository > > Modified files: > sys/fs/fdescfs fdesc_vnops.c > Log: > Rename fdescfs vnode from "fdesc" to "fdescfs" to avoid name collision > of the vnode lock with the fdesc_mtx mutex. Having different kinds of > locks with the same name confuses witness. I was wondering about this also--introducing locks implicitly named the same as the vnode type will cause other related problems over time. At the very least, we should be doing some name munging, I think, so that the lock name becomes foo_vnode_mtx. I realize this is somewhat complicated by the fact that WITNESS stores a pointer to the name rather than the name itself. I ran into a related problem with Coda when unloading the Coda module -- because vnodes were left around, presumably in a deadfs state, on module unload, WITNESS was panicking when it bumped into one of the locks on those vnodes as it tried to compare string names to a string in the Coda module... Robert N M Watson Computer Laboratory University of Cambridge From des at des.no Tue Feb 26 12:57:23 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Tue Feb 26 12:57:28 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080226123107.N90776@fledge.watson.org> (Robert Watson's message of "Tue\, 26 Feb 2008 12\:33\:31 +0000 \(GMT\)") References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> Message-ID: <86r6ezswnu.fsf@ds4.des.no> Robert Watson writes: > Dag-Erling Sm?rgrav writes: > > No, it changes neither the API nor the ABI. It replaces caddr_t > > (which is typedef'd to char *) with void *, and those two are > > compatible types. > I'm sorry, but I disagree. The case you failed to test involves a > function pointer typedef. Umm, OK, I didn't spot that. It's unfortunate that David didn't change our own file system code to match (or even build LINT, which would have shown him the problem), so that RELENG_6 current doesn't build. Still, I would argue for fixing the code rather than reverting the change. > Here's the test I had to add to Arla to detect the change with > autoconf; without this autoconf mess and changed prototypes in the > Arla nnpfs code, I can't build nnpfs on -CURRENT, and presumably now > also on our -STABLE branches: Arguably, Arla has been broken for more than two years and you only just woke up and noticed. If you had tried to build Arla on -CURRENT at any point since 2005/12/14, you would have noticed and presumably fixed it. DES -- Dag-Erling Sm?rgrav - des@des.no From keramida at ceid.upatras.gr Tue Feb 26 13:08:19 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Feb 26 13:08:30 2008 Subject: cvs commit: src/usr.bin/du du.1 du.c In-Reply-To: <20080226094931.GT83599@server.vk2pj.dyndns.org> References: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> <20080226094931.GT83599@server.vk2pj.dyndns.org> Message-ID: <20080226124859.GA3618@kobe.laptop> On 2008-02-26 20:49, Peter Jeremy wrote: >On Mon, Feb 25, 2008 at 07:06:43PM +0000, Giorgos Keramidas wrote: >> Implement from scratch a -l option for du(1), to match the same option >> of the GNU utility. The default behavior of our original `du' is to >> count hardlinked files only once for each invocation of the utility. >> With the new -l option they count towards the final size every time >> they are found. > > The third possible option is to amortize the size of hardlinked files > across all their occurrences by adding size/nlinks each time they are > found. IMHO, this results in the least "surprises" in the result. Each command-line argument is traversed separately, so I'm a bit confused about what the amortization gains us. From rrs at FreeBSD.org Tue Feb 26 13:29:05 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Feb 26 13:29:13 2008 Subject: cvs commit: src/sys/netinet sctp_pcb.c Message-ID: <200802261329.m1QDT5mq043255@repoman.freebsd.org> rrs 2008-02-26 13:29:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet sctp_pcb.c Log: - Fix patching error ... opps. (missing ;) Revision Changes Path 1.62.2.5 +1 -1 src/sys/netinet/sctp_pcb.c From rwatson at FreeBSD.org Tue Feb 26 13:29:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 13:30:04 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <86r6ezswnu.fsf@ds4.des.no> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> Message-ID: <20080226132155.W90776@fledge.watson.org> On Tue, 26 Feb 2008, Dag-Erling Sm?rgrav wrote: > Robert Watson writes: >> Dag-Erling Sm?rgrav writes: >>> No, it changes neither the API nor the ABI. It replaces caddr_t (which is >>> typedef'd to char *) with void *, and those two are compatible types. >> I'm sorry, but I disagree. The case you failed to test involves a function >> pointer typedef. > > Umm, OK, I didn't spot that. It's unfortunate that David didn't change our > own file system code to match (or even build LINT, which would have shown > him the problem), so that RELENG_6 current doesn't build. > > Still, I would argue for fixing the code rather than reverting the change. > >> Here's the test I had to add to Arla to detect the change with autoconf; >> without this autoconf mess and changed prototypes in the Arla nnpfs code, I >> can't build nnpfs on -CURRENT, and presumably now also on our -STABLE >> branches: > > Arguably, Arla has been broken for more than two years and you only just > woke up and noticed. If you had tried to build Arla on -CURRENT at any > point since 2005/12/14, you would have noticed and presumably fixed it. You're missing the point. This isn't about Arla being broken on 7.x and 8.x -- we knew that already, and hence my already having autoconf code to detect and adapt to the difference in the 7.x and 8.x KPIs. What this is about is the fact that Arla *did* work on 6.x before this change, and now it's broken. This is because the KPI has been broken, as our KPI definition is pretty pragmatic (undocumented): third party kernel modules that implement the quotactl vfsop may well no longer compile. I couldn't tell you which those are off-hand, but it wouldn't surprise me to hear that there are other third party kernel modules that declare quotactl implementations. I'm fine with us discussing how committed we are to VFS being a KPI we don't break in -STABLE branches, but I'm not fine with the claim that the KPI wasn't broken by this change. If pushed on the breaking the KPI point, I would come down on the side that says 6.x is a pretty mature branch at this point, and that breaking the KPI for purely cosmetic reasons (i.e., caddr_t -> void *) doesn't cut it. I would be more swayed by an argument involving a necessary KPI change to address a critical bugfix, such as a race condition that results from a poor existing interface. Robert N M Watson Computer Laboratory University of Cambridge From des at des.no Tue Feb 26 13:43:16 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Tue Feb 26 13:43:26 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080226132155.W90776@fledge.watson.org> (Robert Watson's message of "Tue\, 26 Feb 2008 13\:29\:57 +0000 \(GMT\)") References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> <20080226132155.W90776@fledge.watson.org> Message-ID: <86bq63suj5.fsf@ds4.des.no> Robert Watson writes: > I'm fine with us discussing how committed we are to VFS being a KPI we > don't break in -STABLE branches, but I'm not fine with the claim that > the KPI wasn't broken by this change. If pushed on the breaking the > KPI point, I would come down on the side that says 6.x is a pretty > mature branch at this point, and that breaking the KPI for purely > cosmetic reasons (i.e., caddr_t -> void *) doesn't cut it. I would be > more swayed by an argument involving a necessary KPI change to address > a critical bugfix, such as a race condition that results from a poor > existing interface. As far as I can tell, David MFCed that patch to avoid merge conflicts with some other patches, but you'll have to ask him for the details. DES -- Dag-Erling Sm?rgrav - des@des.no From kensmith at FreeBSD.org Tue Feb 26 14:35:02 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Tue Feb 26 14:35:13 2008 Subject: cvs commit: src/usr.sbin/pkg_install/add main.c Message-ID: <200802261435.m1QEZ1Al047052@repoman.freebsd.org> kensmith 2008-02-26 14:35:01 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/add main.c Log: Sync list of directories to look for packages in to current releases available. MFC after: 3 days Revision Changes Path 1.76 +3 -1 src/usr.sbin/pkg_install/add/main.c From gahr at FreeBSD.org Tue Feb 26 15:31:30 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Tue Feb 26 15:31:41 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.freebsd Message-ID: <200802261531.m1QFVUEB050278@repoman.freebsd.org> gahr 2008-02-26 15:31:30 UTC FreeBSD src repository (ports committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: - Add my birthday Approved by: miwi (mentor) Revision Changes Path 1.225 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From gahr at FreeBSD.org Tue Feb 26 15:38:47 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Tue Feb 26 15:38:54 2008 Subject: cvs commit: src/share/misc committers-ports.dot Message-ID: <200802261538.m1QFckw2050540@repoman.freebsd.org> gahr 2008-02-26 15:38:46 UTC FreeBSD src repository (ports committer) Modified files: share/misc committers-ports.dot Log: - Add myself to ports committers and to miwi's mentee list Approved by: miwi (mentor) Revision Changes Path 1.66 +2 -0 src/share/misc/committers-ports.dot From obrien at FreeBSD.org Tue Feb 26 16:46:12 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Tue Feb 26 16:46:16 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080226132155.W90776@fledge.watson.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> <20080226132155.W90776@fledge.watson.org> Message-ID: <20080226164608.GF23211@dragon.NUXI.org> On Tue, Feb 26, 2008 at 01:29:57PM +0000, Robert Watson wrote: > On Tue, 26 Feb 2008, Dag-Erling Smørgrav wrote: >> Umm, OK, I didn't spot that. It's unfortunate that David didn't change >> our own file system code to match (or even build LINT, which would have >> shown him the problem), so that RELENG_6 current doesn't build. Uggg!! Very sorry about that - I was using GENERIC so I could keep an up to date bootable kernel between the commits. I wish LINT was a usable kernel... -- -- David (obrien@FreeBSD.org) From philip at FreeBSD.org Tue Feb 26 17:11:07 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Tue Feb 26 17:11:13 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802261711.m1QHB7TM064990@repoman.freebsd.org> philip 2008-02-26 17:11:06 UTC FreeBSD src repository Modified files: . access Log: Take jdp's commit bit into safe-keeping, per his request. Approved by: core (implicit) Revision Changes Path 1.859 +0 -1 CVSROOT/access From alc at FreeBSD.org Tue Feb 26 17:16:49 2008 From: alc at FreeBSD.org (Alan Cox) Date: Tue Feb 26 17:16:51 2008 Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <200802261716.m1QHGmnX065154@repoman.freebsd.org> alc 2008-02-26 17:16:48 UTC FreeBSD src repository Modified files: sys/vm vm_object.c Log: Correct a long-standing error in vm_object_page_remove(). Specifically, pmap_remove_all() must not be called on fictitious pages. To date, fictitious pages have been allocated from zeroed memory, effectively hiding this problem because the fictitious pages appear to have an empty pv list. Submitted by: Kostik Belousov Rewrite the comments describing vm_object_page_remove() to better describe what it does. Add an assertion. Reviewed by: Kostik Belousov MFC after: 1 week Revision Changes Path 1.392 +25 -6 src/sys/vm/vm_object.c From pav at FreeBSD.org Tue Feb 26 18:12:33 2008 From: pav at FreeBSD.org (Pav Lucistnik) Date: Tue Feb 26 18:12:35 2008 Subject: cvs commit: src/sys/dev/usb ubsa.c usbdevs Message-ID: <200802261812.m1QICWX6068205@repoman.freebsd.org> pav 2008-02-26 18:12:32 UTC FreeBSD src repository (doc,ports committer) Modified files: sys/dev/usb ubsa.c usbdevs Log: - Add support for Axesstel MV100H, as used on CDMA network operated by O2 CZ Revision Changes Path 1.33 +2 -0 src/sys/dev/usb/ubsa.c 1.339 +4 -0 src/sys/dev/usb/usbdevs From remko at FreeBSD.org Tue Feb 26 18:19:40 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Feb 26 18:19:46 2008 Subject: cvs commit: src/sys/dev/usb usbdevs uscanner.c Message-ID: <200802261819.m1QIJdII068505@repoman.freebsd.org> remko 2008-02-26 18:19:39 UTC FreeBSD src repository Modified files: sys/dev/usb usbdevs uscanner.c Log: Add support for the EPSON CX5400 scanner PR: usb/120980 Submitted by: Christophe Etcheverry MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) Revision Changes Path 1.340 +1 -0 src/sys/dev/usb/usbdevs 1.90 +1 -0 src/sys/dev/usb/uscanner.c From obrien at FreeBSD.org Tue Feb 26 18:19:50 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Feb 26 18:19:51 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c src/sys/sys mount.h vnode.h src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c Message-ID: <200802261819.m1QIJnTO068648@repoman.freebsd.org> obrien 2008-02-26 18:19:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/nullfs null_vfsops.c sys/fs/nwfs nwfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/kern vfs_default.c vfs_vnops.c sys/sys mount.h vnode.h sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c Log: Back out MFC of "eradicate caddr_t". Turn's out Kris' suspisions were right - from a suttle code compatability point of view. Robert Watson found that ARLA code had something like this: typedef int (*foo_t)(caddr_t); ... foo_t fred; The compile gets all snarky when it finds int fred(void *) { .. }. Revision Changes Path 1.72.2.7 +1 -1 src/sys/fs/nullfs/null_vfsops.c 1.40.2.5 +2 -2 src/sys/fs/nwfs/nwfs_vfsops.c 1.34.2.4 +2 -2 src/sys/fs/smbfs/smbfs_vfsops.c 1.127.2.6 +1 -1 src/sys/kern/vfs_default.c 1.233.2.9 +4 -4 src/sys/kern/vfs_vnops.c 1.197.2.12 +1 -1 src/sys/sys/mount.h 1.304.2.11 +2 -2 src/sys/sys/vnode.h 1.27.2.4 +4 -4 src/sys/ufs/ufs/quota.h 1.74.2.9 +10 -10 src/sys/ufs/ufs/ufs_quota.c 1.45.2.5 +1 -1 src/sys/ufs/ufs/ufs_vfsops.c From rwatson at FreeBSD.org Tue Feb 26 18:25:53 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Feb 26 18:25:58 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c src/sys/sys mount.h vnode.h src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c In-Reply-To: <200802261819.m1QIJnTO068648@repoman.freebsd.org> References: <200802261819.m1QIJnTO068648@repoman.freebsd.org> Message-ID: <20080226182149.D19847@fledge.watson.org> On Tue, 26 Feb 2008, David E. O'Brien wrote: > Modified files: (Branch: RELENG_6) > sys/fs/nullfs null_vfsops.c > sys/fs/nwfs nwfs_vfsops.c > sys/fs/smbfs smbfs_vfsops.c > sys/kern vfs_default.c vfs_vnops.c > sys/sys mount.h vnode.h > sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c > Log: > Back out MFC of "eradicate caddr_t". > Turn's out Kris' suspisions were right - from a suttle code compatability > point of view. Robert Watson found that ARLA code had something like this: > typedef int (*foo_t)(caddr_t); ... foo_t fred; > The compile gets all snarky when it finds int fred(void *) { .. }. To be specific, it's about code on the order of the following -- in the include file: vfs_quotactl_t nnpfs_quotactl; In the .c file here nnpfs_quotactl is implemented: int nnpfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, d_thread_t *p) { ... } In another .c file where nnpfs_quotactl is used: .vfs_quotactl = nnpfs_quotactl, The compile keels over when it discovers that nnpfs_quotactl doesn't match the implementation because it doesn't match the typedef. So it's actually our typedef, not Arla's typedef. In any case, thanks for backing this out -- while I like the change in principle (and am glad it's in newer releases), this was a case of compatibility problems outweighing benefits. Robert N M Watson Computer Laboratory University of Cambridge From obrien at FreeBSD.org Tue Feb 26 18:44:33 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Tue Feb 26 18:44:37 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c src/sys/sys mount.h vnode.h src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c In-Reply-To: <20080226182149.D19847@fledge.watson.org> References: <200802261819.m1QIJnTO068648@repoman.freebsd.org> <20080226182149.D19847@fledge.watson.org> Message-ID: <20080226184431.GA15264@dragon.NUXI.org> On Tue, Feb 26, 2008 at 06:25:51PM +0000, Robert Watson wrote: > To be specific, it's about code on the order of the following -- in the > include file: > vfs_quotactl_t nnpfs_quotactl; > > In the .c file here nnpfs_quotactl is implemented: > int > nnpfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, > d_thread_t *p) > { .. > In another .c file where nnpfs_quotactl is used: > .vfs_quotactl = nnpfs_quotactl, This is one of the major warts I find with the C language. You cannot use the typedef'ed type used in the declaration in the definition - thus you always get these type mis-matches that a strongly typed language would barf on. > The compile keels over when it discovers that nnpfs_quotactl doesn't match > the implementation because it doesn't match the typedef. So it's actually > our typedef, not Arla's typedef. With C its just usually the types are based on the same thing. -- -- David (obrien@FreeBSD.org) From jhb at freebsd.org Tue Feb 26 19:06:57 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Feb 26 19:07:02 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <200802260302.m1Q32KOT081487@repoman.freebsd.org> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> Message-ID: <200802261133.00942.jhb@freebsd.org> On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > kmacy 2008-02-26 03:02:20 UTC > > FreeBSD src repository > > Modified files: > sys/dev/cxgb cxgb_main.c > sys/modules/cxgb Makefile > sys/modules/cxgb/cxgb Makefile > sys/conf NOTES files > Added files: > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > sys/modules/cxgb/cxgb_t3fw Makefile > Removed files: > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > Log: > Move firmware in to separate module that can be compiled statically in to the kernel > Add utility for converting future firmware revs to a C header file Did you consider using firmware(9)? It already handles wrapping a binary blob into a kernel module for you and can autoload the firmware on demand. -- John Baldwin From remko at FreeBSD.org Tue Feb 26 19:28:35 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Feb 26 19:28:42 2008 Subject: cvs commit: src/sys/pci if_ti.c Message-ID: <200802261928.m1QJSYv3073448@repoman.freebsd.org> remko 2008-02-26 19:28:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_ti.c Log: MFC rev 1.131 if_ti.c Set the baudrate for if_ti. PR: kern/40516 Submitted by: "Jin Guojun[VFF]" Approved by: imp (mentor, implicit for minor changes) MFC After: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.107.2.6 +1 -0 src/sys/pci/if_ti.c From remko at FreeBSD.org Tue Feb 26 19:29:32 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Feb 26 19:29:38 2008 Subject: cvs commit: src/sys/dev/ti if_ti.c Message-ID: <200802261929.m1QJTWhp073548@repoman.freebsd.org> remko 2008-02-26 19:29:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ti if_ti.c Log: MFC rev 1.131 if_ti.c Set the baudrate for if_ti. PR: kern/40516 Submitted by: "Jin Guojun[VFF]" Approved by: imp (mentor, implicit for minor changes) MFC After: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.128.2.1 +1 -0 src/sys/dev/ti/if_ti.c From davidc at FreeBSD.org Tue Feb 26 20:10:06 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 20:10:12 2008 Subject: cvs commit: src/share/man/man9 vrefcnt.9 Message-ID: <200802262010.m1QKA5wB076551@repoman.freebsd.org> davidc 2008-02-26 20:10:05 UTC FreeBSD src repository Added files: share/man/man9 vrefcnt.9 Log: Add new man page. Revision Changes Path 1.1 +53 -0 src/share/man/man9/vrefcnt.9 (new) From davidc at FreeBSD.org Tue Feb 26 20:10:32 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 20:10:45 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802262010.m1QKAWYg076602@repoman.freebsd.org> davidc 2008-02-26 20:10:32 UTC FreeBSD src repository Modified files: share/man/man9 Makefile Log: Add vrefcnt.9 to the build. Revision Changes Path 1.327 +1 -0 src/share/man/man9/Makefile From davidc at FreeBSD.org Tue Feb 26 20:11:38 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 20:11:40 2008 Subject: cvs commit: src/share/man/man9 vgone.9 Message-ID: <200802262011.m1QKBb6G076715@repoman.freebsd.org> davidc 2008-02-26 20:11:37 UTC FreeBSD src repository Modified files: share/man/man9 vgone.9 Log: Minor grammar fixup. Revision Changes Path 1.6 +1 -1 src/share/man/man9/vgone.9 From davidc at FreeBSD.org Tue Feb 26 20:13:09 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 20:13:11 2008 Subject: cvs commit: src/share/man/man9 vput.9 vref.9 vrele.9 Message-ID: <200802262013.m1QKD8Ne076790@repoman.freebsd.org> davidc 2008-02-26 20:13:08 UTC FreeBSD src repository Modified files: share/man/man9 vput.9 vref.9 vrele.9 Log: Refer to vrefcnt(9) Revision Changes Path 1.12 +2 -1 src/share/man/man9/vput.9 1.14 +1 -0 src/share/man/man9/vref.9 1.13 +2 -1 src/share/man/man9/vrele.9 From davidc at FreeBSD.org Tue Feb 26 20:25:02 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 20:25:09 2008 Subject: cvs commit: src/share/man/man9 vhold.9 Message-ID: <200802262025.m1QKP1YC077710@repoman.freebsd.org> davidc 2008-02-26 20:25:01 UTC FreeBSD src repository Modified files: share/man/man9 vhold.9 Log: Document vholdl(9) No longer refer to vbusy(9) or vfree(9) Revision Changes Path 1.6 +11 -11 src/share/man/man9/vhold.9 From ru at FreeBSD.org Tue Feb 26 20:33:53 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Tue Feb 26 20:34:03 2008 Subject: cvs commit: src/lib/libc/sys readlink.2 src/include unistd.h Message-ID: <200802262033.m1QKXqvH078017@repoman.freebsd.org> ru 2008-02-26 20:33:52 UTC FreeBSD src repository Modified files: lib/libc/sys readlink.2 include unistd.h Log: Added the "restrict" type-qualifier to the readlink() prototype. Revision Changes Path 1.84 +1 -1 src/include/unistd.h 1.16 +2 -2 src/lib/libc/sys/readlink.2 From davidc at FreeBSD.org Tue Feb 26 21:03:20 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 21:03:27 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802262103.m1QL3KDu089133@repoman.freebsd.org> davidc 2008-02-26 21:03:20 UTC FreeBSD src repository Modified files: share/man/man9 Makefile Log: Link vholdl.9 to vhold.9 Revision Changes Path 1.328 +1 -0 src/share/man/man9/Makefile From davidc at FreeBSD.org Tue Feb 26 21:09:55 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 21:09:57 2008 Subject: cvs commit: src/share/man/man9 insmntque.9 Message-ID: <200802262109.m1QL9sEh095082@repoman.freebsd.org> davidc 2008-02-26 21:09:54 UTC FreeBSD src repository Added files: share/man/man9 insmntque.9 Log: Add new man page. Revision Changes Path 1.1 +62 -0 src/share/man/man9/insmntque.9 (new) From davidc at FreeBSD.org Tue Feb 26 21:11:05 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 21:11:12 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802262111.m1QLB5a2095223@repoman.freebsd.org> davidc 2008-02-26 21:11:05 UTC FreeBSD src repository Modified files: share/man/man9 Makefile Log: Add insmntque.9 to the build. Revision Changes Path 1.329 +1 -0 src/share/man/man9/Makefile From davidc at FreeBSD.org Tue Feb 26 21:40:00 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 21:40:16 2008 Subject: cvs commit: src/share/man/man9 vfs_mountedfrom.9 Message-ID: <200802262139.m1QLdxQI096048@repoman.freebsd.org> davidc 2008-02-26 21:39:59 UTC FreeBSD src repository Added files: share/man/man9 vfs_mountedfrom.9 Log: Add new man page. Revision Changes Path 1.1 +55 -0 src/share/man/man9/vfs_mountedfrom.9 (new) From davidc at FreeBSD.org Tue Feb 26 21:40:31 2008 From: davidc at FreeBSD.org (Chad David) Date: Tue Feb 26 21:40:37 2008 Subject: cvs commit: src/share/man/man9 Makefile Message-ID: <200802262140.m1QLeVuu096193@repoman.freebsd.org> davidc 2008-02-26 21:40:31 UTC FreeBSD src repository Modified files: share/man/man9 Makefile Log: Add vfs_mountedfrom.9 to the build. Revision Changes Path 1.330 +1 -0 src/share/man/man9/Makefile From kmacy at FreeBSD.org Tue Feb 26 23:05:06 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Feb 26 23:05:08 2008 Subject: cvs commit: src/sys/modules/cxgb/cxgb Makefile src/sys/dev/cxgb cxgb_main.c cxgb_t3fw.c t3b_protocol_sram.h t3b_tp_eeprom.h Message-ID: <200802262305.m1QN55Pj001535@repoman.freebsd.org> kmacy 2008-02-26 23:05:05 UTC FreeBSD src repository Modified files: sys/modules/cxgb/cxgb Makefile sys/dev/cxgb cxgb_main.c cxgb_t3fw.c Added files: sys/dev/cxgb t3b_protocol_sram.h t3b_tp_eeprom.h Log: move remaining binaries in to blob headers Revision Changes Path 1.50 +8 -17 src/sys/dev/cxgb/cxgb_main.c 1.2 +68 -0 src/sys/dev/cxgb/cxgb_t3fw.c 1.1 +678 -0 src/sys/dev/cxgb/t3b_protocol_sram.h (new) 1.1 +566 -0 src/sys/dev/cxgb/t3b_tp_eeprom.h (new) 1.8 +0 -20 src/sys/modules/cxgb/cxgb/Makefile From kmacy at FreeBSD.org Tue Feb 26 23:06:23 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Feb 26 23:06:29 2008 Subject: cvs commit: src/sys/dev/cxgb t3b_protocol_sram-1.1.0.bin.gz.uu t3b_tp_eeprom-1.1.0.bin.gz.uu Message-ID: <200802262306.m1QN6MMV001656@repoman.freebsd.org> kmacy 2008-02-26 23:06:22 UTC FreeBSD src repository Removed files: sys/dev/cxgb t3b_protocol_sram-1.1.0.bin.gz.uu t3b_tp_eeprom-1.1.0.bin.gz.uu Log: Remove unused files Revision Changes Path 1.2 +0 -46 src/sys/dev/cxgb/t3b_protocol_sram-1.1.0.bin.gz.uu (dead) 1.2 +0 -46 src/sys/dev/cxgb/t3b_tp_eeprom-1.1.0.bin.gz.uu (dead) From kip.macy at gmail.com Tue Feb 26 23:07:26 2008 From: kip.macy at gmail.com (Kip Macy) Date: Tue Feb 26 23:07:33 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <200802261133.00942.jhb@freebsd.org> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> Message-ID: On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > > kmacy 2008-02-26 03:02:20 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/cxgb cxgb_main.c > > sys/modules/cxgb Makefile > > sys/modules/cxgb/cxgb Makefile > > sys/conf NOTES files > > Added files: > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > > sys/modules/cxgb/cxgb_t3fw Makefile > > Removed files: > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > > Log: > > Move firmware in to separate module that can be compiled statically in to > the kernel > > Add utility for converting future firmware revs to a C header file > > Did you consider using firmware(9)? It already handles wrapping a binary blob > into a kernel module for you and can autoload the firmware on demand. > Read the code. From kmacy at FreeBSD.org Tue Feb 26 23:12:56 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Feb 26 23:13:03 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl Message-ID: <200802262312.m1QNCuYZ001895@repoman.freebsd.org> kmacy 2008-02-26 23:12:56 UTC FreeBSD src repository Modified files: sys/dev/cxgb bin2h.pl Log: Parameterize for module name Revision Changes Path 1.2 +4 -4 src/sys/dev/cxgb/bin2h.pl From brueffer at FreeBSD.org Tue Feb 26 23:16:24 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Tue Feb 26 23:16:25 2008 Subject: cvs commit: src/share/man/man9 insmntque.9 vfs_mountedfrom.9 vrefcnt.9 Message-ID: <200802262316.m1QNGNPC002052@repoman.freebsd.org> brueffer 2008-02-26 23:16:23 UTC FreeBSD src repository Modified files: share/man/man9 insmntque.9 vfs_mountedfrom.9 vrefcnt.9 Log: Spell out the name of the month, normalize copyright layout. Revision Changes Path 1.2 +3 -3 src/share/man/man9/insmntque.9 1.2 +3 -3 src/share/man/man9/vfs_mountedfrom.9 1.2 +3 -3 src/share/man/man9/vrefcnt.9 From kip.macy at gmail.com Tue Feb 26 23:19:32 2008 From: kip.macy at gmail.com (Kip Macy) Date: Tue Feb 26 23:19:36 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> Message-ID: the make system doesn't work with firmware + static linking - this works around that On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy wrote: > > On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: > > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > > > kmacy 2008-02-26 03:02:20 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/dev/cxgb cxgb_main.c > > > sys/modules/cxgb Makefile > > > sys/modules/cxgb/cxgb Makefile > > > sys/conf NOTES files > > > Added files: > > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > > > sys/modules/cxgb/cxgb_t3fw Makefile > > > Removed files: > > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > > > Log: > > > Move firmware in to separate module that can be compiled statically in to > > the kernel > > > Add utility for converting future firmware revs to a C header file > > > > Did you consider using firmware(9)? It already handles wrapping a binary blob > > into a kernel module for you and can autoload the firmware on demand. > > > > > Read the code. > From sam at errno.com Tue Feb 26 23:28:06 2008 From: sam at errno.com (Sam Leffler) Date: Tue Feb 26 23:28:14 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> Message-ID: <47C4A083.2050602@errno.com> Huh? What does "static linking" mean? If you're looking for an example of a firmware image being embedded in a kernel look at the npe firmware used by xscale. Sam Kip Macy wrote: > the make system doesn't work with firmware + static linking - this > works around that > > > On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy wrote: >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: >> > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: >> > > kmacy 2008-02-26 03:02:20 UTC >> > > >> > > FreeBSD src repository >> > > >> > > Modified files: >> > > sys/dev/cxgb cxgb_main.c >> > > sys/modules/cxgb Makefile >> > > sys/modules/cxgb/cxgb Makefile >> > > sys/conf NOTES files >> > > Added files: >> > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h >> > > sys/modules/cxgb/cxgb_t3fw Makefile >> > > Removed files: >> > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu >> > > Log: >> > > Move firmware in to separate module that can be compiled statically in to >> > the kernel >> > > Add utility for converting future firmware revs to a C header file >> > >> > Did you consider using firmware(9)? It already handles wrapping a binary blob >> > into a kernel module for you and can autoload the firmware on demand. >> > >> >> >> Read the code. >> > > From kip.macy at gmail.com Tue Feb 26 23:39:08 2008 From: kip.macy at gmail.com (Kip Macy) Date: Tue Feb 26 23:39:15 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <47C4A083.2050602@errno.com> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> <47C4A083.2050602@errno.com> Message-ID: Uhm - I do the same thing as ispfw - can you tell me what is wrong with that? -Kip On Tue, Feb 26, 2008 at 3:28 PM, Sam Leffler wrote: > Huh? What does "static linking" mean? If you're looking for an example > of a firmware image being embedded in a kernel look at the npe firmware > used by xscale. > > Sam > > > > Kip Macy wrote: > > the make system doesn't work with firmware + static linking - this > > works around that > > > > > > On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy wrote: > >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: > >> > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > >> > > kmacy 2008-02-26 03:02:20 UTC > >> > > > >> > > FreeBSD src repository > >> > > > >> > > Modified files: > >> > > sys/dev/cxgb cxgb_main.c > >> > > sys/modules/cxgb Makefile > >> > > sys/modules/cxgb/cxgb Makefile > >> > > sys/conf NOTES files > >> > > Added files: > >> > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > >> > > sys/modules/cxgb/cxgb_t3fw Makefile > >> > > Removed files: > >> > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > >> > > Log: > >> > > Move firmware in to separate module that can be compiled statically in to > >> > the kernel > >> > > Add utility for converting future firmware revs to a C header file > >> > > >> > Did you consider using firmware(9)? It already handles wrapping a binary blob > >> > into a kernel module for you and can autoload the firmware on demand. > >> > > >> > >> > >> Read the code. > >> > > > > > > From marcel at FreeBSD.org Wed Feb 27 00:03:23 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Wed Feb 27 00:03:28 2008 Subject: cvs commit: src/sys/conf ldscript.powerpc src/sys/powerpc/aim locore.S src/sys/powerpc/powerpc genassym.c Message-ID: <200802270003.m1R03Nws004846@repoman.freebsd.org> marcel 2008-02-27 00:03:23 UTC FreeBSD src repository Modified files: sys/conf ldscript.powerpc sys/powerpc/aim locore.S sys/powerpc/powerpc genassym.c Log: Avoid hardcoding the kernel link address in the linker script. Use KERNBASE instead. While here, move the text sections forward to the beginning of the text segment. Revision Changes Path 1.8 +16 -11 src/sys/conf/ldscript.powerpc 1.24 +6 -0 src/sys/powerpc/aim/locore.S 1.60 +1 -0 src/sys/powerpc/powerpc/genassym.c From jhb at freebsd.org Wed Feb 27 05:02:55 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Feb 27 05:03:00 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <47C4A083.2050602@errno.com> Message-ID: <200802262357.45358.jhb@freebsd.org> On Tuesday 26 February 2008 06:39:06 pm Kip Macy wrote: > Uhm - I do the same thing as ispfw - can you tell me what is wrong with that? > > -Kip ispfw actually predates firmware(9) by several years and it simply hasn't been converted to use the new API yet. > On Tue, Feb 26, 2008 at 3:28 PM, Sam Leffler wrote: > > Huh? What does "static linking" mean? If you're looking for an example > > of a firmware image being embedded in a kernel look at the npe firmware > > used by xscale. > > > > Sam > > > > > > > > Kip Macy wrote: > > > the make system doesn't work with firmware + static linking - this > > > works around that > > > > > > > > > On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy wrote: > > >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: > > >> > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > > >> > > kmacy 2008-02-26 03:02:20 UTC > > >> > > > > >> > > FreeBSD src repository > > >> > > > > >> > > Modified files: > > >> > > sys/dev/cxgb cxgb_main.c > > >> > > sys/modules/cxgb Makefile > > >> > > sys/modules/cxgb/cxgb Makefile > > >> > > sys/conf NOTES files > > >> > > Added files: > > >> > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > > >> > > sys/modules/cxgb/cxgb_t3fw Makefile > > >> > > Removed files: > > >> > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > > >> > > Log: > > >> > > Move firmware in to separate module that can be compiled statically in to > > >> > the kernel > > >> > > Add utility for converting future firmware revs to a C header file > > >> > > > >> > Did you consider using firmware(9)? It already handles wrapping a binary blob > > >> > into a kernel module for you and can autoload the firmware on demand. > > >> > > > >> > > >> > > >> Read the code. > > >> > > > > > > > > > > > -- John Baldwin From wollman at FreeBSD.org Wed Feb 27 05:56:57 2008 From: wollman at FreeBSD.org (Garrett Wollman) Date: Wed Feb 27 05:57:03 2008 Subject: cvs commit: src/lib/libc/gen sysconf.c Message-ID: <200802270556.m1R5uvDD040457@repoman.freebsd.org> wollman 2008-02-27 05:56:57 UTC FreeBSD src repository Modified files: lib/libc/gen sysconf.c Log: stdio is currently limited to file descriptors not greater than {SHRT_MAX}, so {STREAM_MAX} should be no greater than that. (This does not exactly meet the letter of POSIX but comes reasonably close to it in spirit.) MFC after: 14 days Revision Changes Path 1.26 +19 -1 src/lib/libc/gen/sysconf.c From kientzle at FreeBSD.org Wed Feb 27 06:06:01 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Feb 27 06:06:03 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200802270606.m1R660ZE042029@repoman.freebsd.org> kientzle 2008-02-27 06:05:59 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_zip.c Log: Optimize skipping over Zip entries. Thanks to: Dan Nelson, who sent me the patch MFC after: 7 days Revision Changes Path 1.22 +5 -14 src/lib/libarchive/archive_read_support_format_zip.c From kientzle at FreeBSD.org Wed Feb 27 06:16:42 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Feb 27 06:16:48 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c Message-ID: <200802270616.m1R6Gf7Q042454@repoman.freebsd.org> kientzle 2008-02-27 06:16:41 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_disk.c Log: Spelling correction, thanks to Joerg Sonnenberger. Revision Changes Path 1.23 +1 -1 src/lib/libarchive/archive_write_disk.c From ganbold at FreeBSD.org Wed Feb 27 07:37:24 2008 From: ganbold at FreeBSD.org (Ganbold Tsagaankhuu) Date: Wed Feb 27 07:37:30 2008 Subject: cvs commit: src/share/misc committers-doc.dot Message-ID: <200802270737.m1R7bOZS046382@repoman.freebsd.org> ganbold 2008-02-27 07:37:24 UTC FreeBSD src repository (doc committer) Modified files: share/misc committers-doc.dot Log: Add myself to doc committers and to keramida's mentee list Approved by: keramida(mentor) Revision Changes Path 1.21 +2 -0 src/share/misc/committers-doc.dot From ganbold at FreeBSD.org Wed Feb 27 07:39:31 2008 From: ganbold at FreeBSD.org (Ganbold Tsagaankhuu) Date: Wed Feb 27 07:39:36 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.freebsd Message-ID: <200802270739.m1R7dVen046439@repoman.freebsd.org> ganbold 2008-02-27 07:39:31 UTC FreeBSD src repository (doc committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: Add my birthday. Approved by: keramida(mentor) Revision Changes Path 1.226 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From scottl at FreeBSD.org Wed Feb 27 08:47:15 2008 From: scottl at FreeBSD.org (Scott Long) Date: Wed Feb 27 08:47:21 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200802270847.m1R8lERD058893@repoman.freebsd.org> scottl 2008-02-27 08:47:14 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c Log: When probing a newly found device, don't automatically assume that the device supports retrieving a serial number. Instead, first query the list of VPD pages it does support, and only query the serial number if it's supported, else silently move on. This eliminates a lot of noise during verbose booting, and will likely eliminate the need for most NOSERIAL quirks. Revision Changes Path 1.197 +95 -36 src/sys/cam/cam_xpt.c From remko at FreeBSD.org Wed Feb 27 10:14:58 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Feb 27 10:15:05 2008 Subject: cvs commit: src/sys/dev/drm drm_pciids.h Message-ID: <200802271014.m1RAEw4k066825@repoman.freebsd.org> remko 2008-02-27 10:14:58 UTC FreeBSD src repository Modified files: sys/dev/drm drm_pciids.h Log: Add support for the 965GM. PR: kern/120978 Submitted by: Dominic Fandrey Approved by: imp (mentor, implicit), anholt (drm maintainer) MFC after: 3 days Revision Changes Path 1.8 +1 -0 src/sys/dev/drm/drm_pciids.h From des at des.no Wed Feb 27 10:23:53 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Wed Feb 27 10:24:04 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080226164608.GF23211@dragon.NUXI.org> (David O'Brien's message of "Tue\, 26 Feb 2008 08\:46\:08 -0800") References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> <20080226132155.W90776@fledge.watson.org> <20080226164608.GF23211@dragon.NUXI.org> Message-ID: <8663war93j.fsf@ds4.des.no> "David O'Brien" writes: > Uggg!! Very sorry about that - I was using GENERIC so I could keep an up > to date bootable kernel between the commits. GENERIC was broken as well, unionfs is built as a module. DES -- Dag-Erling Sm?rgrav - des@des.no From remko at FreeBSD.org Wed Feb 27 10:57:51 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Feb 27 10:57:58 2008 Subject: cvs commit: src/share/man/man4 uscanner.4 Message-ID: <200802271057.m1RAvppM068643@repoman.freebsd.org> remko 2008-02-27 10:57:51 UTC FreeBSD src repository Modified files: share/man/man4 uscanner.4 Log: Add the Epson - CX5400 to the supported lists of epson scanners. Noticed by: simon Forgotten by: me Revision Changes Path 1.32 +3 -3 src/share/man/man4/uscanner.4 From dwmalone at FreeBSD.org Wed Feb 27 13:52:34 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Wed Feb 27 13:52:43 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_dummynet.c Message-ID: <200802271352.m1RDqXeL086667@repoman.freebsd.org> dwmalone 2008-02-27 13:52:33 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 ipfw2.c sys/netinet ip_dummynet.c Log: Dummynet has a limit of 100 slots queue size (or 1MB, if you give the limit in bytes) hard coded into both the kernel and userland. Make both these limits a sysctl, so it is easy to change the limit. If the userland part of ipfw finds that the sysctls don't exist, it will just fall back to the traditional limits. (100 packets is quite a small limit these days. If you want to test TCP at 100Mbps, 100 packets can only accommodate a DBP of 12ms.) Note these sysctls in the man page and warn against increasing them without thinking first. MFC after: 3 weeks Revision Changes Path 1.211 +14 -0 src/sbin/ipfw/ipfw.8 1.118 +18 -5 src/sbin/ipfw/ipfw2.c 1.115 +9 -2 src/sys/netinet/ip_dummynet.c From gallatin at cs.duke.edu Wed Feb 27 14:03:06 2008 From: gallatin at cs.duke.edu (Andrew Gallatin) Date: Wed Feb 27 14:03:16 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <47C4A083.2050602@errno.com>; from sam@errno.com on Tue, Feb 26, 2008 at 03:27:40PM -0800 References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> <47C4A083.2050602@errno.com> Message-ID: <20080227090113.A48182@grasshopper.cs.duke.edu> Sam Leffler [sam@errno.com] wrote: > Huh? What does "static linking" mean? If you're looking for an example > of a firmware image being embedded in a kernel look at the npe firmware > used by xscale. Kip, Before spending time on this, be warned that I tried this for mxge last year, and I gave up because it was such a headache. The final straw was that building the firmware into a .fwo file via a files file rule doesn't work on platforms like ia64 due some toolchain problems. Specifically, there was no way to get the constant-gp flag set on an ld -b binary image, which caused the final kernel link command to explode. Rather than use the .fwo method, I committed some .c shims (see dev/mxge/mxge_eth_z8e.c) which just #include my firmware header files. This avoids the linking problems, and turns out to be much, much easier to work with than the fw_stub files file method. Drew From obrien at FreeBSD.org Wed Feb 27 15:04:20 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Wed Feb 27 15:04:30 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <8663war93j.fsf@ds4.des.no> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> <20080226132155.W90776@fledge.watson.org> <20080226164608.GF23211@dragon.NUXI.org> <8663war93j.fsf@ds4.des.no> Message-ID: <20080227150407.GA48137@dragon.NUXI.org> On Wed, Feb 27, 2008 at 11:23:44AM +0100, Dag-Erling Smrgrav wrote: > "David O'Brien" writes: > > Uggg!! Very sorry about that - I was using GENERIC so I could keep an up > > to date bootable kernel between the commits. > > GENERIC was broken as well, unionfs is built as a module. OK, so I was using 'make kernel' and installed just that to boot with. -- -- David (obrien@FreeBSD.org) From sam at errno.com Wed Feb 27 16:01:24 2008 From: sam at errno.com (Sam Leffler) Date: Wed Feb 27 16:01:29 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <20080227090113.A48182@grasshopper.cs.duke.edu> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> <47C4A083.2050602@errno.com> <20080227090113.A48182@grasshopper.cs.duke.edu> Message-ID: <47C5894F.10301@errno.com> Andrew Gallatin wrote: > Sam Leffler [sam@errno.com] wrote: > >> Huh? What does "static linking" mean? If you're looking for an example >> of a firmware image being embedded in a kernel look at the npe firmware >> used by xscale. >> > > Kip, > > Before spending time on this, be warned that I tried this for mxge > last year, and I gave up because it was such a headache. The final > straw was that building the firmware into a .fwo file via a files file > rule doesn't work on platforms like ia64 due some toolchain problems. > Specifically, there was no way to get the constant-gp flag set on an > ld -b binary image, which caused the final kernel link command to > explode. > > Rather than use the .fwo method, I committed some .c shims (see > dev/mxge/mxge_eth_z8e.c) which just #include my firmware header files. > This avoids the linking problems, and turns out to be much, much > easier to work with than the fw_stub files file method. > My recollection from working with you on this was that the issue was ia64, not that it was hard. Given working examples to cut&paste I find this argument weak. As to ia64, if it doesn't support our build mechanisms then it should not be part of make universe. When Kip and I talked about why he did stuff w/o using fw_stub.awk it turned out he wasn't aware of existing examples. This technique is documented in firmware(9) and has worked fine for me (but of course I came up with it). The bottom line however is that I don't particularly care how firmware images get built so long as drivers use firmware(9) to load them. I've dealt with firmware loading on a variety of non-freebsd systems and always miss it. Sam From gallatin at cs.duke.edu Wed Feb 27 16:43:22 2008 From: gallatin at cs.duke.edu (Andrew Gallatin) Date: Wed Feb 27 16:43:31 2008 Subject: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files In-Reply-To: <47C5894F.10301@errno.com> References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <200802261133.00942.jhb@freebsd.org> <47C4A083.2050602@errno.com> <20080227090113.A48182@grasshopper.cs.duke.edu> <47C5894F.10301@errno.com> Message-ID: <18373.37583.482055.929142@grasshopper.cs.duke.edu> Sam Leffler writes: > Andrew Gallatin wrote: > > Sam Leffler [sam@errno.com] wrote: > > > >> Huh? What does "static linking" mean? If you're looking for an example > >> of a firmware image being embedded in a kernel look at the npe firmware > >> used by xscale. > >> > > > > Kip, > > > > Before spending time on this, be warned that I tried this for mxge > > last year, and I gave up because it was such a headache. The final > > straw was that building the firmware into a .fwo file via a files file > > rule doesn't work on platforms like ia64 due some toolchain problems. > > Specifically, there was no way to get the constant-gp flag set on an > > ld -b binary image, which caused the final kernel link command to > > explode. > > > > Rather than use the .fwo method, I committed some .c shims (see > > dev/mxge/mxge_eth_z8e.c) which just #include my firmware header files. > > This avoids the linking problems, and turns out to be much, much > > easier to work with than the fw_stub files file method. > > > > My recollection from working with you on this was that the issue was > ia64, not that it was hard. Given working examples to cut&paste I find > this argument weak. As to ia64, if it doesn't support our build > mechanisms then it should not be part of make universe. ia64 was the only example I knew of, but nobody seemed interested/able to fix it at the time. I don't think it deserves demotion for this issue. > When Kip and I talked about why he did stuff w/o using fw_stub.awk it > turned out he wasn't aware of existing examples. This technique is > documented in firmware(9) and has worked fine for me (but of course I > came up with it). I was just trying to prevent Kip from butting up against the same issue that I had with firmware(9), and pointing him at what I think is the only example of a driver which can compile in firmware and survive a make universe. For what its worth, I actually prefer my small shim files to the files file rules for the .fwo objects and I would resist going to the files file rules for mxge even if the ia64 issue is fixed. With the shim files, it is quite easy to understand what is going on. To my admittedly uneducated eyes, the files file magic looks almost like line noise. > The bottom line however is that I don't particularly care how firmware > images get built so long as drivers use firmware(9) to load them. I've > dealt with firmware loading on a variety of non-freebsd systems and > always miss it. I agree. It is much nicer than the alternatives on other systems. Drew From rwatson at FreeBSD.org Wed Feb 27 17:12:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Feb 27 17:12:35 2008 Subject: cvs commit: src/sys/security/audit audit_worker.c Message-ID: <200802271712.m1RHCNsx007386@repoman.freebsd.org> rwatson 2008-02-27 17:12:22 UTC FreeBSD src repository Modified files: sys/security/audit audit_worker.c Log: Replace somewhat awkward audit trail rotation scheme, which involved the global audit mutex and condition variables, with an sx lock which protects the trail vnode and credential while in use, and is acquired by the system call code when rotating the trail. Previously, a "message" would be sent to the kernel audit worker, which did the rotation, but the new code is simpler and (hopefully) less error-prone. Obtained from: TrustedBSD Project MFC after: 1 month Revision Changes Path 1.20 +98 -163 src/sys/security/audit/audit_worker.c From julian at elischer.org Wed Feb 27 18:43:42 2008 From: julian at elischer.org (Julian Elischer) Date: Wed Feb 27 18:43:47 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_dummynet.c In-Reply-To: <200802271352.m1RDqXeL086667@repoman.freebsd.org> References: <200802271352.m1RDqXeL086667@repoman.freebsd.org> Message-ID: <47C5AF6E.5070503@elischer.org> David Malone wrote: > dwmalone 2008-02-27 13:52:33 UTC > > FreeBSD src repository > > Modified files: > sbin/ipfw ipfw.8 ipfw2.c > sys/netinet ip_dummynet.c > Log: > Dummynet has a limit of 100 slots queue size (or 1MB, if you give > the limit in bytes) hard coded into both the kernel and userland. > Make both these limits a sysctl, so it is easy to change the limit. > If the userland part of ipfw finds that the sysctls don't exist, > it will just fall back to the traditional limits. "hooray!" > > (100 packets is quite a small limit these days. If you want to test > TCP at 100Mbps, 100 packets can only accommodate a DBP of 12ms.) > > Note these sysctls in the man page and warn against increasing them > without thinking first. > > MFC after: 3 weeks > > Revision Changes Path > 1.211 +14 -0 src/sbin/ipfw/ipfw.8 > 1.118 +18 -5 src/sbin/ipfw/ipfw2.c > 1.115 +9 -2 src/sys/netinet/ip_dummynet.c From julian at elischer.org Wed Feb 27 18:45:40 2008 From: julian at elischer.org (Julian Elischer) Date: Wed Feb 27 18:45:45 2008 Subject: cvs commit: src/sys/fs/nullfs null_vfsops.c src/sys/fs/nwfs nwfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c src/sys/kern vfs_default.c vfs_vnops.c vnode_if.src src/sys/sys mount.h vnode.h In-Reply-To: <20080227150407.GA48137@dragon.NUXI.org> References: <200802250855.m1P8t3w6052042@repoman.freebsd.org> <47C29A07.2070908@FreeBSD.org> <86d4qli8a1.fsf@ds4.des.no> <20080226123107.N90776@fledge.watson.org> <86r6ezswnu.fsf@ds4.des.no> <20080226132155.W90776@fledge.watson.org> <20080226164608.GF23211@dragon.NUXI.org> <8663war93j.fsf@ds4.des.no> <20080227150407.GA48137@dragon.NUXI.org> Message-ID: <47C5AFE4.6050302@elischer.org> David O'Brien wrote: > On Wed, Feb 27, 2008 at 11:23:44AM +0100, Dag-Erling Smrgrav wrote: >> "David O'Brien" writes: >>> Uggg!! Very sorry about that - I was using GENERIC so I could keep an up >>> to date bootable kernel between the commits. >> GENERIC was broken as well, unionfs is built as a module. > > OK, so I was using 'make kernel' and installed just that to boot with. I'm storing this as defense material for my next breakage.. ok so blackmail material for one potential complainant, 197 to go.. From jhb at FreeBSD.org Wed Feb 27 19:02:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 27 19:02:11 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c Message-ID: <200802271902.m1RJ23wd012246@repoman.freebsd.org> jhb 2008-02-27 19:02:02 UTC FreeBSD src repository Modified files: lib/libc/stdio fdopen.c fopen.c freopen.c Log: File descriptors are an int, but our stdio FILE object uses a short to hold them. Thus, any fd whose value is greater than SHRT_MAX is handled incorrectly (the short value is sign-extended when converted to an int). An unpleasant side effect is that if fopen() opens a file and gets a backing fd that is greater than SHRT_MAX, fclose() will fail and the file descriptor will be leaked. Better handle this by fixing fopen(), fdopen(), and freopen() to fail attempts to use a fd greater than SHRT_MAX with EMFILE. At some point in the future we should look at expanding the file descriptor in FILE to an int, but that is a bit complicated due to ABI issues. MFC after: 1 week Discussed on: arch Reviewed by: wollman Revision Changes Path 1.9 +12 -0 src/lib/libc/stdio/fdopen.c 1.12 +13 -0 src/lib/libc/stdio/fopen.c 1.19 +14 -0 src/lib/libc/stdio/freopen.c From jhb at freebsd.org Wed Feb 27 20:18:55 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Feb 27 20:19:00 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c In-Reply-To: <200802271902.m1RJ23wd012246@repoman.freebsd.org> References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> Message-ID: <200802271511.10787.jhb@freebsd.org> On Wednesday 27 February 2008 02:02:03 pm John Baldwin wrote: > jhb 2008-02-27 19:02:02 UTC > > FreeBSD src repository > > Modified files: > lib/libc/stdio fdopen.c fopen.c freopen.c > Log: > File descriptors are an int, but our stdio FILE object uses a short to hold > them. Thus, any fd whose value is greater than SHRT_MAX is handled > incorrectly (the short value is sign-extended when converted to an int). > An unpleasant side effect is that if fopen() opens a file and gets a > backing fd that is greater than SHRT_MAX, fclose() will fail and the file > descriptor will be leaked. Better handle this by fixing fopen(), fdopen(), > and freopen() to fail attempts to use a fd greater than SHRT_MAX with > EMFILE. > > At some point in the future we should look at expanding the file descriptor > in FILE to an int, but that is a bit complicated due to ABI issues. To reproduce, open 32k fd's and then invoke gethostbyname() with 'files' enabled in nsswitch.conf for host lookups. A fd on /etc/hosts will be leaked for each invocation of gethostbyname(). -- John Baldwin From jhb at FreeBSD.org Wed Feb 27 21:25:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 27 21:25:21 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c Message-ID: <200802272125.m1RLPJv8029533@repoman.freebsd.org> jhb 2008-02-27 21:25:19 UTC FreeBSD src repository Modified files: lib/libc/stdio fdopen.c fopen.c freopen.c Log: Add for SHRT_MAX. Pointy hat to: jhb Revision Changes Path 1.10 +1 -0 src/lib/libc/stdio/fdopen.c 1.13 +1 -0 src/lib/libc/stdio/fopen.c 1.20 +1 -0 src/lib/libc/stdio/freopen.c From jhb at freebsd.org Wed Feb 27 21:51:25 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Feb 27 21:51:34 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c In-Reply-To: <200802272125.m1RLPJv8029533@repoman.freebsd.org> References: <200802272125.m1RLPJv8029533@repoman.freebsd.org> Message-ID: <200802271650.12939.jhb@freebsd.org> On Wednesday 27 February 2008 04:25:19 pm John Baldwin wrote: > jhb 2008-02-27 21:25:19 UTC > > FreeBSD src repository > > Modified files: > lib/libc/stdio fdopen.c fopen.c freopen.c > Log: > Add for SHRT_MAX. > > Pointy hat to: jhb Sorry, the original patch compiles fine on 6.x. :-/ -- John Baldwin From kensmith at FreeBSD.org Wed Feb 27 22:27:36 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Wed Feb 27 22:27:37 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200802272227.m1RMRZxB033007@repoman.freebsd.org> kensmith 2008-02-27 22:27:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf newvers.sh Log: 7.0-RELEASE is announced, start calling RELENG_7 -STABLE. Revision Changes Path 1.72.2.7 +1 -1 src/sys/conf/newvers.sh From jhb at FreeBSD.org Wed Feb 27 23:35:40 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Feb 27 23:35:42 2008 Subject: cvs commit: src/sys/boot/i386/btx/btx Makefile btx.S Message-ID: <200802272335.m1RNZdo7036788@repoman.freebsd.org> jhb 2008-02-27 23:35:39 UTC FreeBSD src repository Modified files: sys/boot/i386/btx/btx Makefile btx.S Log: Retire the support for using paging in BTX. It hasn't been used since before 4.0. Submitted by: kib Revision Changes Path 1.20 +0 -4 src/sys/boot/i386/btx/btx/Makefile 1.45 +2 -53 src/sys/boot/i386/btx/btx/btx.S From scf at FreeBSD.org Thu Feb 28 04:09:08 2008 From: scf at FreeBSD.org (Sean Farley) Date: Thu Feb 28 04:09:11 2008 Subject: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <200802280409.m1S498YJ062561@repoman.freebsd.org> scf 2008-02-28 04:09:08 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.c Log: Replace the use of warnx() with direct output to stderr using _write(). This reduces the size of a statically-linked binary by approximately 100KB in a trivial "return (0)" test application. readelf -S was used to verify that the .text section was reduced and that using strlen() saved a few more bytes over using sizeof(). Since the section of code is only called when environ is corrupt (program bug), I went with fewer bytes over fewer cycles. I made minor edits to the submitted patch to make the output resemble warnx(). Submitted by: kib bz Approved by: wes (mentor) MFC after: 5 days Revision Changes Path 1.13 +36 -12 src/lib/libc/stdlib/getenv.c From scf at FreeBSD.org Thu Feb 28 04:19:47 2008 From: scf at FreeBSD.org (Sean Farley) Date: Thu Feb 28 04:19:54 2008 Subject: cvs commit: src/usr.sbin/pw pw.c pw_group.c Message-ID: <200802280419.m1S4JlRx062887@repoman.freebsd.org> scf 2008-02-28 04:19:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pw pw.c pw_group.c Log: MFC: style(9) (verified no object changes) src/usr.sbin/pw/pw.c: rev 1.31 -> 1.32 src/usr.sbin/pw/pw_group.c: rev 1.14 -> 1.15 Approved by: wes (mentor) Revision Changes Path 1.31.2.1 +1 -1 src/usr.sbin/pw/pw.c 1.14.18.1 +1 -2 src/usr.sbin/pw/pw_group.c From scf at FreeBSD.org Thu Feb 28 04:25:04 2008 From: scf at FreeBSD.org (Sean Farley) Date: Thu Feb 28 04:25:11 2008 Subject: cvs commit: src/usr.sbin/pw pw.8 pw.c pw_group.c Message-ID: <200802280425.m1S4P35B063186@repoman.freebsd.org> scf 2008-02-28 04:25:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pw pw.8 pw.c pw_group.c Log: MFC: Add the groupmod '-d' option to pw to allow the deletion of existing users from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. src/usr.sbin/pw/pw.c: rev 1.32 -> 1.33 src/usr.sbin/pw/pw_group.c: rev 1.15 -> 1.16 src/usr.sbin/pw/pw.8: rev 1.42 -> 1.43 Approved by: wes (mentor) Revision Changes Path 1.41.2.2 +10 -0 src/usr.sbin/pw/pw.8 1.31.2.2 +2 -1 src/usr.sbin/pw/pw.c 1.14.18.2 +80 -15 src/usr.sbin/pw/pw_group.c From bmah at FreeBSD.org Thu Feb 28 06:01:48 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Thu Feb 28 06:01:50 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/share/sgml release.dsl Message-ID: <200802280601.m1S61mKE078285@repoman.freebsd.org> bmah 2008-02-28 06:01:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/share/sgml release.dsl Log: Point RELENG_7 users at stable@ rather than current@. Reminded by: cnst Revision Changes Path 1.8.8.1 +2 -2 src/release/doc/en_US.ISO8859-1/share/sgml/release.dsl From brueffer at FreeBSD.org Thu Feb 28 06:08:40 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 28 06:08:47 2008 Subject: cvs commit: src/lib/libc/sys clock_gettime.2 Message-ID: <200802280608.m1S68eaF079685@repoman.freebsd.org> brueffer 2008-02-28 06:08:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys clock_gettime.2 Log: MFC: rev. 1.25 Add missing words. Revision Changes Path 1.24.2.1 +2 -2 src/lib/libc/sys/clock_gettime.2 From brueffer at FreeBSD.org Thu Feb 28 06:09:23 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Feb 28 06:09:30 2008 Subject: cvs commit: src/lib/libc/sys clock_gettime.2 Message-ID: <200802280609.m1S69Nd9079727@repoman.freebsd.org> brueffer 2008-02-28 06:09:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys clock_gettime.2 Log: MFC: rev. 1.25 Add missing words. Revision Changes Path 1.20.8.2 +2 -2 src/lib/libc/sys/clock_gettime.2 From maxim at FreeBSD.org Thu Feb 28 06:54:25 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Thu Feb 28 06:54:27 2008 Subject: cvs commit: src/share/misc bsd-family-tree Message-ID: <200802280654.m1S6sOXu081225@repoman.freebsd.org> maxim 2008-02-28 06:54:24 UTC FreeBSD src repository Modified files: share/misc bsd-family-tree Log: o Add FreeBSD 7.0, MacOS X 10.5 (belated), DragonFly BSD 1.12.0. Revision Changes Path 1.119 +12 -3 src/share/misc/bsd-family-tree From des at des.no Thu Feb 28 10:31:51 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Feb 28 10:31:56 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c In-Reply-To: <200802271902.m1RJ23wd012246@repoman.freebsd.org> (John Baldwin's message of "Wed\, 27 Feb 2008 19\:02\:03 +0000 \(UTC\)") References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> Message-ID: <86ejax4bjl.fsf@ds4.des.no> John Baldwin writes: > At some point in the future we should look at expanding the file descriptor > in FILE to an int, but that is a bit complicated due to ABI issues. There shouldn't be any ABI issues, since FILE should never, ever be used directly, only through FILE *. If someone out there is stupid enough to do FILE f = *fopen("foo", "r+"); then they deserve the breakage... DES -- Dag-Erling Sm?rgrav - des@des.no From des at des.no Thu Feb 28 10:40:59 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Feb 28 10:41:09 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c In-Reply-To: <86ejax4bjl.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Thu\, 28 Feb 2008 11\:31\:42 +0100") References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> <86ejax4bjl.fsf@ds4.des.no> Message-ID: <867igp4b49.fsf@ds4.des.no> Dag-Erling Sm?rgrav writes: > John Baldwin writes: > > At some point in the future we should look at expanding the file descriptor > > in FILE to an int, but that is a bit complicated due to ABI issues. > There shouldn't be any ABI issues, since FILE should never, ever be used > directly, only through FILE *. After reading the discussion on -arch, I take that back; but as Garrett pointed out, a simple way of fixing it is to just return EMFILE if the fd we get from open() is >=32768. It's a pity we're not allowed to increase FOPEN_MAX beyond some ridiculously low number... DES -- Dag-Erling Sm?rgrav - des@des.no From jhb at freebsd.org Thu Feb 28 13:56:50 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Feb 28 13:56:55 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c In-Reply-To: <867igp4b49.fsf@ds4.des.no> References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> <86ejax4bjl.fsf@ds4.des.no> <867igp4b49.fsf@ds4.des.no> Message-ID: <200802280801.53162.jhb@freebsd.org> On Thursday 28 February 2008 05:40:54 am Dag-Erling Sm?rgrav wrote: > Dag-Erling Sm?rgrav writes: > > John Baldwin writes: > > > At some point in the future we should look at expanding the file descriptor > > > in FILE to an int, but that is a bit complicated due to ABI issues. > > There shouldn't be any ABI issues, since FILE should never, ever be used > > directly, only through FILE *. > > After reading the discussion on -arch, I take that back; but as Garrett > pointed out, a simple way of fixing it is to just return EMFILE if the > fd we get from open() is >=32768. > > It's a pity we're not allowed to increase FOPEN_MAX beyond some > ridiculously low number... The problem is I'd also like it to work if we get a "large" fd. glibc handles this fine. -- John Baldwin From yar at FreeBSD.org Thu Feb 28 15:12:06 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Thu Feb 28 15:12:12 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200802281512.m1SFC61H045013@repoman.freebsd.org> yar 2008-02-28 15:12:06 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: It was Plauger, not Ritchie, who co-authored both editions of "The Elements of Programming Style". Also spell the name of the book properly. Revision Changes Path 1.256 +1 -1 src/games/fortune/datfiles/fortunes From yar at FreeBSD.org Thu Feb 28 15:16:25 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Thu Feb 28 15:16:33 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200802281516.m1SFGP63045606@repoman.freebsd.org> yar 2008-02-28 15:16:25 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: Add another very relevant quote from "The Elements of Programming Style" by Kernighan and Plauger. Revision Changes Path 1.257 +3 -0 src/games/fortune/datfiles/fortunes From bde at FreeBSD.org Thu Feb 28 16:22:37 2008 From: bde at FreeBSD.org (Bruce Evans) Date: Thu Feb 28 16:22:43 2008 Subject: cvs commit: src/lib/msun/src e_rem_pio2.c e_rem_pio2f.c Message-ID: <200802281622.m1SGMaMt050598@repoman.freebsd.org> bde 2008-02-28 16:22:36 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2.c e_rem_pio2f.c Log: Fix and improve some magic numbers for the "medium size" case. e_rem_pio2.c: This case goes up to about 2**20pi/2, but the comment about it said that it goes up to about 2**19pi/2. It went too far above 2**pi/2, giving a multiplier fn with 21 significant bits in some cases. This would be harmful except for a numerical accident. It happens that the terms of the approximation to pi/2, when rounded to 33 bits so that multiplications by 20-bit fn's are exact, happen to be rounded to 32 bits so multiplications by 21-bit fn's are exact too, so the bug only complicates the error analysis (we might lose a bit of accuracy but have bits to spare). e_rem_pio2f.c: The bogus comment in e_rem_pio2.c was copied and the code was changed to be bug-for-bug compatible with it, except the limit was made 90 ulps smaller than necessary. The approximation to pi/2 was not modified except for discarding some of it. The same rough error analysis that justifies the limit of 2**20pi/2 for double precision only justifies a limit of 2**18pi/2 for float precision. We depended on exhaustive testing to check the magic numbers for float precision. More exaustive testing shows that we can go up to 2**28pi/2 using a 53+25 bit approximation to pi/2 for float precision, with a the maximum error for cosf() and sinf() unchanged at 0.5009 ulps despite the maximum error in rem_pio2f being ~0.25 ulps. Implement this. Revision Changes Path 1.18 +1 -1 src/lib/msun/src/e_rem_pio2.c 1.29 +3 -3 src/lib/msun/src/e_rem_pio2f.c From obrien at FreeBSD.org Thu Feb 28 16:41:51 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Feb 28 16:42:02 2008 Subject: cvs commit: src/usr.bin/awk Makefile Message-ID: <200802281641.m1SGfpiF051856@repoman.freebsd.org> obrien 2008-02-28 16:41:51 UTC FreeBSD src repository Modified files: usr.bin/awk Makefile Log: Now that we're way past our conversion from GNU awk to BWK awk, we don't need to primarily install as a non-conflicting name. Revision Changes Path 1.16 +3 -7 src/usr.bin/awk/Makefile From obrien at FreeBSD.org Thu Feb 28 16:45:38 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Feb 28 16:45:50 2008 Subject: cvs commit: src/usr.bin/awk Makefile Message-ID: <200802281645.m1SGjcu1052187@repoman.freebsd.org> obrien 2008-02-28 16:45:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/awk Makefile Log: MFC: rev 1.16: install as awk. Revision Changes Path 1.14.2.2 +3 -7 src/usr.bin/awk/Makefile From sam at FreeBSD.org Thu Feb 28 17:00:17 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Thu Feb 28 17:00:21 2008 Subject: cvs commit: src/contrib/tcpdump print-802_11.c Message-ID: <200802281700.m1SH0Hqh066866@repoman.freebsd.org> sam 2008-02-28 17:00:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/tcpdump print-802_11.c Log: MFC 1.4: unbreak printing 802.11 tx/rx rates Revision Changes Path 1.2.2.2 +3 -3 src/contrib/tcpdump/print-802_11.c From jhb at FreeBSD.org Thu Feb 28 17:08:06 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Feb 28 17:08:15 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c Message-ID: <200802281708.m1SH85uM073216@repoman.freebsd.org> jhb 2008-02-28 17:08:05 UTC FreeBSD src repository Modified files: sys/boot/i386/boot2 boot2.c sys/boot/i386/gptboot gptboot.c Log: Rev 1.72 fixed a bug where if /boot.config changed the console its contents weren't displayed on the new console. However, the config string has been altered as part of being parsed so we only display the first option. Fix this by saving a copy of /boot.config before parsing it and displaying the saved copy after parsing. MFC after: 1 week PR: i386/103972 Submitted by: Alexandre Belloni alexandre.belloni of netasq.com Revision Changes Path 1.86 +3 -2 src/sys/boot/i386/boot2/boot2.c 1.87 +3 -2 src/sys/boot/i386/gptboot/gptboot.c From nyan at FreeBSD.org Thu Feb 28 17:33:06 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Thu Feb 28 17:33:08 2008 Subject: cvs commit: src/sys/boot/pc98/btx/btx Makefile btx.S Message-ID: <200802281733.m1SHX6Nd075674@repoman.freebsd.org> nyan 2008-02-28 17:33:06 UTC FreeBSD src repository Modified files: sys/boot/pc98/btx/btx Makefile btx.S Log: MFi386: Retire the support for using paging in BTX. It hasn't been used since before 4.0. Revision Changes Path 1.13 +0 -4 src/sys/boot/pc98/btx/btx/Makefile 1.23 +2 -53 src/sys/boot/pc98/btx/btx/btx.S From jhb at FreeBSD.org Thu Feb 28 17:49:24 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Feb 28 17:49:32 2008 Subject: cvs commit: src/sys/boot/i386/libi386 biosdisk.c Message-ID: <200802281749.m1SHnOmW076531@repoman.freebsd.org> jhb 2008-02-28 17:49:23 UTC FreeBSD src repository Modified files: sys/boot/i386/libi386 biosdisk.c Log: Tweak the verbose disk printing a bit: - Consolidate the code to humanize the size of a disk partition into a single function based on the code for GPT partitions and use it for GPT partitions, BSD slices, and BSD partitions. - Teach the humanize code to use KB for small partitions (e.g. GPT boot partitions now show up as 64KB rather than 0MB). - Pad a few partition type names out so that things line up in the common case. MFC after: 1 week Revision Changes Path 1.55 +51 -59 src/sys/boot/i386/libi386/biosdisk.c From jhb at FreeBSD.org Thu Feb 28 17:59:55 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Feb 28 18:00:29 2008 Subject: cvs commit: src/sys/i386/i386 identcpu.c Message-ID: <200802281759.m1SHxsYb077079@repoman.freebsd.org> jhb 2008-02-28 17:59:54 UTC FreeBSD src repository Modified files: sys/i386/i386 identcpu.c Log: - Check for the extended CPUID registers on VIA CPUs so we can get the brand string. - Fix a nit in the previous commit. "Eden" is a product name, not a core name. The new ID is still for an "Esther" core. Revision Changes Path 1.182 +2 -2 src/sys/i386/i386/identcpu.c From philip at FreeBSD.org Thu Feb 28 18:31:54 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Thu Feb 28 18:31:57 2008 Subject: cvs commit: src/sys/dev/md md.c Message-ID: <200802281831.m1SIVsRw080211@repoman.freebsd.org> philip 2008-02-28 18:31:54 UTC FreeBSD src repository Modified files: sys/dev/md md.c Log: Zero sc->vnode if mdsetcred() fails. This fixes the panic which happens when mdcreate_vnode() calls vn_close() and mddestroy() calls it again further down the error handling path. Reviewed by: kris, kib MFC after: 3 days Revision Changes Path 1.174 +1 -0 src/sys/dev/md/md.c From rpaulo at FreeBSD.org Thu Feb 28 19:10:43 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Feb 28 19:10:46 2008 Subject: cvs commit: src/sys/i386/cpufreq est.c Message-ID: <200802281910.m1SJAgm1083976@repoman.freebsd.org> rpaulo 2008-02-28 19:10:42 UTC FreeBSD src repository Modified files: sys/i386/cpufreq est.c Log: Validate the id16 values gathered from ACPI (previously a TODO item). Style changes by me and njl. Approved by: njl (mentor) Reviewed by: njl (mentor) Submitted by: Takeharu KATO PR: 119350 MFC after: 1 week Revision Changes Path 1.12 +59 -17 src/sys/i386/cpufreq/est.c From marcel at FreeBSD.org Thu Feb 28 22:30:42 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Feb 28 22:30:49 2008 Subject: cvs commit: src/sys/geom/part g_part_mbr.c Message-ID: <200802282230.m1SMUf7R009576@repoman.freebsd.org> marcel 2008-02-28 22:30:41 UTC FreeBSD src repository Modified files: sys/geom/part g_part_mbr.c Log: Better handle false positives. The MBR differs from the boot sector only because there's a partition table where the boot sector has boot code. Boot sectors without boot code look like a MBR for all practical purposes. This change adds a check for the partition table and fails the probe when it's obvously invalid. The assumption being that the sector contains a boot sector and not a MBR. More checks are needed to distinguish a boot secto without boot code from a (empty) MBR. Revision Changes Path 1.3 +24 -6 src/sys/geom/part/g_part_mbr.c From grehan at FreeBSD.org Fri Feb 29 01:57:20 2008 From: grehan at FreeBSD.org (Peter Grehan) Date: Fri Feb 29 01:57:22 2008 Subject: cvs commit: src/sys/gdb gdb_main.c Message-ID: <200802290157.m1T1vKWc031796@repoman.freebsd.org> grehan 2008-02-29 01:57:20 UTC FreeBSD src repository Modified files: sys/gdb gdb_main.c Log: Add support for kgdb's 'detach' command. Reviewed by: marcel Sponsored by: Network Appliance Revision Changes Path 1.8 +5 -0 src/sys/gdb/gdb_main.c From yongari at FreeBSD.org Fri Feb 29 03:38:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Feb 29 03:38:24 2008 Subject: cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h Message-ID: <200802290338.m1T3cDg7038095@repoman.freebsd.org> yongari 2008-02-29 03:38:12 UTC FreeBSD src repository Modified files: sys/dev/msk if_msk.c if_mskreg.h Log: Workaround GMAC hardware hang of Yukon II on the receipt of pause frames. This bug seems to happen on certain hardware model/revision (e.g. 88E8053) but it's not identified which hardwares are affected. Revision 1.4 of if_mskreg.h was not enough to workaround the bug. To workaround it, inrease GMAC FIFO threshold by one FIFO word to flush received pause frames. Reported by: das, Kirill Nuzhdin < kirill.nuzhdin AT rad dot chem dot msu dot ru > Tested by: das, Kirill Nuzhdin Revision Changes Path 1.29 +5 -2 src/sys/dev/msk/if_msk.c 1.12 +1 -0 src/sys/dev/msk/if_mskreg.h From sam at FreeBSD.org Fri Feb 29 04:07:08 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 29 04:07:24 2008 Subject: cvs commit: src/sys/net80211 ieee80211_scan_sta.c Message-ID: <200802290407.m1T4786S040325@repoman.freebsd.org> sam 2008-02-29 04:07:08 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_scan_sta.c Log: Fix adhoc mode to scan all available channels for a bss to join while still restricting auto-channel select to only those channels permitted by regulatory constraints (sorta, we're still missing the checks to honor radar and noadhoc status on channels). This somehow got lost in the initial merge of the revised scanning code. Reviewed by: jhay MFC after: 2 weeks Revision Changes Path 1.9 +63 -42 src/sys/net80211/ieee80211_scan_sta.c From nyan at FreeBSD.org Fri Feb 29 04:56:52 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Feb 29 04:56:54 2008 Subject: cvs commit: src/sys/boot/pc98/libpc98 biosdisk.c Message-ID: <200802290456.m1T4upBJ050839@repoman.freebsd.org> nyan 2008-02-29 04:56:51 UTC FreeBSD src repository Modified files: sys/boot/pc98/libpc98 biosdisk.c Log: MFi386: revision 1.55. Tweak the verbose disk printing a bit. Revision Changes Path 1.39 +27 -4 src/sys/boot/pc98/libpc98/biosdisk.c From nyan at FreeBSD.org Fri Feb 29 05:01:11 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Feb 29 05:01:18 2008 Subject: cvs commit: src/sys/pc98/pc98 machdep.c Message-ID: <200802290501.m1T51B37051016@repoman.freebsd.org> nyan 2008-02-29 05:01:11 UTC FreeBSD src repository Modified files: sys/pc98/pc98 machdep.c Log: MFi386: revision 1.658 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. Revision Changes Path 1.400 +19 -0 src/sys/pc98/pc98/machdep.c From nyan at FreeBSD.org Fri Feb 29 05:06:07 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Feb 29 05:06:13 2008 Subject: cvs commit: src/sys/boot/pc98/libpc98 Makefile Message-ID: <200802290506.m1T566Mn052334@repoman.freebsd.org> nyan 2008-02-29 05:06:06 UTC FreeBSD src repository Modified files: sys/boot/pc98/libpc98 Makefile Log: MFi386: revision 1.43 Do not attempt to make an NFS rpc call if using tftp Revision Changes Path 1.25 +7 -0 src/sys/boot/pc98/libpc98/Makefile From nyan at FreeBSD.org Fri Feb 29 05:09:16 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Feb 29 05:09:18 2008 Subject: cvs commit: src/sys/pc98/cbus sio.c Message-ID: <200802290509.m1T59GFT052448@repoman.freebsd.org> nyan 2008-02-29 05:09:16 UTC FreeBSD src repository Modified files: sys/pc98/cbus sio.c Log: Merged from sys/dev/sio/sio.c revision 1.472 Stop serial console and gdb serial port from getting all screwed up. Revision Changes Path 1.248 +1 -1 src/sys/pc98/cbus/sio.c From wilko at FreeBSD.org Fri Feb 29 09:12:55 2008 From: wilko at FreeBSD.org (Wilko Bulte) Date: Fri Feb 29 09:12:56 2008 Subject: cvs commit: CVSROOT access Message-ID: <200802290912.m1T9CsDJ074384@repoman.freebsd.org> wilko 2008-02-29 09:12:54 UTC FreeBSD src repository Modified files: . access Log: Changes to email forwards can be made without core's approval. Please use "Approved by: core (implicit)" to that type of commits. Approved by: core (implicit) Revision Changes Path 1.860 +3 -0 CVSROOT/access From fanf at FreeBSD.org Fri Feb 29 12:57:14 2008 From: fanf at FreeBSD.org (Tony Finch) Date: Fri Feb 29 12:57:20 2008 Subject: cvs commit: src/usr.bin/unifdef unifdef.c Message-ID: <200802291257.m1TCvEnr044238@repoman.freebsd.org> fanf 2008-02-29 12:57:14 UTC FreeBSD src repository Modified files: usr.bin/unifdef unifdef.c Log: Allow #if defined SYM as well as #if defined(SYM). Fix an abort caused by files that have #endif and no newline on the last line (reported by joe@). Also fix a benign uninitialized variable bug. Update and tidy the copyright. Revision Changes Path 1.21 +31 -18 src/usr.bin/unifdef/unifdef.c From fanf at FreeBSD.org Fri Feb 29 13:19:51 2008 From: fanf at FreeBSD.org (Tony Finch) Date: Fri Feb 29 13:20:01 2008 Subject: cvs commit: src/usr.bin/unifdef unifdef.c Message-ID: <200802291319.m1TDJpnu054660@repoman.freebsd.org> fanf 2008-02-29 13:19:51 UTC FreeBSD src repository Modified files: usr.bin/unifdef unifdef.c Log: A fix for other ways of triggering joe@'s bug. Revision Changes Path 1.22 +12 -9 src/usr.bin/unifdef/unifdef.c From kib at FreeBSD.org Fri Feb 29 14:58:09 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Feb 29 14:58:31 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c linux_misc.h Message-ID: <200802291458.m1TEw9aB061237@repoman.freebsd.org> kib 2008-02-29 14:58:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/linux linux_misc.c linux_misc.h Log: MFC rev. 1.3 of linux_misc.h, rev. 1.217 of linux_misc.c: Sanitize arguments to linux_mremap(). Check that only MREMAP_FIXED and MREMAP_MAYMOVE flags are specified. Check for the page alignment of the addr argument. Revision Changes Path 1.214.2.1 +15 -0 src/sys/compat/linux/linux_misc.c 1.2.2.1 +3 -0 src/sys/compat/linux/linux_misc.h From philip at FreeBSD.org Fri Feb 29 17:48:26 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Feb 29 17:48:37 2008 Subject: cvs commit: src/lib/libc/sys mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 mq_setattr.2 Message-ID: <200802291748.m1THmQ5j080996@repoman.freebsd.org> philip 2008-02-29 17:48:26 UTC FreeBSD src repository Modified files: lib/libc/sys mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 mq_setattr.2 Log: Use the easily-greppable copyright notice template from src/share/examples/mdoc/POSIX-copyright. Requested by: ru Revision Changes Path 1.6 +17 -17 src/lib/libc/sys/mq_close.2 1.6 +17 -17 src/lib/libc/sys/mq_getattr.2 1.10 +17 -17 src/lib/libc/sys/mq_notify.2 1.10 +17 -17 src/lib/libc/sys/mq_open.2 1.7 +17 -17 src/lib/libc/sys/mq_receive.2 1.6 +17 -17 src/lib/libc/sys/mq_send.2 1.7 +17 -17 src/lib/libc/sys/mq_setattr.2 From antoine at FreeBSD.org Fri Feb 29 18:59:29 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Feb 29 19:00:02 2008 Subject: cvs commit: src/tools/build/mk OptionalObsoleteFiles.inc Message-ID: <200802291859.m1TIxSoP086464@repoman.freebsd.org> antoine 2008-02-29 18:59:28 UTC FreeBSD src repository Modified files: tools/build/mk OptionalObsoleteFiles.inc Log: Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined. Note: it may be a good idea to deduce obsolete usr/lib32/ files from obsolete lib/ and usr/lib/ files. PR: 120492 PR: 121118 PR: 121121 Submitted by: KAMIYA Satosi, Richard Tector Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.13 +57 -9 src/tools/build/mk/OptionalObsoleteFiles.inc From bmah at FreeBSD.org Fri Feb 29 19:01:07 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Fri Feb 29 19:01:24 2008 Subject: cvs commit: src/release/doc/share/sgml release.ent Message-ID: <200802291901.m1TJ161N086681@repoman.freebsd.org> bmah 2008-02-29 19:01:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/share/sgml release.ent Log: Set release type entities consistently. Revision Changes Path 1.28.2.4 +2 -2 src/release/doc/share/sgml/release.ent From jhb at FreeBSD.org Fri Feb 29 19:18:10 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 29 19:18:16 2008 Subject: cvs commit: src/sys/i386/i386 identcpu.c Message-ID: <200802291918.m1TJI9SL088454@repoman.freebsd.org> jhb 2008-02-29 19:18:09 UTC FreeBSD src repository Modified files: sys/i386/i386 identcpu.c Log: With the recent change to enable CPU brands from the VIA chips, the code to add padlock features to the CPU model on VIA CPUs was no longer effective. Change the code to instead output a separate printf during dmesg for VIA Padlock features similar to other cpuid feature bitmasks. MFC after: 1 week Revision Changes Path 1.183 +41 -24 src/sys/i386/i386/identcpu.c From jhb at FreeBSD.org Fri Feb 29 19:20:05 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Feb 29 19:20:10 2008 Subject: cvs commit: src/share/mk bsd.cpu.mk Message-ID: <200802291920.m1TJK50h088575@repoman.freebsd.org> jhb 2008-02-29 19:20:05 UTC FreeBSD src repository Modified files: share/mk bsd.cpu.mk Log: Add a 'c7' CPUTYPE for VIA C7 CPUs that is 'c3-2' with the addition of i686, sse2, and sse3. MFC after: 1 week Revision Changes Path 1.64 +2 -0 src/share/mk/bsd.cpu.mk From sam at FreeBSD.org Fri Feb 29 20:42:18 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Feb 29 20:42:25 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 Message-ID: <200802292042.m1TKgH5n096533@repoman.freebsd.org> sam 2008-02-29 20:42:17 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 Log: explain that you must set a default transmit key for WEP Submitted by: Jeremie Le Hen MFC after: 1 week Revision Changes Path 1.146 +7 -1 src/sbin/ifconfig/ifconfig.8 From jfv at FreeBSD.org Fri Feb 29 21:50:12 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Fri Feb 29 21:50:14 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/em LICENSE e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c ... Message-ID: <200802292150.m1TLoC72010436@repoman.freebsd.org> jfv 2008-02-29 21:50:11 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/em LICENSE e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_em.c if_em.h sys/modules/em Makefile Added files: sys/dev/igb e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_igb.c if_igb.h sys/modules/igb Makefile Removed files: sys/dev/em e1000_82575.c e1000_82575.h Log: This change introduces a split to the Intel E1000 driver, now rather than just em, there is an igb driver (this follows behavior with our Linux drivers). All adapters up to the 82575 are supported in em, and new client/desktop support will continue to be in that adapter. The igb driver is for new server NICs like the 82575 and its followons. Advanced features for virtualization and performance will be in this driver. Also, both drivers now have shared code that is up to the latest we have released. Some stylistic changes as well. Enjoy :) Revision Changes Path 1.1271 +14 -0 src/sys/conf/files 1.7 +1 -1 src/sys/dev/em/LICENSE 1.5 +71 -23 src/sys/dev/em/e1000_80003es2lan.c 1.5 +3 -3 src/sys/dev/em/e1000_80003es2lan.h 1.5 +6 -7 src/sys/dev/em/e1000_82540.c 1.5 +4 -6 src/sys/dev/em/e1000_82541.c 1.5 +1 -1 src/sys/dev/em/e1000_82541.h 1.5 +3 -5 src/sys/dev/em/e1000_82542.c 1.5 +9 -11 src/sys/dev/em/e1000_82543.c 1.5 +1 -1 src/sys/dev/em/e1000_82543.h 1.5 +61 -28 src/sys/dev/em/e1000_82571.c 1.5 +9 -1 src/sys/dev/em/e1000_82571.h 1.5 +0 -1450 src/sys/dev/em/e1000_82575.c (dead) 1.5 +0 -316 src/sys/dev/em/e1000_82575.h (dead) 1.5 +17 -24 src/sys/dev/em/e1000_api.c 1.5 +12 -1 src/sys/dev/em/e1000_api.h 1.5 +60 -39 src/sys/dev/em/e1000_defines.h 1.5 +9 -5 src/sys/dev/em/e1000_hw.h 1.5 +156 -32 src/sys/dev/em/e1000_ich8lan.c 1.5 +6 -2 src/sys/dev/em/e1000_ich8lan.h 1.5 +20 -19 src/sys/dev/em/e1000_mac.c 1.5 +1 -1 src/sys/dev/em/e1000_mac.h 1.5 +7 -7 src/sys/dev/em/e1000_manage.c 1.5 +3 -3 src/sys/dev/em/e1000_manage.h 1.5 +5 -6 src/sys/dev/em/e1000_nvm.c 1.5 +5 -3 src/sys/dev/em/e1000_nvm.h 1.5 +1 -1 src/sys/dev/em/e1000_osdep.h 1.5 +429 -26 src/sys/dev/em/e1000_phy.c 1.5 +21 -1 src/sys/dev/em/e1000_phy.h 1.5 +21 -47 src/sys/dev/em/e1000_regs.h 1.190 +413 -659 src/sys/dev/em/if_em.c 1.66 +32 -28 src/sys/dev/em/if_em.h 1.1 +1431 -0 src/sys/dev/igb/e1000_82575.c (new) 1.1 +317 -0 src/sys/dev/igb/e1000_82575.h (new) 1.1 +1063 -0 src/sys/dev/igb/e1000_api.c (new) 1.1 +153 -0 src/sys/dev/igb/e1000_api.h (new) 1.1 +1402 -0 src/sys/dev/igb/e1000_defines.h (new) 1.1 +627 -0 src/sys/dev/igb/e1000_hw.h (new) 1.1 +2172 -0 src/sys/dev/igb/e1000_mac.c (new) 1.1 +101 -0 src/sys/dev/igb/e1000_mac.h (new) 1.1 +390 -0 src/sys/dev/igb/e1000_manage.c (new) 1.1 +87 -0 src/sys/dev/igb/e1000_manage.h (new) 1.1 +932 -0 src/sys/dev/igb/e1000_nvm.c (new) 1.1 +68 -0 src/sys/dev/igb/e1000_nvm.h (new) 1.1 +184 -0 src/sys/dev/igb/e1000_osdep.h (new) 1.1 +2146 -0 src/sys/dev/igb/e1000_phy.c (new) 1.1 +177 -0 src/sys/dev/igb/e1000_phy.h (new) 1.1 +326 -0 src/sys/dev/igb/e1000_regs.h (new) 1.1 +4439 -0 src/sys/dev/igb/if_igb.c (new) 1.1 +419 -0 src/sys/dev/igb/if_igb.h (new) 1.10 +1 -1 src/sys/modules/em/Makefile 1.1 +25 -0 src/sys/modules/igb/Makefile (new) From jfv at FreeBSD.org Fri Feb 29 22:08:50 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Fri Feb 29 22:08:59 2008 Subject: cvs commit: src UPDATING Message-ID: <200802292208.m1TM8nSu012614@repoman.freebsd.org> jfv 2008-02-29 22:08:49 UTC FreeBSD src repository Modified files: . UPDATING Log: Detail the em/igb split so no one gets confused. Revision Changes Path 1.521 +6 -0 src/UPDATING From piso at FreeBSD.org Fri Feb 29 22:27:20 2008 From: piso at FreeBSD.org (Paolo Pisati) Date: Fri Feb 29 22:27:22 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules/ipfw_nat Makefile src/sys/netinet ip_fw.h ip_fw2.c ip_fw_nat.c Message-ID: <200802292227.m1TMRJwb013420@repoman.freebsd.org> piso 2008-02-29 22:27:19 UTC FreeBSD src repository Modified files: sys/conf NOTES files sys/netinet ip_fw.h ip_fw2.c Added files: sys/modules/ipfw_nat Makefile sys/netinet ip_fw_nat.c Log: Move ipfw's nat code into its own kld: ipfw_nat. Revision Changes Path 1.1469 +1 -2 src/sys/conf/NOTES 1.1272 +1 -0 src/sys/conf/files 1.1 +8 -0 src/sys/modules/ipfw_nat/Makefile (new) 1.112 +32 -0 src/sys/netinet/ip_fw.h 1.182 +54 -552 src/sys/netinet/ip_fw2.c 1.1 +646 -0 src/sys/netinet/ip_fw_nat.c (new) From piso at FreeBSD.org Fri Feb 29 22:28:19 2008 From: piso at FreeBSD.org (Paolo Pisati) Date: Fri Feb 29 22:28:26 2008 Subject: cvs commit: src/sys/modules Makefile Message-ID: <200802292228.m1TMSIkJ013471@repoman.freebsd.org> piso 2008-02-29 22:28:18 UTC FreeBSD src repository Modified files: sys/modules Makefile Log: Hook ipfw_nat to the build. Revision Changes Path 1.554 +1 -0 src/sys/modules/Makefile From jfv at FreeBSD.org Fri Feb 29 22:38:12 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Fri Feb 29 22:38:21 2008 Subject: cvs commit: src/sys/dev/em if_em.h Message-ID: <200802292238.m1TMcCP3013948@repoman.freebsd.org> jfv 2008-02-29 22:38:12 UTC FreeBSD src repository Modified files: sys/dev/em if_em.h Log: Need to add define of FAST interrupt