From emax at FreeBSD.org Fri Aug 1 00:13:44 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Aug 1 00:13:50 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_sco.c Message-ID: <200808010013.m710DhcM073503@repoman.freebsd.org> emax 2008-08-01 00:13:32 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket_sco.c Log: SVN rev 181088 on 2008-08-01 00:13:32Z by emax Fix locking bug, i.e. lock "wildcard" matched pcb before return. Revision Changes Path 1.2 +3 -0 src/sys/netgraph/bluetooth/socket/ng_btsocket_sco.c From emax at FreeBSD.org Fri Aug 1 00:16:45 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Aug 1 00:16:56 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Message-ID: <200808010016.m710GiOQ073858@repoman.freebsd.org> emax 2008-08-01 00:16:40 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Log: SVN rev 181089 on 2008-08-01 00:16:40Z by emax Increase maximum input queue size limit for raw Bluetooth HCI sockets. MFC after: 3 days Revision Changes Path 1.24 +1 -2 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c From des at FreeBSD.org Fri Aug 1 00:28:04 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 00:28:10 2008 Subject: cvs commit: src/crypto/openssh auth-skey.c config.h monitor.c Message-ID: <200808010028.m710S4uV074810@repoman.freebsd.org> des 2008-08-01 00:27:48 UTC FreeBSD src repository Modified files: crypto/openssh auth-skey.c config.h monitor.c Log: SVN rev 181090 on 2008-08-01 00:27:48Z by des Revert an old hack I put in to replace S/Key with OPIE. We haven't used that code in ages - we use pam_opie(8) instead - so this is a NOP. Revision Changes Path 1.18 +0 -9 src/crypto/openssh/auth-skey.c 1.20 +0 -3 src/crypto/openssh/config.h 1.23 +0 -9 src/crypto/openssh/monitor.c From des at FreeBSD.org Fri Aug 1 00:29:05 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 00:29:16 2008 Subject: cvs commit: src/crypto/openssh FREEBSD-upgrade Message-ID: <200808010029.m710T4bO074901@repoman.freebsd.org> des 2008-08-01 00:28:50 UTC FreeBSD src repository Modified files: crypto/openssh FREEBSD-upgrade Log: SVN rev 181091 on 2008-08-01 00:28:50Z by des Catch up with reality. Revision Changes Path 1.14 +2 -9 src/crypto/openssh/FREEBSD-upgrade From des at FreeBSD.org Fri Aug 1 00:34:56 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 00:35:03 2008 Subject: cvs commit: src/crypto/openssh version.c Message-ID: <200808010034.m710YuKa075387@repoman.freebsd.org> des 2008-08-01 00:34:37 UTC FreeBSD src repository Modified files: crypto/openssh version.c Log: SVN rev 181092 on 2008-08-01 00:34:37Z by des Ugh. Set svn:mergeinfo correctly. Revision Changes Path 1.7 +1 -0 src/crypto/openssh/version.c From emax at FreeBSD.org Fri Aug 1 00:36:57 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Aug 1 00:37:09 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c ng_btsocket_sco.c Message-ID: <200808010036.m710avmo075616@repoman.freebsd.org> emax 2008-08-01 00:36:43 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c ng_btsocket_sco.c Log: SVN rev 181093 on 2008-08-01 00:36:43Z by emax Implement ratelimiting for debug messages. For now, allow at most one message per second. In the future might add a sysctl knob for each socket family to fine tune this. MFC after: 1 week Revision Changes Path 1.25 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c 1.26 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c 1.21 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c 1.28 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c 1.3 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_sco.c From des at FreeBSD.org Fri Aug 1 01:00:50 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:00:57 2008 Subject: cvs commit: src/crypto/openssh log.h ssh_namespace.h Message-ID: <200808010100.m7110jAp086771@repoman.freebsd.org> des 2008-08-01 01:00:34 UTC FreeBSD src repository Modified files: crypto/openssh log.h ssh_namespace.h Log: SVN rev 181094 on 2008-08-01 01:00:34Z by des Cleanup. Revision Changes Path 1.9 +0 -8 src/crypto/openssh/log.h 1.3 +27 -20 src/crypto/openssh/ssh_namespace.h From des at FreeBSD.org Fri Aug 1 01:05:06 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:05:18 2008 Subject: cvs commit: src/crypto/openssh FREEBSD-Xlist Message-ID: <200808010105.m711569G088223@repoman.freebsd.org> des 2008-08-01 01:04:52 UTC FreeBSD src repository Removed files: crypto/openssh FREEBSD-Xlist Log: SVN rev 181095 on 2008-08-01 01:04:52Z by des This is no longer needed. Revision Changes Path 1.5 +0 -9 src/crypto/openssh/FREEBSD-Xlist (dead) From des at FreeBSD.org Fri Aug 1 01:05:37 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:05:48 2008 Subject: cvs commit: src/crypto/openssh FREEBSD-tricks Message-ID: <200808010105.m7115aE1088315@repoman.freebsd.org> des 2008-08-01 01:05:27 UTC FreeBSD src repository Modified files: crypto/openssh FREEBSD-tricks Log: SVN rev 181096 on 2008-08-01 01:05:27Z by des Tag expansion is no longer needed (svn handles them correctly). Add svn command to diff against vendor branch. Revision Changes Path 1.7 +3 -9 src/crypto/openssh/FREEBSD-tricks From des at FreeBSD.org Fri Aug 1 01:19:23 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:19:29 2008 Subject: cvs commit: src/crypto/openssh/openbsd-compat fake-rfc2553.h Message-ID: <200808010119.m711JNqa091221@repoman.freebsd.org> des 2008-08-01 01:19:13 UTC FreeBSD src repository Modified files: crypto/openssh/openbsd-compat fake-rfc2553.h Log: SVN rev 181098 on 2008-08-01 01:19:13Z by des We no longer have any local changes here. Revision Changes Path 1.9 +0 -1 src/crypto/openssh/openbsd-compat/fake-rfc2553.h From davidxu at FreeBSD.org Fri Aug 1 01:21:54 2008 From: davidxu at FreeBSD.org (David Xu) Date: Fri Aug 1 01:22:09 2008 Subject: cvs commit: src/lib/libthr/thread thr_condattr.c Message-ID: <200808010121.m711LrTE094543@repoman.freebsd.org> davidxu 2008-08-01 01:21:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_condattr.c Log: SVN rev 181099 on 2008-08-01 01:21:49Z by davidxu In function pthread_condattr_getpshared, store result correctly. PR: kern/126128 Revision Changes Path 1.4 +1 -1 src/lib/libthr/thread/thr_condattr.c From das at FreeBSD.org Fri Aug 1 01:24:39 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Aug 1 01:24:51 2008 Subject: cvs commit: src/lib/msun/src e_acosf.c e_asinf.c e_atan2f.c s_atanf.c Message-ID: <200808010124.m711OdXj095338@repoman.freebsd.org> das 2008-08-01 01:24:25 UTC FreeBSD src repository Modified files: lib/msun/src e_acosf.c e_asinf.c e_atan2f.c s_atanf.c Log: SVN rev 181100 on 2008-08-01 01:24:25Z by das Fix some problems with asinf(), acosf(), atanf(), and atan2f(): - Adjust several constants for float precision. Some thresholds that were appropriate for double precision were never changed when these routines were converted to float precision. This has an impact on performance but not accuracy. (Submitted by bde.) - Reduce the degrees of the polynomials used. A smaller degree suffices for float precision. - In asinf(), use double arithmetic in part of the calculation to avoid a corner case and some complicated arithmetic involving a division and some buggy constants. This improves performance and accuracy. Max error (ulps): asinf acosf atanf before 0.925 0.782 0.852 after 0.743 0.804 0.852 As bde points out, it's cheaper for asin*() and acos*() to use polynomials instead of rational functions, but that's a task for another day. Revision Changes Path 1.10 +11 -17 src/lib/msun/src/e_acosf.c 1.11 +18 -35 src/lib/msun/src/e_asinf.c 1.10 +2 -2 src/lib/msun/src/e_atan2f.c 1.10 +11 -17 src/lib/msun/src/s_atanf.c From des at FreeBSD.org Fri Aug 1 01:24:56 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:25:07 2008 Subject: cvs commit: src/crypto/openssh auth.h Message-ID: <200808010124.m711Oto7095382@repoman.freebsd.org> des 2008-08-01 01:24:42 UTC FreeBSD src repository Modified files: crypto/openssh auth.h Log: SVN rev 181101 on 2008-08-01 01:24:42Z by des Last remains of old OPIE patch Revision Changes Path 1.18 +0 -8 src/crypto/openssh/auth.h From sam at FreeBSD.org Fri Aug 1 01:28:11 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Fri Aug 1 01:28:17 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200808010128.m711SBrC095664@repoman.freebsd.org> sam 2008-08-01 01:27:52 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: SVN rev 181102 on 2008-08-01 01:27:52Z by sam add missing capability bits Revision Changes Path 1.53 +2 -2 src/sbin/ifconfig/ifieee80211.c From des at FreeBSD.org Fri Aug 1 01:30:42 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:30:49 2008 Subject: cvs commit: src/crypto/openssh auth-krb5.c auth-pam.c Message-ID: <200808010130.m711UgMO095905@repoman.freebsd.org> des 2008-08-01 01:30:26 UTC FreeBSD src repository Modified files: crypto/openssh auth-krb5.c auth-pam.c Log: SVN rev 181103 on 2008-08-01 01:30:26Z by des These two files have no local patches except to prevent expansion of the original $FreeBSD$ keywords. Revert those changes, and simply disable keyword expansion. Revision Changes Path 1.23 +1 -2 src/crypto/openssh/auth-krb5.c 1.20 +1 -2 src/crypto/openssh/auth-pam.c From des at FreeBSD.org Fri Aug 1 01:33:13 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:33:20 2008 Subject: cvs commit: src/crypto/openssh audit-bsm.c auth-chall.c auth-pam.h auth2-kbdint.c bufaux.c includes.h log.h servconf.h Message-ID: <200808010133.m711XDVl096155@repoman.freebsd.org> des 2008-08-01 01:32:56 UTC FreeBSD src repository Modified files: crypto/openssh audit-bsm.c auth-chall.c auth-pam.h auth2-kbdint.c bufaux.c includes.h log.h servconf.h Log: SVN rev 181104 on 2008-08-01 01:32:56Z by des More files which no longer have any local changes. Revision Changes Path 1.4 +0 -1 src/crypto/openssh/audit-bsm.c 1.12 +0 -1 src/crypto/openssh/auth-chall.c 1.13 +0 -1 src/crypto/openssh/auth-pam.h 1.6 +0 -1 src/crypto/openssh/auth2-kbdint.c 1.20 +0 -1 src/crypto/openssh/bufaux.c 1.23 +0 -1 src/crypto/openssh/includes.h 1.10 +0 -1 src/crypto/openssh/log.h 1.21 +0 -1 src/crypto/openssh/servconf.h From des at FreeBSD.org Fri Aug 1 01:38:30 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:38:41 2008 Subject: cvs commit: src/crypto/openssh auth-krb5.c Message-ID: <200808010138.m711cTWP096616@repoman.freebsd.org> des 2008-08-01 01:38:24 UTC FreeBSD src repository Modified files: crypto/openssh auth-krb5.c Log: SVN rev 181105 on 2008-08-01 01:38:24Z by des Accidentally mangled this one in the previous commit. Revision Changes Path 1.24 +1 -1 src/crypto/openssh/auth-krb5.c From des at FreeBSD.org Fri Aug 1 01:39:01 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:39:13 2008 Subject: cvs commit: src/crypto/openssh compat.c Message-ID: <200808010139.m711d0JQ096671@repoman.freebsd.org> des 2008-08-01 01:38:50 UTC FreeBSD src repository Modified files: crypto/openssh compat.c Log: SVN rev 181106 on 2008-08-01 01:38:50Z by des Yet another file with no local changes. Revision Changes Path 1.15 +0 -1 src/crypto/openssh/compat.c From des at FreeBSD.org Fri Aug 1 01:46:06 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:46:19 2008 Subject: cvs commit: src/crypto/openssh auth-passwd.c monitor.h monitor_wrap.c monitor_wrap.h Message-ID: <200808010146.m711k3ga097295@repoman.freebsd.org> des 2008-08-01 01:45:56 UTC FreeBSD src repository Modified files: crypto/openssh auth-passwd.c monitor.h monitor_wrap.c monitor_wrap.h Log: SVN rev 181107 on 2008-08-01 01:45:56Z by des Another four files without local changes. This is driving me nuts - every time I think I got them all, another one pops up. Revision Changes Path 1.22 +0 -1 src/crypto/openssh/auth-passwd.c 1.9 +0 -1 src/crypto/openssh/monitor.h 1.14 +0 -1 src/crypto/openssh/monitor_wrap.c 1.11 +0 -1 src/crypto/openssh/monitor_wrap.h From des at FreeBSD.org Fri Aug 1 01:48:49 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:49:00 2008 Subject: cvs commit: src/crypto/openssh auth1.c Message-ID: <200808010148.m711mnCs097485@repoman.freebsd.org> des 2008-08-01 01:48:33 UTC FreeBSD src repository Modified files: crypto/openssh auth1.c Log: SVN rev 181108 on 2008-08-01 01:48:33Z by des Another file with no local changes. Revision Changes Path 1.35 +0 -1 src/crypto/openssh/auth1.c From des at FreeBSD.org Fri Aug 1 01:51:08 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 01:51:18 2008 Subject: cvs commit: src/crypto/openssh auth2-chall.c Message-ID: <200808010151.m711p7Hp097731@repoman.freebsd.org> des 2008-08-01 01:50:55 UTC FreeBSD src repository Modified files: crypto/openssh auth2-chall.c Log: SVN rev 181109 on 2008-08-01 01:50:55Z by des Another file with no local changes. "This time for sure!" Revision Changes Path 1.13 +0 -1 src/crypto/openssh/auth2-chall.c From des at FreeBSD.org Fri Aug 1 02:53:36 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Aug 1 02:53:49 2008 Subject: cvs commit: src/crypto/openssh ChangeLog FREEBSD-upgrade FREEBSD-vendor INSTALL LICENCE PROTOCOL PROTOCOL.agent README README.platform RFC.nroff addrmatch.c atomicio.c audit-bsm.c auth-bsdauth.c auth-options.c auth-options.h auth-pam.c ... Message-ID: <200808010253.m712raNF004286@repoman.freebsd.org> des 2008-08-01 02:48:36 UTC FreeBSD src repository Modified files: crypto/openssh ChangeLog FREEBSD-upgrade FREEBSD-vendor INSTALL LICENCE README README.platform atomicio.c audit-bsm.c auth-bsdauth.c auth-options.c auth-options.h auth-pam.c auth-passwd.c auth-rhosts.c auth-rsa.c auth-shadow.c auth-sia.c auth-skey.c auth.c auth.h auth1.c auth2-chall.c auth2-gss.c auth2-hostbased.c auth2-none.c auth2-pubkey.c auth2.c bufaux.c bufbn.c buffer.h canohost.c channels.c channels.h cipher-3des1.c cipher-bf1.c cipher-ctr.c clientloop.c clientloop.h compat.c compat.h config.h defines.h dh.c dh.h dns.c entropy.c groupaccess.c groupaccess.h gss-genr.c gss-serv.c includes.h kex.c kex.h key.c key.h log.c log.h loginrec.c mac.c mac.h match.c match.h misc.c misc.h moduli moduli.c monitor.c monitor_fdpass.c monitor_fdpass.h monitor_mm.h monitor_wrap.c myproposal.h nchan.c packet.c packet.h readconf.c readconf.h scard-opensc.c scp.1 scp.c servconf.c servconf.h serverloop.c session.c session.h sftp-client.c sftp-client.h sftp-server.8 sftp-server.c sftp.1 sftp.c sftp.h ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-gss.h ssh-keygen.1 ssh-keygen.c ssh-keyscan.1 ssh-keyscan.c ssh-keysign.8 ssh-rand-helper.8 ssh-rand-helper.c ssh.1 ssh.c ssh_config ssh_config.5 ssh_namespace.h sshconnect.c sshconnect.h sshconnect2.c sshd.8 sshd.c sshd_config sshd_config.5 sshlogin.c sshpty.c sshpty.h sshtty.c ttymodes.c version.h crypto/openssh/openbsd-compat base64.c bindresvport.c bsd-arc4random.c bsd-asprintf.c bsd-cray.c bsd-cygwin_util.c bsd-getpeereid.c bsd-misc.c bsd-snprintf.c fake-rfc2553.c fake-rfc2553.h getrrsetbyname.c getrrsetbyname.h glob.c glob.h openbsd-compat.h openssl-compat.c openssl-compat.h port-aix.c port-aix.h port-linux.c port-linux.h port-tun.c port-uw.c port-uw.h rresvport.c setenv.c setproctitle.c sigact.c sys-queue.h sys-tree.h xcrypt.c xmmap.c secure/lib/libssh Makefile secure/libexec/sftp-server Makefile secure/usr.bin/ssh Makefile secure/usr.sbin/sshd Makefile Added files: crypto/openssh PROTOCOL PROTOCOL.agent addrmatch.c config.h.in moduli.5 mux.c sftp-server-main.c umac.c umac.h crypto/openssh/openbsd-compat bsd-poll.c bsd-poll.h bsd-statvfs.c bsd-statvfs.h fmt_scaled.c Removed files: crypto/openssh RFC.nroff Log: SVN rev 181111 on 2008-08-01 02:48:36Z by des Upgrade to OpenSSH 5.1p1. I have worked hard to reduce diffs against the vendor branch. One notable change in that respect is that we no longer prefer DSA over RSA - the reasons for doing so went away years ago. This may cause some surprises, as ssh will warn about unknown host keys even for hosts whose keys haven't changed. MFC after: 6 weeks Revision Changes Path 1.2 +4678 -972 src/crypto/openssh/ChangeLog 1.15 +2 -8 src/crypto/openssh/FREEBSD-upgrade 1.2 +2 -2 src/crypto/openssh/FREEBSD-vendor 1.2 +122 -82 src/crypto/openssh/INSTALL 1.10 +1 -0 src/crypto/openssh/LICENCE 1.1 +243 -0 src/crypto/openssh/PROTOCOL (new) 1.1 +516 -0 src/crypto/openssh/PROTOCOL.agent (new) 1.2 +63 -561 src/crypto/openssh/README 1.2 +66 -4 src/crypto/openssh/README.platform 1.2 +0 -1780 src/crypto/openssh/RFC.nroff (dead) 1.1 +421 -0 src/crypto/openssh/addrmatch.c (new) 1.2 +100 -15 src/crypto/openssh/atomicio.c 1.5 +50 -7 src/crypto/openssh/audit-bsm.c 1.2 +31 -9 src/crypto/openssh/auth-bsdauth.c 1.2 +271 -118 src/crypto/openssh/auth-options.c 1.2 +15 -3 src/crypto/openssh/auth-options.h 1.21 +10 -9 src/crypto/openssh/auth-pam.c 1.23 +1 -1 src/crypto/openssh/auth-passwd.c 1.2 +120 -59 src/crypto/openssh/auth-rhosts.c 1.19 +2 -21 src/crypto/openssh/auth-rsa.c 1.2 +9 -2 src/crypto/openssh/auth-shadow.c 1.2 +88 -45 src/crypto/openssh/auth-sia.c 1.19 +3 -3 src/crypto/openssh/auth-skey.c 1.21 +52 -11 src/crypto/openssh/auth.c 1.19 +2 -3 src/crypto/openssh/auth.h 1.36 +6 -3 src/crypto/openssh/auth1.c 1.14 +2 -2 src/crypto/openssh/auth2-chall.c 1.2 +82 -28 src/crypto/openssh/auth2-gss.c 1.2 +23 -13 src/crypto/openssh/auth2-hostbased.c 1.2 +25 -54 src/crypto/openssh/auth2-none.c 1.2 +33 -34 src/crypto/openssh/auth2-pubkey.c 1.29 +79 -11 src/crypto/openssh/auth2.c 1.21 +18 -2 src/crypto/openssh/bufaux.c 1.2 +15 -7 src/crypto/openssh/bufbn.c 1.2 +62 -44 src/crypto/openssh/buffer.h 1.21 +5 -4 src/crypto/openssh/canohost.c 1.24 +250 -129 src/crypto/openssh/channels.c 1.17 +44 -12 src/crypto/openssh/channels.h 1.2 +11 -4 src/crypto/openssh/cipher-3des1.c 1.2 +8 -4 src/crypto/openssh/cipher-bf1.c 1.2 +12 -13 src/crypto/openssh/cipher-ctr.c 1.2 +1613 -522 src/crypto/openssh/clientloop.c 1.2 +36 -2 src/crypto/openssh/clientloop.h 1.16 +3 -2 src/crypto/openssh/compat.c 1.15 +2 -1 src/crypto/openssh/compat.h 1.21 +96 -13 src/crypto/openssh/config.h 1.1 +1423 -0 src/crypto/openssh/config.h.in (new) 1.2 +251 -52 src/crypto/openssh/defines.h 1.2 +237 -48 src/crypto/openssh/dh.c 1.2 +39 -1 src/crypto/openssh/dh.h 1.2 +82 -67 src/crypto/openssh/dns.c 1.2 +61 -21 src/crypto/openssh/entropy.c 1.2 +58 -7 src/crypto/openssh/groupaccess.c 1.2 +5 -19 src/crypto/openssh/groupaccess.h 1.2 +68 -43 src/crypto/openssh/gss-genr.c 1.2 +102 -29 src/crypto/openssh/gss-serv.c 1.24 +3 -1 src/crypto/openssh/includes.h 1.2 +458 -313 src/crypto/openssh/kex.c 1.2 +99 -52 src/crypto/openssh/kex.h 1.23 +116 -3 src/crypto/openssh/key.c 1.2 +73 -8 src/crypto/openssh/key.h 1.2 +329 -112 src/crypto/openssh/log.c 1.11 +9 -5 src/crypto/openssh/log.h 1.15 +1 -0 src/crypto/openssh/loginrec.c 1.2 +106 -32 src/crypto/openssh/mac.c 1.2 +6 -4 src/crypto/openssh/mac.h 1.2 +207 -11 src/crypto/openssh/match.c 1.2 +21 -12 src/crypto/openssh/match.h 1.2 +742 -18 src/crypto/openssh/misc.c 1.2 +77 -14 src/crypto/openssh/misc.h 1.2 +187 -157 src/crypto/openssh/moduli 1.1 +124 -0 src/crypto/openssh/moduli.5 (new) 1.2 +167 -134 src/crypto/openssh/moduli.c 1.24 +25 -8 src/crypto/openssh/monitor.c 1.3 +37 -20 src/crypto/openssh/monitor_fdpass.c 1.2 +2 -2 src/crypto/openssh/monitor_fdpass.h 1.2 +1 -5 src/crypto/openssh/monitor_mm.h 1.15 +47 -16 src/crypto/openssh/monitor_wrap.c 1.1 +728 -0 src/crypto/openssh/mux.c (new) 1.10 +3 -4 src/crypto/openssh/myproposal.h 1.2 +374 -92 src/crypto/openssh/nchan.c 1.2 +14 -15 src/crypto/openssh/openbsd-compat/base64.c 1.2 +42 -47 src/crypto/openssh/openbsd-compat/bindresvport.c 1.2 +97 -24 src/crypto/openssh/openbsd-compat/bsd-arc4random.c 1.2 +8 -2 src/crypto/openssh/openbsd-compat/bsd-asprintf.c 1.2 +587 -70 src/crypto/openssh/openbsd-compat/bsd-cray.c 1.2 +149 -76 src/crypto/openssh/openbsd-compat/bsd-cygwin_util.c 1.2 +39 -22 src/crypto/openssh/openbsd-compat/bsd-getpeereid.c 1.2 +155 -44 src/crypto/openssh/openbsd-compat/bsd-misc.c 1.1 +118 -0 src/crypto/openssh/openbsd-compat/bsd-poll.c (new) 1.1 +61 -0 src/crypto/openssh/openbsd-compat/bsd-poll.h (new) 1.2 +577 -471 src/crypto/openssh/openbsd-compat/bsd-snprintf.c 1.1 +37 -0 src/crypto/openssh/openbsd-compat/bsd-statvfs.c (new) 1.1 +68 -0 src/crypto/openssh/openbsd-compat/bsd-statvfs.h (new) 1.2 +12 -1 src/crypto/openssh/openbsd-compat/fake-rfc2553.c 1.10 +6 -2 src/crypto/openssh/openbsd-compat/fake-rfc2553.h 1.1 +274 -0 src/crypto/openssh/openbsd-compat/fmt_scaled.c (new) 1.2 +83 -51 src/crypto/openssh/openbsd-compat/getrrsetbyname.c 1.2 +12 -2 src/crypto/openssh/openbsd-compat/getrrsetbyname.h 1.2 +76 -117 src/crypto/openssh/openbsd-compat/glob.c 1.2 +23 -24 src/crypto/openssh/openbsd-compat/glob.h 1.2 +202 -27 src/crypto/openssh/openbsd-compat/openbsd-compat.h 1.2 +18 -2 src/crypto/openssh/openbsd-compat/openssl-compat.c 1.2 +38 -8 src/crypto/openssh/openbsd-compat/openssl-compat.h 1.2 +421 -12 src/crypto/openssh/openbsd-compat/port-aix.c 1.2 +112 -1 src/crypto/openssh/openbsd-compat/port-aix.h 1.2 +4 -2 src/crypto/openssh/openbsd-compat/port-linux.c 1.2 +2 -1 src/crypto/openssh/openbsd-compat/port-linux.h 1.2 +20 -1 src/crypto/openssh/openbsd-compat/port-tun.c 1.2 +27 -12 src/crypto/openssh/openbsd-compat/port-uw.c 1.2 +1 -1 src/crypto/openssh/openbsd-compat/port-uw.h 1.2 +16 -14 src/crypto/openssh/openbsd-compat/rresvport.c 1.2 +40 -57 src/crypto/openssh/openbsd-compat/setenv.c 1.2 +122 -60 src/crypto/openssh/openbsd-compat/setproctitle.c 1.2 +44 -14 src/crypto/openssh/openbsd-compat/sigact.c 1.2 +42 -14 src/crypto/openssh/openbsd-compat/sys-queue.h 1.2 +14 -10 src/crypto/openssh/openbsd-compat/sys-tree.h 1.2 +8 -7 src/crypto/openssh/openbsd-compat/xcrypt.c 1.2 +26 -6 src/crypto/openssh/openbsd-compat/xmmap.c 1.2 +1142 -280 src/crypto/openssh/packet.c 1.17 +6 -3 src/crypto/openssh/packet.h 1.29 +21 -12 src/crypto/openssh/readconf.c 1.21 +3 -2 src/crypto/openssh/readconf.h 1.2 +91 -21 src/crypto/openssh/scard-opensc.c 1.2 +163 -50 src/crypto/openssh/scp.1 1.12 +98 -40 src/crypto/openssh/scp.c 1.50 +363 -97 src/crypto/openssh/servconf.c 1.22 +11 -2 src/crypto/openssh/servconf.h 1.18 +49 -23 src/crypto/openssh/serverloop.c 1.51 +429 -195 src/crypto/openssh/session.c 1.12 +3 -1 src/crypto/openssh/session.h 1.2 +701 -316 src/crypto/openssh/sftp-client.c 1.2 +58 -51 src/crypto/openssh/sftp-client.h 1.1 +50 -0 src/crypto/openssh/sftp-server-main.c (new) 1.2 +59 -12 src/crypto/openssh/sftp-server.8 1.2 +826 -427 src/crypto/openssh/sftp-server.c 1.2 +306 -56 src/crypto/openssh/sftp.1 1.2 +1734 -165 src/crypto/openssh/sftp.c 1.2 +11 -1 src/crypto/openssh/sftp.h 1.2 +136 -74 src/crypto/openssh/ssh-add.1 1.19 +3 -2 src/crypto/openssh/ssh-add.c 1.2 +128 -84 src/crypto/openssh/ssh-agent.1 1.29 +81 -46 src/crypto/openssh/ssh-agent.c 1.2 +35 -25 src/crypto/openssh/ssh-gss.h 1.2 +390 -83 src/crypto/openssh/ssh-keygen.1 1.2 +1108 -181 src/crypto/openssh/ssh-keygen.c 1.2 +118 -54 src/crypto/openssh/ssh-keyscan.1 1.16 +4 -4 src/crypto/openssh/ssh-keyscan.c 1.2 +25 -10 src/crypto/openssh/ssh-keysign.8 1.2 +14 -14 src/crypto/openssh/ssh-rand-helper.8 1.2 +138 -78 src/crypto/openssh/ssh-rand-helper.c 1.36 +63 -9 src/crypto/openssh/ssh.1 1.33 +190 -386 src/crypto/openssh/ssh.c 1.33 +4 -3 src/crypto/openssh/ssh_config 1.24 +47 -12 src/crypto/openssh/ssh_config.5 1.4 +28 -0 src/crypto/openssh/ssh_namespace.h 1.34 +122 -37 src/crypto/openssh/sshconnect.c 1.10 +3 -3 src/crypto/openssh/sshconnect.h 1.19 +28 -8 src/crypto/openssh/sshconnect2.c 1.35 +80 -31 src/crypto/openssh/sshd.8 1.46 +124 -41 src/crypto/openssh/sshd.c 1.48 +14 -5 src/crypto/openssh/sshd_config 1.30 +125 -38 src/crypto/openssh/sshd_config.5 1.14 +2 -3 src/crypto/openssh/sshlogin.c 1.14 +1 -1 src/crypto/openssh/sshpty.c 1.2 +12 -32 src/crypto/openssh/sshpty.h 1.2 +12 -15 src/crypto/openssh/sshtty.c 1.2 +214 -78 src/crypto/openssh/ttymodes.c 1.1 +1277 -0 src/crypto/openssh/umac.c (new) 1.1 +123 -0 src/crypto/openssh/umac.h (new) 1.36 +4 -4 src/crypto/openssh/version.h 1.45 +4 -4 src/secure/lib/libssh/Makefile 1.16 +1 -1 src/secure/libexec/sftp-server/Makefile 1.37 +1 -1 src/secure/usr.bin/ssh/Makefile 1.53 +1 -1 src/secure/usr.sbin/sshd/Makefile From alc at FreeBSD.org Fri Aug 1 04:55:50 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Aug 1 04:56:01 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include param.h Message-ID: <200808010455.m714tiPZ025732@repoman.freebsd.org> alc 2008-08-01 04:55:38 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include param.h Log: SVN rev 181112 on 2008-08-01 04:55:38Z by alc Enhance pmap_change_attr() with the ability to demote 1GB page mappings. Revision Changes Path 1.641 +105 -2 src/sys/amd64/amd64/pmap.c 1.23 +1 -0 src/sys/amd64/include/param.h From dougb at FreeBSD.org Fri Aug 1 05:16:21 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Fri Aug 1 05:16:26 2008 Subject: cvs commit: src/etc/defaults rc.conf Message-ID: <200808010516.m715G1q3028458@repoman.freebsd.org> dougb 2008-08-01 05:15:54 UTC FreeBSD src repository Modified files: etc/defaults rc.conf Log: SVN rev 181113 on 2008-08-01 05:15:54Z by dougb Add the -c option for named_flags (still commented out) that is relevant for ports users, and change the comment to match. While I'm here fix the capitalization of the named_program comment. Revision Changes Path 1.338 +2 -2 src/etc/defaults/rc.conf From dougb at FreeBSD.org Fri Aug 1 06:11:47 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Fri Aug 1 06:11:53 2008 Subject: cvs commit: src/etc/rc.d named Message-ID: <200808010611.m716BlZw034031@repoman.freebsd.org> dougb 2008-08-01 06:11:33 UTC FreeBSD src repository Modified files: etc/rc.d named Log: SVN rev 181114 on 2008-08-01 06:11:33Z by dougb When using SRV records the protocols and services files need to be in the chroot /etc directory. PR: conf/121101 Submitted by: Stefan `Sec` Zehl Revision Changes Path 1.28 +9 -5 src/etc/rc.d/named From marck at FreeBSD.org Fri Aug 1 08:01:48 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Fri Aug 1 08:01:58 2008 Subject: cvs commit: src/usr.sbin/cron/cron do_command.c Message-ID: <200808010801.m7181mwI043903@repoman.freebsd.org> marck 2008-08-01 08:01:33 UTC FreeBSD src repository Modified files: usr.sbin/cron/cron do_command.c Log: SVN rev 181115 on 2008-08-01 08:01:33Z by marck Fix empty mailto (-m "") handling: somehow I missed all checks but the first, hence output would be written to the wrong filehandle. Submitted by: reg Approved by: yar (implicit) MFC after: ASAP Pointy hat to: marck Revision Changes Path 1.30 +3 -1 src/usr.sbin/cron/cron/do_command.c From marck at FreeBSD.org Fri Aug 1 08:13:19 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Fri Aug 1 08:13:26 2008 Subject: cvs commit: src/usr.sbin/cron/cron do_command.c Message-ID: <200808010813.m718DJxW046433@repoman.freebsd.org> marck 2008-08-01 08:13:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/cron/cron do_command.c Log: SVN rev 181116 on 2008-08-01 08:13:01Z by marck MFC r181115: Fix empty mailto (-m "") handling: somehow I missed all checks but the first, hence output would be written to the wrong filehandle. Submitted by: reg Approved by: yar (implicit) MFC after: ASAP Pointy hat to: marck Revision Changes Path 1.27.2.2 +3 -1 src/usr.sbin/cron/cron/do_command.c From marck at FreeBSD.org Fri Aug 1 08:15:36 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Fri Aug 1 08:15:47 2008 Subject: cvs commit: src/usr.sbin/cron/cron do_command.c Message-ID: <200808010815.m718FZ0x046646@repoman.freebsd.org> marck 2008-08-01 08:15:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/cron/cron do_command.c Log: SVN rev 181117 on 2008-08-01 08:15:25Z by marck MFC r181115: Fix empty mailto (-m "") handling: somehow I missed all checks but the first, hence output would be written to the wrong filehandle. Submitted by: reg Approved by: yar (implicit) MFC after: ASAP Pointy hat to: marck Revision Changes Path 1.22.8.4 +3 -1 src/usr.sbin/cron/cron/do_command.c From kostikbel at gmail.com Fri Aug 1 08:55:48 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Fri Aug 1 08:55:55 2008 Subject: cvs commit: src/sys/conf files src/sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c In-Reply-To: <3c1674c90807311543q171b91f6n6274ce8c84be565d@mail.gmail.com> References: <200807302036.m6UKaQDa032283@repoman.freebsd.org> <20080731172546.GA97161@deviant.kiev.zoral.com.ua> <3c1674c90807311057r780ce429o7fc4c921e0cd6d81@mail.gmail.com> <3c1674c90807311543q171b91f6n6274ce8c84be565d@mail.gmail.com> Message-ID: <20080801085542.GC97161@deviant.kiev.zoral.com.ua> On Thu, Jul 31, 2008 at 03:43:05PM -0700, Kip Macy wrote: > This was fixed with the MFC in 181072. > > -Kip Thanks. > > On Thu, Jul 31, 2008 at 10:57 AM, Kip Macy wrote: > > No, will fix. > > > > > > > > On 7/31/08, Kostik Belousov wrote: > >> On Wed, Jul 30, 2008 at 08:35:41PM +0000, Kip Macy wrote: > >>> kmacy 2008-07-30 20:35:41 UTC > >>> > >>> FreeBSD src repository > >>> > >>> Modified files: (Branch: RELENG_7) > >>> sys/conf files > >>> sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h > >>> tcp_usrreq.c > >>> Log: > >>> SVN rev 181013 on 2008-07-30 20:35:41Z by kmacy > >>> > >>> MFC TCP hooks for conditionally tying TCP offload devices in to the TCP > >>> stack. > >>> > >>> Revision Changes Path > >>> 1.1243.2.32 +1 -0 src/sys/conf/files > >>> 1.300.2.4 +9 -2 src/sys/netinet/tcp_subr.c > >>> 1.130.2.9 +58 -13 src/sys/netinet/tcp_syncache.c > >>> 1.1.2.1 +6 -0 src/sys/netinet/tcp_syncache.h > >>> 1.163.2.4 +13 -9 src/sys/netinet/tcp_usrreq.c > >> > >> I am replying to the random commit in the series. > >> > >> Now, the kernel reports seemingly debugging information like > >> no toe capability on 0xc29da000 > >> no toe capability on 0xc29da000 > >> no toe capability on 0xc29da000 > >> no toe capability on 0xc29dfc00 > >> no toe capability on 0xc29da000 > >> > >> Is it necessary ? > >> > > -------------- 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/20080801/da839217/attachment.pgp From rwatson at FreeBSD.org Fri Aug 1 09:41:54 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 1 09:42:05 2008 Subject: cvs commit: src/sys/net if_loop.c Message-ID: <200808010941.m719fqrp066076@repoman.freebsd.org> rwatson 2008-08-01 09:41:45 UTC FreeBSD src repository Modified files: sys/net if_loop.c Log: SVN rev 181118 on 2008-08-01 09:41:45Z by rwatson Remove further trailing white space. Revision Changes Path 1.118 +1 -1 src/sys/net/if_loop.c From kib at FreeBSD.org Fri Aug 1 09:47:29 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 1 09:47:35 2008 Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c zfs_znode.c src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h src/sys/fs/msdosfs denode.h msdosfs_vnops.c src/sys/fs/smbfs smbfs_node.h smbfs_vnops.c src/sys/fs/tmpfs tmpfs.h tmpfs_vfsops.c ... Message-ID: <200808010947.m719lTCo067192@repoman.freebsd.org> kib 2008-08-01 09:46:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c zfs_znode.c sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h sys/fs/msdosfs denode.h msdosfs_vnops.c sys/fs/smbfs smbfs_node.h smbfs_vnops.c sys/fs/tmpfs tmpfs.h tmpfs_vfsops.c tmpfs_vnops.c sys/gnu/fs/ext2fs ext2_vnops.c inode.h sys/gnu/fs/xfs/FreeBSD xfs_vnops.c sys/kern kern_lockf.c vfs_default.c vfs_subr.c sys/nfs4client nfs4_vnops.c sys/nfsclient nfs_lock.c nfs_vnops.c nfsnode.h sys/sys lockf.h vnode.h sys/ufs/ufs inode.h ufs_vnops.c Log: SVN rev 181119 on 2008-08-01 09:46:19Z by kib MFC r178243: Move the head of byte-level advisory lock list from the filesystem-specific vnode data to the struct vnode. Provide the default implementation for the vop_advlock and vop_advlockasync. Purge the locks on the vnode reclaim by using the lf_purgelocks(). The default implementation is augmented for the nfs and smbfs. In the nfs_advlock, push the Giant inside the nfs_dolock. Before the change, the vop_advlock and vop_advlockasync have taken the unlocked vnode and dereferenced the fs-private inode data, racing with with the vnode reclamation due to forced unmount. Now, the vop_getattr under the shared vnode lock is used to obtain the inode size, and later, in the lf_advlockasync, after locking the vnode interlock, the VI_DOOMED flag is checked to prevent an operation on the doomed vnode. MFC r178247: Fix compilation with LOCKF_DEBUG. As was announced on the stable@, the MFC changes the VFS KBI on RELENG_7. Approved by: re (kensmith) Revision Changes Path 1.3.2.2 +0 -1 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h 1.31.2.3 +0 -39 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c 1.15.2.2 +0 -1 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c 1.37.2.1 +0 -1 src/sys/fs/msdosfs/denode.h 1.179.2.3 +0 -35 src/sys/fs/msdosfs/msdosfs_vnops.c 1.7.10.1 +0 -1 src/sys/fs/smbfs/smbfs_node.h 1.65.2.2 +4 -4 src/sys/fs/smbfs/smbfs_vnops.c 1.11.2.2 +0 -3 src/sys/fs/tmpfs/tmpfs.h 1.11.2.4 +0 -1 src/sys/fs/tmpfs/tmpfs_vfsops.c 1.11.2.3 +0 -32 src/sys/fs/tmpfs/tmpfs_vnops.c 1.110.2.1 +0 -20 src/sys/gnu/fs/ext2fs/ext2_vnops.c 1.44.10.1 +0 -1 src/sys/gnu/fs/ext2fs/inode.h 1.6.2.1 +4 -4 src/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c 1.57.2.3 +97 -2 src/sys/kern/kern_lockf.c 1.138.2.1 +40 -1 src/sys/kern/vfs_default.c 1.707.2.7 +5 -0 src/sys/kern/vfs_subr.c 1.37.2.2 +29 -11 src/sys/nfs4client/nfs4_vnops.c 1.45.2.2 +18 -8 src/sys/nfsclient/nfs_lock.c 1.276.2.3 +23 -19 src/sys/nfsclient/nfs_vnops.c 1.60.2.1 +0 -1 src/sys/nfsclient/nfsnode.h 1.20.2.2 +6 -0 src/sys/sys/lockf.h 1.326.2.3 +3 -0 src/sys/sys/vnode.h 1.51.2.1 +0 -1 src/sys/ufs/ufs/inode.h 1.291.2.3 +0 -41 src/sys/ufs/ufs/ufs_vnops.c From keramida at freebsd.org Fri Aug 1 10:05:27 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Fri Aug 1 10:05:45 2008 Subject: cvs commit: src/sys/conf newvers.sh In-Reply-To: <200807161029.m6GATt4V031164@repoman.freebsd.org> (Doug Barton's message of "Wed, 16 Jul 2008 10:29:42 +0000 (UTC)") References: <200807161029.m6GATt4V031164@repoman.freebsd.org> Message-ID: <87ej59kqmr.fsf@kobe.laptop> On Wed, 16 Jul 2008 10:29:42 +0000 (UTC), Doug Barton wrote: > dougb 2008-07-16 10:29:42 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/conf newvers.sh > Log: > SVN rev 180557 on 2008-07-16 10:29:42Z by dougb > > MFC r179637, r179655, and r180503, the inclusion of the svnversion info > for uname. > > Revision Changes Path > 1.69.2.17 +18 -2 src/sys/conf/newvers.sh Hi Doug, Instead of trying to guess ${SRCDIR} we could let make tell us its value, at the last possible moment, by a patch like the one below. Does it look like something we should commit? %%% diff -r fe80b79b9f0e sys/conf/kern.post.mk --- a/sys/conf/kern.post.mk Fri Aug 01 02:48:36 2008 +0000 +++ b/sys/conf/kern.post.mk Fri Aug 01 12:50:18 2008 +0300 @@ -244,7 +244,7 @@ ${NORMAL_LINT} vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP} - MAKE=${MAKE} sh $S/conf/newvers.sh ${KERN_IDENT} + MAKE=${MAKE} SRCDIR=$s sh $S/conf/newvers.sh ${KERN_IDENT} vnode_if.c: $S/tools/vnode_if.awk $S/kern/vnode_if.src ${AWK} -f $S/tools/vnode_if.awk $S/kern/vnode_if.src -c diff -r fe80b79b9f0e sys/conf/newvers.sh --- a/sys/conf/newvers.sh Fri Aug 01 02:48:36 2008 +0000 +++ b/sys/conf/newvers.sh Fri Aug 01 12:50:18 2008 +0300 @@ -90,13 +90,11 @@ for dir in /bin /usr/bin /usr/local/bin; do if [ -x "${dir}/svnversion" ]; then svnversion=${dir}/svnversion - SRCDIR=${d##*obj} - SRCDIR=${SRCDIR%%/sys/*} break fi done -if [ -n "$svnversion" -a -d "${SRCDIR}/.svn" ] ; then +if [ -n "$svnversion" -a -n "${SRCDIR}" -a -d "${SRCDIR}/.svn" ] ; then svn=" r`cd $SRCDIR && $svnversion`" else svn="" %%% From kib at FreeBSD.org Fri Aug 1 10:08:18 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 1 10:08:29 2008 Subject: cvs commit: src/sys/kern kern_exec.c kern_proc.c src/sys/sys proc.h Message-ID: <200808011008.m71A8IjW070006@repoman.freebsd.org> kib 2008-08-01 10:07:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_exec.c kern_proc.c sys/sys proc.h Log: SVN rev 181120 on 2008-08-01 10:07:40Z by kib MFC r180799: Call pargs_drop() unconditionally in do_execve(), the function correctly handles the NULL argument. Make pargs_free() static. Revision Changes Path 1.308.2.4 +2 -4 src/sys/kern/kern_exec.c 1.252.2.9 +2 -1 src/sys/kern/kern_proc.c 1.491.2.7 +0 -1 src/sys/sys/proc.h From keramida at ceid.upatras.gr Fri Aug 1 10:25:27 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Aug 1 10:25:33 2008 Subject: cvs commit: src/sys/conf newvers.sh In-Reply-To: <87ej59kqmr.fsf@kobe.laptop> (Giorgos Keramidas's message of "Fri, 01 Aug 2008 12:53:48 +0300") References: <200807161029.m6GATt4V031164@repoman.freebsd.org> <87ej59kqmr.fsf@kobe.laptop> Message-ID: <877ib1kpqc.fsf@kobe.laptop> On Fri, 01 Aug 2008 12:53:48 +0300, Giorgos Keramidas wrote: > On Wed, 16 Jul 2008 10:29:42 +0000 (UTC), Doug Barton wrote: >> dougb 2008-07-16 10:29:42 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_6) >> sys/conf newvers.sh >> Log: >> SVN rev 180557 on 2008-07-16 10:29:42Z by dougb >> >> MFC r179637, r179655, and r180503, the inclusion of the svnversion info >> for uname. >> >> Revision Changes Path >> 1.69.2.17 +18 -2 src/sys/conf/newvers.sh > > Hi Doug, > > Instead of trying to guess ${SRCDIR} we could let make tell us its > value, at the last possible moment, by a patch like the one below. > Does it look like something we should commit? > > %%% > diff -r fe80b79b9f0e sys/conf/kern.post.mk > --- a/sys/conf/kern.post.mk Fri Aug 01 02:48:36 2008 +0000 > +++ b/sys/conf/kern.post.mk Fri Aug 01 12:50:18 2008 +0300 > @@ -244,7 +244,7 @@ > ${NORMAL_LINT} > > vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP} > - MAKE=${MAKE} sh $S/conf/newvers.sh ${KERN_IDENT} > + MAKE=${MAKE} SRCDIR=$s sh $S/conf/newvers.sh ${KERN_IDENT} ``SRCDIR=$S'' of course... Sorry for botching the copy/paste here. From rwatson at FreeBSD.org Fri Aug 1 10:32:21 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 1 10:32:34 2008 Subject: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c Message-ID: <200808011032.m71AWLrC071897@repoman.freebsd.org> rwatson 2008-08-01 10:32:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_subr.c tcp_timer.c Log: SVN rev 181121 on 2008-08-01 10:32:11Z by rwatson Merge r179487 from head to stable/7: When allocating temporary storage to hold a TCP/IP packet header template, use an M_TEMP malloc(9) allocation rather than an mbuf with mtod(9) and dtom(9). This eliminates the last use of dtom(9) in TCP. Revision Changes Path 1.300.2.5 +6 -10 src/sys/netinet/tcp_subr.c 1.99.2.1 +1 -1 src/sys/netinet/tcp_timer.c From keramida at ceid.upatras.gr Fri Aug 1 10:51:48 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Aug 1 10:51:59 2008 Subject: cvs commit: src/sys/conf newvers.sh In-Reply-To: <877ib1kpqc.fsf@kobe.laptop> (Giorgos Keramidas's message of "Fri, 01 Aug 2008 13:13:15 +0300") References: <200807161029.m6GATt4V031164@repoman.freebsd.org> <87ej59kqmr.fsf@kobe.laptop> <877ib1kpqc.fsf@kobe.laptop> Message-ID: <87sktpggam.fsf@kobe.laptop> On Fri, 01 Aug 2008 13:13:15 +0300, Giorgos Keramidas wrote: >> Instead of trying to guess ${SRCDIR} we could let make tell us its >> value, at the last possible moment, by a patch like the one below. >> Does it look like something we should commit? Hmmm, not a good idea it seems. includes/Makefile uses newvers.sh too, among many other places. Sorry for the noise. From rwatson at FreeBSD.org Fri Aug 1 11:00:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 1 11:00:30 2008 Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200808011100.m71B0NQK074611@repoman.freebsd.org> rwatson 2008-08-01 11:00:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.c Log: SVN rev 181122 on 2008-08-01 11:00:14Z by rwatson Merge r179517 from head to stable/7: Add an XXX comment regarding a bug I introduced when modifying the behavior of audit log vnode rotation: on shutdown, we may not properly drain all pending records, which could lead to lost records during system shutdown. Revision Changes Path 1.33.2.5 +3 -0 src/sys/security/audit/audit.c From rwatson at FreeBSD.org Fri Aug 1 11:11:25 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 1 11:11:35 2008 Subject: cvs commit: src/sys/nfsserver nfs_syscalls.c Message-ID: <200808011111.m71BBOVh076753@repoman.freebsd.org> rwatson 2008-08-01 11:11:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/nfsserver nfs_syscalls.c Log: SVN rev 181123 on 2008-08-01 11:11:12Z by rwatson Merge r180131 from head to stable/7: Remove spls from NFS server setup call; expand receive socket buffer locking to cover full setup of socket upcalls; remove XXX about locking. Revision Changes Path 1.116.2.2 +3 -8 src/sys/nfsserver/nfs_syscalls.c From jhb at FreeBSD.org Fri Aug 1 13:11:42 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 13:11:47 2008 Subject: cvs commit: src/sys/dev/agp agp_i810.c Message-ID: <200808011311.m71DBf33099960@repoman.freebsd.org> jhb 2008-08-01 13:11:23 UTC FreeBSD src repository Modified files: sys/dev/agp agp_i810.c Log: SVN rev 181124 on 2008-08-01 13:11:23Z by jhb Enable the support for G33/Q35/Q33 now that both the G33 and Q35 have been tested: PR: amd64/126090 MFC after: 1 week Revision Changes Path 1.47 +0 -2 src/sys/dev/agp/agp_i810.c From cognet at FreeBSD.org Fri Aug 1 13:12:16 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Fri Aug 1 13:12:22 2008 Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd main.c Message-ID: <200808011312.m71DCCmb000124@repoman.freebsd.org> cognet 2008-08-01 13:12:06 UTC FreeBSD src repository Modified files: usr.sbin/bootparamd/bootparamd main.c Log: SVN rev 181125 on 2008-08-01 13:12:06Z by cognet Char is unsigned on arm, so is not suitable to store the return value of getopt(). Use an int instead. Submitted by: Matthew Luckie MFC after: 3 days Revision Changes Path 1.13 +2 -2 src/usr.sbin/bootparamd/bootparamd/main.c From emaste at FreeBSD.org Fri Aug 1 15:14:00 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Fri Aug 1 15:14:10 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808011513.m71FDxdD012151@repoman.freebsd.org> emaste 2008-08-01 15:13:56 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c Log: SVN rev 181126 on 2008-08-01 15:13:56Z by emaste Fix whitespace. Revision Changes Path 1.198 +2 -2 src/sys/cam/cam_xpt.c From emaste at FreeBSD.org Fri Aug 1 18:26:26 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Fri Aug 1 18:26:37 2008 Subject: cvs commit: src/sys/cam cam_periph.c cam_xpt.c src/sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_sa.c Message-ID: <200808011826.m71IQPbk039757@repoman.freebsd.org> emaste 2008-08-01 18:25:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/cam cam_periph.c cam_xpt.c sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_sa.c Log: SVN rev 181127 on 2008-08-01 18:25:28Z by emaste MFC r169562: Eliminate the use of M_TEMP. Revision Changes Path 1.60.2.3 +3 -2 src/sys/cam/cam_periph.c 1.155.2.13 +20 -20 src/sys/cam/cam_xpt.c 1.93.2.4 +68 -66 src/sys/cam/scsi/scsi_cd.c 1.42.2.1 +8 -6 src/sys/cam/scsi/scsi_ch.c 1.180.2.16 +10 -7 src/sys/cam/scsi/scsi_da.c 1.105.2.2 +11 -11 src/sys/cam/scsi/scsi_sa.c From jhb at FreeBSD.org Fri Aug 1 19:50:48 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 19:51:00 2008 Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c src/sys/vm vm_object.c vm_object.h vnode_pager.c Message-ID: <200808011950.m71Jomtc062491@repoman.freebsd.org> jhb 2008-08-01 19:50:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ufs ufs_lookup.c sys/vm vm_object.c vm_object.h vnode_pager.c Log: SVN rev 181128 on 2008-08-01 19:50:07Z by jhb MFC: Allow VM object creation in ufs_lookup(). Revision Changes Path 1.77.2.7 +9 -0 src/sys/ufs/ufs/ufs_lookup.c 1.349.2.8 +22 -11 src/sys/vm/vm_object.c 1.111.2.1 +1 -0 src/sys/vm/vm_object.h 1.221.2.10 +12 -3 src/sys/vm/vnode_pager.c From jhb at FreeBSD.org Fri Aug 1 20:11:05 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 20:11:12 2008 Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Message-ID: <200808012011.m71KB5qN065225@repoman.freebsd.org> jhb 2008-08-01 20:10:47 UTC FreeBSD src repository Modified files: sys/i386/i386 mp_machdep.c Log: SVN rev 181129 on 2008-08-01 20:10:47Z by jhb Adjust comment. This stack is only used for booting now and not as an idle stack. Revision Changes Path 1.288 +1 -1 src/sys/i386/i386/mp_machdep.c From jhb at FreeBSD.org Fri Aug 1 20:17:37 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 20:17:44 2008 Subject: cvs commit: src/sys/i386/i386 locore.s machdep.c mp_machdep.c pmap.c src/sys/i386/include pmap.h Message-ID: <200808012017.m71KHb9g065732@repoman.freebsd.org> jhb 2008-08-01 20:17:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/i386 locore.s machdep.c mp_machdep.c pmap.c sys/i386/include pmap.h Log: SVN rev 181130 on 2008-08-01 20:17:21Z by jhb MFC: Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. Revision Changes Path 1.188.2.1 +0 -65 src/sys/i386/i386/locore.s 1.658.2.9 +2 -9 src/sys/i386/i386/machdep.c 1.281.2.4 +23 -46 src/sys/i386/i386/mp_machdep.c 1.594.2.7 +0 -10 src/sys/i386/i386/pmap.c 1.128.2.1 +1 -12 src/sys/i386/include/pmap.h From jhb at FreeBSD.org Fri Aug 1 20:31:09 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 20:31:21 2008 Subject: cvs commit: src/sys/i386/i386 locore.s machdep.c mp_machdep.c pmap.c src/sys/i386/include pmap.h Message-ID: <200808012031.m71KV9NN066903@repoman.freebsd.org> jhb 2008-08-01 20:31:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/i386/i386 locore.s machdep.c mp_machdep.c pmap.c sys/i386/include pmap.h Log: SVN rev 181131 on 2008-08-01 20:31:07Z by jhb MFC: Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. Revision Changes Path 1.186.2.1 +0 -65 src/sys/i386/i386/locore.s 1.616.2.15 +2 -9 src/sys/i386/i386/machdep.c 1.252.2.14 +23 -46 src/sys/i386/i386/mp_machdep.c 1.523.2.25 +0 -10 src/sys/i386/i386/pmap.c 1.117.2.4 +1 -12 src/sys/i386/include/pmap.h From jhb at FreeBSD.org Fri Aug 1 20:39:29 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 20:39:40 2008 Subject: cvs commit: src/sys/dev/nvram nvram.c Message-ID: <200808012039.m71KdPu9067600@repoman.freebsd.org> jhb 2008-08-01 20:39:18 UTC FreeBSD src repository Modified files: sys/dev/nvram nvram.c Log: SVN rev 181132 on 2008-08-01 20:39:18Z by jhb - Use an sx lock to serialize writes since they update the checksum. - Remove D_NEEDGIANT as the rtc drivers already have their own locks, so this doesn't need Giant. MFC after: 1 week Revision Changes Path 1.3 +14 -3 src/sys/dev/nvram/nvram.c From jhb at FreeBSD.org Fri Aug 1 21:25:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 21:25:12 2008 Subject: cvs commit: src/sys/amd64/conf NOTES src/sys/amd64/include clock.h src/sys/amd64/isa clock.c src/sys/conf files.amd64 files.i386 src/sys/dev/nvram nvram.c src/sys/i386/conf NOTES src/sys/i386/include clock.h src/sys/i386/isa clock.c ... Message-ID: <200808012125.m71LP0VX081917@repoman.freebsd.org> jhb 2008-08-01 21:24:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/conf NOTES sys/amd64/include clock.h sys/amd64/isa clock.c sys/conf files.amd64 files.i386 sys/i386/conf NOTES sys/i386/include clock.h sys/i386/isa clock.c sys/modules Makefile Added files: (Branch: RELENG_6) sys/dev/nvram nvram.c sys/modules/nvram Makefile Log: SVN rev 181133 on 2008-08-01 21:24:17Z by jhb MFC: Add the optional nvram(4) device. As with 7.x, this device is off by default but can be enabled via 'device nvram' or loading the nvram.ko module on amd64 and i386. Revision Changes Path 1.36.2.15 +3 -0 src/sys/amd64/conf/NOTES 1.50.2.1 +2 -1 src/sys/amd64/include/clock.h 1.221.2.5 +6 -2 src/sys/amd64/isa/clock.c 1.71.2.20 +1 -0 src/sys/conf/files.amd64 1.538.2.19 +1 -0 src/sys/conf/files.i386 1.3.2.1 +159 -0 src/sys/dev/nvram/nvram.c (new) 1.1202.2.17 +3 -0 src/sys/i386/conf/NOTES 1.52.2.1 +2 -1 src/sys/i386/include/clock.h 1.222.2.6 +6 -2 src/sys/i386/isa/clock.c 1.450.2.40 +3 -0 src/sys/modules/Makefile 1.1.4.1 +8 -0 src/sys/modules/nvram/Makefile (new) From jhb at FreeBSD.org Fri Aug 1 21:33:17 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 21:33:23 2008 Subject: cvs commit: src/sys/dev/ie if_ie.c if_ie_isa.c if_ievar.h Message-ID: <200808012133.m71LXHwj082609@repoman.freebsd.org> jhb 2008-08-01 21:33:07 UTC FreeBSD src repository Modified files: sys/dev/ie if_ie.c if_ie_isa.c if_ievar.h Log: SVN rev 181134 on 2008-08-01 21:33:07Z by jhb Use the new bus device_shutdown hook for performing the shutdown action on the ee16 parts rather than explicitly registering an event handler that wasn't being torn down on detach. Revision Changes Path 1.111 +3 -9 src/sys/dev/ie/if_ie.c 1.10 +15 -0 src/sys/dev/ie/if_ie_isa.c 1.6 +1 -0 src/sys/dev/ie/if_ievar.h From csjp at FreeBSD.org Fri Aug 1 21:38:55 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Fri Aug 1 21:39:00 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200808012138.m71LcmH5083062@repoman.freebsd.org> csjp 2008-08-01 21:38:46 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: SVN rev 181135 on 2008-08-01 21:38:46Z by csjp Annotate why we do not call BPF_CHECK_DIRECTION() in this tapping routine. There is no way for the caller to tell us which direction this packet is going. With the bpf_mtap{2} routines, we can check the interface pointer. MFC after: 2 weeks Revision Changes Path 1.199 +6 -0 src/sys/net/bpf.c From jhb at FreeBSD.org Fri Aug 1 21:58:24 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 1 21:58:30 2008 Subject: cvs commit: src Makefile.inc1 src/usr.bin/ldd Makefile ldd.1 ldd.c Message-ID: <200808012158.m71LwOGQ084650@repoman.freebsd.org> jhb 2008-08-01 21:52:41 UTC FreeBSD src repository Modified files: . Makefile.inc1 usr.bin/ldd Makefile ldd.1 ldd.c Log: SVN rev 181136 on 2008-08-01 21:52:41Z by jhb Tweak the support for using ldd on 32-bit objects a bit further. Specifically, build a 32-bit /usr/bin/ldd32 on amd64 which handles 32-bit objects. Since it is a 32-bit binary, it can fork a child process which can dlopen() a 32-bit shared library. The current 32-bit support in ldd can't do this because it does the dlopen() from a 64-bit process. In order to preserve an intuitive interface for users, the ldd binary automatically execs /usr/bin/ldd32 for 32-bit objects. The end result is that ldd on amd64 now transparently handles 32-bit shared libraries in addition to 32-bit binaries. Submitted by: ps (indirectly) Revision Changes Path 1.608 +3 -0 src/Makefile.inc1 1.14 +1 -1 src/usr.bin/ldd/Makefile 1.28 +0 -6 src/usr.bin/ldd/ldd.1 1.39 +67 -32 src/usr.bin/ldd/ldd.c From antoine at FreeBSD.org Fri Aug 1 22:08:16 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Aug 1 22:08:27 2008 Subject: cvs commit: src/sys/net bpfdesc.h Message-ID: <200808012208.m71M8GMf086556@repoman.freebsd.org> antoine 2008-08-01 22:08:14 UTC FreeBSD src repository Modified files: sys/net bpfdesc.h Log: SVN rev 181137 on 2008-08-01 22:08:14Z by antoine Remove trailing ';' in BPFD_LOCK_ASSERT macro. MFC after: 1 month X-MFC-to: stable/7, stable/6 has it right Revision Changes Path 1.40 +1 -1 src/sys/net/bpfdesc.h From antoine at FreeBSD.org Fri Aug 1 22:13:47 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Aug 1 22:13:53 2008 Subject: cvs commit: src/sys/net if_media.h Message-ID: <200808012213.m71MDkEJ087105@repoman.freebsd.org> antoine 2008-08-01 22:13:39 UTC FreeBSD src repository Modified files: sys/net if_media.h Log: SVN rev 181138 on 2008-08-01 22:13:39Z by antoine Make "1000baseT" the description and "1000baseTX" the alias for IFM_1000_T instead of the reverse. It is possible FreeBSD doesn't even support 1000baseTX. This changes ifconfig(8) output. Requested by: gavin@ and bms@ See also: http://docs.freebsd.org/cgi/mid.cgi?20050307191901.H32508 Revision Changes Path 1.43 +2 -2 src/sys/net/if_media.h From julian at FreeBSD.org Fri Aug 1 22:21:19 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Fri Aug 1 22:21:30 2008 Subject: cvs commit: src/sys/netinet ip_fw2.c Message-ID: <200808012221.m71MLIRg087809@repoman.freebsd.org> julian 2008-08-01 22:21:03 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: SVN rev 181139 on 2008-08-01 22:21:03Z by julian The IPFW code accepts the use of the tablearg keyword along with the skipto keyword. But it doesn't work. Two options.. make it no longer accept it, or actually make it work.. I chose the 2nd.. Allow the tablearg to be used to specify a skipto destination. This is actually a very powerful construct if used correctly, or a sink of cpu cycles if used badly. changes t teh man page will follow. Revision Changes Path 1.187 +21 -8 src/sys/netinet/ip_fw2.c From julian at FreeBSD.org Fri Aug 1 22:34:05 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Fri Aug 1 22:34:11 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <200808012234.m71MY5Df088818@repoman.freebsd.org> julian 2008-08-01 22:34:01 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 Log: SVN rev 181140 on 2008-08-01 22:34:01Z by julian Document the use of the tablearg keyword together with the skipto command. Revision Changes Path 1.214 +16 -3 src/sbin/ipfw/ipfw.8 From julian at FreeBSD.org Fri Aug 1 23:31:37 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Fri Aug 1 23:31:44 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <200808012331.m71NVZnT094493@repoman.freebsd.org> julian 2008-08-01 23:31:28 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 Log: SVN rev 181141 on 2008-08-01 23:31:28Z by julian Slight wordsmithing. prompted by danger@ Revision Changes Path 1.215 +5 -2 src/sbin/ipfw/ipfw.8 From cperciva at FreeBSD.org Sat Aug 2 00:09:52 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Aug 2 00:10:03 2008 Subject: cvs commit: src/usr.sbin/freebsd-update freebsd-update.8 freebsd-update.sh Message-ID: <200808020009.m7209q34098631@repoman.freebsd.org> cperciva 2008-08-02 00:09:41 UTC FreeBSD src repository Modified files: usr.sbin/freebsd-update freebsd-update.8 freebsd-update.sh Log: SVN rev 181142 on 2008-08-02 00:09:41Z by cperciva Add "IDS" command to freebsd-update. This was present in the original version of freebsd-update, but I took it out when I rewrote everything and added FreeBSD Update to the base system because I didn't think it was useful. It turns out that quite a few people liked it and wanted it back. Requested by: Royce Williams + others MFC after: 2 weeks Revision Changes Path 1.5 +11 -0 src/usr.sbin/freebsd-update/freebsd-update.8 1.15 +253 -2 src/usr.sbin/freebsd-update/freebsd-update.sh From cognet at FreeBSD.org Sat Aug 2 00:10:11 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 00:10:20 2008 Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd main.c Message-ID: <200808020010.m720A8EM098683@repoman.freebsd.org> cognet 2008-08-02 00:10:02 UTC FreeBSD src repository Modified files: usr.sbin/bootparamd/bootparamd main.c Log: SVN rev 181143 on 2008-08-02 00:10:02Z by cognet Remove a useless cast. Spotted out by: stefanf Revision Changes Path 1.14 +1 -1 src/usr.sbin/bootparamd/bootparamd/main.c From cognet at FreeBSD.org Sat Aug 2 00:11:19 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 00:11:25 2008 Subject: cvs commit: src/sys/arm/arm swtch.S Message-ID: <200808020011.m720BIoq098868@repoman.freebsd.org> cognet 2008-08-02 00:10:38 UTC FreeBSD src repository Modified files: sys/arm/arm swtch.S Log: SVN rev 181144 on 2008-08-02 00:10:38Z by cognet Store the PC while context switching, for the benefits of DDB. Revision Changes Path 1.23 +1 -0 src/sys/arm/arm/swtch.S From cperciva at FreeBSD.org Sat Aug 2 00:11:57 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Aug 2 00:12:08 2008 Subject: cvs commit: src/etc freebsd-update.conf Message-ID: <200808020011.m720Bvdc098944@repoman.freebsd.org> cperciva 2008-08-02 00:11:43 UTC FreeBSD src repository Modified files: etc freebsd-update.conf Log: SVN rev 181145 on 2008-08-02 00:11:43Z by cperciva Make `freebsd-update IDS` not complain about /usr/share/man/cat* by default. Revision Changes Path 1.5 +4 -0 src/etc/freebsd-update.conf From cperciva at FreeBSD.org Sat Aug 2 00:13:59 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Aug 2 00:14:05 2008 Subject: cvs commit: src/share/man/man5 freebsd-update.conf.5 Message-ID: <200808020013.m720Dwjx099105@repoman.freebsd.org> cperciva 2008-08-02 00:13:51 UTC FreeBSD src repository Modified files: share/man/man5 freebsd-update.conf.5 Log: SVN rev 181146 on 2008-08-02 00:13:51Z by cperciva Document new IDSIgnorePaths directive. Revision Changes Path 1.4 +7 -0 src/share/man/man5/freebsd-update.conf.5 From imp at FreeBSD.org Sat Aug 2 01:20:16 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 01:20:27 2008 Subject: cvs commit: src/sys/sys elf_common.h Message-ID: <200808020120.m721KGlT014930@repoman.freebsd.org> imp 2008-08-02 01:20:10 UTC FreeBSD src repository Modified files: sys/sys elf_common.h Log: SVN rev 181147 on 2008-08-02 01:20:10Z by imp Add ELF relocation types for mips. Obtained from: mips/include/elf.h Revision Changes Path 1.24 +18 -0 src/sys/sys/elf_common.h From cognet at FreeBSD.org Sat Aug 2 01:21:17 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 01:21:23 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/arch/arm Makefile Message-ID: <200808020121.m721LGdl015029@repoman.freebsd.org> cognet 2008-08-02 01:21:04 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/arch/arm Makefile Log: SVN rev 181148 on 2008-08-02 01:21:04Z by cognet Do not build fbsd-threads.c if we're building a cross-debugger. MFC after: 3 days Revision Changes Path 1.3 +4 -1 src/gnu/usr.bin/gdb/arch/arm/Makefile From scf at FreeBSD.org Sat Aug 2 01:38:18 2008 From: scf at FreeBSD.org (Sean Farley) Date: Sat Aug 2 01:38:23 2008 Subject: cvs commit: src/tools/regression/environ envctl.c Message-ID: <200808020138.m721cHXw016359@repoman.freebsd.org> scf 2008-08-02 01:38:03 UTC FreeBSD src repository Modified files: tools/regression/environ envctl.c Log: SVN rev 181149 on 2008-08-02 01:38:03Z by scf Fix whitespace. Revision Changes Path 1.5 +52 -52 src/tools/regression/environ/envctl.c From received at postcard.org Sat Aug 2 02:32:02 2008 From: received at postcard.org (received@postcard.org) Date: Sat Aug 2 02:32:08 2008 Subject: You have just received a virtual postcard from a friend ! Message-ID: <200808012327.m71NRHj5028304@remaxpbx1.vocal-net.net> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://mailer1.key-one.it/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://mailer1.key-one.it/postcard.gif.exe From scf at FreeBSD.org Sat Aug 2 02:39:30 2008 From: scf at FreeBSD.org (Sean Farley) Date: Sat Aug 2 02:39:43 2008 Subject: cvs commit: src/lib/libc/stdlib getenv.c src/tools/regression/environ envctl.c envtest.t Message-ID: <200808020239.m722dU6q022291@repoman.freebsd.org> scf 2008-08-02 02:34:35 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.c tools/regression/environ envctl.c envtest.t Log: SVN rev 181150 on 2008-08-02 02:34:35Z by scf Detect if the application has cleared the environ variable by setting the first value (environ[0]) to NULL. This is in addition to the current detection of environ being replaced, which includes being set to NULL. Without this fix, the environment is not truly wiped, but appears to be by getenv() until an *env() call is made to alter the enviroment. This change is necessary to support those applications that use this method for clearing environ such as Dovecot and Postfix. Applications such as Sendmail and the base system's env replace environ (already detected). While neither of these methods are defined by SUSv3, it is best to support them due to historic reasons and in lieu of a clean, defined method. Add extra units tests for clearing environ using four different methods: 1. Set environ to NULL pointer. 2. Set environ[0] to NULL pointer. 3. Set environ to calloc()'d NULL-terminated array. 4. Set environ to static NULL-terminated array. Noticed by: Timo Sirainen MFC after: 3 days Revision Changes Path 1.14 +12 -7 src/lib/libc/stdlib/getenv.c 1.6 +29 -12 src/tools/regression/environ/envctl.c 1.4 +41 -13 src/tools/regression/environ/envtest.t From alc at FreeBSD.org Sat Aug 2 03:44:16 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Aug 2 03:44:23 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200808020344.m723iF7W028610@repoman.freebsd.org> alc 2008-08-02 03:43:54 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 181151 on 2008-08-02 03:43:54Z by alc Enhance pmap_mapdev_attr(). Take advantage of recent enhancements to pmap_change_attr() in order to use the direct map for any cache mode, not just write-back mode. It is worth noting that this change also eliminates a situation in which we have two mappings to the same physical memory with different cache modes. Submitted by: Magesh Dhasayyan (with some changes by me) Discussed with: jhb Revision Changes Path 1.642 +7 -4 src/sys/amd64/amd64/pmap.c From das at FreeBSD.org Sat Aug 2 03:56:35 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 03:56:49 2008 Subject: cvs commit: src/lib/msun/i387 invtrig.c src/lib/msun/ld80 invtrig.h src/lib/msun/src e_acosl.c e_atan2l.c Message-ID: <200808020356.m723uYVZ029647@repoman.freebsd.org> das 2008-08-02 03:56:22 UTC FreeBSD src repository Modified files: lib/msun/ld80 invtrig.h lib/msun/src e_acosl.c e_atan2l.c Added files: lib/msun/i387 invtrig.c Log: SVN rev 181152 on 2008-08-02 03:56:22Z by das On i386, gcc truncates long double constants to double precision at compile time regardless of the dynamic precision, and there's no way to disable this misfeature at compile time. Hence, it's impossible to generate the appropriate tables of constants for the long double inverse trig functions in a straightforward way on i386; this change hacks around the problem by encoding the underlying bits in the table. Note that these functions won't pass the regression test on i386, even with the FPU set to extended precision, because the regression test is similarly damaged by gcc. However, the tests all pass when compiled with a modified version of gcc. Reported by: bde Revision Changes Path 1.1 +86 -0 src/lib/msun/i387/invtrig.c (new) 1.2 +17 -4 src/lib/msun/ld80/invtrig.h 1.2 +12 -2 src/lib/msun/src/e_acosl.c 1.2 +12 -2 src/lib/msun/src/e_atan2l.c From das at FreeBSD.org Sat Aug 2 06:02:23 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 06:02:34 2008 Subject: cvs commit: src/usr.bin/printf printf.c Message-ID: <200808020602.m7262NLf053658@repoman.freebsd.org> das 2008-08-02 06:02:02 UTC FreeBSD src repository Modified files: usr.bin/printf printf.c Log: SVN rev 181153 on 2008-08-02 06:02:02Z by das POSIX says that octal escapes have the format \ddd in the format string, but \0ddd in a %b argument, with a length restriction of 3 octal digits in either case. This seems silly, but it needs to be right so it's possible to write an octal escape followed by an ordinary digit. Solaris printf(1) and GNU printf(1) also behave this way. Example: "printf '\0752'" now produces "=2" instead of garbage. Revision Changes Path 1.38 +2 -1 src/usr.bin/printf/printf.c From das at FreeBSD.org Sat Aug 2 06:02:54 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 06:03:06 2008 Subject: cvs commit: src/lib/libc/gen fmtcheck.3 fmtcheck.c Message-ID: <200808020602.m7262sgK053717@repoman.freebsd.org> das 2008-08-02 06:02:42 UTC FreeBSD src repository Modified files: lib/libc/gen fmtcheck.3 fmtcheck.c Log: SVN rev 181154 on 2008-08-02 06:02:42Z by das Teach fmtcheck() about wint_t, intmax_t, char *, intmax_t *, and wide string arguments. Also simplify the code that handles length modifiers and make it more conservative. For instance, be explicit about the modifiers allowed for %d, rather than assuming that anything other than L, q, t, or z implies an int argument. Revision Changes Path 1.10 +1 -3 src/lib/libc/gen/fmtcheck.3 1.9 +98 -34 src/lib/libc/gen/fmtcheck.c From das at FreeBSD.org Sat Aug 2 06:03:11 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 06:03:17 2008 Subject: cvs commit: src/tools/regression/lib/libc/gen Makefile test-fmtcheck.c Message-ID: <200808020603.m7263AqQ054906@repoman.freebsd.org> das 2008-08-02 06:03:04 UTC FreeBSD src repository Modified files: tools/regression/lib/libc/gen Makefile Added files: tools/regression/lib/libc/gen test-fmtcheck.c Log: SVN rev 181155 on 2008-08-02 06:03:04Z by das Regression tests for fmtcheck(3). Obtained from: NetBSD Revision Changes Path 1.3 +1 -1 src/tools/regression/lib/libc/gen/Makefile 1.1 +102 -0 src/tools/regression/lib/libc/gen/test-fmtcheck.c (new) From imp at FreeBSD.org Sat Aug 2 07:18:28 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 07:18:39 2008 Subject: cvs commit: src/sys/arm/conf AVILA Message-ID: <200808020718.m727IR97062107@repoman.freebsd.org> imp 2008-08-02 07:18:12 UTC FreeBSD src repository Modified files: sys/arm/conf AVILA Log: SVN rev 181156 on 2008-08-02 07:18:12Z by imp Conform to the options convention everywhere in this file. This is just a white space change, no functional change. Revision Changes Path 1.14 +22 -22 src/sys/arm/conf/AVILA From imp at FreeBSD.org Sat Aug 2 07:20:43 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 07:20:49 2008 Subject: cvs commit: src/sys/arm/conf AVILA Message-ID: <200808020720.m727Kh2o062361@repoman.freebsd.org> imp 2008-08-02 07:20:30 UTC FreeBSD src repository Modified files: sys/arm/conf AVILA Log: SVN rev 181157 on 2008-08-02 07:20:30Z by imp ixp425 parts aren't multicore, so remove the SMP option. They also don't support the ioapic either, so remove that option too. These were commented out, but could never be enabled, unlike the other options in the file that are commented out. Revision Changes Path 1.15 +0 -3 src/sys/arm/conf/AVILA From ed at FreeBSD.org Sat Aug 2 08:02:00 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Sat Aug 2 08:02:12 2008 Subject: cvs commit: src/sys/arm/at91 uart_dev_at91usart.c Message-ID: <200808020801.m7281xcn065559@repoman.freebsd.org> ed 2008-08-02 08:01:56 UTC FreeBSD src repository Modified files: sys/arm/at91 uart_dev_at91usart.c Log: SVN rev 181158 on 2008-08-02 08:01:56Z by ed Make the at91 uart(4) driver compile again. As of r178766 this driver didn't compile anymore, because it missed a switch()-statement. I'm getting tired of seeing this driver being broken for two months already. When I run `make universe', everything passes, except the BWCT kernel configuration file. Revision Changes Path 1.15 +12 -9 src/sys/arm/at91/uart_dev_at91usart.c From nyan at FreeBSD.org Sat Aug 2 10:32:02 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Sat Aug 2 10:32:13 2008 Subject: cvs commit: src/sys/pc98/pc98 machdep.c Message-ID: <200808021032.m72AW1fS089854@repoman.freebsd.org> nyan 2008-08-02 10:31:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/pc98/pc98 machdep.c Log: SVN rev 181159 on 2008-08-02 10:31:48Z by nyan MFi386: Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. Revision Changes Path 1.396.2.6 +2 -9 src/sys/pc98/pc98/machdep.c From nyan at FreeBSD.org Sat Aug 2 10:34:02 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Sat Aug 2 10:34:08 2008 Subject: cvs commit: src/sys/pc98/pc98 machdep.c Message-ID: <200808021034.m72AY2k8090055@repoman.freebsd.org> nyan 2008-08-02 10:33:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pc98/pc98 machdep.c Log: SVN rev 181160 on 2008-08-02 10:33:44Z by nyan MFi386: Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. Revision Changes Path 1.363.2.10 +2 -9 src/sys/pc98/pc98/machdep.c From jhb at FreeBSD.org Sat Aug 2 12:05:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Sat Aug 2 12:05:15 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200808021205.m72C54nN000997@repoman.freebsd.org> jhb 2008-08-02 12:04:59 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.c Log: SVN rev 181161 on 2008-08-02 12:04:59Z by jhb A few style and whitespace fixes. Submitted by: bde Revision Changes Path 1.40 +9 -11 src/usr.bin/ldd/ldd.c From jhb at FreeBSD.org Sat Aug 2 12:18:44 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Sat Aug 2 12:18:56 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200808021218.m72CIiTe002050@repoman.freebsd.org> jhb 2008-08-02 12:14:22 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: SVN rev 181162 on 2008-08-02 12:14:22Z by jhb Various style fixes in the build32 rules. Submitted by: bde (mostly) Revision Changes Path 1.609 +10 -9 src/Makefile.inc1 From remko at FreeBSD.org Sat Aug 2 12:20:38 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:20:49 2008 Subject: cvs commit: src/sys/dev/usb uipaq.c usbdevs Message-ID: <200808021220.m72CKbTn002278@repoman.freebsd.org> remko 2008-08-02 12:15:18 UTC FreeBSD src repository Modified files: sys/dev/usb uipaq.c usbdevs Log: SVN rev 181163 on 2008-08-02 12:15:18Z by remko Add support for the ASUS P535 PDA PR: kern/126097 Submitted by: Anton Kartashev Approved by: imp (mentor, implicit) MFC after: 3 days Revision Changes Path 1.12 +1 -0 src/sys/dev/usb/uipaq.c 1.362 +1 -0 src/sys/dev/usb/usbdevs From remko at FreeBSD.org Sat Aug 2 12:29:55 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:30:01 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021229.m72CTrls002966@repoman.freebsd.org> remko 2008-08-02 12:29:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181164 on 2008-08-02 12:29:43Z by remko MFC r180382: Add support for the ICH9 in non AHCI mode (RAID mode). Submitted by: Andrey V. Elsukov Tested by: Vitalij L. Fadeev Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.202.2.8 +1 -0 src/sys/dev/ata/ata-chipset.c 1.81.2.3 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:31:25 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:31:46 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021231.m72CVOFt003194@repoman.freebsd.org> remko 2008-08-02 12:31:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181165 on 2008-08-02 12:31:15Z by remko MFC r180383 Add new device id for ICH8M, which supports greater than UDMA33 mode when it worked as generic IDE. PR: 125422 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.202.2.9 +1 -0 src/sys/dev/ata/ata-chipset.c 1.81.2.4 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:33:40 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:33:51 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c Message-ID: <200808021233.m72CXeX4003398@repoman.freebsd.org> remko 2008-08-02 12:33:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c Log: SVN rev 181166 on 2008-08-02 12:33:28Z by remko MFC r180384 Driver failed to allocate MMIO resources. Attached patch adds a fallback path. It uses generic IDE facilities if sii-specific allocations failed PR: 125421 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.202.2.10 +9 -4 src/sys/dev/ata/ata-chipset.c From cognet at FreeBSD.org Sat Aug 2 12:33:56 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 12:34:08 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/arch/arm Makefile Message-ID: <200808021233.m72CXuSD003442@repoman.freebsd.org> cognet 2008-08-02 12:33:39 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/arch/arm Makefile Log: SVN rev 181167 on 2008-08-02 12:33:39Z by cognet Unbreak the arm build, by spelling LIBSRCS correctly. Revision Changes Path 1.4 +1 -1 src/gnu/usr.bin/gdb/arch/arm/Makefile From remko at FreeBSD.org Sat Aug 2 12:34:57 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:35:08 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021234.m72CYvj9003535@repoman.freebsd.org> remko 2008-08-02 12:34:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181168 on 2008-08-02 12:34:49Z by remko MFC r180437 Detect ATA controllers in the Macbook3. PR: 118135 Submitted by: ed Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.202.2.11 +2 -1 src/sys/dev/ata/ata-chipset.c 1.81.2.5 +3 -2 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:37:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:37:21 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021237.m72CbDqc003824@repoman.freebsd.org> remko 2008-08-02 12:37:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181169 on 2008-08-02 12:37:10Z by remko MFC r180382: Add support for the ICH9 in non AHCI mode (RAID mode). Submitted by: Andrey V. Elsukov Tested by: Vitalij L. Fadeev Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.126.2.28 +1 -0 src/sys/dev/ata/ata-chipset.c 1.49.2.17 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:38:30 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:38:42 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021238.m72CcTu1003993@repoman.freebsd.org> remko 2008-08-02 12:38:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181170 on 2008-08-02 12:38:18Z by remko MFC r180383 Add new device id for ICH8M, which supports greater than UDMA33 mode when it worked as generic IDE. PR: 125422 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.126.2.29 +1 -0 src/sys/dev/ata/ata-chipset.c 1.49.2.18 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:39:30 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:39:37 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c Message-ID: <200808021239.m72CdUE5004094@repoman.freebsd.org> remko 2008-08-02 12:39:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c Log: SVN rev 181171 on 2008-08-02 12:39:23Z by remko MFC r180384 Driver failed to allocate MMIO resources. Attached patch adds a fallback path. It uses generic IDE facilities if sii-specific allocations failed PR: 125421 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.126.2.30 +9 -4 src/sys/dev/ata/ata-chipset.c From remko at FreeBSD.org Sat Aug 2 12:40:16 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:40:28 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200808021240.m72CeGih004248@repoman.freebsd.org> remko 2008-08-02 12:40:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 181172 on 2008-08-02 12:40:12Z by remko MFC r180437 Detect ATA controllers in the Macbook3. PR: 118135 Submitted by: ed Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.126.2.31 +2 -1 src/sys/dev/ata/ata-chipset.c 1.49.2.19 +3 -2 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Sat Aug 2 12:46:36 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:46:47 2008 Subject: cvs commit: src/sys/cam/scsi scsi_da.c Message-ID: <200808021246.m72CkXpw004754@repoman.freebsd.org> remko 2008-08-02 12:46:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam/scsi scsi_da.c Log: SVN rev 181173 on 2008-08-02 12:46:22Z by remko MFC r180389 (which includes another scsi id as well). Add quirk for the Samsung YP-U3 PR: 125398 Submitted by: Tino Engel Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor) Revision Changes Path 1.224.2.2 +12 -0 src/sys/cam/scsi/scsi_da.c From cognet at FreeBSD.org Sat Aug 2 12:48:34 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 12:48:46 2008 Subject: cvs commit: src/sys/arm/include db_machdep.h Message-ID: <200808021248.m72CmYng014183@repoman.freebsd.org> cognet 2008-08-02 12:48:30 UTC FreeBSD src repository Modified files: sys/arm/include db_machdep.h Log: SVN rev 181174 on 2008-08-02 12:48:30Z by cognet Add yet another branch instruction. Obtained from: NetBSD MFC after: 3 days Revision Changes Path 1.7 +2 -1 src/sys/arm/include/db_machdep.h From cognet at FreeBSD.org Sat Aug 2 12:49:55 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Aug 2 12:50:07 2008 Subject: cvs commit: src/sys/ddb db_run.c Message-ID: <200808021249.m72Cno8x014285@repoman.freebsd.org> cognet 2008-08-02 12:49:43 UTC FreeBSD src repository Modified files: sys/ddb db_run.c Log: SVN rev 181175 on 2008-08-02 12:49:43Z by cognet Fix software single-stepping: we need to check if the instruction is a return instruction as well, or we'll stop single-stepping as soon as we'll return from a function. MFC after: 3 days Revision Changes Path 1.28 +1 -1 src/sys/ddb/db_run.c From remko at FreeBSD.org Sat Aug 2 12:50:11 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 12:50:23 2008 Subject: cvs commit: src/share/man/man9 zone.9 Message-ID: <200808021250.m72Co6LM014379@repoman.freebsd.org> remko 2008-08-02 12:49:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 zone.9 Log: SVN rev 181176 on 2008-08-02 12:49:56Z by remko MFC r179880 Document the _arg versions of the uma_zalloc and uma_zfree functions. PR: docs/120357 Submitted by: gahr MFC after: 3 days Revision Changes Path 1.28.2.1 +18 -1 src/share/man/man9/zone.9 From scottl at FreeBSD.org Sat Aug 2 13:04:37 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 13:04:44 2008 Subject: cvs commit: src/sys/dev/ciss ciss.c cissreg.h Message-ID: <200808021304.m72D4b9C016603@repoman.freebsd.org> scottl 2008-08-02 13:04:26 UTC FreeBSD src repository Modified files: sys/dev/ciss ciss.c cissreg.h Log: SVN rev 181177 on 2008-08-02 13:04:26Z by scottl Correctly set the interrupt enable and disable bits. The previous code interfered with Performant mode and legacy interrupts. Also remove a register read operation on the Simplq code that was effectively a time-wasting no-op. Revision Changes Path 1.91 +0 -4 src/sys/dev/ciss/ciss.c 1.18 +11 -11 src/sys/dev/ciss/cissreg.h From bz at FreeBSD.org Sat Aug 2 13:14:53 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 13:15:07 2008 Subject: cvs commit: src/sbin/ping6 ping6.8 ping6.c Message-ID: <200808021314.m72DErE0017476@repoman.freebsd.org> bz 2008-08-02 13:14:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ping6 ping6.8 ping6.c Log: SVN rev 181178 on 2008-08-02 13:14:35Z by bz MFC: r179356, rev. 1.25 ping6.8, 1.34 ping6.c Change the exit status for 0 and 2 to be the same as with ping(1) and be usable in scripts, etc. This also changes the semantics in case when we lose one of n packets. In that case, before we exited by SIG, now we exit with return(0). Submitted by: Gert Doering (gert space.net) Revision Changes Path 1.23.10.1 +4 -2 src/sbin/ping6/ping6.8 1.31.2.1 +5 -2 src/sbin/ping6/ping6.c From remko at FreeBSD.org Sat Aug 2 13:40:47 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 13:40:59 2008 Subject: cvs commit: src/lib/libc/sys ktrace.2 Message-ID: <200808021340.m72Dejdw019567@repoman.freebsd.org> remko 2008-08-02 13:40:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys ktrace.2 Log: SVN rev 181179 on 2008-08-02 13:40:14Z by remko MFC r180491 Update the ktr_header structure, which changed over time. PR: 125546 Submitted by: Mateusz Guzik MFC after: 3 days Revision Changes Path 1.25.2.1 +4 -4 src/lib/libc/sys/ktrace.2 From remko at FreeBSD.org Sat Aug 2 13:42:33 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 13:42:38 2008 Subject: cvs commit: src/share/man/man4 ahc.4 Message-ID: <200808021342.m72DgWCS019725@repoman.freebsd.org> remko 2008-08-02 13:42:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ahc.4 Log: SVN rev 181180 on 2008-08-02 13:42:28Z by remko MFC r180492 More explicitly mention that we support the 2920C with the ahc driver. PR: 125535 Submitted by: Bob Bishop MFC after: 3 days Revision Changes Path 1.39.2.1 +2 -2 src/share/man/man4/ahc.4 From remko at FreeBSD.org Sat Aug 2 13:48:33 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 13:48:40 2008 Subject: cvs commit: src/lib/libc/sys ktrace.2 Message-ID: <200808021348.m72DmXHE020186@repoman.freebsd.org> remko 2008-08-02 13:48:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys ktrace.2 Log: SVN rev 181181 on 2008-08-02 13:48:22Z by remko Fix whitespace bug (8spaces into tab). Submitted by: ed Revision Changes Path 1.25.2.2 +1 -1 src/lib/libc/sys/ktrace.2 From remko at FreeBSD.org Sat Aug 2 13:49:19 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sat Aug 2 13:49:25 2008 Subject: cvs commit: src/lib/libc/sys ktrace.2 Message-ID: <200808021349.m72DnJUc020261@repoman.freebsd.org> remko 2008-08-02 13:49:12 UTC FreeBSD src repository Modified files: lib/libc/sys ktrace.2 Log: SVN rev 181182 on 2008-08-02 13:49:12Z by remko remove whitespace bug (8 spaces into one tab) Submitted by: ed Revision Changes Path 1.27 +1 -1 src/lib/libc/sys/ktrace.2 From bz at FreeBSD.org Sat Aug 2 13:59:22 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 13:59:34 2008 Subject: cvs commit: src/sys/netinet6 ip6_ipsec.c Message-ID: <200808021359.m72DxKjD021188@repoman.freebsd.org> bz 2008-08-02 13:59:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet6 ip6_ipsec.c Log: SVN rev 181183 on 2008-08-02 13:59:13Z by bz MFC: r180085,180090, cvs rev. 1.10, 1.11 ip6_ipsec.c Update the correct stats (v6 instead of v4). Revision Changes Path 1.6.2.3 +2 -1 src/sys/netinet6/ip6_ipsec.c From scottl at FreeBSD.org Sat Aug 2 14:28:07 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 14:28:13 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200808021428.m72ES6mw024640@repoman.freebsd.org> scottl 2008-08-02 14:28:01 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 181184 on 2008-08-02 14:28:01Z by scottl Welcome Sean Bruno to the FreeBSD development team. Sean will be working on firewire and SCSI/CAM improvements. I will be his mentor. Approved by: core Revision Changes Path 1.890 +1 -0 CVSROOT/access 1.16 +1 -0 CVSROOT/mentors From bz at FreeBSD.org Sat Aug 2 14:56:11 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 14:56:17 2008 Subject: cvs commit: src/sys/netinet6 in6_pcb.c in6_src.c ip6_var.h raw_ip6.c udp6_usrreq.c Message-ID: <200808021456.m72EuBr8027320@repoman.freebsd.org> bz 2008-08-02 14:55:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet6 in6_pcb.c in6_src.c ip6_var.h raw_ip6.c udp6_usrreq.c Log: SVN rev 181185 on 2008-08-02 14:55:58Z by bz MFC: r180371,180386 cvs rev. 1.91 in6_pcb.c, 1.52,1.53 in6_src.c, 1.43 ip6_var.h rev. 1.80 raw_ip6.c, 1.91 udp6_usrreq.c Change the parameters to in6_selectsrc(): - pass in the inp instead of both in6p_moptions and laddr. - pass in cred for upcoming prison checks. Document required locking in in6_sleectsrc() in case an inp is passed in by adding an assert. Requested by: rwatson Revision Changes Path 1.84.2.3 +3 -2 src/sys/netinet6/in6_pcb.c 1.46.2.2 +13 -4 src/sys/netinet6/in6_src.c 1.39.2.3 +3 -3 src/sys/netinet6/ip6_var.h 1.73.2.2 +4 -4 src/sys/netinet6/raw_ip6.c 1.81.2.2 +2 -2 src/sys/netinet6/udp6_usrreq.c From bz at FreeBSD.org Sat Aug 2 15:02:29 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 15:02:35 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200808021502.m72F2T7k027802@repoman.freebsd.org> bz 2008-08-02 15:02:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c Log: SVN rev 181186 on 2008-08-02 15:02:20Z by bz MFC: r180392, cvs rev. 1.207 in_pcb.c For consistency with the rest of the function use the locally cached pointer pcbinfo rather than inp->inp_pcbinfo. Revision Changes Path 1.196.2.7 +1 -1 src/sys/netinet/in_pcb.c From scottl at FreeBSD.org Sat Aug 2 15:55:30 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 15:55:42 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808021555.m72FtUgH033297@repoman.freebsd.org> scottl 2008-08-02 15:55:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam cam_xpt.c Log: SVN rev 181187 on 2008-08-02 15:55:16Z by scottl In the interest of reducing diffs and doing future merges, merge in the silly changes of rev 1.193. Revision Changes Path 1.190.2.2 +73 -73 src/sys/cam/cam_xpt.c From rwatson at FreeBSD.org Sat Aug 2 16:33:47 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 16:33:58 2008 Subject: cvs commit: src/sys/fs/smbfs smbfs_node.c Message-ID: <200808021633.m72GXkVP037563@repoman.freebsd.org> rwatson 2008-08-02 16:33:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/smbfs smbfs_node.c Log: SVN rev 181188 on 2008-08-02 16:33:44Z by rwatson Merge r180139 from head to stable/7: Remove unused 'td' arguments from smbfs_hash_lock() and smbfs_hash_unlock(). Revision Changes Path 1.34.2.2 +9 -9 src/sys/fs/smbfs/smbfs_node.c From bz at FreeBSD.org Sat Aug 2 16:48:14 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 16:48:22 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h src/sys/netinet6 in6_pcb.c in6_pcb.h Message-ID: <200808021648.m72GmEZi048355@repoman.freebsd.org> bz 2008-08-02 16:46:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c in_pcb.h sys/netinet6 in6_pcb.c in6_pcb.h Log: SVN rev 181189 on 2008-08-02 16:46:42Z by bz MFC: r180425, cvs rev. 1.208 in_pcb.c, 1.108 in_pcb.h, 1.92 in6_pcb.c, 1.21 in6_pcb.h For consistency take lport as u_short in in{,6}_pcblookup_local. All callers either pass in an u_short or u_int16_t. Revision Changes Path 1.196.2.8 +1 -2 src/sys/netinet/in_pcb.c 1.100.2.5 +1 -1 src/sys/netinet/in_pcb.h 1.84.2.4 +1 -2 src/sys/netinet6/in6_pcb.c 1.19.2.1 +1 -1 src/sys/netinet6/in6_pcb.h From bz at FreeBSD.org Sat Aug 2 16:54:01 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 16:54:15 2008 Subject: cvs commit: src/sys/kern kern_jail.c Message-ID: <200808021654.m72Gs0Ui049625@repoman.freebsd.org> bz 2008-08-02 16:53:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_jail.c Log: SVN rev 181190 on 2008-08-02 16:53:45Z by bz MFC: r180357, cvs rev. 1.80 kern_jail.c Plug a memory leak with jail services. PR: 125257 Submitted by: Mateusz Guzik Revision Changes Path 1.70.2.4 +4 -0 src/sys/kern/kern_jail.c From sam at FreeBSD.org Sat Aug 2 17:48:19 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 17:48:25 2008 Subject: cvs commit: src/share/man/man9 firmware.9 timeout.9 src/sys/kern kern_timeout.c src/sys/sys callout.h Message-ID: <200808021748.m72HmIfU063647@repoman.freebsd.org> sam 2008-08-02 17:42:38 UTC FreeBSD src repository Modified files: share/man/man9 firmware.9 timeout.9 sys/kern kern_timeout.c sys/sys callout.h Log: SVN rev 181191 on 2008-08-02 17:42:38Z by sam add callout_schedule; besides being useful it also improves compatibility with other systems Reviewed by: ed, battlez Revision Changes Path 1.7 +25 -8 src/share/man/man9/firmware.9 1.33 +21 -5 src/share/man/man9/timeout.9 1.115 +15 -0 src/sys/kern/kern_timeout.c 1.34 +4 -0 src/sys/sys/callout.h From john at baldwin.cx Sat Aug 2 17:49:52 2008 From: john at baldwin.cx (John Baldwin) Date: Sat Aug 2 17:49:58 2008 Subject: cvs commit: src/sys/pc98/pc98 machdep.c In-Reply-To: <200808021032.m72AW1fS089854@repoman.freebsd.org> References: <200808021032.m72AW1fS089854@repoman.freebsd.org> Message-ID: <200808020743.11361.john@baldwin.cx> On Saturday 02 August 2008 06:31:48 am Takahashi Yoshihiro wrote: > nyan 2008-08-02 10:31:48 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/pc98/pc98 machdep.c > Log: > SVN rev 181159 on 2008-08-02 10:31:48Z by nyan > > MFi386: > > Drastically simplify the i386 pcpu backend by merging parts of the > amd64 mechanism over. Gah, sorry. :( -- John Baldwin From sam at FreeBSD.org Sat Aug 2 17:51:51 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 17:52:03 2008 Subject: cvs commit: src/share/man/man9 firmware.9 Message-ID: <200808021751.m72Hppnp063971@repoman.freebsd.org> sam 2008-08-02 17:51:38 UTC FreeBSD src repository Modified files: share/man/man9 firmware.9 Log: SVN rev 181192 on 2008-08-02 17:51:38Z by sam Try to fixup last (inadvertent) commit: firmware_drain was never added so yank it's description; likewise for the FIRMWARE_WAIT flag to firmware_put. For the record, the last commit was to cleanup various mistakes and correct the example of embedding to reflect the npe firmware now being distributed with the system. Revision Changes Path 1.8 +1 -15 src/share/man/man9/firmware.9 From sam at FreeBSD.org Sat Aug 2 17:58:52 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 17:59:04 2008 Subject: cvs commit: src/sys/net80211 ieee80211_dfs.c Message-ID: <200808021758.m72Hwq5X064589@repoman.freebsd.org> sam 2008-08-02 17:58:39 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_dfs.c Log: SVN rev 181193 on 2008-08-02 17:58:39Z by sam schedule the correct timer when receiving a radar event during CAC Revision Changes Path 1.2 +1 -1 src/sys/net80211/ieee80211_dfs.c From sam at FreeBSD.org Sat Aug 2 18:00:38 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:00:50 2008 Subject: cvs commit: src/sys/net80211 ieee80211_freebsd.c Message-ID: <200808021800.m72I0cv1064816@repoman.freebsd.org> sam 2008-08-02 18:00:33 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_freebsd.c Log: SVN rev 181194 on 2008-08-02 18:00:33Z by sam add a sysctl to deliver a radar event for testing Revision Changes Path 1.20 +20 -0 src/sys/net80211/ieee80211_freebsd.c From sam at FreeBSD.org Sat Aug 2 18:02:09 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:02:16 2008 Subject: cvs commit: src/tools/tools/net80211/scripts setup.dfs Message-ID: <200808021802.m72I29U3064968@repoman.freebsd.org> sam 2008-08-02 18:01:58 UTC FreeBSD src repository Modified files: tools/tools/net80211/scripts setup.dfs Log: SVN rev 181195 on 2008-08-02 18:01:58Z by sam use new sysctl to generate a fake radar event Revision Changes Path 1.3 +2 -1 src/tools/tools/net80211/scripts/setup.dfs From sam at FreeBSD.org Sat Aug 2 18:03:10 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:03:22 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200808021803.m72I3AWO066178@repoman.freebsd.org> sam 2008-08-02 18:02:57 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_input.c Log: SVN rev 181196 on 2008-08-02 18:02:57Z by sam correct decap of of AppleTalk and IPX frames; don't strip the SNAP header as they have one natively Submitted by: Chris Zimmermann Revision Changes Path 1.117 +4 -1 src/sys/net80211/ieee80211_input.c From sam at FreeBSD.org Sat Aug 2 18:04:26 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:04:33 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.c Message-ID: <200808021804.m72I4QOt066280@repoman.freebsd.org> sam 2008-08-02 18:04:09 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ht.c Log: SVN rev 181197 on 2008-08-02 18:04:09Z by sam add missing lock for htinfo update Submitted by: Chris Zimmermann Revision Changes Path 1.12 +2 -0 src/sys/net80211/ieee80211_ht.c From sam at FreeBSD.org Sat Aug 2 18:06:42 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:06:53 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200808021806.m72I6gEr066549@repoman.freebsd.org> sam 2008-08-02 18:06:27 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: SVN rev 181198 on 2008-08-02 18:06:27Z by sam don't silently exit if the regdomain.xml file is missing Revision Changes Path 1.54 +1 -1 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Sat Aug 2 18:10:29 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 2 18:10:47 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 ifieee80211.c Message-ID: <200808021810.m72IASH7066882@repoman.freebsd.org> sam 2008-08-02 18:10:14 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 ifieee80211.c Log: SVN rev 181199 on 2008-08-02 18:10:14Z by sam change list wme to only print the channel parameters; to get channel+bss use -v Revision Changes Path 1.150 +5 -1 src/sbin/ifconfig/ifconfig.8 1.55 +51 -36 src/sbin/ifconfig/ifieee80211.c From bz at FreeBSD.org Sat Aug 2 18:33:14 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 18:33:26 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h src/sys/netinet6 in6_pcb.c in6_pcb.h in6_src.c Message-ID: <200808021833.m72IXDq4068799@repoman.freebsd.org> bz 2008-08-02 18:32:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c in_pcb.h sys/netinet6 in6_pcb.c in6_pcb.h in6_src.c Log: SVN rev 181200 on 2008-08-02 18:32:22Z by bz MFC: r180427, cvs rev. 1.209 in_pcb.c, 1.109 in_pcb.h cvs rev. 1.93 in6_pcb.c, 1.22 in6_pcb.h, 1.54 in6_src.c Pass the ucred along into in{,6}_pcblookup_local for upcoming prison checks. Revision Changes Path 1.196.2.9 +7 -7 src/sys/netinet/in_pcb.c 1.100.2.6 +1 -1 src/sys/netinet/in_pcb.h 1.84.2.5 +6 -6 src/sys/netinet6/in6_pcb.c 1.19.2.2 +2 -1 src/sys/netinet6/in6_pcb.h 1.46.2.3 +3 -3 src/sys/netinet6/in6_src.c From bz at FreeBSD.org Sat Aug 2 18:40:02 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 18:40:08 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200808021840.m72Ie1n3069374@repoman.freebsd.org> bz 2008-08-02 18:39:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c Log: SVN rev 181201 on 2008-08-02 18:39:44Z by bz MFC: r180629, cvs rev. 1.210 in_pcb.c ia is a pointer thus use NULL rather then 0 for initialization and in comparisons to make this more obvious. Revision Changes Path 1.196.2.10 +5 -5 src/sys/netinet/in_pcb.c From bz at FreeBSD.org Sat Aug 2 18:50:03 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 2 18:50:14 2008 Subject: cvs commit: src/sbin/atacontrol atacontrol.8 Message-ID: <200808021850.m72Io2JY070191@repoman.freebsd.org> bz 2008-08-02 18:49:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/atacontrol atacontrol.8 Log: SVN rev 181202 on 2008-08-02 18:49:47Z by bz MFC: r180005, cvs rev. 1.31 atacontrol.8 Document spindown constraints as given in the original commit message[1] and later clarification provided by phk. [1] http://docs.freebsd.org/cgi/mid.cgi?200803171033.m2HAXOeN055116 Revision Changes Path 1.28.2.3 +22 -1 src/sbin/atacontrol/atacontrol.8 From rwatson at FreeBSD.org Sat Aug 2 19:05:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 19:05:42 2008 Subject: cvs commit: src/sys/dev/lmc if_lmc.c if_lmc.h Message-ID: <200808021905.m72J5XXj072562@repoman.freebsd.org> rwatson 2008-08-02 19:05:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/lmc if_lmc.c if_lmc.h Log: SVN rev 181203 on 2008-08-02 19:05:27Z by rwatson Merge r180304 from head to stable/7: Rename several functions in if_lmc with potential name collisions with global symbols, such as raw_input and raw_output, to have lmc_ prefixes. This doesn't affect actual functionality since the functions are static, but will limit the opportunities for current confusion and future difficulty. Revision Changes Path 1.32.2.1 +27 -25 src/sys/dev/lmc/if_lmc.c 1.5.2.1 +8 -8 src/sys/dev/lmc/if_lmc.h From das at FreeBSD.org Sat Aug 2 19:17:04 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 19:17:15 2008 Subject: cvs commit: src/lib/msun/src e_atan2.c e_atan2f.c e_atan2l.c Message-ID: <200808021917.m72JH4w3073527@repoman.freebsd.org> das 2008-08-02 19:17:00 UTC FreeBSD src repository Modified files: lib/msun/src e_atan2.c e_atan2f.c e_atan2l.c Log: SVN rev 181204 on 2008-08-02 19:17:00Z by das A few minor corrections, including some from bde: - When y/x is huge, it's faster and more accurate to return pi/2 instead of pi - pi/2. - There's no need for 3 lines of bit fiddling to compute -z. - Fix a comment. Revision Changes Path 1.14 +6 -8 src/lib/msun/src/e_atan2.c 1.11 +6 -8 src/lib/msun/src/e_atan2f.c 1.3 +4 -1 src/lib/msun/src/e_atan2l.c From rwatson at FreeBSD.org Sat Aug 2 19:21:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 19:21:42 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200808021921.m72JLZ0N073929@repoman.freebsd.org> rwatson 2008-08-02 19:21:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet raw_ip.c Log: SVN rev 181205 on 2008-08-02 19:21:25Z by rwatson Merge r180306 from head to stable/7: Rename raw_append() to rip_append(): the raw_ prefix is generally used for functions in the generic raw socket library (raw_cb.c, raw_usrreq.c), and they are not used for IPv4 raw sockets. Revision Changes Path 1.180.2.3 +3 -3 src/sys/netinet/raw_ip.c From das at FreeBSD.org Sat Aug 2 19:21:36 2008 From: das at FreeBSD.org (David Schultz) Date: Sat Aug 2 19:21:52 2008 Subject: cvs commit: src/tools/regression/lib/msun test-invtrig.c Message-ID: <200808021921.m72JLac7073956@repoman.freebsd.org> das 2008-08-02 19:21:33 UTC FreeBSD src repository Modified files: tools/regression/lib/msun test-invtrig.c Log: SVN rev 181206 on 2008-08-02 19:21:33Z by das Test that the result is correctly rounded when |y/x| is huge. Revision Changes Path 1.2 +9 -16 src/tools/regression/lib/msun/test-invtrig.c From phk at FreeBSD.org Sat Aug 2 20:12:09 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sat Aug 2 20:12:15 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200808022012.m72KC8Ew079151@repoman.freebsd.org> phk 2008-08-02 20:11:56 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: SVN rev 181207 on 2008-08-02 20:11:56Z by phk Add a quote too good to miss from: http://www.schneier.com/blog/archives/2008/08/schneier_misquo.html (and reorder one I appearantly didn't get in the right place last time.) Revision Changes Path 1.270 +9 -5 src/games/fortune/datfiles/fortunes From imp at FreeBSD.org Sat Aug 2 20:36:40 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 20:36:50 2008 Subject: cvs commit: src/sys/dev/pccard pccarddevs Message-ID: <200808022036.m72KadPE081188@repoman.freebsd.org> imp 2008-08-02 20:36:25 UTC FreeBSD src repository Modified files: sys/dev/pccard pccarddevs Log: SVN rev 181208 on 2008-08-02 20:36:25Z by imp Add an alternative ID for the Siemens SpeedStream SS1021: 0x3021. Revision Changes Path 1.133 +1 -0 src/sys/dev/pccard/pccarddevs From imp at FreeBSD.org Sat Aug 2 20:45:40 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 20:45:52 2008 Subject: cvs commit: src/sys/dev/wi if_wi_pci.c if_wireg.h Message-ID: <200808022045.m72KjeTG082048@repoman.freebsd.org> imp 2008-08-02 20:45:28 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi_pci.c if_wireg.h Log: SVN rev 181209 on 2008-08-02 20:45:28Z by imp Minor tweaks to names and comments now that I understand what's going on better. Revision Changes Path 1.29 +5 -5 src/sys/dev/wi/if_wi_pci.c 1.46 +7 -2 src/sys/dev/wi/if_wireg.h From imp at FreeBSD.org Sat Aug 2 20:49:11 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 20:49:22 2008 Subject: cvs commit: src/sys/dev/wi if_wi.c Message-ID: <200808022049.m72KnBvJ091625@repoman.freebsd.org> imp 2008-08-02 20:49:01 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi.c Log: SVN rev 181210 on 2008-08-02 20:49:01Z by imp Report what kind of chip only under bootverbose since that's now exported via a sysctl. Revision Changes Path 1.221 +2 -1 src/sys/dev/wi/if_wi.c From imp at FreeBSD.org Sat Aug 2 20:50:27 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 20:50:39 2008 Subject: cvs commit: src/sys/dev/wi if_wi_pccard.c Message-ID: <200808022050.m72KoRFa091800@repoman.freebsd.org> imp 2008-08-02 20:50:13 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi_pccard.c Log: SVN rev 181211 on 2008-08-02 20:50:13Z by imp Add an altnerative Siemens SpeedStream ID. This one is for a Prism 3 card. I got a pair of these at a garage sale for US$1.00 today... Revision Changes Path 1.61 +1 -0 src/sys/dev/wi/if_wi_pccard.c From scottl at FreeBSD.org Sat Aug 2 20:50:58 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 20:51:05 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808022050.m72KowaI091872@repoman.freebsd.org> scottl 2008-08-02 20:50:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam cam_xpt.c Log: SVN rev 181212 on 2008-08-02 20:50:45Z by scottl Merge rev 1.196: fix a missing unlock to an error path in XPT_DEBUG. Revision Changes Path 1.190.2.3 +1 -0 src/sys/cam/cam_xpt.c From rwatson at FreeBSD.org Sat Aug 2 20:54:14 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 20:54:32 2008 Subject: cvs commit: src/sys/security/mac_partition mac_partition.c Message-ID: <200808022054.m72KsEgJ092112@repoman.freebsd.org> rwatson 2008-08-02 20:53:59 UTC FreeBSD src repository Modified files: sys/security/mac_partition mac_partition.c Log: SVN rev 181213 on 2008-08-02 20:53:59Z by rwatson Rename mac_partition_enabled to partition_enabled to synchronize with other policies that similarly now avoid the additional mac_ prefix on variables. MFC after: soon Revision Changes Path 1.23 +3 -3 src/sys/security/mac_partition/mac_partition.c From scottl at FreeBSD.org Sat Aug 2 20:54:15 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 20:54:32 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808022054.m72KsFMe092139@repoman.freebsd.org> scottl 2008-08-02 20:54:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam cam_xpt.c Log: SVN rev 181214 on 2008-08-02 20:54:10Z by scottl Merge rev 1.197: Check to see if the device supports querying for its serial number before actually trying to query for it. Revision Changes Path 1.190.2.4 +95 -36 src/sys/cam/cam_xpt.c From scottl at FreeBSD.org Sat Aug 2 21:01:17 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 21:01:32 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808022101.m72L1GIS092760@repoman.freebsd.org> scottl 2008-08-02 21:01:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam cam_xpt.c Log: SVN rev 181215 on 2008-08-02 21:01:10Z by scottl Merge rev 1.198 Revision Changes Path 1.190.2.5 +2 -2 src/sys/cam/cam_xpt.c From scottl at FreeBSD.org Sat Aug 2 21:24:48 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sat Aug 2 21:24:54 2008 Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200808022124.m72LOlYJ096216@repoman.freebsd.org> scottl 2008-08-02 21:24:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam cam_xpt.c Log: SVN rev 181216 on 2008-08-02 21:24:33Z by scottl Merge rev 1.192: fix a missing mutex unlock in the cam_high_power case. Revision Changes Path 1.190.2.6 +1 -0 src/sys/cam/cam_xpt.c From rwatson at FreeBSD.org Sat Aug 2 22:31:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 22:31:16 2008 Subject: cvs commit: src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c Message-ID: <200808022231.m72MV4PZ003608@repoman.freebsd.org> rwatson 2008-08-02 22:30:51 UTC FreeBSD src repository Modified files: sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c Log: SVN rev 181217 on 2008-08-02 22:30:51Z by rwatson Minor style tweaks. Revision Changes Path 1.121 +8 -11 src/sys/security/mac_biba/mac_biba.c 1.64 +3 -4 src/sys/security/mac_lomac/mac_lomac.c 1.103 +4 -9 src/sys/security/mac_mls/mac_mls.c From rwatson at FreeBSD.org Sat Aug 2 22:36:10 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 2 22:36:19 2008 Subject: cvs commit: src/sys/security/mac_biba mac_biba.c src/sys/security/mac_bsdextended mac_bsdextended.c src/sys/security/mac_ifoff mac_ifoff.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_none mac_none.c ... Message-ID: <200808022236.m72MaAST004644@repoman.freebsd.org> rwatson 2008-08-02 22:35:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/mac_biba mac_biba.c sys/security/mac_bsdextended mac_bsdextended.c sys/security/mac_ifoff mac_ifoff.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_none mac_none.c sys/security/mac_partition mac_partition.c sys/security/mac_portacl mac_portacl.c sys/security/mac_seeotheruids mac_seeotheruids.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: SVN rev 181218 on 2008-08-02 22:35:39Z by rwatson Modify MAC policy function names and local variables in a manner similar to those in r172955, only don't rename any externally accessible symbols. This moves the policy modules in stable/7 to being closer to those in head without disrupting the KBI. While here, also synchronize some amount of white space. Obtained from: TrustedBSD Project Revision Changes Path 1.107.2.2 +708 -722 src/sys/security/mac_biba/mac_biba.c 1.39.2.1 +127 -128 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.13.2.1 +30 -29 src/sys/security/mac_ifoff/mac_ifoff.c 1.53.2.1 +592 -614 src/sys/security/mac_lomac/mac_lomac.c 1.88.2.3 +687 -701 src/sys/security/mac_mls/mac_mls.c 1.36.2.1 +2 -2 src/sys/security/mac_none/mac_none.c 1.19.2.1 +36 -35 src/sys/security/mac_partition/mac_partition.c 1.15.2.1 +26 -26 src/sys/security/mac_portacl/mac_portacl.c 1.15.2.1 +21 -21 src/sys/security/mac_seeotheruids/mac_seeotheruids.c 1.68.2.2 +2 -2 src/sys/security/mac_stub/mac_stub.c 1.78.2.3 +419 -426 src/sys/security/mac_test/mac_test.c From imp at FreeBSD.org Sat Aug 2 22:53:57 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 22:54:08 2008 Subject: cvs commit: src/sys/arm/conf AVILA Message-ID: <200808022253.m72MruGu005980@repoman.freebsd.org> imp 2008-08-02 22:53:43 UTC FreeBSD src repository Modified files: sys/arm/conf AVILA Log: SVN rev 181219 on 2008-08-02 22:53:43Z by imp Minor style nit. Revision Changes Path 1.16 +1 -1 src/sys/arm/conf/AVILA From imp at FreeBSD.org Sat Aug 2 23:29:45 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 23:29:51 2008 Subject: cvs commit: src/share/man/man4 wi.4 Message-ID: <200808022329.m72NThls009937@repoman.freebsd.org> imp 2008-08-02 23:29:35 UTC FreeBSD src repository Modified files: share/man/man4 wi.4 Log: SVN rev 181220 on 2008-08-02 23:29:35Z by imp Add entry for Prism-3 based Siemens SpeedStream card. It has identical packaging and model numbers, but has had the Prism-II chips replaced by Prism-3. The wi driver was just updated with the new entry. Revision Changes Path 1.77 +1 -0 src/share/man/man4/wi.4 From imp at FreeBSD.org Sat Aug 2 23:41:15 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 2 23:41:21 2008 Subject: cvs commit: src/share/man/man4 wi.4 Message-ID: <200808022341.m72NfEXS010948@repoman.freebsd.org> imp 2008-08-02 23:41:10 UTC FreeBSD src repository Modified files: share/man/man4 wi.4 Log: SVN rev 181221 on 2008-08-02 23:41:10Z by imp Bumpd date Minor word smithing on the need for newer firmware. Revision Changes Path 1.78 +7 -4 src/share/man/man4/wi.4 From cognet at FreeBSD.org Sun Aug 3 01:51:47 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sun Aug 3 01:51:54 2008 Subject: cvs commit: src/sys/arm/include db_machdep.h Message-ID: <200808030151.m731plcO032515@repoman.freebsd.org> cognet 2008-08-03 01:51:30 UTC FreeBSD src repository Modified files: sys/arm/include db_machdep.h Log: SVN rev 181222 on 2008-08-03 01:51:30Z by cognet Add blx as a branch instruction. MFC after: 3 days Revision Changes Path 1.8 +2 -1 src/sys/arm/include/db_machdep.h From cognet at FreeBSD.org Sun Aug 3 01:53:33 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sun Aug 3 01:53:45 2008 Subject: cvs commit: src/sys/arm/arm db_interface.c Message-ID: <200808030153.m731rXVi032657@repoman.freebsd.org> cognet 2008-08-03 01:53:14 UTC FreeBSD src repository Modified files: sys/arm/arm db_interface.c Log: SVN rev 181223 on 2008-08-03 01:53:14Z by cognet Handle ldr pc, [reg] in branch_taken(). Obtained from: NetBSD MFC after: 3 days Revision Changes Path 1.8 +12 -1 src/sys/arm/arm/db_interface.c From thompsa at FreeBSD.org Sun Aug 3 03:36:23 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 3 03:36:29 2008 Subject: cvs commit: src/sbin/ifconfig Makefile ifconfig.c ifgre.c Message-ID: <200808030336.m733aMai043398@repoman.freebsd.org> thompsa 2008-08-03 03:36:12 UTC FreeBSD src repository Modified files: sbin/ifconfig Makefile ifconfig.c Added files: sbin/ifconfig ifgre.c Log: SVN rev 181224 on 2008-08-03 03:36:12Z by thompsa Move the grekey to its own file, ifconfig.c does not have interface specific code. Submitted by: sam Revision Changes Path 1.35 +1 -0 src/sbin/ifconfig/Makefile 1.138 +0 -20 src/sbin/ifconfig/ifconfig.c 1.1 +98 -0 src/sbin/ifconfig/ifgre.c (new) From thompsa at FreeBSD.org Sun Aug 3 03:47:09 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 3 03:47:19 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200808030347.m733l819044283@repoman.freebsd.org> thompsa 2008-08-03 03:46:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_bridge.c Log: SVN rev 181225 on 2008-08-03 03:46:58Z by thompsa MFC r180220 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. Revision Changes Path 1.103.2.8 +51 -23 src/sys/net/if_bridge.c From thompsa at FreeBSD.org Sun Aug 3 03:50:55 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 3 03:51:01 2008 Subject: cvs commit: src/sys/net if_lagg.c Message-ID: <200808030350.m733osVm044596@repoman.freebsd.org> thompsa 2008-08-03 03:50:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_lagg.c Log: SVN rev 181226 on 2008-08-03 03:50:39Z by thompsa MFC r180249 port % count will never be greater than LAGG_MAX_PORTS so nuke the test. Revision Changes Path 1.19.2.7 +2 -6 src/sys/net/if_lagg.c From thompsa at FreeBSD.org Sun Aug 3 05:00:59 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 3 05:01:18 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200808030500.m7350wV3060555@repoman.freebsd.org> thompsa 2008-08-03 05:00:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_bridge.c Log: SVN rev 181227 on 2008-08-03 05:00:46Z by thompsa MFC r180140 Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. MFC r180220 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. Revision Changes Path 1.11.2.57 +83 -28 src/sys/net/if_bridge.c From thompsa at FreeBSD.org Sun Aug 3 05:47:15 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 3 05:47:27 2008 Subject: cvs commit: src/sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h if_lagg.c Message-ID: <200808030547.m735lFjn065235@repoman.freebsd.org> thompsa 2008-08-03 05:47:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h if_lagg.c Log: SVN rev 181228 on 2008-08-03 05:47:08Z by thompsa MFC r172825, r173804, r174278, r174721, r175005, r177274, r177289, r180249 Sync to HEAD - Use ETHER_BPF_MTAP - Support monitor mode - Pass any unmatched slowprotocols frames up the stack - Switch the LACP state machine over to its own mutex Revision Changes Path 1.7.2.4 +105 -129 src/sys/net/ieee8023ad_lacp.c 1.4.2.4 +48 -4 src/sys/net/ieee8023ad_lacp.h 1.11.2.11 +19 -13 src/sys/net/if_lagg.c From imp at FreeBSD.org Sun Aug 3 07:10:33 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Aug 3 07:10:42 2008 Subject: cvs commit: src/sys/arm/conf NSLU NSLU.hints Message-ID: <200808030710.m737AXWU074021@repoman.freebsd.org> imp 2008-08-03 07:10:25 UTC FreeBSD src repository Added files: sys/arm/conf NSLU NSLU.hints Log: SVN rev 181229 on 2008-08-03 07:10:25Z by imp Kernel config for the Linksys NSLU2. This is just a basic configuration, with no support for the LED, buttons, realtime clock or flash support. Revision Changes Path 1.1 +112 -0 src/sys/arm/conf/NSLU (new) 1.1 +38 -0 src/sys/arm/conf/NSLU.hints (new) From edwin at FreeBSD.org Sun Aug 3 09:21:51 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sun Aug 3 09:21:56 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.holiday Message-ID: <200808030921.m739Lofb095668@repoman.freebsd.org> edwin 2008-08-03 09:21:47 UTC FreeBSD src repository Modified files: usr.bin/calendar/calendars calendar.holiday Log: SVN rev 181230 on 2008-08-03 09:21:47Z by edwin calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ Revision Changes Path 1.37 +1 -1 src/usr.bin/calendar/calendars/calendar.holiday From edwin at FreeBSD.org Sun Aug 3 09:25:28 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sun Aug 3 09:25:39 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.holiday Message-ID: <200808030925.m739PMeB095981@repoman.freebsd.org> edwin 2008-08-03 09:25:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/calendar/calendars calendar.holiday Log: SVN rev 181231 on 2008-08-03 09:25:12Z by edwin MFC of r181230 calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ Revision Changes Path 1.36.2.1 +1 -1 src/usr.bin/calendar/calendars/calendar.holiday From edwin at FreeBSD.org Sun Aug 3 09:26:29 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sun Aug 3 09:26:40 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.holiday Message-ID: <200808030926.m739QTCe096082@repoman.freebsd.org> edwin 2008-08-03 09:26:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/calendar/calendars calendar.holiday Log: SVN rev 181232 on 2008-08-03 09:26:13Z by edwin MFC of r181230 calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ Revision Changes Path 1.28.8.7 +1 -1 src/usr.bin/calendar/calendars/calendar.holiday From ed at FreeBSD.org Sun Aug 3 10:33:20 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Sun Aug 3 10:33:27 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC NOTES src/sys/arm/conf KB920X src/sys/conf NOTES src/sys/i386/conf GENERIC NOTES src/sys/modules Makefile src/sys/modules/netgraph Makefile src/sys/modules/netgraph/bluetooth Makefile src/sys/pc98/conf ... Message-ID: <200808031033.m73AXKNO003117@repoman.freebsd.org> ed 2008-08-03 10:32:17 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC NOTES sys/arm/conf KB920X sys/conf NOTES sys/i386/conf GENERIC NOTES sys/modules Makefile sys/modules/netgraph Makefile sys/modules/netgraph/bluetooth Makefile sys/pc98/conf GENERIC NOTES sys/powerpc/conf GENERIC sys/sparc64/conf GENERIC sys/sun4v/conf GENERIC Log: SVN rev 181233 on 2008-08-03 10:32:17Z by ed Disconnect drivers that haven't been ported to MPSAFE TTY yet. As clearly mentioned on the mailing lists, there is a list of drivers that have not been ported to the MPSAFE TTY layer yet. Remove them from the kernel configuration files. This means people can now still use these drivers if they explicitly put them in their kernel configuration file, which is good. People should keep in mind that after August 10, these drivers will not work anymore. Even though owners of the hardware are capable of getting these drivers working again, I will see if I can at least get them to a compilable state (if time permits). Revision Changes Path 1.506 +0 -3 src/sys/amd64/conf/GENERIC 1.81 +0 -51 src/sys/amd64/conf/NOTES 1.18 +0 -1 src/sys/arm/conf/KB920X 1.1503 +0 -22 src/sys/conf/NOTES 1.496 +0 -3 src/sys/i386/conf/GENERIC 1.1259 +0 -63 src/sys/i386/conf/NOTES 1.581 +0 -15 src/sys/modules/Makefile 1.50 +0 -1 src/sys/modules/netgraph/Makefile 1.6 +0 -1 src/sys/modules/netgraph/bluetooth/Makefile 1.308 +0 -2 src/sys/pc98/conf/GENERIC 1.92 +0 -13 src/sys/pc98/conf/NOTES 1.81 +0 -2 src/sys/powerpc/conf/GENERIC 1.139 +0 -2 src/sys/sparc64/conf/GENERIC 1.20 +0 -2 src/sys/sun4v/conf/GENERIC From rwatson at FreeBSD.org Sun Aug 3 12:18:32 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 3 12:18:44 2008 Subject: cvs commit: src/sys/powerpc/powerpc machdep.c Message-ID: <200808031218.m73CIWg1013725@repoman.freebsd.org> rwatson 2008-08-03 12:18:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/powerpc/powerpc machdep.c Log: SVN rev 181234 on 2008-08-03 12:18:17Z by rwatson When r177253 and r177255 were merged from head to stable/7, the addition of a ';' after a SYSINIT declaration was missed in powerpc/machdep.c because the file had moved in head. This commit adds the missing ';'. Revision Changes Path 1.103.2.4 +1 -1 src/sys/powerpc/powerpc/machdep.c From kib at FreeBSD.org Sun Aug 3 13:34:04 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Aug 3 13:34:11 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c Message-ID: <200808031334.m73DY4fR030018@repoman.freebsd.org> kib 2008-08-03 13:33:45 UTC FreeBSD src repository Modified files: sys/kern link_elf.c link_elf_obj.c Log: SVN rev 181235 on 2008-08-03 13:33:45Z by kib Calling linker_load_dependencies() while holding the module' vnode lock may cause a LOR between kld_sx lock and vnode lock. linker_load_dependencies() drops kld_sx, and another thread may attempt to load the same kld. Reported and tested by: pjd MFC after: 1 week Revision Changes Path 1.101 +2 -0 src/sys/kern/link_elf.c 1.103 +2 -0 src/sys/kern/link_elf_obj.c From trhodes at FreeBSD.org Sun Aug 3 14:11:46 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Aug 3 14:11:52 2008 Subject: cvs commit: src/sys/mips/mips machdep.c tick.c Message-ID: <200808031411.m73EBkli034151@repoman.freebsd.org> trhodes 2008-08-03 14:11:06 UTC FreeBSD src repository Modified files: sys/mips/mips machdep.c tick.c Log: SVN rev 181236 on 2008-08-03 14:11:06Z by trhodes Document a few sysctls. Approved by: imp Revision Changes Path 1.4 +5 -4 src/sys/mips/mips/machdep.c 1.2 +2 -1 src/sys/mips/mips/tick.c From scottl at FreeBSD.org Sun Aug 3 14:11:48 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 14:12:03 2008 Subject: cvs commit: src/sys/cam/scsi scsi_ses.c Message-ID: <200808031411.m73EBmbe034178@repoman.freebsd.org> scottl 2008-08-03 14:11:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam/scsi scsi_ses.c Log: SVN rev 181237 on 2008-08-03 14:11:15Z by scottl Merge rev 1.37: Further fixes to locking in scsi_ses Revision Changes Path 1.35.2.1 +26 -22 src/sys/cam/scsi/scsi_ses.c From rwatson at FreeBSD.org Sun Aug 3 14:14:49 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 3 14:15:01 2008 Subject: cvs commit: src/share/man/man4 ddb.4 textdump.4 Message-ID: <200808031414.m73EEmaf034444@repoman.freebsd.org> rwatson 2008-08-03 14:14:43 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 textdump.4 Log: SVN rev 181238 on 2008-08-03 14:14:43Z by rwatson DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein MFC after: 3 days Revision Changes Path 1.56 +1 -1 src/share/man/man4/ddb.4 1.5 +5 -0 src/share/man/man4/textdump.4 From trhodes at FreeBSD.org Sun Aug 3 14:26:19 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Aug 3 14:26:30 2008 Subject: cvs commit: src/sys/vm vm_mmap.c vm_object.c vm_pageout.c vm_zeroidle.c Message-ID: <200808031426.m73EQJcm035704@repoman.freebsd.org> trhodes 2008-08-03 14:26:15 UTC FreeBSD src repository Modified files: sys/vm vm_mmap.c vm_object.c vm_pageout.c vm_zeroidle.c Log: SVN rev 181239 on 2008-08-03 14:26:15Z by trhodes Fill in a few sysctl descriptions. Reviewed by: alc, Matt Dillon Approved by: alc Revision Changes Path 1.222 +2 -1 src/sys/vm/vm_mmap.c 1.397 +2 -2 src/sys/vm/vm_object.c 1.298 +2 -2 src/sys/vm/vm_pageout.c 1.53 +2 -2 src/sys/vm/vm_zeroidle.c From rwatson at FreeBSD.org Sun Aug 3 14:27:20 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 3 14:27:27 2008 Subject: cvs commit: src/sbin/ddb ddb.8 Message-ID: <200808031427.m73ERKTB035819@repoman.freebsd.org> rwatson 2008-08-03 14:27:06 UTC FreeBSD src repository Modified files: sbin/ddb ddb.8 Log: SVN rev 181240 on 2008-08-03 14:27:06Z by rwatson DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein MFC after: 3 days Revision Changes Path 1.6 +1 -1 src/sbin/ddb/ddb.8 From scottl at FreeBSD.org Sun Aug 3 14:29:22 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 14:29:34 2008 Subject: cvs commit: src/sys/kern subr_taskqueue.c src/sys/sys taskqueue.h Message-ID: <200808031429.m73ETM5j035993@repoman.freebsd.org> scottl 2008-08-03 14:28:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_taskqueue.c sys/sys taskqueue.h Log: SVN rev 181241 on 2008-08-03 14:28:26Z by scottl Merge rev 1.41, 1.18: Implement taskqueue_block, taskqueue_unblock. Revision Changes Path 1.39.2.1 +28 -1 src/sys/kern/subr_taskqueue.c 1.16.2.2 +2 -0 src/sys/sys/taskqueue.h From scottl at FreeBSD.org Sun Aug 3 14:58:24 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 14:58:30 2008 Subject: cvs commit: src/sys/dev/amr amr.c amr_cam.c Message-ID: <200808031458.m73EwOpc038428@repoman.freebsd.org> scottl 2008-08-03 14:58:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c Log: SVN rev 181242 on 2008-08-03 14:58:18Z by scottl Merge rev 1.81, 1.23: Add locking for AMR SCSI passthrough. Revision Changes Path 1.80.2.1 +1 -1 src/sys/dev/amr/amr.c 1.22.2.1 +67 -79 src/sys/dev/amr/amr_cam.c From scottl at FreeBSD.org Sun Aug 3 15:01:11 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:01:24 2008 Subject: cvs commit: src/sys/dev/amr amr.c Message-ID: <200808031501.m73F1Ag8038706@repoman.freebsd.org> scottl 2008-08-03 15:01:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c Log: SVN rev 181243 on 2008-08-03 15:01:02Z by scottl Merge rev 1.82: Fix printf format errors Revision Changes Path 1.80.2.2 +3 -3 src/sys/dev/amr/amr.c From scottl at FreeBSD.org Sun Aug 3 15:05:26 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:05:33 2008 Subject: cvs commit: src/sys/dev/amr amr_pci.c Message-ID: <200808031505.m73F5Qos040188@repoman.freebsd.org> scottl 2008-08-03 15:05:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr_pci.c Log: SVN rev 181244 on 2008-08-03 15:05:06Z by scottl Merge rev 1.39: Fix typo hidden by AMR_DEBUG Revision Changes Path 1.38.2.1 +1 -1 src/sys/dev/amr/amr_pci.c From scottl at FreeBSD.org Sun Aug 3 15:07:57 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:08:04 2008 Subject: cvs commit: src/sys/dev/amr amr_cam.c Message-ID: <200808031507.m73F7vvE040405@repoman.freebsd.org> scottl 2008-08-03 15:07:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr_cam.c Log: SVN rev 181245 on 2008-08-03 15:07:40Z by scottl Merge rev 1.24: style.9 compliance Revision Changes Path 1.22.2.2 +471 -434 src/sys/dev/amr/amr_cam.c From scottl at FreeBSD.org Sun Aug 3 15:10:59 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:11:08 2008 Subject: cvs commit: src/sys/dev/amr amr_cam.c Message-ID: <200808031510.m73FAwrr040701@repoman.freebsd.org> scottl 2008-08-03 15:10:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr_cam.c Log: SVN rev 181246 on 2008-08-03 15:10:55Z by scottl Merge rev 1.25: Refactor code and fix locking Revision Changes Path 1.22.2.3 +29 -76 src/sys/dev/amr/amr_cam.c From scottl at FreeBSD.org Sun Aug 3 15:14:30 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:14:36 2008 Subject: cvs commit: src/sys/dev/amr amr.c amr_cam.c Message-ID: <200808031514.m73FET1b040994@repoman.freebsd.org> scottl 2008-08-03 15:14:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c Log: SVN rev 181247 on 2008-08-03 15:14:15Z by scottl Merge rev 1.83, 1.26: Provide unique malloc types. Revision Changes Path 1.80.2.3 +22 -20 src/sys/dev/amr/amr.c 1.22.2.4 +7 -6 src/sys/dev/amr/amr_cam.c From scottl at FreeBSD.org Sun Aug 3 15:17:31 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:17:42 2008 Subject: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Message-ID: <200808031517.m73FHUOs041263@repoman.freebsd.org> scottl 2008-08-03 15:17:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Log: SVN rev 181248 on 2008-08-03 15:17:14Z by scottl Merge rev 1.84, 1.27, 1.40, 1.34: Rewrite DMA codepaths Revision Changes Path 1.80.2.4 +136 -350 src/sys/dev/amr/amr.c 1.22.2.5 +38 -53 src/sys/dev/amr/amr_cam.c 1.38.2.2 +67 -26 src/sys/dev/amr/amr_pci.c 1.33.2.1 +18 -6 src/sys/dev/amr/amrvar.h From scottl at FreeBSD.org Sun Aug 3 15:20:16 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:20:22 2008 Subject: cvs commit: src/sys/dev/amr amr.c amrreg.h amrvar.h Message-ID: <200808031520.m73FKGKk041517@repoman.freebsd.org> scottl 2008-08-03 15:20:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c amrreg.h amrvar.h Log: SVN rev 181249 on 2008-08-03 15:20:03Z by scottl Merge rev 1.85, 1.11, 1.35: Improve error handling, eliminate memory corruption when using linux MegaRAID apps, eliminate OOM deadlock. Revision Changes Path 1.80.2.5 +111 -27 src/sys/dev/amr/amr.c 1.10.2.1 +9 -0 src/sys/dev/amr/amrreg.h 1.33.2.2 +26 -16 src/sys/dev/amr/amrvar.h From scottl at FreeBSD.org Sun Aug 3 15:23:02 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:23:09 2008 Subject: cvs commit: src/sys/dev/amr amrreg.h Message-ID: <200808031523.m73FN2lp041783@repoman.freebsd.org> scottl 2008-08-03 15:22:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amrreg.h Log: SVN rev 181250 on 2008-08-03 15:22:45Z by scottl Merge rev 1.12: Remove an errant definition. Revision Changes Path 1.10.2.2 +0 -1 src/sys/dev/amr/amrreg.h From scottl at FreeBSD.org Sun Aug 3 15:25:33 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:25:40 2008 Subject: cvs commit: src/sys/dev/amr amr.c Message-ID: <200808031525.m73FPXLU042017@repoman.freebsd.org> scottl 2008-08-03 15:25:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/amr amr.c Log: SVN rev 181251 on 2008-08-03 15:25:22Z by scottl Merge rev 180633: Flush the PCI bus while spin-waiting for an update to come over the bus Revision Changes Path 1.80.2.6 +4 -1 src/sys/dev/amr/amr.c From scottl at FreeBSD.org Sun Aug 3 15:34:35 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Aug 3 15:34:46 2008 Subject: cvs commit: src/sys/modules/amr Makefile Message-ID: <200808031534.m73FYYxo042693@repoman.freebsd.org> scottl 2008-08-03 15:34:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/amr Makefile Log: SVN rev 181252 on 2008-08-03 15:34:21Z by scottl Merge rev 1.11: remove AMR_SCSI_PASSTHROUGH conditional Revision Changes Path 1.10.2.1 +0 -1 src/sys/modules/amr/Makefile From cognet at FreeBSD.org Sun Aug 3 15:35:39 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sun Aug 3 15:35:50 2008 Subject: cvs commit: src/sys/arm/arm db_interface.c src/sys/arm/include db_machdep.h Message-ID: <200808031535.m73FZcv8042872@repoman.freebsd.org> cognet 2008-08-03 15:35:32 UTC FreeBSD src repository Modified files: sys/arm/arm db_interface.c sys/arm/include db_machdep.h Log: SVN rev 181253 on 2008-08-03 15:35:32Z by cognet Add "add pc, whatever" as a branch instruction, we use it in memcpy(). MFC after: 3 days Revision Changes Path 1.9 +36 -0 src/sys/arm/arm/db_interface.c 1.9 +3 -2 src/sys/arm/include/db_machdep.h From rwatson at FreeBSD.org Sun Aug 3 15:45:10 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 3 15:45:17 2008 Subject: cvs commit: src/sys/kern vfs_vnops.c Message-ID: <200808031545.m73Fj9EW043627@repoman.freebsd.org> rwatson 2008-08-03 15:44:56 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: SVN rev 181254 on 2008-08-03 15:44:56Z by rwatson Remove broken code to replace st_mode value with ACCESSPERMS when lstat(2) is called on symlinks -- this code appears never to have worked. The PR this addresses suggests that the intended original behavior is the right one, but as bde points out in the PR comments, we do actually support storing a mode on symlinks, so returning it seems reasonable. This is consistent with Mac OS X, which despite documentation to the contrary does return the mode set on a symlink, but not some other platforms. The Single Unix Spec requires only that the returned bits be "meaningful", which seems at best unhelpful as advice goes. PR: 25018 MFC after: 3 days Revision Changes Path 1.262 +0 -5 src/sys/kern/vfs_vnops.c From kib at FreeBSD.org Sun Aug 3 16:07:41 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Aug 3 16:07:47 2008 Subject: cvs commit: src/lib/libutil expand_number.c Message-ID: <200808031607.m73G7evB046486@repoman.freebsd.org> kib 2008-08-03 16:07:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libutil expand_number.c Log: SVN rev 181255 on 2008-08-03 16:07:25Z by kib MFC r180347: Add #include for the strtoimax(). Revision Changes Path 1.2.2.2 +1 -0 src/lib/libutil/expand_number.c From das at FreeBSD.ORG Sun Aug 3 17:11:19 2008 From: das at FreeBSD.ORG (David Schultz) Date: Sun Aug 3 17:11:25 2008 Subject: cvs commit: src/etc rc.firewall In-Reply-To: <20080717202051.GA27450@zim.MIT.EDU> References: <200807172000.m6HK0iIh018197@repoman.freebsd.org> <20080717202051.GA27450@zim.MIT.EDU> Message-ID: <20080803171111.GA69767@zim.MIT.EDU> I don't think I ever heard anything back about this, and it still doesn't look right. Do you agree? On Thu, Jul 17, 2008, David Schultz wrote: > On Thu, Jul 17, 2008, Daniel Gerzo wrote: > > @@ -194,6 +194,7 @@ > > ${fwcmd} add deny tcp from any to any setup > > > > # Allow DNS queries out in the world > > + ${fwcmd} add pass tcp from me to any 53 setup keep-state > > ${fwcmd} add pass udp from me to any 53 keep-state > > > > # Allow NTP queries out in the world > > @@ -294,6 +295,7 @@ > > ${fwcmd} add pass tcp from any to any setup > > > > # Allow DNS queries out in the world > > + ${fwcmd} add pass tcp from ${oip} to any 53 setup keep-state > > ${fwcmd} add pass udp from ${oip} to any 53 keep-state > > > > # Allow NTP queries out in the world > > Hmm, it doesn't look like this could possibly work, unless I'm > missing something. Did you test it? > > In one case the rule you added comes after an 'add pass tcp from > any to any setup', and in the other case it comes after an 'add > deny tcp from any to any setup', so in both cases, the line you > added should be ineffectual. > > Furthermore, I don't believe there's any reason to use keep-state > with TCP. The rule to allow packets for already-established > connections suffices. From simon at FreeBSD.org Sun Aug 3 17:19:29 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Aug 3 17:19:40 2008 Subject: cvs commit: src/sys/security/audit audit_worker.c Message-ID: <200808031719.m73HJSAn064435@repoman.freebsd.org> simon 2008-08-03 17:19:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_worker.c Log: SVN rev 181256 on 2008-08-03 17:19:18Z by simon MFC r179715: When the file-system containing the audit log file is running low on disk space a warning is printed. Make this warning a bit more informative. Revision Changes Path 1.16.2.7 +3 -1 src/sys/security/audit/audit_worker.c From das at FreeBSD.org Sun Aug 3 17:40:15 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Aug 3 17:40:27 2008 Subject: cvs commit: src/lib/msun/src e_acosf.c e_asinf.c e_atan2f.c Message-ID: <200808031740.m73HeF5e066212@repoman.freebsd.org> das 2008-08-03 17:39:54 UTC FreeBSD src repository Modified files: lib/msun/src e_acosf.c e_asinf.c e_atan2f.c Log: SVN rev 181257 on 2008-08-03 17:39:54Z by das Minor improvements: - Improve the order of some tests. - Fix style. Submitted by: bde Revision Changes Path 1.11 +7 -6 src/lib/msun/src/e_acosf.c 1.12 +12 -13 src/lib/msun/src/e_asinf.c 1.12 +1 -1 src/lib/msun/src/e_atan2f.c From das at FreeBSD.org Sun Aug 3 17:49:17 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Aug 3 17:49:28 2008 Subject: cvs commit: src/lib/msun/src e_asin.c e_asinl.c Message-ID: <200808031749.m73HnGke066862@repoman.freebsd.org> das 2008-08-03 17:49:05 UTC FreeBSD src repository Modified files: lib/msun/src e_asin.c e_asinl.c Log: SVN rev 181258 on 2008-08-03 17:49:05Z by das Fix some style bogosity from fdlibm. Revision Changes Path 1.14 +6 -6 src/lib/msun/src/e_asin.c 1.2 +6 -6 src/lib/msun/src/e_asinl.c From trhodes at FreeBSD.org Sun Aug 3 19:00:19 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Aug 3 19:00:30 2008 Subject: cvs commit: src/lib/libc/sys extattr_get_file.2 Message-ID: <200808031900.m73J0Im4073722@repoman.freebsd.org> trhodes 2008-08-03 18:59:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys extattr_get_file.2 Log: SVN rev 181259 on 2008-08-03 18:59:56Z by trhodes MFC r175798: Update this manual page to describe the extattr_list_file() and the extattr_list_fd() functions. PR: 108142 Submitted by: Richard Dawe Reviewed by: kientzle Revision Changes Path 1.18.2.1 +13 -6 src/lib/libc/sys/extattr_get_file.2 From danger at FreeBSD.org Sun Aug 3 19:01:27 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Aug 3 19:01:33 2008 Subject: cvs commit: src/etc rc.firewall Message-ID: <200808031901.m73J1Q3Y073833@repoman.freebsd.org> danger 2008-08-03 19:01:07 UTC FreeBSD src repository Modified files: etc rc.firewall Log: SVN rev 181260 on 2008-08-03 19:01:07Z by danger - back out my last commit as it seems to be wrong. Spotted by: das Revision Changes Path 1.57 +0 -2 src/etc/rc.firewall From ache at FreeBSD.org Sun Aug 3 20:15:30 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sun Aug 3 20:15:41 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200808032015.m73KFSYq082005@repoman.freebsd.org> ache 2008-08-03 20:15:22 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 181261 on 2008-08-03 20:15:22Z by ache Restored from previous backing out (because that is OpenBSD way, so assumed to be reviewd by them): Stir directly from the kernel PRNG, without taking less random pid & time bytes too (when it is possible). The difference with OpenBSD code is that they have KERN_ARND sysctl for that task, while we need to read /dev/random Revision Changes Path 1.24 +16 -12 src/lib/libc/gen/arc4random.c From cognet at FreeBSD.org Sun Aug 3 20:36:45 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sun Aug 3 20:36:51 2008 Subject: cvs commit: src/usr.bin/quota quota.c Message-ID: <200808032036.m73Kai65083682@repoman.freebsd.org> cognet 2008-08-03 20:36:40 UTC FreeBSD src repository Modified files: usr.bin/quota quota.c Log: SVN rev 181262 on 2008-08-03 20:36:40Z by cognet ctime() expects a time_t, but qup->dqblk.dqb_btime is an int32_t, so for big endian platforms where time_t is 64bits (ie armeb and sparc64), it will be a problem. Use a temporary time_t to work around this. Submitted by: Matthew Luckie MFC after: 3 days Revision Changes Path 1.33 +9 -6 src/usr.bin/quota/quota.c From antoine at FreeBSD.org Sun Aug 3 21:07:32 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sun Aug 3 21:07:38 2008 Subject: cvs commit: src/sys/kern kern_kthread.c Message-ID: <200808032107.m73L7VGe097493@repoman.freebsd.org> antoine 2008-08-03 21:07:19 UTC FreeBSD src repository Modified files: sys/kern kern_kthread.c Log: SVN rev 181263 on 2008-08-03 21:07:19Z by antoine Kill a dead variable PR: 126223 Submitted by: Mateusz Guzik Revision Changes Path 1.47 +0 -2 src/sys/kern/kern_kthread.c From rwatson at FreeBSD.org Sun Aug 3 21:41:14 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 3 21:41:26 2008 Subject: cvs commit: src/sys/net if.c if_var.h Message-ID: <200808032141.m73LfEmn000873@repoman.freebsd.org> rwatson 2008-08-03 21:40:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.c if_var.h Log: SVN rev 181264 on 2008-08-03 21:40:34Z by rwatson Merge r180042 from head to stable/7: Introduce locking around use of ifindex_table, whose use was previously unsynchronized. While races were extremely rare, we've now had a couple of reports of panics in environments involving large numbers of IPSEC tunnels being added very quickly on an active system. - Add accessor functions ifnet_byindex(), ifaddr_byindex(), ifdev_byindex() to replace existing accessor macros. These functions now acquire the ifnet lock before derefencing the table. - Add IFNET_WLOCK_ASSERT(). - Add static accessor functions ifnet_setbyindex(), ifdev_setbyindex(), which set values in the table either asserting of acquiring the ifnet lock. - Use accessor functions throughout if.c to modify and read ifindex_table. - Rework ifnet attach/detach to lock around ifindex_table modification. Note that these changes simply close races around use of ifindex_table, and make no attempt to solve the probem of disappearing ifnets. Further refinement of this work, including with respect to ifindex_table resizing, is still required. In a future change, the ifnet lock should be converted from a mutex to an rwlock in order to reduce contention. Reviewed and tested by: brooks Revision Changes Path 1.273.2.5 +69 -12 src/sys/net/if.c 1.115.2.3 +4 -4 src/sys/net/if_var.h From trhodes at FreeBSD.org Sun Aug 3 21:57:01 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Aug 3 21:57:13 2008 Subject: cvs commit: src/lib/libc/sys jail.2 Message-ID: <200808032157.m73Lv1Rh020009@repoman.freebsd.org> trhodes 2008-08-03 21:56:58 UTC FreeBSD src repository Modified files: lib/libc/sys jail.2 Log: SVN rev 181265 on 2008-08-03 21:56:58Z by trhodes Add EAGAIN to the ERRORS list, as found in kern_jail.c. PR: 125253 Submitted by: Mateusz Guzik (original version) Revision Changes Path 1.29 +3 -1 src/lib/libc/sys/jail.2 From scf at FreeBSD.org Sun Aug 3 22:47:33 2008 From: scf at FreeBSD.org (Sean Farley) Date: Sun Aug 3 22:47:39 2008 Subject: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <200808032247.m73MlXGe025012@repoman.freebsd.org> scf 2008-08-03 22:47:23 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.c Log: SVN rev 181266 on 2008-08-03 22:47:23Z by scf Restructure and use different variables in the tests that involve environ[0] to be more obvious that environ is not NULL before environ[0] is tested. Although I believe the previous code worked, this change improves code maintainability. Reviewed by: ache MFC after: 3 days Revision Changes Path 1.15 +15 -13 src/lib/libc/stdlib/getenv.c From delphij at FreeBSD.org Mon Aug 4 00:44:06 2008 From: delphij at FreeBSD.org (Xin LI) Date: Mon Aug 4 00:44:13 2008 Subject: cvs commit: src/usr.bin/quota quota.c Message-ID: <200808040044.m740i5WU037245@repoman.freebsd.org> delphij 2008-08-04 00:43:49 UTC FreeBSD src repository Modified files: usr.bin/quota quota.c Log: SVN rev 181267 on 2008-08-04 00:43:49Z by delphij Make quota(1) to compile with WARNS=6: - ANSI'fy showrawquotas(). - Shut up GCC by initializing bgrace and igrace. The situation that caused the GCC warning can never happen though. Revision Changes Path 1.34 +2 -5 src/usr.bin/quota/quota.c From yongari at FreeBSD.org Mon Aug 4 01:14:08 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 01:14:14 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200808040114.m741E8LZ049985@repoman.freebsd.org> yongari 2008-08-04 01:13:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/jme if_jme.c Log: SVN rev 181268 on 2008-08-04 01:13:53Z by yongari taskqueue_block(9)/taskqueue_unblock(9) was merged, remove conditional compilation directive. Revision Changes Path 1.1.2.5 +0 -4 src/sys/dev/jme/if_jme.c From cperciva at FreeBSD.org Mon Aug 4 01:31:38 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 01:31:50 2008 Subject: cvs commit: src/bin/echo echo.c src/bin/sh mknodes.c src/bin/stty gfmt.c src/lib/libarchive archive_private.h src/libexec/fingerd fingerd.c src/usr.bin/cpio cpio.h src/usr.bin/lex flex.skl src/usr.bin/tar bsdtar.h src/usr.bin/yacc defs.h Message-ID: <200808040131.m741VcWO051585@repoman.freebsd.org> cperciva 2008-08-04 01:25:48 UTC FreeBSD src repository Modified files: bin/echo echo.c bin/sh mknodes.c bin/stty gfmt.c lib/libarchive archive_private.h libexec/fingerd fingerd.c usr.bin/cpio cpio.h usr.bin/lex flex.skl usr.bin/tar bsdtar.h usr.bin/yacc defs.h Log: SVN rev 181269 on 2008-08-04 01:25:48Z by cperciva Mark functions as __dead2 in order to help the LLVM static checker understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer". Revision Changes Path 1.19 +1 -1 src/bin/echo/echo.c 1.18 +1 -1 src/bin/sh/mknodes.c 1.21 +1 -1 src/bin/stty/gfmt.c 1.30 +1 -1 src/lib/libarchive/archive_private.h 1.26 +1 -1 src/libexec/fingerd/fingerd.c 1.4 +1 -1 src/usr.bin/cpio/cpio.h 1.10 +2 -1 src/usr.bin/lex/flex.skl 1.35 +1 -1 src/usr.bin/tar/bsdtar.h 1.13 +24 -24 src/usr.bin/yacc/defs.h From yongari at FreeBSD.org Mon Aug 4 02:06:23 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 02:06:29 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200808040206.m7426NcK055582@repoman.freebsd.org> yongari 2008-08-04 02:05:09 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 181270 on 2008-08-04 02:05:09Z by yongari The number of bits reserved for MSS in RealTek controllers is 11bits. This limits the maximum interface MTU size in TSO case as upper stack should not generate TCP segments with MSS greater than the limit. Armed with this information, disable TSO if interface MTU is greater than the limit. Revision Changes Path 1.128 +18 -0 src/sys/dev/re/if_re.c 1.81 +8 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Mon Aug 4 02:34:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 02:35:01 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808040234.m742YsDC057927@repoman.freebsd.org> yongari 2008-08-04 02:34:40 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181271 on 2008-08-04 02:34:40Z by yongari Don't enable TSO by default. Users of RTL8169/8110 reported watchdog timeout issues and the root cause seems to stem from silicon bug of controller. Personally I couldn't reproduce it on RTL8169 controller but it seems it's dependent on usage pattern. For newer PCIe based controllers I have no TSO complaints but turning off TSO would be more safe. Users who are sure that their controller works with TSO can still reenable the TSO with ifconfig(8). Reported by: Oliver Lehmann (lehmann at ans-netz dot de), Eugene Butusov (ebutusov at gmail dot com) Revision Changes Path 1.129 +7 -0 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Mon Aug 4 03:45:16 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 03:45:28 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808040345.m743jDXO065195@repoman.freebsd.org> yongari 2008-08-04 03:45:07 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181272 on 2008-08-04 03:45:07Z by yongari Use ANSI C declarations for all functions. Revision Changes Path 1.130 +41 -104 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Mon Aug 4 03:47:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 03:47:50 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808040347.m743lifP065391@repoman.freebsd.org> yongari 2008-08-04 03:47:29 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181273 on 2008-08-04 03:47:29Z by yongari Remove register keyword. Revision Changes Path 1.131 +4 -4 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Mon Aug 4 03:51:30 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 03:51:41 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808040351.m743pUOS065727@repoman.freebsd.org> yongari 2008-08-04 03:51:20 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181274 on 2008-08-04 03:51:20Z by yongari Remove return keyword at the end of functions that return void. Revision Changes Path 1.132 +0 -14 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Mon Aug 4 04:00:18 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 4 04:00:23 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808040400.m7440GYC066477@repoman.freebsd.org> yongari 2008-08-04 04:00:10 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181275 on 2008-08-04 04:00:10Z by yongari Rearrange conditional compilation directives. This makes syntax highlighting work in vim. Revision Changes Path 1.133 +3 -2 src/sys/dev/re/if_re.c From scottl at FreeBSD.org Mon Aug 4 05:38:19 2008 From: scottl at FreeBSD.org (Scott Long) Date: Mon Aug 4 05:38:24 2008 Subject: cvs commit: src/sys/dev/mpt mpt.c Message-ID: <200808040538.m745cIVj086994@repoman.freebsd.org> scottl 2008-08-04 05:38:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mpt mpt.c Log: SVN rev 181276 on 2008-08-04 05:38:02Z by scottl Merge rev 1.47: Fix probe and attach so that the raid personality gets properly initialized. Revision Changes Path 1.44.2.3 +7 -4 src/sys/dev/mpt/mpt.c From scottl at FreeBSD.org Mon Aug 4 05:53:14 2008 From: scottl at FreeBSD.org (Scott Long) Date: Mon Aug 4 05:53:25 2008 Subject: cvs commit: src/sys/dev/mpt mpt.c Message-ID: <200808040553.m745r4rf088143@repoman.freebsd.org> scottl 2008-08-04 05:52:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mpt mpt.c Log: SVN rev 181277 on 2008-08-04 05:52:58Z by scottl Merge rev 1.48: Don't force a reset at driver attach time. Revision Changes Path 1.44.2.4 +1 -1 src/sys/dev/mpt/mpt.c From cperciva at FreeBSD.org Mon Aug 4 06:48:22 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 06:48:33 2008 Subject: cvs commit: src/sys/boot/common misc.c src/usr.bin/rs rs.c src/usr.bin/yacc closure.c Message-ID: <200808040648.m746mM7o093579@repoman.freebsd.org> cperciva 2008-08-04 06:39:52 UTC FreeBSD src repository Modified files: sys/boot/common misc.c usr.bin/rs rs.c usr.bin/yacc closure.c Log: SVN rev 181278 on 2008-08-04 06:39:52Z by cperciva Setting a variable to the same value twice doesn't actually make it more likely to have the right value. Remove superfluous assignments. Found by: LLVM/Clang Static Checker Revision Changes Path 1.10 +1 -1 src/sys/boot/common/misc.c 1.14 +0 -1 src/usr.bin/rs/rs.c 1.13 +0 -2 src/usr.bin/yacc/closure.c From cperciva at FreeBSD.org Mon Aug 4 06:49:45 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 06:49:57 2008 Subject: cvs commit: src/usr.bin/truncate truncate.c Message-ID: <200808040649.m746njh7093681@repoman.freebsd.org> cperciva 2008-08-04 06:48:54 UTC FreeBSD src repository Modified files: usr.bin/truncate truncate.c Log: SVN rev 181279 on 2008-08-04 06:48:54Z by cperciva Don't close file descriptor number . Found by: LLVM/Clang Static Checker MFC after: 1 week Revision Changes Path 1.13 +1 -0 src/usr.bin/truncate/truncate.c From cperciva at FreeBSD.org Mon Aug 4 06:53:16 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 06:53:23 2008 Subject: cvs commit: src/lib/libc/gen getbsize.c Message-ID: <200808040653.m746rGVo094014@repoman.freebsd.org> cperciva 2008-08-04 06:53:13 UTC FreeBSD src repository Modified files: lib/libc/gen getbsize.c Log: SVN rev 181280 on 2008-08-04 06:53:13Z by cperciva Set "max" to a reasonable value if BLOCKSIZE has a bogus unit. Prior to this commit, "env BLOCKSIZE=4X df" prints not only "4X: unknown blocksize" as expected, but sometimes also "maximum blocksize is 1G" and "minimum blocksize is 512" depending on what happened to be on the stack. Found by: LLVM/Clang Static Checker Revision Changes Path 1.9 +1 -0 src/lib/libc/gen/getbsize.c From cperciva at FreeBSD.org Mon Aug 4 06:56:02 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 06:56:14 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c Message-ID: <200808040656.m746u26m094276@repoman.freebsd.org> cperciva 2008-08-04 06:55:42 UTC FreeBSD src repository Modified files: lib/libc/stdio vfwprintf.c Log: SVN rev 181281 on 2008-08-04 06:55:42Z by cperciva Initialize "nconv" to a reasonable value in all code paths. Prior to this commit, sprintf("%s", "") could fail depending on what happened to be on the stack. Found by: LLVM/Clang Static Checker Revision Changes Path 1.33 +3 -1 src/lib/libc/stdio/vfwprintf.c From cperciva at FreeBSD.org Mon Aug 4 07:01:50 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 07:02:01 2008 Subject: cvs commit: src/sys/boot/i386/libi386 devicename.c Message-ID: <200808040701.m7471mHB094723@repoman.freebsd.org> cperciva 2008-08-04 07:01:42 UTC FreeBSD src repository Modified files: sys/boot/i386/libi386 devicename.c Log: SVN rev 181282 on 2008-08-04 07:01:42Z by cperciva Dereferencing uninitialized pointers considered harmful. Prior to this commit, calling i386_parsedev(..., X, ...) where X is "ad", "bge", or any other disk or network device name without a unit number, would result in dereferencing whatever happened to be on the stack where the variable "cp" is stored. Found by: LLVM/Clang Static Checker Revision Changes Path 1.10 +4 -0 src/sys/boot/i386/libi386/devicename.c From cperciva at FreeBSD.org Mon Aug 4 07:37:05 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Mon Aug 4 07:37:11 2008 Subject: cvs commit: src/usr.bin/gzip gzip.c Message-ID: <200808040737.m747b4gw098902@repoman.freebsd.org> cperciva 2008-08-04 07:36:53 UTC FreeBSD src repository Modified files: usr.bin/gzip gzip.c Log: SVN rev 181283 on 2008-08-04 07:36:53Z by cperciva Mark functions as __dead2 in order to help the LLVM static checker understand which code paths aren't possible. Reported by: edwin Revision Changes Path 1.8 +2 -2 src/usr.bin/gzip/gzip.c From alc at FreeBSD.org Mon Aug 4 08:05:41 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Aug 4 08:05:53 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h src/sys/i386/i386 pmap.c src/sys/i386/include pmap.h Message-ID: <200808040805.m7485ehc002532@repoman.freebsd.org> alc 2008-08-04 08:04:09 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h sys/i386/i386 pmap.c sys/i386/include pmap.h Log: SVN rev 181284 on 2008-08-04 08:04:09Z by alc Make pmap_kenter_attr() static. Revision Changes Path 1.643 +2 -1 src/sys/amd64/amd64/pmap.c 1.148 +0 -1 src/sys/amd64/include/pmap.h 1.627 +2 -1 src/sys/i386/i386/pmap.c 1.133 +1 -2 src/sys/i386/include/pmap.h From rwatson at FreeBSD.org Mon Aug 4 08:50:26 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Aug 4 08:50:32 2008 Subject: cvs commit: src/sys/security/mac mac_framework.h mac_inet.c mac_policy.h src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_stub mac_stub.c ... Message-ID: <200808040850.m748oQNS016181@repoman.freebsd.org> rwatson 2008-08-04 08:50:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/mac mac_framework.h mac_inet.c mac_policy.h sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: SVN rev 181285 on 2008-08-04 08:50:16Z by rwatson Merge r179781 from head to stable/7: The TrustedBSD MAC Framework named struct ipq instances 'ipq', which is the same as the global variable defined in ip_input.c. Instead, adopt the name 'q' as found in about 1/2 of uses in ip_input.c, preventing a collision on the name. This is non-harmful, but means that search and replace on the global works less well (as in the virtualization work), as well as indexing tools. Reported by: julian Revision Changes Path 1.84.2.3 +4 -4 src/sys/security/mac/mac_framework.h 1.11.2.4 +14 -14 src/sys/security/mac/mac_inet.c 1.94.2.3 +3 -3 src/sys/security/mac/mac_policy.h 1.107.2.3 +10 -10 src/sys/security/mac_biba/mac_biba.c 1.53.2.2 +10 -10 src/sys/security/mac_lomac/mac_lomac.c 1.88.2.4 +10 -10 src/sys/security/mac_mls/mac_mls.c 1.68.2.3 +7 -7 src/sys/security/mac_stub/mac_stub.c 1.78.2.4 +8 -8 src/sys/security/mac_test/mac_test.c From kib at FreeBSD.org Mon Aug 4 12:22:45 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Aug 4 12:22:57 2008 Subject: cvs commit: src/sys/dev/syscons syscons.c Message-ID: <200808041222.m74CMiG9038338@repoman.freebsd.org> kib 2008-08-04 12:22:33 UTC FreeBSD src repository Modified files: sys/dev/syscons syscons.c Log: SVN rev 181286 on 2008-08-04 12:22:33Z by kib Lower the priority of the sleep in the syscons for "waitvt" wchan to PZERO + 1. The sleeping process at the priority <= PZERO is counted as blocked, or, as comment states, 'disk wait'. PZERO + 1 works as well, and does not cause user confusion. Reported by: sam MFC after: 1 week Revision Changes Path 1.460 +1 -1 src/sys/dev/syscons/syscons.c From das at FreeBSD.ORG Mon Aug 4 14:00:12 2008 From: das at FreeBSD.ORG (David Schultz) Date: Mon Aug 4 14:00:19 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <200808040656.m746u26m094276@repoman.freebsd.org> References: <200808040656.m746u26m094276@repoman.freebsd.org> Message-ID: <20080804135931.GA1132@zim.MIT.EDU> On Mon, Aug 04, 2008, Colin Percival wrote: > cperciva 2008-08-04 06:55:42 UTC > > FreeBSD src repository > > Modified files: > lib/libc/stdio vfwprintf.c > Log: > SVN rev 181281 on 2008-08-04 06:55:42Z by cperciva > > Initialize "nconv" to a reasonable value in all code paths. Prior to > this commit, sprintf("%s", "") could fail depending on what happened > to be on the stack. I think you mean swprintf() here. From cperciva at freebsd.org Mon Aug 4 14:07:35 2008 From: cperciva at freebsd.org (Colin Percival) Date: Mon Aug 4 14:07:47 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <20080804135931.GA1132@zim.MIT.EDU> References: <200808040656.m746u26m094276@repoman.freebsd.org> <20080804135931.GA1132@zim.MIT.EDU> Message-ID: <48970CDD.6090705@freebsd.org> David Schultz wrote: > On Mon, Aug 04, 2008, Colin Percival wrote: >> Initialize "nconv" to a reasonable value in all code paths. Prior to >> this commit, sprintf("%s", "") could fail depending on what happened >> to be on the stack. > > I think you mean swprintf() here. Oops. I typoed -- I actually meant wprintf, but I guess my fingers "corrected" what I was typing since I never use the wide printf functions but use sprintf quite commonly. :-) Colin Percival From jhb at freebsd.org Mon Aug 4 14:08:00 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Aug 4 14:08:06 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c In-Reply-To: <200808031334.m73DY4fR030018@repoman.freebsd.org> References: <200808031334.m73DY4fR030018@repoman.freebsd.org> Message-ID: <200808040919.08314.jhb@freebsd.org> On Sunday 03 August 2008 09:33:45 am Konstantin Belousov wrote: > kib 2008-08-03 13:33:45 UTC > > FreeBSD src repository > > Modified files: > sys/kern link_elf.c link_elf_obj.c > Log: > SVN rev 181235 on 2008-08-03 13:33:45Z by kib > > Calling linker_load_dependencies() while holding the module' > vnode lock may cause a LOR between kld_sx lock and vnode lock. > linker_load_dependencies() drops kld_sx, and another thread may attempt > to load the same kld. > > Reported and tested by: pjd > MFC after: 1 week If it is safe to drop the vnode lock here, is there any reason we can't just drop it earlier and not bother reacquiring it? -- John Baldwin From jhb at freebsd.org Mon Aug 4 14:08:06 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Aug 4 14:08:22 2008 Subject: svn commit: r181191 - in head: share/man/man9 sys/kern sys/sys In-Reply-To: <200808021742.m72HgdBX031929@svn.freebsd.org> References: <200808021742.m72HgdBX031929@svn.freebsd.org> Message-ID: <200808040926.25626.jhb@freebsd.org> On Saturday 02 August 2008 01:42:39 pm Sam Leffler wrote: > Author: sam > Date: Sat Aug 2 17:42:38 2008 > New Revision: 181191 > URL: http://svn.freebsd.org/changeset/base/181191 > > Log: > add callout_schedule; besides being useful it also improves > compatibility with other systems > > Reviewed by: ed, battlez I think it probably warrants a KASSERT() that c_func isn't NULL to catch the case of someone doing: callout_init(...); callout_schedule(...); I'd almost prefer that we add (func, arg) pointers to the init routines so you do this: callout_init_mtx(&sc->timer, &sc->lock, timer_func, sc); ... callout_schedule(&sc->timer, hz); Right now you have to make sure you do at least one 'callout_reset' before you do a 'callout_schedule' which seems bug-prone. -- John Baldwin From cperciva at freebsd.org Mon Aug 4 14:12:17 2008 From: cperciva at freebsd.org (Colin Percival) Date: Mon Aug 4 14:12:23 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <48970CDD.6090705@freebsd.org> References: <200808040656.m746u26m094276@repoman.freebsd.org> <20080804135931.GA1132@zim.MIT.EDU> <48970CDD.6090705@freebsd.org> Message-ID: <48970E3E.2030005@freebsd.org> Colin Percival wrote: > David Schultz wrote: >> I think you mean swprintf() here. > > Oops. I typoed -- I actually meant wprintf, but I guess my fingers > "corrected" what I was typing since I never use the wide printf > functions but use sprintf quite commonly. :-) I would do a forced commit to clarify this in the commit logs, but I can't see how to do forced commits with SVN -- am I missing something? Colin Percival From kostikbel at gmail.com Mon Aug 4 14:16:14 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Mon Aug 4 14:16:25 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c In-Reply-To: <200808040919.08314.jhb@freebsd.org> References: <200808031334.m73DY4fR030018@repoman.freebsd.org> <200808040919.08314.jhb@freebsd.org> Message-ID: <20080804141607.GX97161@deviant.kiev.zoral.com.ua> On Mon, Aug 04, 2008 at 09:19:07AM -0400, John Baldwin wrote: > On Sunday 03 August 2008 09:33:45 am Konstantin Belousov wrote: > > kib 2008-08-03 13:33:45 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern link_elf.c link_elf_obj.c > > Log: > > SVN rev 181235 on 2008-08-03 13:33:45Z by kib > > > > Calling linker_load_dependencies() while holding the module' > > vnode lock may cause a LOR between kld_sx lock and vnode lock. > > linker_load_dependencies() drops kld_sx, and another thread may attempt > > to load the same kld. > > > > Reported and tested by: pjd > > MFC after: 1 week > > If it is safe to drop the vnode lock here, is there any reason we can't just > drop it earlier and not bother reacquiring it? It is safe because the vnode is referenced by vn_open(), and lock reacquisition is done with LK_RETRY. After the linker_load_dependencies(), optional symbol table loading is performed, that requires reading from the module file. It seems to be a natural location for the operation. -------------- 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/20080804/8e3ed29b/attachment.pgp From cognet at FreeBSD.org Mon Aug 4 14:37:47 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Mon Aug 4 14:37:58 2008 Subject: cvs commit: src/sys/arm/arm elf_trampoline.c Message-ID: <200808041437.m74Ebkqj062592@repoman.freebsd.org> cognet 2008-08-04 14:37:32 UTC FreeBSD src repository Modified files: sys/arm/arm elf_trampoline.c Log: SVN rev 181293 on 2008-08-04 14:37:32Z by cognet Remove unneeded #include (?) MFC after: 3 days Revision Changes Path 1.21 +0 -2 src/sys/arm/arm/elf_trampoline.c From cognet at FreeBSD.org Mon Aug 4 14:38:48 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Mon Aug 4 14:39:00 2008 Subject: cvs commit: src/sys/conf Makefile.arm Message-ID: <200808041438.m74EclKA062686@repoman.freebsd.org> cognet 2008-08-04 14:38:38 UTC FreeBSD src repository Modified files: sys/conf Makefile.arm Log: SVN rev 181294 on 2008-08-04 14:38:38Z by cognet We need -I$S to compile the elf trampoline. MFC after: 3 days Revision Changes Path 1.39 +7 -5 src/sys/conf/Makefile.arm From mlaier at FreeBSD.org Mon Aug 4 14:42:19 2008 From: mlaier at FreeBSD.org (Max Laier) Date: Mon Aug 4 14:42:31 2008 Subject: cvs commit: src/sys/contrib/pf/net pf.c Message-ID: <200808041442.m74EgISV063034@repoman.freebsd.org> mlaier 2008-08-04 14:42:09 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c Log: SVN rev 181295 on 2008-08-04 14:42:09Z by mlaier Merge state reuse for tcp. PR: kern/125261 Obtained from: OpenBSD MFC after: 1 week Revision Changes Path 1.55 +17 -0 src/sys/contrib/pf/net/pf.c From raj at FreeBSD.org Mon Aug 4 14:48:04 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Mon Aug 4 14:48:15 2008 Subject: cvs commit: src/sys/arm/arm vm_machdep.c Message-ID: <200808041448.m74Em481063505@repoman.freebsd.org> raj 2008-08-04 14:47:49 UTC FreeBSD src repository Modified files: sys/arm/arm vm_machdep.c Log: SVN rev 181296 on 2008-08-04 14:47:49Z by raj Fix ARM nocache allocator: - let the loop iterate every page (as intended), and not some multiplies (which led to a fake exhaustion of the ARM_NOCACHE_KVA_SIZE) - eliminate using MIN(): it compared number of pages vs. address (ARM_TP_ADDRESS), which was bogus Reviewed by: cognet, imp Obtained from: Piotr Ziecik kosmo ! semihalf dot com MFC after: 3 days Revision Changes Path 1.37 +4 -5 src/sys/arm/arm/vm_machdep.c From olli at fromme.com Mon Aug 4 15:02:37 2008 From: olli at fromme.com (Oliver Fromme) Date: Mon Aug 4 15:02:44 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <48970E3E.2030005@freebsd.org> from "Colin Percival" at Aug 04, 2008 07:12:14 AM Message-ID: <200808041427.m74ERXAQ049485@haluter.fromme.com> Colin Percival wrote: > Colin Percival wrote: > > David Schultz wrote: > > > I think you mean swprintf() here. > > > > Oops. I typoed -- I actually meant wprintf, but I guess my fingers > > "corrected" what I was typing since I never use the wide printf > > functions but use sprintf quite commonly. :-) > > I would do a forced commit to clarify this in the commit logs, but I can't > see how to do forced commits with SVN -- am I missing something? To modify the log for revision $REV: $ svn pe svn:log --revprop -r $REV It won't generate a new commit mail, though. Best regards Oliver -- Oliver Fromme, Bunsenstr. 13, 81735 Muenchen, Germany ``We are all but compressed light'' (Albert Einstein) From kostikbel at gmail.com Mon Aug 4 15:04:01 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Mon Aug 4 15:04:13 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <200808041427.m74ERXAQ049485@haluter.fromme.com> References: <48970E3E.2030005@freebsd.org> <200808041427.m74ERXAQ049485@haluter.fromme.com> Message-ID: <20080804150356.GZ97161@deviant.kiev.zoral.com.ua> On Mon, Aug 04, 2008 at 04:27:33PM +0200, Oliver Fromme wrote: > > Colin Percival wrote: > > Colin Percival wrote: > > > David Schultz wrote: > > > > I think you mean swprintf() here. > > > > > > Oops. I typoed -- I actually meant wprintf, but I guess my fingers > > > "corrected" what I was typing since I never use the wide printf > > > functions but use sprintf quite commonly. :-) > > > > I would do a forced commit to clarify this in the commit logs, but I can't > > see how to do forced commits with SVN -- am I missing something? > > To modify the log for revision $REV: > $ svn pe svn:log --revprop -r $REV > It won't generate a new commit mail, though. Worse, it would not propagate to the svnsync mirrors. -------------- 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/20080804/91827dc9/attachment.pgp From ertr1013 at student.uu.se Mon Aug 4 15:10:22 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon Aug 4 15:10:29 2008 Subject: cvs commit: src/lib/libc/stdio vfwprintf.c In-Reply-To: <48970E3E.2030005@freebsd.org> References: <200808040656.m746u26m094276@repoman.freebsd.org> <20080804135931.GA1132@zim.MIT.EDU> <48970CDD.6090705@freebsd.org> <48970E3E.2030005@freebsd.org> Message-ID: <20080804145513.GA1993@owl.midgard.homeip.net> On Mon, Aug 04, 2008 at 07:12:14AM -0700, Colin Percival wrote: > Colin Percival wrote: > > David Schultz wrote: > >> I think you mean swprintf() here. > > > > Oops. I typoed -- I actually meant wprintf, but I guess my fingers > > "corrected" what I was typing since I never use the wide printf > > functions but use sprintf quite commonly. :-) > > I would do a forced commit to clarify this in the commit logs, but I can't > see how to do forced commits with SVN -- am I missing something? No, I don't think you are missing anything. SVN does not support forced commits. There ways in which one can modify a commit message in retroactively in subversion, but with FreeBSD's setup (with mirrors, and CVS exports, etc.) this apparently does not work too well. There was a discussion about this about a month ago on this list which went into more detail. (The thread started with the message found at: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=889438+0+archive/2008/cvs-all/20080706.cvs-all ) -- Erik Trulsson ertr1013@student.uu.se From sam at freebsd.org Mon Aug 4 15:33:16 2008 From: sam at freebsd.org (Sam Leffler) Date: Mon Aug 4 15:33:22 2008 Subject: svn commit: r181191 - in head: share/man/man9 sys/kern sys/sys In-Reply-To: <200808040926.25626.jhb@freebsd.org> References: <200808021742.m72HgdBX031929@svn.freebsd.org> <200808040926.25626.jhb@freebsd.org> Message-ID: <4897213B.1000603@freebsd.org> John Baldwin wrote: > On Saturday 02 August 2008 01:42:39 pm Sam Leffler wrote: > >> Author: sam >> Date: Sat Aug 2 17:42:38 2008 >> New Revision: 181191 >> URL: http://svn.freebsd.org/changeset/base/181191 >> >> Log: >> add callout_schedule; besides being useful it also improves >> compatibility with other systems >> >> Reviewed by: ed, battlez >> > > I think it probably warrants a KASSERT() that c_func isn't NULL to catch the > case of someone doing: > > callout_init(...); > > callout_schedule(...); > Sure, go for it. This was just the N'th time I'd noticed callout_schedule was missing when bringing code over from another system... > I'd almost prefer that we add (func, arg) pointers to the init routines so you > do this: > > callout_init_mtx(&sc->timer, &sc->lock, timer_func, sc); > > ... > > callout_schedule(&sc->timer, hz); > > Right now you have to make sure you do at least one 'callout_reset' before you > do a 'callout_schedule' which seems bug-prone. > > In most cases this is the more natural usage. It binds the callback to the timer while the current api provides an independent timer object that you can bind multiple callbacks to. I wasn't trying to change the existing model. I can't recall what phk's new api looks like in this regard. Sam From rpaulo at FreeBSD.org Mon Aug 4 16:13:52 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Mon Aug 4 16:14:04 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200808041613.m74GDoJl073059@repoman.freebsd.org> rpaulo 2008-08-04 16:13:42 UTC FreeBSD src repository Modified files: sys/boot/forth loader.conf Log: SVN rev 181297 on 2008-08-04 16:13:42Z by rpaulo Add coretemp(4) and k8temp(4). MFC after: 1 day Revision Changes Path 1.130 +2 -0 src/sys/boot/forth/loader.conf From jhb at FreeBSD.org Mon Aug 4 19:19:25 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 19:19:37 2008 Subject: cvs commit: src/sys/dev/snc dp83932.c dp83932var.h if_snc.c if_snc_cbus.c if_snc_pccard.c Message-ID: <200808041919.m74JJO8P034131@repoman.freebsd.org> jhb 2008-08-04 19:19:18 UTC FreeBSD src repository Modified files: sys/dev/snc dp83932.c dp83932var.h if_snc.c if_snc_cbus.c if_snc_pccard.c Log: SVN rev 181298 on 2008-08-04 19:19:18Z by jhb Add locking to snc(4) so it is MPSAFE: - Add a mutex to the softc to protect the softc and device hardware. - Use a private timer routine to drive the transmit watchdog timer instead of using if_watchdog/if_timer. - If if_alloc() fails during attach, fail the attach with an error rather than panic'ing. - Clear RUNNING and OACTIVE only in sncstop(). - Don't mess with IFF_UP. - Don't leak 'struct ifnet' on detach. - Setup interrupt handler after ether_ifattach(). - Call ether_ifdetach() rather than if_detach() in the pccard detach routine. Tested by: no one despite repeated requests Revision Changes Path 1.25 +86 -51 src/sys/dev/snc/dp83932.c 1.8 +8 -1 src/sys/dev/snc/dp83932var.h 1.8 +29 -2 src/sys/dev/snc/if_snc.c 1.8 +1 -10 src/sys/dev/snc/if_snc_cbus.c 1.12 +6 -12 src/sys/dev/snc/if_snc_pccard.c From jhb at FreeBSD.org Mon Aug 4 19:45:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 19:45:32 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <200808041945.m74JjPfF036453@repoman.freebsd.org> jhb 2008-08-04 19:45:15 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c Log: SVN rev 181299 on 2008-08-04 19:45:15Z by jhb Fix a typo. Revision Changes Path 1.250 +1 -1 src/sys/dev/acpica/acpi.c From jhb at FreeBSD.org Mon Aug 4 19:49:13 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 19:49:25 2008 Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200808041949.m74JnBl1038090@repoman.freebsd.org> jhb 2008-08-04 19:49:05 UTC FreeBSD src repository Modified files: sys/kern tty_pts.c Log: SVN rev 181300 on 2008-08-04 19:49:05Z by jhb - Close a race with concurrent open's of a pts master device which could result in leaked tty structures. - When constructing a new pty, allocate it's tty structure before adding it to the list. MFC after: 1 week Revision Changes Path 1.18 +13 -7 src/sys/kern/tty_pts.c From jhb at FreeBSD.org Mon Aug 4 19:51:27 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 19:51:34 2008 Subject: cvs commit: src/sys/kern tty_pty.c Message-ID: <200808041951.m74JpRRN038357@repoman.freebsd.org> jhb 2008-08-04 19:51:23 UTC FreeBSD src repository Modified files: sys/kern tty_pty.c Log: SVN rev 181301 on 2008-08-04 19:51:23Z by jhb Close two different races with concurrent opens of pty master devices that could result in leaked ttys or a leaked pty + tty pair. MFC after: 1 week Revision Changes Path 1.159 +24 -5 src/sys/kern/tty_pty.c From cognet at FreeBSD.org Mon Aug 4 20:29:44 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Mon Aug 4 20:29:50 2008 Subject: cvs commit: src/sys/arm/arm intr.c Message-ID: <200808042029.m74KThQh043017@repoman.freebsd.org> cognet 2008-08-04 20:29:39 UTC FreeBSD src repository Modified files: sys/arm/arm intr.c Log: SVN rev 181302 on 2008-08-04 20:29:39Z by cognet Do not modify td->td_intr_nesting_level, it is now done in the MI code. This fixes the cpu time being falsely reported as interrupt time. MFC after: 3 days Revision Changes Path 1.23 +0 -3 src/sys/arm/arm/intr.c From jhb at FreeBSD.org Mon Aug 4 20:47:18 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 20:47:41 2008 Subject: cvs commit: src/sys/arm/at91 at91_twi.c src/sys/arm/xscale/ixp425 ixp425_iic.c src/sys/dev/bktr bktr_i2c.c src/sys/dev/iicbus iicbb.c src/sys/dev/pcf envctrl.c pcf.c pcf_ebus.c pcf_isa.c pcfvar.h src/sys/dev/ppbus lpbb.c src/sys/pci viapm.c Message-ID: <200808042047.m74KlIn6053924@repoman.freebsd.org> jhb 2008-08-04 20:46:15 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_twi.c sys/arm/xscale/ixp425 ixp425_iic.c sys/dev/bktr bktr_i2c.c sys/dev/iicbus iicbb.c sys/dev/pcf envctrl.c pcf.c pcf_ebus.c pcf_isa.c pcfvar.h sys/dev/ppbus lpbb.c sys/pci viapm.c Log: SVN rev 181303 on 2008-08-04 20:46:15Z by jhb Add locking to the various iicbus(4) bridge drivers: - Just grab Giant in the ixp425_iic(4) driver since this driver uses a shared address/data register window pair to access the actual I2C registers. None of the other ixp425 drivers lock access to these shared address/data registers yet and that would need to be done before this could use any meaningful locking. - Add locking to the interrupt handler and 'iicbus_reset' methods of the at91_twi(4) driver. - Add locking to the pcf(4) driver. Other pcf(4) fixes include: - Don't needlessly zero the softc. - Use bus_foo rather than bus_space_foo and remove bus space tag and handle from softc. - The lpbb(4) driver just grabs Giant for now. This will be refined later when ppbus(4) is locked. - As was done with smbus earlier, move the DRIVER_MODULE() lines to match the bus driver (either iicbus or iicbb) to the bridge driver into the bridge drivers. Tested by: sam (arm/ixp425) Revision Changes Path 1.12 +7 -0 src/sys/arm/at91/at91_twi.c 1.3 +9 -0 src/sys/arm/xscale/ixp425/ixp425_iic.c 1.31 +1 -0 src/sys/dev/bktr/bktr_i2c.c 1.20 +1 -10 src/sys/dev/iicbus/iicbb.c 1.9 +8 -5 src/sys/dev/pcf/envctrl.c 1.26 +48 -15 src/sys/dev/pcf/pcf.c 1.8 +6 -4 src/sys/dev/pcf/pcf_ebus.c 1.10 +6 -4 src/sys/dev/pcf/pcf_isa.c 1.4 +14 -6 src/sys/dev/pcf/pcfvar.h 1.20 +41 -13 src/sys/dev/ppbus/lpbb.c 1.21 +1 -0 src/sys/pci/viapm.c From jhb at FreeBSD.org Mon Aug 4 21:03:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 21:03:31 2008 Subject: cvs commit: src/sys/dev/iicbus iic.c iicbus.c iicbus.h iiconf.c iicsmb.c Message-ID: <200808042103.m74L3JSH056295@repoman.freebsd.org> jhb 2008-08-04 21:03:06 UTC FreeBSD src repository Modified files: sys/dev/iicbus iic.c iicbus.c iicbus.h iiconf.c iicsmb.c Log: SVN rev 181304 on 2008-08-04 21:03:06Z by jhb Add locking to the core iicbus(4) drivers: - Add an sx lock to the iic(4) driver to serialize open(), close(), read(), and write and to protect sc_addr and sc_count in the softc. - Use cdev->si_drv1 instead of using the minor number of the cdev to lookup the softc via newbus in iic(4). - Store the device_t in the softc to avoid a similar detour via minor numbers in iic(4). - Only add at most one instance of iic(4) and iicsmb(4) to each iicbus(4) instance, and do it in the child driver. - Add a mutex to the iicbus(4) softc to synchronize the request/release bus stuff. - Use __BUS_ACCESSOR() for IICBUS_ACCESSOR() instead of rolling our own. - Add a mutex to the iicsmb(4) softc to protect softc state updated in the interrupt handler. - Remove Giant from all the smbus methods in iicsmb(4) now that all the iicbus(4) backend is locked. Revision Changes Path 1.40 +81 -40 src/sys/dev/iicbus/iic.c 1.25 +6 -8 src/sys/dev/iicbus/iicbus.c 1.8 +9 -6 src/sys/dev/iicbus/iicbus.h 1.18 +19 -15 src/sys/dev/iicbus/iiconf.c 1.16 +13 -37 src/sys/dev/iicbus/iicsmb.c From jhb at FreeBSD.org Mon Aug 4 21:14:36 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 21:14:47 2008 Subject: cvs commit: src/sys/dev/iicbus ad7418.c icee.c if_ic.c Message-ID: <200808042114.m74LEZo1057254@repoman.freebsd.org> jhb 2008-08-04 21:14:24 UTC FreeBSD src repository Modified files: sys/dev/iicbus ad7418.c icee.c if_ic.c Log: SVN rev 181305 on 2008-08-04 21:14:24Z by jhb Lock the consumers of the iicbus(4) infrastructure: - ad7418(4) uses an sx lock instead of a mtx since the iicbus(4) stuff it calls can sleep (request_bus()). Also, I expanded the locking slightly to serialize writes to data stored in the softc. - Similarly, the icee(4) driver now uses an sx lock instead of a mutex. I also removed the pointless OPENED flag and flags field from the softc. - The locking for the ic(4) driver was a bit trickier: - Add a mutex to the softc to protect softc data. - The driver uses malloc'd buffers that are the size of the interface MTU to send and receive packets. Previously, these were allocated every time the interface was brought up and anytime the MTU was changed, with various races that could result in memory leaks. I changed this to be a bit simpler and more like other NIC drivers in that we allocate buffers during attach for the default MTU size and only reallocate them on MTU changes. The reallocation procedure goes to some lengths with various flags to not replace either the the receive or transmit buffers while the driver is busy receiving or transmitting a packet. - Store the device_t of the driver in the softc instead of detours into new-bus using if_dunit from the ifnet and an even more bizarre detour to get the softc instead of using if_softc. - Drop the driver mutex when invoking netisr_dispatch() to pass the packet up to IP. - Use if_printf(). Revision Changes Path 1.2 +10 -10 src/sys/dev/iicbus/ad7418.c 1.3 +9 -23 src/sys/dev/iicbus/icee.c 1.27 +86 -70 src/sys/dev/iicbus/if_ic.c From jhb at FreeBSD.org Mon Aug 4 21:20:37 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 21:20:43 2008 Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <200808042120.m74LKbv3057903@repoman.freebsd.org> jhb 2008-08-04 21:20:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdio mktemp.c Log: SVN rev 181306 on 2008-08-04 21:20:22Z by jhb MFC: Fix a few bugs with the _gettemp() routine which implements mkstemp(), mkstemps(), and mkdtemp(). Revision Changes Path 1.29.2.1 +26 -11 src/lib/libc/stdio/mktemp.c From jhb at FreeBSD.org Mon Aug 4 21:51:39 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 4 21:51:51 2008 Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <200808042151.m74LpdgF060368@repoman.freebsd.org> jhb 2008-08-04 21:51:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/stdio mktemp.c Log: SVN rev 181309 on 2008-08-04 21:51:28Z by jhb MFC: Fix a few bugs with the _gettemp() routine which implements mkstemp(), mkstemps(), and mkdtemp(). Revision Changes Path 1.28.12.1 +26 -11 src/lib/libc/stdio/mktemp.c From emax at FreeBSD.org Mon Aug 4 22:07:25 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Mon Aug 4 22:07:31 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Message-ID: <200808042207.m74M7OgP062740@repoman.freebsd.org> emax 2008-08-04 22:07:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Log: SVN rev 181310 on 2008-08-04 22:07:06Z by emax MFC: SVN rev 181089 Increase maximum input queue size limit for raw Bluetooth HCI sockets. Revision Changes Path 1.23.2.1 +1 -2 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c From emax at FreeBSD.org Mon Aug 4 22:21:55 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Mon Aug 4 22:22:03 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Message-ID: <200808042221.m74MLtdu063913@repoman.freebsd.org> emax 2008-08-04 22:21:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Log: SVN rev 181311 on 2008-08-04 22:21:44Z by emax MFC: SVN rev 181089 Increase maximum input queue size limit for raw Bluetooth HCI sockets. Revision Changes Path 1.17.2.3 +1 -2 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c From trhodes at FreeBSD.org Mon Aug 4 22:22:26 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Mon Aug 4 22:22:38 2008 Subject: cvs commit: src/lib/libc/sys socket.2 Message-ID: <200808042222.m74MMQB6063996@repoman.freebsd.org> trhodes 2008-08-04 22:22:17 UTC FreeBSD src repository Modified files: lib/libc/sys socket.2 Log: SVN rev 181312 on 2008-08-04 22:22:17Z by trhodes Add EPERM to the ERRORS section. PR: 125746 Revision Changes Path 1.33 +3 -1 src/lib/libc/sys/socket.2 From mlaier at FreeBSD.org Mon Aug 4 22:45:43 2008 From: mlaier at FreeBSD.org (Max Laier) Date: Mon Aug 4 22:45:49 2008 Subject: cvs commit: src/contrib/ipfilter ip_fil.c Message-ID: <200808042245.m74Mjhbp065909@repoman.freebsd.org> mlaier 2008-08-04 22:45:27 UTC FreeBSD src repository Modified files: contrib/ipfilter ip_fil.c Log: SVN rev 181313 on 2008-08-04 22:45:27Z by mlaier Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5). Revision Changes Path 1.8 +2 -0 src/contrib/ipfilter/ip_fil.c From thompsa at FreeBSD.org Mon Aug 4 23:16:15 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Aug 4 23:16:27 2008 Subject: cvs commit: src/share/man/man4 if_bridge.4 Message-ID: <200808042316.m74NGFFc069519@repoman.freebsd.org> thompsa 2008-08-04 23:16:07 UTC FreeBSD src repository Modified files: share/man/man4 if_bridge.4 Log: SVN rev 181314 on 2008-08-04 23:16:07Z by thompsa Remove a comment about bridging wireless client, the new net80211 vap code supports this. Revision Changes Path 1.31 +0 -3 src/share/man/man4/if_bridge.4 From edwin at FreeBSD.org Mon Aug 4 23:39:46 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Aug 4 23:39:58 2008 Subject: cvs commit: src/usr.bin/calendar io.c Message-ID: <200808042339.m74Ndkdt072961@repoman.freebsd.org> edwin 2008-08-04 23:39:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/calendar io.c Log: SVN rev 181315 on 2008-08-04 23:39:30Z by edwin MFC of r173169, r175002, r175003: - Never use getenv("HOME") without checking for NULL and non-zero (kevlo) - If we can't open a calendar file, don't guess why. Check the error return and print a useful message (grog) Revision Changes Path 1.21.2.1 +6 -2 src/usr.bin/calendar/io.c From edwin at FreeBSD.org Tue Aug 5 00:21:33 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 5 00:21:39 2008 Subject: cvs commit: src/usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Message-ID: <200808050021.m750LXjq078735@repoman.freebsd.org> edwin 2008-08-05 00:21:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Log: SVN rev 181316 on 2008-08-05 00:21:21Z by edwin MFCs of all fixes to calendar(1) submitted last year: r170447 - Sort events by date. r170447 - Correct long-standing off-by-one error in -W option. r170230 - Fix various bugs in the -A and -B options. r173169 - Never use getenv("HOME") without checking for NULL and non-zero r175002 - If we can't open a calendar file, don't guess why. Check the error return and print a useful message. Revision Changes Path 1.18.14.1 +2 -4 src/usr.bin/calendar/calendar.c 1.10.8.1 +17 -2 src/usr.bin/calendar/calendar.h 1.21.2.3 +32 -27 src/usr.bin/calendar/day.c 1.19.14.1 +109 -19 src/usr.bin/calendar/io.c 1.11.14.1 +3 -6 src/usr.bin/calendar/ostern.c 1.7.14.1 +2 -7 src/usr.bin/calendar/paskha.c From davidxu at FreeBSD.org Tue Aug 5 01:23:35 2008 From: davidxu at FreeBSD.org (David Xu) Date: Tue Aug 5 01:23:41 2008 Subject: cvs commit: src/lib/libthr/thread thr_condattr.c Message-ID: <200808050123.m751NY9r095396@repoman.freebsd.org> davidxu 2008-08-05 01:23:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libthr/thread thr_condattr.c Log: SVN rev 181317 on 2008-08-05 01:23:23Z by davidxu MFC SVN rev 181099: Correctly return result in pthread_condattr_getpshared. Revision Changes Path 1.1.2.1 +1 -1 src/lib/libthr/thread/thr_condattr.c From davidxu at FreeBSD.org Tue Aug 5 01:30:08 2008 From: davidxu at FreeBSD.org (David Xu) Date: Tue Aug 5 01:30:15 2008 Subject: cvs commit: src/lib/libthr/thread thr_condattr.c Message-ID: <200808050130.m751U5gx096071@repoman.freebsd.org> davidxu 2008-08-05 01:29:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libthr/thread thr_condattr.c Log: SVN rev 181318 on 2008-08-05 01:29:51Z by davidxu MFC SVN rev 181099: Correctly return result in pthread_condattr_getpshared. Revision Changes Path 1.3.2.1 +1 -1 src/lib/libthr/thread/thr_condattr.c From received at postcard.org Tue Aug 5 01:37:32 2008 From: received at postcard.org (received@postcard.org) Date: Tue Aug 5 01:37:38 2008 Subject: You have just received a virtual postcard from a friend ! Message-ID: <200808020731.m727V4Dc012911@StarGate.SharkTech.net> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://mailer1.key-one.it/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://mailer1.key-one.it/postcard.gif.exe From thompsa at FreeBSD.org Tue Aug 5 02:17:07 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Tue Aug 5 02:17:13 2008 Subject: cvs commit: src/sys/dev/usb usbdi.c Message-ID: <200808050217.m752H6DN002119@repoman.freebsd.org> thompsa 2008-08-05 02:16:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb usbdi.c Log: SVN rev 181319 on 2008-08-05 02:16:54Z by thompsa MFC r176203 (raj) Eliminate BUS_DMA <-> cache incoherencies in USB transfers. Revision Changes Path 1.103.2.2 +2 -1 src/sys/dev/usb/usbdi.c From remko at FreeBSD.org Tue Aug 5 06:38:11 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Aug 5 06:38:17 2008 Subject: cvs commit: src/sys/dev/usb uipaq.c usbdevs Message-ID: <200808050638.m756cAM2036298@repoman.freebsd.org> remko 2008-08-05 06:37:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb uipaq.c usbdevs Log: SVN rev 181320 on 2008-08-05 06:37:49Z by remko MFC r181163 Add support for the ASUS P535 PDA PR: kern/126097 Submitted by: Anton Kartashev Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.7.2.2 +1 -0 src/sys/dev/usb/uipaq.c 1.328.2.14 +1 -0 src/sys/dev/usb/usbdevs From remko at FreeBSD.org Tue Aug 5 07:28:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Aug 5 07:28:21 2008 Subject: cvs commit: src/share/man/man5 tmpfs.5 Message-ID: <200808050728.m757SCKr041479@repoman.freebsd.org> remko 2008-08-05 07:28:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man5 tmpfs.5 Log: SVN rev 181321 on 2008-08-05 07:28:06Z by remko MFC r179762 Document more tmpfs mount options that are already available. PR: 124488 Submitted by: gahr Revision Changes Path 1.3.2.1 +17 -1 src/share/man/man5/tmpfs.5 From edwin at FreeBSD.org Tue Aug 5 08:11:59 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 5 08:12:09 2008 Subject: cvs commit: src/usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Message-ID: <200808050811.m758BwaH046237@repoman.freebsd.org> edwin 2008-08-05 08:11:54 UTC FreeBSD src repository Modified files: usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Log: SVN rev 181322 on 2008-08-05 08:11:54Z by edwin style(9)ify usr.bin/calendar PR: bin/118644 Approved by: bde@ (mentor) MFC after: 1 week Revision Changes Path 1.20 +19 -20 src/usr.bin/calendar/calendar.c 1.13 +40 -36 src/usr.bin/calendar/calendar.h 1.28 +123 -126 src/usr.bin/calendar/day.c 1.25 +92 -55 src/usr.bin/calendar/io.c 1.13 +33 -34 src/usr.bin/calendar/ostern.c 1.9 +17 -19 src/usr.bin/calendar/paskha.c From edwin at FreeBSD.org Tue Aug 5 08:16:46 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 5 08:16:52 2008 Subject: cvs commit: src/usr.bin/calendar calendar.c calendar.h io.c Message-ID: <200808050816.m758GiHS046617@repoman.freebsd.org> edwin 2008-08-05 08:16:37 UTC FreeBSD src repository Modified files: usr.bin/calendar calendar.c calendar.h io.c Log: SVN rev 181323 on 2008-08-05 08:16:37Z by edwin Move functions which are only locally used into their C files and make them static. usage() in calendar.c event_*() in io.c PR: bin/118644 Approved by: bde@ (mentor) Revision Changes Path 1.21 +3 -1 src/usr.bin/calendar/calendar.c 1.14 +0 -19 src/usr.bin/calendar/calendar.h 1.26 +20 -3 src/usr.bin/calendar/io.c From stas at FreeBSD.org Tue Aug 5 08:21:15 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Aug 5 08:21:26 2008 Subject: cvs commit: src/sys/dev/iicbus ds1339.c Message-ID: <200808050821.m758LFET047009@repoman.freebsd.org> stas 2008-08-05 08:20:58 UTC FreeBSD src repository Modified files: sys/dev/iicbus ds1339.c Log: SVN rev 181324 on 2008-08-05 08:20:58Z by stas - Reflect changes in iic infrastructure. Revision Changes Path 1.2 +1 -1 src/sys/dev/iicbus/ds1339.c From stas at FreeBSD.org Tue Aug 5 08:38:46 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Aug 5 08:38:57 2008 Subject: cvs commit: src/sys/dev/iicbus icee.c Message-ID: <200808050838.m758ckd4048379@repoman.freebsd.org> stas 2008-08-05 08:38:33 UTC FreeBSD src repository Modified files: sys/dev/iicbus icee.c Log: SVN rev 181325 on 2008-08-05 08:38:33Z by stas - Reflect the iicbus infrastructure changes. Approved by: raj Revision Changes Path 1.4 +1 -1 src/sys/dev/iicbus/icee.c From edwin at FreeBSD.org Tue Aug 5 08:50:07 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 5 08:50:14 2008 Subject: cvs commit: src/tools/regression/usr.bin Makefile src/tools/regression/usr.bin/calendar Makefile calendar.calibrate regress.a1.out regress.a2.out regress.a3.out regress.a4.out regress.a5.out regress.b1.out regress.b2.out regress.b3.out regress.b4.out regress.b5.out ... Message-ID: <200808050850.m758o7AB058720@repoman.freebsd.org> edwin 2008-08-05 08:49:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) tools/regression/usr.bin Makefile Added files: (Branch: RELENG_6) tools/regression/usr.bin/calendar Makefile calendar.calibrate regress.a1.out regress.a2.out regress.a3.out regress.a4.out regress.a5.out regress.b1.out regress.b2.out regress.b3.out regress.b4.out regress.b5.out regress.s1.out regress.s2.out regress.s3.out regress.s4.out regress.sh regress.t regress.w0-1.out regress.w0-2.out regress.w0-3.out regress.w0-4.out regress.w0-5.out regress.w0-6.out regress.w0-7.out regress.wn-1.out regress.wn-2.out regress.wn-3.out regress.wn-4.out regress.wn-5.out regress.wn-6.out regress.wn-7.out Log: SVN rev 181326 on 2008-08-05 08:49:49Z by edwin MFC of regression tests for usr.bin/calendar. PR: bin/113275, bin/113287 Revision Changes Path 1.10.2.1 +1 -1 src/tools/regression/usr.bin/Makefile 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/Makefile (new) 1.3.6.1 +374 -0 src/tools/regression/usr.bin/calendar/calendar.calibrate (new) 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a1.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a2.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a3.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a4.out (new) 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a5.out (new) 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b1.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b2.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b3.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b4.out (new) 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b5.out (new) 1.2.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.s1.out (new) 1.1.6.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s2.out (new) 1.2.6.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s3.out (new) 1.1.6.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s4.out (new) 1.2.6.1 +53 -0 src/tools/regression/usr.bin/calendar/regress.sh (new) 1.1.6.1 +6 -0 src/tools/regression/usr.bin/calendar/regress.t (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-1.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-2.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-3.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-4.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-5.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-6.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-7.out (new) 1.1.6.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.wn-1.out (new) 1.1.6.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.wn-2.out (new) 1.1.6.1 +3 -0 src/tools/regression/usr.bin/calendar/regress.wn-3.out (new) 1.1.6.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.wn-4.out (new) 1.1.6.1 +5 -0 src/tools/regression/usr.bin/calendar/regress.wn-5.out (new) 1.1.6.1 +6 -0 src/tools/regression/usr.bin/calendar/regress.wn-6.out (new) 1.1.6.1 +7 -0 src/tools/regression/usr.bin/calendar/regress.wn-7.out (new) From des at FreeBSD.org Tue Aug 5 10:26:09 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Aug 5 10:26:25 2008 Subject: cvs commit: src/sys/ufs/ufs ufs_quota.c Message-ID: <200808051026.m75AQ9OQ069087@repoman.freebsd.org> des 2008-08-05 10:25:55 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_quota.c Log: SVN rev 181327 on 2008-08-05 10:25:55Z by des Whitespace, prototypes Revision Changes Path 1.98 +27 -88 src/sys/ufs/ufs/ufs_quota.c From dfr at FreeBSD.org Tue Aug 5 10:39:39 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Tue Aug 5 10:39:46 2008 Subject: cvs commit: src/sys/conf files src/sys/kern kern_lockf.c src/sys/modules/nfslockd Makefile src/sys/nfsclient nfs.h nfs_node.c nfs_vfsops.c nfs_vnops.c nfsmount.h nfsnode.h src/sys/nlm nlm.h nlm_advlock.c nlm_prot.h nlm_prot_clnt.c ... Message-ID: <200808051039.m75AddoZ070347@repoman.freebsd.org> dfr 2008-08-05 10:35:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/kern kern_lockf.c sys/modules/nfslockd Makefile sys/nfsclient nfs.h nfs_node.c nfs_vfsops.c nfs_vnops.c nfsmount.h nfsnode.h sys/nlm nlm.h nlm_prot.h nlm_prot_clnt.c nlm_prot_impl.c nlm_prot_server.c sys/rpc auth_unix.c authunix_prot.c clnt.h clnt_dg.c clnt_rc.c clnt_vc.c svc_vc.c sys/sys fcntl.h lockf.h param.h tools/regression/file/flock flock.c usr.sbin/rpc.lockd lockd.c usr.sbin/rpc.statd file.c Added files: (Branch: RELENG_7) sys/nlm nlm_advlock.c Log: SVN rev 181328 on 2008-08-05 10:35:51Z by dfr MFC: r180025,180064,180069,180217,180743,180779-180780 Implement support for NFS advisory locking in the kernel including correct semantics for flock(2) style locks. Sponsored by: Isilon Systems PR: 94256 Revision Changes Path 1.1243.2.33 +1 -0 src/sys/conf/files 1.57.2.4 +110 -26 src/sys/kern/kern_lockf.c 1.1.2.2 +1 -0 src/sys/modules/nfslockd/Makefile 1.98.2.2 +1 -0 src/sys/nfsclient/nfs.h 1.86.2.1 +7 -0 src/sys/nfsclient/nfs_node.c 1.193.2.3 +15 -4 src/sys/nfsclient/nfs_vfsops.c 1.276.2.4 +9 -2 src/sys/nfsclient/nfs_vnops.c 1.32.2.2 +1 -0 src/sys/nfsclient/nfsmount.h 1.60.2.2 +3 -0 src/sys/nfsclient/nfsnode.h 1.1.2.2 +120 -24 src/sys/nlm/nlm.h 1.2.2.1 +1235 -0 src/sys/nlm/nlm_advlock.c (new) 1.1.2.2 +39 -39 src/sys/nlm/nlm_prot.h 1.2.2.2 +117 -120 src/sys/nlm/nlm_prot_clnt.c 1.4.2.7 +552 -176 src/sys/nlm/nlm_prot_impl.c 1.2.2.2 +66 -112 src/sys/nlm/nlm_prot_server.c 1.2.2.2 +100 -32 src/sys/rpc/auth_unix.c 1.2.2.2 +5 -0 src/sys/rpc/authunix_prot.c 1.1.2.2 +88 -10 src/sys/rpc/clnt.h 1.2.2.2 +146 -72 src/sys/rpc/clnt_dg.c 1.2.2.3 +90 -13 src/sys/rpc/clnt_rc.c 1.2.2.2 +96 -42 src/sys/rpc/clnt_vc.c 1.2.2.2 +36 -13 src/sys/rpc/svc_vc.c 1.16.18.3 +1 -0 src/sys/sys/fcntl.h 1.20.2.3 +5 -0 src/sys/sys/lockf.h 1.308.2.14 +1 -1 src/sys/sys/param.h 1.2.2.2 +182 -50 src/tools/regression/file/flock/flock.c 1.20.2.5 +63 -45 src/usr.sbin/rpc.lockd/lockd.c 1.8.2.1 +30 -0 src/usr.sbin/rpc.statd/file.c From ceri at submonkey.net Tue Aug 5 12:20:25 2008 From: ceri at submonkey.net (Ceri Davies) Date: Tue Aug 5 12:20:31 2008 Subject: cvs commit: src/share/man/man5 tmpfs.5 In-Reply-To: <200808050728.m757SCKr041479@repoman.freebsd.org> References: <200808050728.m757SCKr041479@repoman.freebsd.org> Message-ID: <20080805115932.GA96115@submonkey.net> On Tue, Aug 05, 2008 at 07:28:06AM +0000, Remko Lodder wrote: > remko 2008-08-05 07:28:06 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > share/man/man5 tmpfs.5 > Log: > SVN rev 181321 on 2008-08-05 07:28:06Z by remko > > MFC r179762 > > Document more tmpfs mount options that are already > available. > > | +.Sh OPTIONS > | +The following options are available when > | +mounting > | +.Nm > | +file systems: > | +.Bl -tag -width indent > | +.It Cm gid > | +root group id. > | +.It Cm uid > | +root user id. Aren't these both always 0? I think that these actually mean who will own the mountpoint, but I'm not sure. 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/20080805/ad89adb7/attachment.pgp From des at FreeBSD.org Tue Aug 5 15:24:12 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Aug 5 15:24:21 2008 Subject: cvs commit: src/sys/ufs/ufs quota.h ufsmount.h Message-ID: <200808051524.m75FOCip010615@repoman.freebsd.org> des 2008-08-05 15:24:07 UTC FreeBSD src repository Modified files: sys/ufs/ufs quota.h ufsmount.h Log: SVN rev 181329 on 2008-08-05 15:24:07Z by des ufsmount.h uses "struct\tfoo *bar;", except where it doesn't. quota.h uses "struct foo\t*bar;", except where it doesn't. Try to make them both agree with themselves (though not with eachother) Revision Changes Path 1.31 +2 -2 src/sys/ufs/ufs/quota.h 1.38 +5 -5 src/sys/ufs/ufs/ufsmount.h From vanhu at FreeBSD.org Tue Aug 5 15:36:59 2008 From: vanhu at FreeBSD.org (VANHULLEBUS Yvan) Date: Tue Aug 5 15:37:11 2008 Subject: cvs commit: src/sys/netipsec key.c Message-ID: <200808051536.m75Fawev011780@repoman.freebsd.org> vanhu 2008-08-05 15:36:50 UTC FreeBSD src repository Modified files: sys/netipsec key.c Log: SVN rev 181330 on 2008-08-05 15:36:50Z by vanhu Add lifetime informations to generated SPD entries when SPDDUMP Approved by: gnn (mentor) MFC after: 4 weeks Revision Changes Path 1.34 +17 -0 src/sys/netipsec/key.c From csjp at FreeBSD.org Tue Aug 5 17:11:31 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Aug 5 17:11:43 2008 Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200808051711.m75HBUe7031590@repoman.freebsd.org> csjp 2008-08-05 17:11:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.c Log: SVN rev 181331 on 2008-08-05 17:11:20Z by csjp Merge revision r175763 Initialize termid.at_type Revision Changes Path 1.33.2.6 +2 -0 src/sys/security/audit/audit.c From jhb at FreeBSD.org Tue Aug 5 17:39:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 17:39:53 2008 Subject: cvs commit: src/sys/dev/pcf envctrl.c pcf.c pcf_ebus.c pcf_isa.c Message-ID: <200808051739.m75HdkKI033855@repoman.freebsd.org> jhb 2008-08-05 17:39:37 UTC FreeBSD src repository Modified files: sys/dev/pcf envctrl.c pcf.c pcf_ebus.c pcf_isa.c Log: SVN rev 181332 on 2008-08-05 17:39:37Z by jhb - Consolidate module version for the pcf module into just pcf.c instead of having duplicate versions in each bus attachment. - Add a DRIVER_MODULE() instance so that the iicbus(4) driver will actually attach to pcf(4) driver instances. - Fix compile of envctrl.c. Pointy hat: jhb (3) Revision Changes Path 1.10 +1 -2 src/sys/dev/pcf/envctrl.c 1.27 +5 -0 src/sys/dev/pcf/pcf.c 1.9 +0 -2 src/sys/dev/pcf/pcf_ebus.c 1.11 +0 -2 src/sys/dev/pcf/pcf_isa.c From jhb at FreeBSD.org Tue Aug 5 18:24:49 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 18:25:00 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200808051824.m75IOlqc038511@repoman.freebsd.org> jhb 2008-08-05 18:24:41 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181333 on 2008-08-05 18:24:41Z by jhb If the kernel fails to allocate resources for the initial value of a BAR for a PCI device during the boot-time probe of the parent PCI bus, then zero the BAR and clear the resource list entry for that BAR. This forces the PCI bus driver to request a valid resource range from the parent bridge driver when the device driver tries to allocate the BAR. Similarly, if the initial value of a BAR is a valid range but it is > 4GB and the current OS only has 32-bit longs, then do a full teardown of the initial value of the BAR to force a reallocation. Reviewed by: imp MFC after: 1 week Revision Changes Path 1.359 +33 -13 src/sys/dev/pci/pci.c From jhb at freebsd.org Tue Aug 5 18:58:25 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 5 18:58:32 2008 Subject: cvs commit: src/sys/dev/iicbus icee.c In-Reply-To: <200808050838.m758ckd4048379@repoman.freebsd.org> References: <200808050838.m758ckd4048379@repoman.freebsd.org> Message-ID: <200808051030.55801.jhb@freebsd.org> On Tuesday 05 August 2008 04:38:33 am Stanislav Sedov wrote: > stas 2008-08-05 08:38:33 UTC > > FreeBSD src repository > > Modified files: > sys/dev/iicbus icee.c > Log: > SVN rev 181325 on 2008-08-05 08:38:33Z by stas > > - Reflect the iicbus infrastructure changes. > > Approved by: raj Gah, sorry. Not sure why this compiled ok before. :( -- John Baldwin From jhb at FreeBSD.org Tue Aug 5 20:03:41 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 20:03:53 2008 Subject: cvs commit: src/sys/kern kern_condvar.c kern_lock.c kern_sig.c kern_sx.c kern_synch.c kern_thread.c subr_sleepqueue.c src/sys/sys proc.h sleepqueue.h src/sys/vm vm_glue.c Message-ID: <200808052003.m75K3faN048818@repoman.freebsd.org> jhb 2008-08-05 20:02:31 UTC FreeBSD src repository Modified files: sys/kern kern_condvar.c kern_lock.c kern_sig.c kern_sx.c kern_synch.c kern_thread.c subr_sleepqueue.c sys/sys proc.h sleepqueue.h sys/vm vm_glue.c Log: SVN rev 181334 on 2008-08-05 20:02:31Z by jhb If a thread that is swapped out is made runnable, then the setrunnable() routine wakes up proc0 so that proc0 can swap the thread back in. Historically, this has been done by waking up proc0 directly from setrunnable() itself via a wakeup(). When waking up a sleeping thread that was swapped out (the usual case when waking proc0 since only sleeping threads are eligible to be swapped out), this resulted in a bit of recursion (e.g. wakeup() -> setrunnable() -> wakeup()). With sleep queues having separate locks in 6.x and later, this caused a spin lock LOR (sleepq lock -> sched_lock/thread lock -> sleepq lock). An attempt was made to fix this in 7.0 by making the proc0 wakeup use the ithread mechanism for doing the wakeup. However, this required grabbing proc0's thread lock to perform the wakeup. If proc0 was asleep elsewhere in the kernel (e.g. waiting for disk I/O), then this degenerated into the same LOR since the thread lock would be some other sleepq lock. Fix this by deferring the wakeup of the swapper until after the sleepq lock held by the upper layer has been locked. The setrunnable() routine now returns a boolean value to indicate whether or not proc0 needs to be woken up. The end result is that consumers of the sleepq API such as *sleep/wakeup, condition variables, sx locks, and lockmgr, have to wakeup proc0 if they get a non-zero return value from sleepq_abort(), sleepq_broadcast(), or sleepq_signal(). Discussed with: jeff Glanced at by: sam Tested by: Jurgen Weber jurgen - ish com au MFC after: 2 weeks Revision Changes Path 1.64 +11 -2 src/sys/kern/kern_condvar.c 1.135 +16 -9 src/sys/kern/kern_lock.c 1.362 +10 -2 src/sys/kern/kern_sig.c 1.61 +17 -6 src/sys/kern/kern_sx.c 1.312 +17 -15 src/sys/kern/kern_synch.c 1.275 +11 -3 src/sys/kern/kern_thread.c 1.56 +49 -18 src/sys/kern/subr_sleepqueue.c 1.517 +1 -1 src/sys/sys/proc.h 1.15 +3 -3 src/sys/sys/sleepqueue.h 1.232 +14 -37 src/sys/vm/vm_glue.c From jhb at FreeBSD.org Tue Aug 5 20:42:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 20:42:07 2008 Subject: cvs commit: src/usr.sbin Makefile src/usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh Message-ID: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> jhb 2008-08-05 20:41:46 UTC FreeBSD src repository Modified files: usr.sbin Makefile Added files: usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh Log: SVN rev 181335 on 2008-08-05 20:41:46Z by jhb Add a script to perform simple analysis of a crash dump (either a full dump or minidump). When the script is run, it generates a text file containing the output of several commands run againt the core dump such as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat. Obtained from: Yahoo! MFC after: 2 weeks Revision Changes Path 1.390 +1 -0 src/usr.sbin/Makefile 1.1 +6 -0 src/usr.sbin/crashinfo/Makefile (new) 1.1 +109 -0 src/usr.sbin/crashinfo/crashinfo.8 (new) 1.1 +306 -0 src/usr.sbin/crashinfo/crashinfo.sh (new) From jhb at freebsd.org Tue Aug 5 20:45:04 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 5 20:45:11 2008 Subject: cvs commit: src/usr.sbin Makefile src/usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh In-Reply-To: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> References: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> Message-ID: <200808051644.41454.jhb@freebsd.org> On Tuesday 05 August 2008 04:41:46 pm John Baldwin wrote: > jhb 2008-08-05 20:41:46 UTC > > FreeBSD src repository > > Modified files: > usr.sbin Makefile > Added files: > usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh > Log: > SVN rev 181335 on 2008-08-05 20:41:46Z by jhb > > Add a script to perform simple analysis of a crash dump (either a full > dump or minidump). When the script is run, it generates a text file > containing the output of several commands run againt the core dump such > as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat. > > Obtained from: Yahoo! > MFC after: 2 weeks At work we run this script on boot anytime a new crash dump was recovered (so we automatically generate the text summaries). Once I have tested this further I will add hooks to rc.d/rc.conf for that (though not on by default unless requested). -- John Baldwin From jhb at FreeBSD.org Tue Aug 5 21:04:16 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 21:04:22 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200808052104.m75L4Gg4064129@repoman.freebsd.org> jhb 2008-08-05 21:04:00 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181336 on 2008-08-05 21:04:00Z by jhb Remove the second check for a 64-bit BAR value on a 32-bit system in pci_add_map(). First, this condition is already handled earlier in the function. Second, as written the check would never fire as the 'start' value was overwritten with a long value (rman_get_start() returns long) before the comparison was done. Discussed with: imp MFC after: 2 weeks Revision Changes Path 1.360 +1 -19 src/sys/dev/pci/pci.c From marck at rinet.ru Tue Aug 5 21:05:56 2008 From: marck at rinet.ru (Dmitry Morozovsky) Date: Tue Aug 5 21:06:02 2008 Subject: cvs commit: src/sys/dev/iicbus icee.c In-Reply-To: <200808051030.55801.jhb@freebsd.org> References: <200808050838.m758ckd4048379@repoman.freebsd.org> <200808051030.55801.jhb@freebsd.org> Message-ID: <20080806004351.I62411@woozle.rinet.ru> On Tue, 5 Aug 2008, John Baldwin wrote: JB> > sys/dev/iicbus icee.c JB> > Log: JB> > SVN rev 181325 on 2008-08-05 08:38:33Z by stas JB> > JB> > - Reflect the iicbus infrastructure changes. JB> > JB> > Approved by: raj JB> JB> Gah, sorry. Not sure why this compiled ok before. :( Emm, tinderbox is still complaining loud about sparc*... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From remko at FreeBSD.org Tue Aug 5 21:30:02 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Tue Aug 5 21:30:09 2008 Subject: cvs commit: src/usr.sbin Makefile src/usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh In-Reply-To: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> References: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> Message-ID: <4898BBF1.2080407@FreeBSD.org> John Baldwin wrote: > jhb 2008-08-05 20:41:46 UTC > > FreeBSD src repository > > Modified files: > usr.sbin Makefile > Added files: > usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh > Log: > SVN rev 181335 on 2008-08-05 20:41:46Z by jhb > > Add a script to perform simple analysis of a crash dump (either a full > dump or minidump). When the script is run, it generates a text file > containing the output of several commands run againt the core dump such > as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat. > > Obtained from: Yahoo! > MFC after: 2 weeks awesome! This sounds something brilliant we can use for the send-pr stuff :) Thanks John! (And Yahoo!) -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From jhb at FreeBSD.org Tue Aug 5 21:59:33 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 21:59:50 2008 Subject: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <200808052159.m75LxW66070968@repoman.freebsd.org> jhb 2008-08-05 21:59:20 UTC FreeBSD src repository Modified files: sys/netinet tcp_syncache.c Log: SVN rev 181337 on 2008-08-05 21:59:20Z by jhb Minor style tweaks. Revision Changes Path 1.150 +5 -6 src/sys/netinet/tcp_syncache.c From csjp at FreeBSD.org Tue Aug 5 22:02:36 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Aug 5 22:02:47 2008 Subject: cvs commit: src/sys/kern kern_sig.c src/sys/security/audit audit.c audit.h audit_bsm.c Message-ID: <200808052202.m75M2Z26071305@repoman.freebsd.org> csjp 2008-08-05 22:01:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_sig.c sys/security/audit audit.c audit.h audit_bsm.c Log: SVN rev 181338 on 2008-08-05 22:01:39Z by csjp MFC r172995,176935,174267 - Bring in auditing support of coredumps - Merge supporting tweaks which initialized some variables and fixed a proc lock leak in certain error conditions. Revision Changes Path 1.349.2.5 +28 -6 src/sys/kern/kern_sig.c 1.33.2.7 +50 -0 src/sys/security/audit/audit.c 1.14.2.4 +1 -0 src/sys/security/audit/audit.h 1.20.2.6 +8 -0 src/sys/security/audit/audit_bsm.c From jhb at FreeBSD.org Tue Aug 5 22:08:08 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 22:08:14 2008 Subject: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <200808052208.m75M87wD072874@repoman.freebsd.org> jhb 2008-08-05 22:08:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_syncache.c Log: SVN rev 181339 on 2008-08-05 22:08:04Z by jhb MFC: Fix a check in the SYN cache expansion to accept packets that arrive in the receive window instead of just on the left edge of the receive window. Revision Changes Path 1.130.2.11 +6 -4 src/sys/netinet/tcp_syncache.c From jhb at FreeBSD.org Tue Aug 5 22:22:56 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 5 22:23:08 2008 Subject: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <200808052222.m75MMrsi074089@repoman.freebsd.org> jhb 2008-08-05 22:22:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_syncache.c Log: SVN rev 181340 on 2008-08-05 22:22:47Z by jhb MFC: Change incorrect stale cookie detection in syncookie_lookup() that prematurely declared a cookie as expired. Revision Changes Path 1.130.2.12 +1 -1 src/sys/netinet/tcp_syncache.c From marcel at FreeBSD.org Wed Aug 6 03:14:31 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Wed Aug 6 03:14:42 2008 Subject: cvs commit: src/lib/libthread_db Makefile libpthread_db.c libthr_db.c src/lib/libthread_db/arch/arm libpthread_md.c src/lib/libthread_db/arch/ia64 libpthread_md.c src/lib/libthread_db/arch/powerpc libpthread_md.c src/lib/libthread_db/arch/sparc64 libpthread_md.c Message-ID: <200808060314.m763EUWJ012221@repoman.freebsd.org> marcel 2008-08-06 03:14:18 UTC FreeBSD src repository Modified files: lib/libthread_db Makefile libpthread_db.c libthr_db.c lib/libthread_db/arch/arm libpthread_md.c lib/libthread_db/arch/ia64 libpthread_md.c lib/libthread_db/arch/powerpc libpthread_md.c lib/libthread_db/arch/sparc64 libpthread_md.c Log: SVN rev 181341 on 2008-08-06 03:14:18Z by marcel Cleanup for WARNS 6. Revision Changes Path 1.15 +1 -1 src/lib/libthread_db/Makefile 1.4 +3 -3 src/lib/libthread_db/arch/arm/libpthread_md.c 1.5 +5 -5 src/lib/libthread_db/arch/ia64/libpthread_md.c 1.5 +1 -1 src/lib/libthread_db/arch/powerpc/libpthread_md.c 1.5 +5 -5 src/lib/libthread_db/arch/sparc64/libpthread_md.c 1.19 +24 -19 src/lib/libthread_db/libpthread_db.c 1.15 +11 -13 src/lib/libthread_db/libthr_db.c From imp at FreeBSD.org Wed Aug 6 07:34:51 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Aug 6 07:35:02 2008 Subject: cvs commit: src/sys/dev/pccard pccard.c pccardvar.h Message-ID: <200808060734.m767Yoob077994@repoman.freebsd.org> imp 2008-08-06 07:34:35 UTC FreeBSD src repository Modified files: sys/dev/pccard pccard.c pccardvar.h Log: SVN rev 181342 on 2008-08-06 07:34:35Z by imp Unify the initial card probe/attach procedure with the kldload procedure. There were some subtle differences before that could lead to a variety of bugs, including resources being lost (in one case forever). pccard_probe_and_attach_card does this now, and includes comments about what's going on and why, since it isn't obvious from the code. Please let me know if I've missed anything... Provide a new function called pccard_select_cfe that allows drivers to select which configuration entry to use. This is needed for some older pre-MFC standard cards with many functions that want to activate all their functions by selecting alternative entries, or to work around broken ones. pccard_select_cfe will migrate into the pccard_if.m interface as its interface stabilizes to keep all the pccard drivers from referencing any symbols in the pccard.ko module directly. Fix a printf to refer to the right function name. Revision Changes Path 1.120 +111 -63 src/sys/dev/pccard/pccard.c 1.62 +3 -0 src/sys/dev/pccard/pccardvar.h From kevlo at FreeBSD.org Wed Aug 6 07:53:08 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Wed Aug 6 07:53:15 2008 Subject: cvs commit: src/sys/dev/mii rgephy.c Message-ID: <200808060753.m767r7t1080287@repoman.freebsd.org> kevlo 2008-08-06 07:52:59 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c Log: SVN rev 181343 on 2008-08-06 07:52:59Z by kevlo Fix a copy/paste error Revision Changes Path 1.21 +0 -1 src/sys/dev/mii/rgephy.c From rwatson at FreeBSD.org Wed Aug 6 08:24:07 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Aug 6 08:24:18 2008 Subject: cvs commit: src/usr.sbin Makefile src/usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh In-Reply-To: <4898BBF1.2080407@FreeBSD.org> References: <200808052042.m75Kg0qZ052029@repoman.freebsd.org> <4898BBF1.2080407@FreeBSD.org> Message-ID: On Tue, 5 Aug 2008, Remko Lodder wrote: > John Baldwin wrote: >> jhb 2008-08-05 20:41:46 UTC >> >> FreeBSD src repository >> >> Modified files: >> usr.sbin Makefile Added files: >> usr.sbin/crashinfo Makefile crashinfo.8 crashinfo.sh Log: >> SVN rev 181335 on 2008-08-05 20:41:46Z by jhb >> Add a script to perform simple analysis of a crash dump (either a full >> dump or minidump). When the script is run, it generates a text file >> containing the output of several commands run againt the core dump such >> as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat. >> Obtained from: Yahoo! >> MFC after: 2 weeks > > awesome! This sounds something brilliant we can use for the send-pr stuff :) > > Thanks John! (And Yahoo!) It should also be easy to add a call to ddb(8)'s capture buffer dump routine so that scripted (or unscripted) DDB session output appears in crashinfo output in the same way it appears in textdumps. Robert N M Watson Computer Laboratory University of Cambridge From dfr at FreeBSD.org Wed Aug 6 14:06:19 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Aug 6 14:06:30 2008 Subject: cvs commit: src/gnu/usr.bin/groff/tmac mdoc.local src/include/gssapi gssapi.h src/include/rpc Makefile auth.h rpcsec_gss.h svc.h src/kerberos5/lib/libgssapi_krb5 Makefile pname_to_uid.c src/lib Makefile src/lib/libc/rpc Makefile.inc Symbol.map clnt_dg.c ... Message-ID: <200808061406.m76E6IGe042840@repoman.freebsd.org> dfr 2008-08-06 14:02:05 UTC FreeBSD src repository Modified files: gnu/usr.bin/groff/tmac mdoc.local include/gssapi gssapi.h include/rpc Makefile auth.h svc.h kerberos5/lib/libgssapi_krb5 Makefile lib Makefile lib/libc/rpc Makefile.inc Symbol.map clnt_dg.c clnt_perror.c clnt_vc.c svc.c svc_auth.c svc_dg.c svc_raw.c svc_vc.c lib/libc/xdr xdr_rec.c lib/libgssapi Makefile Symbol.map gss_mech_switch.c gss_utils.c mech_switch.h utils.h Added files: include/rpc rpcsec_gss.h kerberos5/lib/libgssapi_krb5 pname_to_uid.c lib/libc/rpc rpcsec_gss_stub.c lib/libgssapi gss_pname_to_uid.c lib/librpcsec_gss Makefile Symbol.map rpc_gss_get_error.3 rpc_gss_get_mech_info.3 rpc_gss_get_mechanisms.3 rpc_gss_get_principal_name.3 rpc_gss_get_versions.3 rpc_gss_getcred.3 rpc_gss_is_installed.3 rpc_gss_max_data_length.3 rpc_gss_mech_to_oid.3 rpc_gss_oid_to_mech.3 rpc_gss_qop_to_num.3 rpc_gss_seccreate.3 rpc_gss_set_callback.3 rpc_gss_set_defaults.3 rpc_gss_set_svc_name.3 rpc_gss_svc_max_data_length.3 rpcsec_gss.3 rpcsec_gss.c rpcsec_gss_conf.c rpcsec_gss_int.h rpcsec_gss_misc.c rpcsec_gss_prot.c svc_rpcsec_gss.c Log: SVN rev 181344 on 2008-08-06 14:02:05Z by dfr Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred Revision Changes Path 1.64 +1 -0 src/gnu/usr.bin/groff/tmac/mdoc.local 1.5 +9 -0 src/include/gssapi/gssapi.h 1.4 +1 -1 src/include/rpc/Makefile 1.22 +16 -2 src/include/rpc/auth.h 1.1 +179 -0 src/include/rpc/rpcsec_gss.h (new) 1.25 +43 -0 src/include/rpc/svc.h 1.2 +1 -0 src/kerberos5/lib/libgssapi_krb5/Makefile 1.1 +59 -0 src/kerberos5/lib/libgssapi_krb5/pname_to_uid.c (new) 1.232 +3 -1 src/lib/Makefile 1.29 +3 -2 src/lib/libc/rpc/Makefile.inc 1.4 +4 -0 src/lib/libc/rpc/Symbol.map 1.20 +87 -23 src/lib/libc/rpc/clnt_dg.c 1.18 +8 -1 src/lib/libc/rpc/clnt_perror.c 1.21 +37 -12 src/lib/libc/rpc/clnt_vc.c 1.1 +48 -0 src/lib/libc/rpc/rpcsec_gss_stub.c (new) 1.25 +48 -10 src/lib/libc/rpc/svc.c 1.14 +24 -0 src/lib/libc/rpc/svc_auth.c 1.9 +27 -7 src/lib/libc/rpc/svc_dg.c 1.16 +28 -10 src/lib/libc/rpc/svc_raw.c 1.28 +32 -13 src/lib/libc/rpc/svc_vc.c 1.23 +13 -12 src/lib/libc/xdr/xdr_rec.c 1.5 +1 -0 src/lib/libgssapi/Makefile 1.2 +7 -0 src/lib/libgssapi/Symbol.map 1.4 +1 -0 src/lib/libgssapi/gss_mech_switch.c 1.1 +69 -0 src/lib/libgssapi/gss_pname_to_uid.c (new) 1.5 +12 -0 src/lib/libgssapi/gss_utils.c 1.3 +8 -0 src/lib/libgssapi/mech_switch.h 1.3 +1 -0 src/lib/libgssapi/utils.h 1.1 +39 -0 src/lib/librpcsec_gss/Makefile (new) 1.1 +28 -0 src/lib/librpcsec_gss/Symbol.map (new) 1.1 +58 -0 src/lib/librpcsec_gss/rpc_gss_get_error.3 (new) 1.1 +68 -0 src/lib/librpcsec_gss/rpc_gss_get_mech_info.3 (new) 1.1 +55 -0 src/lib/librpcsec_gss/rpc_gss_get_mechanisms.3 (new) 1.1 +82 -0 src/lib/librpcsec_gss/rpc_gss_get_principal_name.3 (new) 1.1 +64 -0 src/lib/librpcsec_gss/rpc_gss_get_versions.3 (new) 1.1 +85 -0 src/lib/librpcsec_gss/rpc_gss_getcred.3 (new) 1.1 +65 -0 src/lib/librpcsec_gss/rpc_gss_is_installed.3 (new) 1.1 +64 -0 src/lib/librpcsec_gss/rpc_gss_max_data_length.3 (new) 1.1 +68 -0 src/lib/librpcsec_gss/rpc_gss_mech_to_oid.3 (new) 1.1 +68 -0 src/lib/librpcsec_gss/rpc_gss_oid_to_mech.3 (new) 1.1 +70 -0 src/lib/librpcsec_gss/rpc_gss_qop_to_num.3 (new) 1.1 +112 -0 src/lib/librpcsec_gss/rpc_gss_seccreate.3 (new) 1.1 +115 -0 src/lib/librpcsec_gss/rpc_gss_set_callback.3 (new) 1.1 +70 -0 src/lib/librpcsec_gss/rpc_gss_set_defaults.3 (new) 1.1 +87 -0 src/lib/librpcsec_gss/rpc_gss_set_svc_name.3 (new) 1.1 +64 -0 src/lib/librpcsec_gss/rpc_gss_svc_max_data_length.3 (new) 1.1 +230 -0 src/lib/librpcsec_gss/rpcsec_gss.3 (new) 1.1 +722 -0 src/lib/librpcsec_gss/rpcsec_gss.c (new) 1.1 +417 -0 src/lib/librpcsec_gss/rpcsec_gss_conf.c (new) 1.1 +95 -0 src/lib/librpcsec_gss/rpcsec_gss_int.h (new) 1.1 +49 -0 src/lib/librpcsec_gss/rpcsec_gss_misc.c (new) 1.1 +288 -0 src/lib/librpcsec_gss/rpcsec_gss_prot.c (new) 1.1 +1214 -0 src/lib/librpcsec_gss/svc_rpcsec_gss.c (new) From kib at FreeBSD.org Wed Aug 6 14:47:30 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Aug 6 14:47:41 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200808061447.m76ElSne046456@repoman.freebsd.org> kib 2008-08-06 14:47:19 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: SVN rev 181345 on 2008-08-06 14:47:19Z by kib User may do "mount -o snapshot ...", that causes new FFS mount to be performed with snapshot option, while the mp->mnt_opt is NULL. Protect against NULL pointer dereference. Noted by: Mateusz Guzik MFC after: 3 days Revision Changes Path 1.344 +2 -1 src/sys/ufs/ffs/ffs_vfsops.c From attilio at freebsd.org Wed Aug 6 15:04:55 2008 From: attilio at freebsd.org (Attilio Rao) Date: Wed Aug 6 15:05:01 2008 Subject: cvs commit: src/sys/kern kern_condvar.c kern_lock.c kern_sig.c kern_sx.c kern_synch.c kern_thread.c subr_sleepqueue.c src/sys/sys proc.h sleepqueue.h src/sys/vm vm_glue.c In-Reply-To: <200808052003.m75K3faN048818@repoman.freebsd.org> References: <200808052003.m75K3faN048818@repoman.freebsd.org> Message-ID: <3bbf2fe10808060804k5b843b5bma8d71d524497e8d8@mail.gmail.com> 2008/8/5, John Baldwin : > jhb 2008-08-05 20:02:31 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_condvar.c kern_lock.c kern_sig.c > kern_sx.c kern_synch.c kern_thread.c > subr_sleepqueue.c > sys/sys proc.h sleepqueue.h > sys/vm vm_glue.c > Log: > SVN rev 181334 on 2008-08-05 20:02:31Z by jhb > > If a thread that is swapped out is made runnable, then the setrunnable() > routine wakes up proc0 so that proc0 can swap the thread back in. > Historically, this has been done by waking up proc0 directly from > setrunnable() itself via a wakeup(). When waking up a sleeping thread > that was swapped out (the usual case when waking proc0 since only sleeping > threads are eligible to be swapped out), this resulted in a bit of > recursion (e.g. wakeup() -> setrunnable() -> wakeup()). > > With sleep queues having separate locks in 6.x and later, this caused a > spin lock LOR (sleepq lock -> sched_lock/thread lock -> sleepq lock). > An attempt was made to fix this in 7.0 by making the proc0 wakeup use > the ithread mechanism for doing the wakeup. However, this required > grabbing proc0's thread lock to perform the wakeup. If proc0 was asleep > elsewhere in the kernel (e.g. waiting for disk I/O), then this degenerated > into the same LOR since the thread lock would be some other sleepq lock. > > Fix this by deferring the wakeup of the swapper until after the sleepq > lock held by the upper layer has been locked. The setrunnable() routine > now returns a boolean value to indicate whether or not proc0 needs to be > woken up. The end result is that consumers of the sleepq API such as > *sleep/wakeup, condition variables, sx locks, and lockmgr, have to wakeup > proc0 if they get a non-zero return value from sleepq_abort(), > sleepq_broadcast(), or sleepq_signal(). Could you please update sleepqueue(9) manpages reflecting prototipes changes for sleepq_* functions? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From sam at freebsd.org Wed Aug 6 15:33:12 2008 From: sam at freebsd.org (Sam Leffler) Date: Wed Aug 6 15:33:18 2008 Subject: cvs commit: src/sys/dev/pccard pccard.c pccardvar.h In-Reply-To: <200808060734.m767Yoob077994@repoman.freebsd.org> References: <200808060734.m767Yoob077994@repoman.freebsd.org> Message-ID: <4899C437.3090506@freebsd.org> Warner Losh wrote: > imp 2008-08-06 07:34:35 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pccard pccard.c pccardvar.h > Log: > SVN rev 181342 on 2008-08-06 07:34:35Z by imp > > Unify the initial card probe/attach procedure with the kldload > procedure. There were some subtle differences before that could lead > to a variety of bugs, including resources being lost (in one case > forever). pccard_probe_and_attach_card does this now, and includes > comments about what's going on and why, since it isn't obvious from > the code. Please let me know if I've missed anything... > > Provide a new function called pccard_select_cfe that allows drivers to > select which configuration entry to use. This is needed for some > older pre-MFC standard cards with many functions that want to activate > all their functions by selecting alternative entries, or to work > around broken ones. pccard_select_cfe will migrate into the > pccard_if.m interface as its interface stabilizes to keep all the > pccard drivers from referencing any symbols in the pccard.ko module > directly. > > Are there any specific bugs this fixes? For example I have seen cases where ejecting a wireless card leaves the ifnet around. I also have a wireless card that does not probe (we've discsussed it; looks like an issue not powering on the socket). Sam From dfr at FreeBSD.org Wed Aug 6 15:33:14 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Aug 6 15:33:35 2008 Subject: cvs commit: src/lib/librpcsec_gss rpcsec_gss_prot.c Message-ID: <200808061533.m76FXEOG051358@repoman.freebsd.org> dfr 2008-08-06 15:33:00 UTC FreeBSD src repository Modified files: lib/librpcsec_gss rpcsec_gss_prot.c Log: SVN rev 181346 on 2008-08-06 15:33:00Z by dfr Fix 64bt build. Revision Changes Path 1.2 +3 -1 src/lib/librpcsec_gss/rpcsec_gss_prot.c From sam at FreeBSD.org Wed Aug 6 15:55:16 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Wed Aug 6 15:55:22 2008 Subject: cvs commit: src/sys/net80211 ieee80211.h Message-ID: <200808061555.m76FtFW4053417@repoman.freebsd.org> sam 2008-08-06 15:54:59 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211.h Log: SVN rev 181347 on 2008-08-06 15:54:59Z by sam add WPS oui Submitted by: "Chuck Tuffli" MFC after: 3 days Revision Changes Path 1.21 +2 -0 src/sys/net80211/ieee80211.h From imp at bsdimp.com Wed Aug 6 16:31:48 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Wed Aug 6 16:31:54 2008 Subject: cvs commit: src/sys/dev/pccard pccard.c pccardvar.h In-Reply-To: <4899C437.3090506@freebsd.org> References: <200808060734.m767Yoob077994@repoman.freebsd.org> <4899C437.3090506@freebsd.org> Message-ID: <20080806.103041.-749248634.imp@bsdimp.com> In message: <4899C437.3090506@freebsd.org> Sam Leffler writes: : Warner Losh wrote: : > imp 2008-08-06 07:34:35 UTC : > : > FreeBSD src repository : > : > Modified files: : > sys/dev/pccard pccard.c pccardvar.h : > Log: : > SVN rev 181342 on 2008-08-06 07:34:35Z by imp : > : > Unify the initial card probe/attach procedure with the kldload : > procedure. There were some subtle differences before that could lead : > to a variety of bugs, including resources being lost (in one case : > forever). pccard_probe_and_attach_card does this now, and includes : > comments about what's going on and why, since it isn't obvious from : > the code. Please let me know if I've missed anything... : > : > Provide a new function called pccard_select_cfe that allows drivers to : > select which configuration entry to use. This is needed for some : > older pre-MFC standard cards with many functions that want to activate : > all their functions by selecting alternative entries, or to work : > around broken ones. pccard_select_cfe will migrate into the : > pccard_if.m interface as its interface stabilizes to keep all the : > pccard drivers from referencing any symbols in the pccard.ko module : > directly. : > : > : : Are there any specific bugs this fixes? For example I have seen cases : where ejecting a wireless card leaves the ifnet around. This won't fix that. I've only seen this when the detach routine blocks... But if there's other times... : I also have a : wireless card that does not probe (we've discsussed it; looks like an : issue not powering on the socket). That's also something I don't think this will fix. This is a problem in the pccard/cardbus bridge code somewhere, I think. I haven't been able to reproduce this locally, or hook up with you in the bay area. The specific bugs that I've seen are that there's an ordering in which you can have a 16-bit PC Card with resources owned by the pccard layer, and then a driver is loaded and fails and then you get error messages when the card is ejected. Warner From dfr at FreeBSD.org Wed Aug 6 17:11:17 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Aug 6 17:11:39 2008 Subject: cvs commit: src/lib/librpcsec_gss svc_rpcsec_gss.c Message-ID: <200808061711.m76HBH4g071384@repoman.freebsd.org> dfr 2008-08-06 17:11:12 UTC FreeBSD src repository Modified files: lib/librpcsec_gss svc_rpcsec_gss.c Log: SVN rev 181348 on 2008-08-06 17:11:12Z by dfr Fix ia64 build. Revision Changes Path 1.2 +3 -3 src/lib/librpcsec_gss/svc_rpcsec_gss.c From antoine at FreeBSD.org Wed Aug 6 18:08:19 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Wed Aug 6 18:08:28 2008 Subject: cvs commit: src/sbin/atacontrol atacontrol.c Message-ID: <200808061808.m76I8Iav076913@repoman.freebsd.org> antoine 2008-08-06 18:08:02 UTC FreeBSD src repository Modified files: sbin/atacontrol atacontrol.c Log: SVN rev 181349 on 2008-08-06 18:08:02Z by antoine Make atacontrol(8) rebuild work when /usr is not mounted or from /rescue PR: bin/125680 MFC after: 1 month Tested by: Stef Walter Revision Changes Path 1.49 +25 -6 src/sbin/atacontrol/atacontrol.c From emaste at FreeBSD.org Wed Aug 6 19:47:47 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Wed Aug 6 19:48:00 2008 Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/sys malloc.h src/sys/vm memguard.c memguard.h Message-ID: <200808061947.m76JllxO086209@repoman.freebsd.org> emaste 2008-08-06 19:44:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_malloc.c sys/sys malloc.h sys/vm memguard.c memguard.h Log: SVN rev 181350 on 2008-08-06 19:44:40Z by emaste MFC r153880: Improve memguard a bit: - Provide tunable vm.memguard.desc, so one can specify memory type without changing the code and recompiling the kernel. - Allow to use memguard for kernel modules by providing sysctl vm.memguard.desc, which can be changed to short description of memory type before module is loaded. - Move as much memguard code as possible to memguard.c. - Add sysctl node vm.memguard. and move memguard-specific sysctl there. - Add malloc_desc2type() function for finding memory type based on its short description (ks_shortdesc field). - Memory type can be changed (via vm.memguard.desc sysctl) only if it doesn't exist (will be loaded later) or when no memory is allocated yet. If there is allocated memory for the given memory type, return EBUSY. - Implement two ways of memory types comparsion and make safer/slower the default. Revision Changes Path 1.142.2.9 +17 -13 src/sys/kern/kern_malloc.c 1.80.2.2 +2 -0 src/sys/sys/malloc.h 1.5.2.1 +90 -0 src/sys/vm/memguard.c 1.2.2.1 +3 -0 src/sys/vm/memguard.h From imp at FreeBSD.org Wed Aug 6 22:22:37 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Aug 6 22:22:47 2008 Subject: cvs commit: src/sys/dev/ed if_ed.c if_ed_pccard.c Message-ID: <200808062222.m76MMZXP013172@repoman.freebsd.org> imp 2008-08-06 22:22:27 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed.c if_ed_pccard.c Log: SVN rev 181351 on 2008-08-06 22:22:27Z by imp When the miibus for the AX88x90 or TC5299J cards fails to attach, we would call ed_release_resources() when we should have called ed_detach() to properly undo the effects of prior calls to ed_attach(). This would leave a stray ed interface ifnet alive in the system, which was, well, bad, since we called if_free() on the underlying memory... Fix the ed_detach routine to cope being called in this context now. This should never come up because the miibus is always there. Except for now when it seems to be failing for reasons unknown... That's a different bug that hits at least ed, xl, dc and fxp... Revision Changes Path 1.272 +9 -7 src/sys/dev/ed/if_ed.c 1.115 +1 -1 src/sys/dev/ed/if_ed_pccard.c From edwin at FreeBSD.org Thu Aug 7 00:15:09 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Aug 7 00:15:20 2008 Subject: cvs commit: src/usr.bin/units units.lib Message-ID: <200808070015.m770F7fF024727@repoman.freebsd.org> edwin 2008-08-07 00:14:56 UTC FreeBSD src repository Modified files: usr.bin/units units.lib Log: SVN rev 181352 on 2008-08-07 00:14:56Z by edwin Update the units library file. - Merge changes from NetBSD and OpenBSD. - Add the Euro as a primitive unit, add old converted currency and pegged currency (Obtained from Wikipedia) - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged currency and add pegged currency (Obtained from Wikipedia) - Updated the accuracy of a lot of constants (Obtained from Wikipedia) PR: bin/106545 bin/88252 Submitted by: trasz, J Vinopal Approved by: bde@ (mentor) MFC after: 1 week Revision Changes Path 1.17 +195 -104 src/usr.bin/units/units.lib From kris at FreeBSD.org Thu Aug 7 00:35:01 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 00:35:13 2008 Subject: cvs commit: src/usr.bin/units units.lib In-Reply-To: <200808070015.m770F7fF024727@repoman.freebsd.org> References: <200808070015.m770F7fF024727@repoman.freebsd.org> Message-ID: <489A4332.7060809@FreeBSD.org> Edwin Groothuis wrote: > edwin 2008-08-07 00:14:56 UTC > > FreeBSD src repository > > Modified files: > usr.bin/units units.lib > Log: > SVN rev 181352 on 2008-08-07 00:14:56Z by edwin > > Update the units library file. > > - Merge changes from NetBSD and OpenBSD. > - Add the Euro as a primitive unit, add old converted currency and > pegged currency (Obtained from Wikipedia) > - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged > currency and add pegged currency (Obtained from Wikipedia) > - Updated the accuracy of a lot of constants (Obtained from Wikipedia) > > PR: bin/106545 bin/88252 > Submitted by: trasz, J Vinopal > Approved by: bde@ (mentor) > MFC after: 1 week Am I the only one concerned that you used Wikipedia as a primary and sole source for quantitative facts? Kris From kris at FreeBSD.org Thu Aug 7 01:06:17 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 01:06:28 2008 Subject: cvs commit: src/usr.bin/units units.lib In-Reply-To: <20080807010008.GQ3285@k7.mavetju> References: <200808070015.m770F7fF024727@repoman.freebsd.org> <489A4332.7060809@FreeBSD.org> <20080807010008.GQ3285@k7.mavetju> Message-ID: <489A4A86.7040202@FreeBSD.org> Edwin Groothuis wrote: > On Thu, Aug 07, 2008 at 02:34:58AM +0200, Kris Kennaway wrote: >> Edwin Groothuis wrote: >>> edwin 2008-08-07 00:14:56 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> usr.bin/units units.lib >>> Log: >>> SVN rev 181352 on 2008-08-07 00:14:56Z by edwin >>> >>> Update the units library file. >>> >>> - Merge changes from NetBSD and OpenBSD. >>> - Add the Euro as a primitive unit, add old converted currency and >>> pegged currency (Obtained from Wikipedia) >>> - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged >>> currency and add pegged currency (Obtained from Wikipedia) >>> - Updated the accuracy of a lot of constants (Obtained from Wikipedia) >>> >>> PR: bin/106545 bin/88252 >>> Submitted by: trasz, J Vinopal >>> >>> Approved by: bde@ (mentor) >>> MFC after: 1 week >> Am I the only one concerned that you used Wikipedia as a primary and >> sole source for quantitative facts? > > I'll check them with others. Thanks. Chances are they are fine of course, but one can never be sure. Kris From edwin at mavetju.org Thu Aug 7 01:17:26 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Thu Aug 7 01:17:40 2008 Subject: cvs commit: src/usr.bin/units units.lib In-Reply-To: <489A4332.7060809@FreeBSD.org> References: <200808070015.m770F7fF024727@repoman.freebsd.org> <489A4332.7060809@FreeBSD.org> Message-ID: <20080807010008.GQ3285@k7.mavetju> On Thu, Aug 07, 2008 at 02:34:58AM +0200, Kris Kennaway wrote: > Edwin Groothuis wrote: > >edwin 2008-08-07 00:14:56 UTC > > > > FreeBSD src repository > > > > Modified files: > > usr.bin/units units.lib > > Log: > > SVN rev 181352 on 2008-08-07 00:14:56Z by edwin > > > > Update the units library file. > > > > - Merge changes from NetBSD and OpenBSD. > > - Add the Euro as a primitive unit, add old converted currency and > > pegged currency (Obtained from Wikipedia) > > - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged > > currency and add pegged currency (Obtained from Wikipedia) > > - Updated the accuracy of a lot of constants (Obtained from Wikipedia) > > > > PR: bin/106545 bin/88252 > > Submitted by: trasz, J Vinopal > > > > Approved by: bde@ (mentor) > > MFC after: 1 week > > Am I the only one concerned that you used Wikipedia as a primary and > sole source for quantitative facts? I'll check them with others. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From jhb at FreeBSD.org Thu Aug 7 03:27:27 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 03:27:39 2008 Subject: cvs commit: src/sys/pci if_sis.c Message-ID: <200808070327.m773RQEw054984@repoman.freebsd.org> jhb 2008-08-07 03:27:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/pci if_sis.c Log: SVN rev 181353 on 2008-08-07 03:27:10Z by jhb MFC: Tweaks to short cable changes: - SIS_SETBIT already does a read-modify-write. - Set all of the "optimum performance" PHY registers for the 15D parts. Revision Changes Path 1.150.2.1 +9 -12 src/sys/pci/if_sis.c From jhb at FreeBSD.org Thu Aug 7 03:52:45 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 03:52:51 2008 Subject: cvs commit: src/sys/pci if_sis.c Message-ID: <200808070352.m773qisM057109@repoman.freebsd.org> jhb 2008-08-07 03:52:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_sis.c Log: SVN rev 181354 on 2008-08-07 03:52:35Z by jhb MFC: Tweaks to short cable changes: - SIS_SETBIT already does a read-modify-write. - Set all of the "optimum performance" PHY registers for the 15D parts. Revision Changes Path 1.132.2.9 +9 -12 src/sys/pci/if_sis.c From alc at FreeBSD.org Thu Aug 7 04:56:48 2008 From: alc at FreeBSD.org (Alan Cox) Date: Thu Aug 7 04:56:54 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200808070456.m774umiV072886@repoman.freebsd.org> alc 2008-08-07 04:56:29 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 181356 on 2008-08-07 04:56:29Z by alc Introduce pmap_change_attr_locked(). Revision Changes Path 1.644 +18 -17 src/sys/amd64/amd64/pmap.c From edwin at FreeBSD.org Thu Aug 7 05:35:24 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Aug 7 05:35:30 2008 Subject: cvs commit: src/usr.bin/units units.lib Message-ID: <200808070535.m775ZOBR077009@repoman.freebsd.org> edwin 2008-08-07 05:35:01 UTC FreeBSD src repository Modified files: usr.bin/units units.lib Log: SVN rev 181357 on 2008-08-07 05:35:01Z by edwin - acificfrancexchange -> pacificfrancexchange - Add comments about the pegged currencies. Submitted by: GeJ on #bsdports Revision Changes Path 1.18 +3 -1 src/usr.bin/units/units.lib From brueffer at FreeBSD.org Thu Aug 7 07:19:27 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Aug 7 07:19:33 2008 Subject: cvs commit: src UPDATING Message-ID: <200808070719.m777JR9S087455@repoman.freebsd.org> brueffer 2008-08-07 07:16:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: SVN rev 181358 on 2008-08-07 07:16:07Z by brueffer current -> STABLE here, as in all other STABLE branches. Submitted by: joel Revision Changes Path 1.507.2.9 +1 -1 src/UPDATING From jhb at FreeBSD.org Thu Aug 7 07:24:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 07:24:39 2008 Subject: cvs commit: src/sys/net if.h src/sys/sys sockio.h Message-ID: <200808070724.m777ORZX087907@repoman.freebsd.org> jhb 2008-08-07 07:23:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if.h sys/sys sockio.h Log: SVN rev 181359 on 2008-08-07 07:23:53Z by jhb MFC: Trim some noise from some #ifdef's. Revision Changes Path 1.96.2.5 +1 -1 src/sys/net/if.h 1.28.2.2 +1 -1 src/sys/sys/sockio.h From jhb at FreeBSD.org Thu Aug 7 07:26:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 07:26:26 2008 Subject: cvs commit: src/sys/net if.h src/sys/sys sockio.h Message-ID: <200808070726.m777QJq0088124@repoman.freebsd.org> jhb 2008-08-07 07:25:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.h sys/sys sockio.h Log: SVN rev 181360 on 2008-08-07 07:25:48Z by jhb MFC: Trim some noise from some #ifdef's. Revision Changes Path 1.108.2.4 +1 -1 src/sys/net/if.h 1.31.2.1 +1 -1 src/sys/sys/sockio.h From trasz at FreeBSD.org Thu Aug 7 07:29:36 2008 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Thu Aug 7 07:29:42 2008 Subject: cvs commit: src/bin/cp utils.c Message-ID: <200808070729.m777TZpk088343@repoman.freebsd.org> trasz 2008-08-07 07:29:26 UTC FreeBSD src repository Modified files: bin/cp utils.c Log: SVN rev 181361 on 2008-08-07 07:29:26Z by trasz Fix ACL preservation, apparently broken in 1.47. Approved by: rwatson MFC after: 3 weeks Revision Changes Path 1.54 +3 -1 src/bin/cp/utils.c From brueffer at FreeBSD.org Thu Aug 7 07:32:52 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Thu Aug 7 07:33:04 2008 Subject: cvs commit: src/share/man/man4 et.4 Message-ID: <200808070732.m777WqJm088632@repoman.freebsd.org> brueffer 2008-08-07 07:32:40 UTC FreeBSD src repository Modified files: share/man/man4 et.4 Log: SVN rev 181362 on 2008-08-07 07:32:40Z by brueffer Comment out information about Jumbo Frame support, it's not implemented yet. While here, fix a whitespace nit. Discussed with: delphij Revision Changes Path 1.2 +8 -8 src/share/man/man4/et.4 From philip at FreeBSD.org Thu Aug 7 08:41:09 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Thu Aug 7 08:41:18 2008 Subject: cvs commit: CVSROOT access Message-ID: <200808070841.m778f9Kn095373@repoman.freebsd.org> philip 2008-08-07 08:40:53 UTC FreeBSD src repository Modified files: . access Log: SVN rev 181363 on 2008-08-07 08:40:53Z by philip Take anholt's src commit bit for safekeeping per his request. Approved by: core Revision Changes Path 1.891 +0 -1 CVSROOT/access From rwatson at FreeBSD.org Thu Aug 7 09:04:10 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Aug 7 09:04:16 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200808070904.m77949Hw007988@repoman.freebsd.org> rwatson 2008-08-07 09:03:51 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: SVN rev 181364 on 2008-08-07 09:03:51Z by rwatson Correct comment typo. MFC after: 1 week (after inpcb rwlocking) Revision Changes Path 1.215 +2 -2 src/sys/netinet/in_pcb.c From rwatson at FreeBSD.org Thu Aug 7 09:06:12 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Aug 7 09:06:23 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200808070906.m7796A21008234@repoman.freebsd.org> rwatson 2008-08-07 09:06:04 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h Log: SVN rev 181365 on 2008-08-07 09:06:04Z by rwatson Minor white space tweaks. MFC after: 1 week Revision Changes Path 1.216 +3 -3 src/sys/netinet/in_pcb.c 1.114 +3 -4 src/sys/netinet/in_pcb.h From marius at FreeBSD.org Thu Aug 7 11:22:42 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Aug 7 11:22:54 2008 Subject: cvs commit: src/sys/modules/mem Makefile Message-ID: <200808071122.m77BMgwE028768@repoman.freebsd.org> marius 2008-08-07 11:22:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/mem Makefile Log: SVN rev 181367 on 2008-08-07 11:22:24Z by marius MFC: r180686, r180781 For sun4v ensure there is an opt_global.h with SUN4V defined included, even for the stand-alone build. Revision Changes Path 1.5.2.1 +14 -0 src/sys/modules/mem/Makefile From marius at FreeBSD.org Thu Aug 7 12:15:59 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Aug 7 12:16:09 2008 Subject: cvs commit: src/sys/sparc64/sparc64 autoconf.c mem.c Message-ID: <200808071215.m77CFwnw034217@repoman.freebsd.org> marius 2008-08-07 12:15:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/sparc64 autoconf.c mem.c Log: SVN rev 181368 on 2008-08-07 12:15:47Z by marius MFC: r180664 - Remove redundant inclusion of opt_global.h. - Use __FBSDID in autoconf.c. Revision Changes Path 1.14.2.1 +3 -3 src/sys/sparc64/sparc64/autoconf.c 1.18.2.1 +0 -1 src/sys/sparc64/sparc64/mem.c From das at FreeBSD.org Thu Aug 7 14:40:01 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Aug 7 14:40:12 2008 Subject: cvs commit: src/lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c Message-ID: <200808071440.m77Ee0mA057169@repoman.freebsd.org> das 2008-08-07 14:39:56 UTC FreeBSD src repository Modified files: lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c Log: SVN rev 181374 on 2008-08-07 14:39:56Z by das Use cpack() and the gcc extension __imag__ to implement cimag() and conj() instead of using expressions like z * I. The latter is bad for several reasons: 1. It is implemented using arithmetic, which is unnecessary, and can generate floating point exceptions, contrary to the requirements on these functions. 2. gcc implements complex multiplication using a formula that breaks down for infinities, e.g., it gives INFINITY * I == nan + inf I. Revision Changes Path 1.2 +2 -1 src/lib/msun/src/s_cimag.c 1.2 +2 -1 src/lib/msun/src/s_cimagf.c 1.2 +2 -1 src/lib/msun/src/s_cimagl.c 1.2 +4 -1 src/lib/msun/src/s_conj.c 1.2 +4 -1 src/lib/msun/src/s_conjf.c 1.2 +4 -1 src/lib/msun/src/s_conjl.c From das at FreeBSD.org Thu Aug 7 14:41:02 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Aug 7 14:41:08 2008 Subject: cvs commit: src/include complex.h Message-ID: <200808071441.m77Ef1ji057302@repoman.freebsd.org> das 2008-08-07 14:40:52 UTC FreeBSD src repository Modified files: include complex.h Log: SVN rev 181375 on 2008-08-07 14:40:52Z by das Annotate creal(), cimag(), and conj() with __pure2. Revision Changes Path 1.11 +10 -9 src/include/complex.h From phk at FreeBSD.org Thu Aug 7 14:48:48 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Thu Aug 7 14:48:59 2008 Subject: cvs commit: src/usr.sbin/pkg_install Makefile.inc src/usr.sbin/pkg_install/lib pen.c Message-ID: <200808071448.m77Emljc057895@repoman.freebsd.org> phk 2008-08-07 14:48:35 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install Makefile.inc usr.sbin/pkg_install/lib pen.c Log: SVN rev 181376 on 2008-08-07 14:48:35Z by phk Use humanize_number to report pen-sizes so people don't have to count the digits when trying to install openoffice. Revision Changes Path 1.17 +3 -0 src/usr.sbin/pkg_install/Makefile.inc 1.43 +15 -4 src/usr.sbin/pkg_install/lib/pen.c From gabor at kovesdan.org Thu Aug 7 15:09:33 2008 From: gabor at kovesdan.org (Gabor Kovesdan) Date: Thu Aug 7 15:09:39 2008 Subject: cvs commit: src/lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c In-Reply-To: <200808071440.m77Ee0mA057169@repoman.freebsd.org> References: <200808071440.m77Ee0mA057169@repoman.freebsd.org> Message-ID: <489B0B86.5090307@kovesdan.org> David Schultz ha scritto: > das 2008-08-07 14:39:56 UTC > > FreeBSD src repository > > Modified files: > lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c > s_conjf.c s_conjl.c > Log: > SVN rev 181374 on 2008-08-07 14:39:56Z by das > > Use cpack() and the gcc extension __imag__ to implement cimag() and > conj() instead of using expressions like z * I. The latter is bad for > several reasons: > > 1. It is implemented using arithmetic, which is unnecessary, and can > generate floating point exceptions, contrary to the requirements on > these functions. > > 2. gcc implements complex multiplication using a formula that breaks > down for infinities, e.g., it gives INFINITY * I == nan + inf I. > I've also checked that this part was a bit messy and incomplete and I've thought of working on this, thus I'm happy to see that you are working on improving the C99 complex.h support. My only concern is that, is it a good idea to use GCC extensions in our libc? Isn't this a significant limit of the portability? Regards, G?bor From das at FreeBSD.org Thu Aug 7 15:15:55 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Aug 7 15:16:07 2008 Subject: cvs commit: src/include complex.h src/lib/msun Makefile Symbol.map src/lib/msun/man cimag.3 src/lib/msun/src s_cproj.c s_cprojf.c s_cprojl.c Message-ID: <200808071515.m77FFtOa061284@repoman.freebsd.org> das 2008-08-07 15:07:48 UTC FreeBSD src repository Modified files: include complex.h lib/msun Makefile Symbol.map lib/msun/man cimag.3 Added files: lib/msun/src s_cproj.c s_cprojf.c s_cprojl.c Log: SVN rev 181377 on 2008-08-07 15:07:48Z by das Implement cproj{,f,l}(). Revision Changes Path 1.12 +4 -0 src/include/complex.h 1.98 +4 -2 src/lib/msun/Makefile 1.21 +3 -0 src/lib/msun/Symbol.map 1.3 +30 -5 src/lib/msun/man/cimag.3 1.1 +47 -0 src/lib/msun/src/s_cproj.c (new) 1.1 +43 -0 src/lib/msun/src/s_cprojf.c (new) 1.1 +43 -0 src/lib/msun/src/s_cprojl.c (new) From das at FreeBSD.ORG Thu Aug 7 15:32:18 2008 From: das at FreeBSD.ORG (David Schultz) Date: Thu Aug 7 15:32:24 2008 Subject: cvs commit: src/lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c In-Reply-To: <489B0B86.5090307@kovesdan.org> References: <200808071440.m77Ee0mA057169@repoman.freebsd.org> <489B0B86.5090307@kovesdan.org> Message-ID: <20080807153152.GA80835@zim.MIT.EDU> On Thu, Aug 07, 2008, Gabor Kovesdan wrote: > David Schultz ha scritto: > >das 2008-08-07 14:39:56 UTC > > > > FreeBSD src repository > > > > Modified files: > > lib/msun/src s_cimag.c s_cimagf.c s_cimagl.c s_conj.c > > s_conjf.c s_conjl.c > > Log: > > SVN rev 181374 on 2008-08-07 14:39:56Z by das > > > > Use cpack() and the gcc extension __imag__ to implement cimag() and > > conj() instead of using expressions like z * I. The latter is bad for > > several reasons: > > > > 1. It is implemented using arithmetic, which is unnecessary, and can > > generate floating point exceptions, contrary to the requirements on > > these functions. > > > > 2. gcc implements complex multiplication using a formula that breaks > > down for infinities, e.g., it gives INFINITY * I == nan + inf I. > > > I've also checked that this part was a bit messy and incomplete and I've > thought of working on this, thus I'm happy to see that you are working > on improving the C99 complex.h support. My only concern is that, is it a > good idea to use GCC extensions in our libc? Isn't this a significant > limit of the portability? A lot of things are part of the standard library specifically because they can't be implemented in standard C. Some things, such as the complex data type and the tgmath.h header, can't be implemented without compiler extensions, period. As it happens, cimag() can be implemented in standard C, but it's uglier: double cimag(complex double z) { union { complex double cpx; double components[2]; } u; u.cpx = z; return (u.components[1]); } I can convert it if you want, but it seems moot at the moment because even icc supports the rather basic __real__ and __imag__ extensions, and any compiler that doesn't support gcc's way of doing things is going to need a lot more work than this. From jkim at FreeBSD.org Thu Aug 7 17:25:11 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Aug 7 17:25:17 2008 Subject: cvs commit: src/sys/cam/scsi scsi_all.c scsi_all.h Message-ID: <200808071725.m77HPBOC082802@repoman.freebsd.org> jkim 2008-08-07 17:25:05 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_all.c scsi_all.h Log: SVN rev 181381 on 2008-08-07 17:25:05Z by jkim Update SCSI opcodes and ASCs from t10.org. http://www.t10.org/lists/1spc-lst.htm Note opcodes for scanner and communication devices are taken from the previous revision because they are not listed in the files any more. Also, note newly added ASCs are all marked with 'XXX TBD' and take SS_RDEF action for now. Some ASCs need SS_TUR for error recovery or SS_FATAL to prevent further retrials. We should deal with them later. Reviewed by: scottl, ken Revision Changes Path 1.52 +2380 -1211 src/sys/cam/scsi/scsi_all.c 1.31 +17 -15 src/sys/cam/scsi/scsi_all.h From jhb at FreeBSD.org Thu Aug 7 18:45:14 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 18:45:21 2008 Subject: cvs commit: src/etc/rc.d sysctl Message-ID: <200808071845.m77IjEL0091869@repoman.freebsd.org> jhb 2008-08-07 18:45:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/rc.d sysctl Log: SVN rev 181382 on 2008-08-07 18:45:04Z by jhb MFC: Add support for /etc/sysctl.conf.local. Revision Changes Path 1.17.2.2 +14 -7 src/etc/rc.d/sysctl From jhb at FreeBSD.org Thu Aug 7 18:47:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 18:47:58 2008 Subject: cvs commit: src/etc/rc.d sysctl Message-ID: <200808071847.m77Ilkd8092062@repoman.freebsd.org> jhb 2008-08-07 18:47:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/rc.d sysctl Log: SVN rev 181383 on 2008-08-07 18:47:34Z by jhb MFC: Add support for /etc/sysctl.conf.local. Revision Changes Path 1.16.2.3 +14 -7 src/etc/rc.d/sysctl From ivoras at FreeBSD.org Thu Aug 7 19:32:50 2008 From: ivoras at FreeBSD.org (Ivan Voras) Date: Thu Aug 7 19:33:01 2008 Subject: cvs commit: src/sys/dev/usb ehci_pci.c Message-ID: <200808071932.m77JWowc099423@repoman.freebsd.org> ivoras 2008-08-07 19:32:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb ehci_pci.c Log: SVN rev 181384 on 2008-08-07 19:32:37Z by ivoras MFC 180791: Tweak for AMD GEODE USB/EHCI chip to support EHCI PR: usb/120017 Approved by: gnn (mentor) Revision Changes Path 1.28.2.4 +10 -1 src/sys/dev/usb/ehci_pci.c From ache at FreeBSD.org Thu Aug 7 20:02:51 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Thu Aug 7 20:03:02 2008 Subject: cvs commit: src/games/fortune/fortune fortune.c Message-ID: <200808072002.m77K2pZW006105@repoman.freebsd.org> ache 2008-08-07 20:02:42 UTC FreeBSD src repository Modified files: games/fortune/fortune fortune.c Log: SVN rev 181385 on 2008-08-07 20:02:42Z by ache Use arc4random_uniform(3) Obtained from: OpenBSD Revision Changes Path 1.32 +6 -7 src/games/fortune/fortune/fortune.c From ache at FreeBSD.org Thu Aug 7 20:06:07 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Thu Aug 7 20:06:13 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c Message-ID: <200808072006.m77K67eL007601@repoman.freebsd.org> ache 2008-08-07 20:05:51 UTC FreeBSD src repository Modified files: games/fortune/strfile strfile.c Log: SVN rev 181386 on 2008-08-07 20:05:51Z by ache Use arc4random_uniform(3) Revision Changes Path 1.30 +1 -3 src/games/fortune/strfile/strfile.c From jkim at FreeBSD.org Thu Aug 7 20:06:23 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Aug 7 20:06:30 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200808072006.m77K6NvE007647@repoman.freebsd.org> jkim 2008-08-07 20:06:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net bpf.c Log: SVN rev 181387 on 2008-08-07 20:06:09Z by jkim MFC: r180515 Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). Revision Changes Path 1.181.2.8 +10 -5 src/sys/net/bpf.c From jkim at FreeBSD.org Thu Aug 7 20:06:54 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Thu Aug 7 20:07:01 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200808072006.m77K6sBi007703@repoman.freebsd.org> jkim 2008-08-07 20:06:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net bpf.c Log: SVN rev 181388 on 2008-08-07 20:06:49Z by jkim MFC: r180515 Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). Revision Changes Path 1.153.2.15 +10 -5 src/sys/net/bpf.c From ache at FreeBSD.org Thu Aug 7 20:07:40 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Thu Aug 7 20:07:52 2008 Subject: cvs commit: src/games/fortune/fortune fortune.6 Message-ID: <200808072007.m77K7eQ7007788@repoman.freebsd.org> ache 2008-08-07 20:07:30 UTC FreeBSD src repository Modified files: games/fortune/fortune fortune.6 Log: SVN rev 181389 on 2008-08-07 20:07:30Z by ache Add reference to arc4random_uniform(3) Revision Changes Path 1.23 +1 -0 src/games/fortune/fortune/fortune.6 From jhb at FreeBSD.org Thu Aug 7 20:51:50 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 20:52:01 2008 Subject: cvs commit: src/share/man/man9 sleepqueue.9 src/sys/sys sleepqueue.h Message-ID: <200808072051.m77KpoWi020783@repoman.freebsd.org> jhb 2008-08-07 20:47:01 UTC FreeBSD src repository Modified files: share/man/man9 sleepqueue.9 sys/sys sleepqueue.h Log: SVN rev 181390 on 2008-08-07 20:47:01Z by jhb Document the new return values for sleepq_abort(), sleepq_broadcast(), and sleepq_signal(). Prodded by: attilio Revision Changes Path 1.17 +18 -3 src/share/man/man9/sleepqueue.9 1.16 +5 -1 src/sys/sys/sleepqueue.h From imp at FreeBSD.org Thu Aug 7 20:53:05 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 7 20:53:11 2008 Subject: cvs commit: src/sys/modules/snc Makefile Message-ID: <200808072053.m77Kr3ar020892@repoman.freebsd.org> imp 2008-08-07 20:51:51 UTC FreeBSD src repository Modified files: sys/modules/snc Makefile Log: SVN rev 181391 on 2008-08-07 20:51:51Z by imp Add card_if.h and pccarddevs.h Revision Changes Path 1.5 +1 -1 src/sys/modules/snc/Makefile From imp at FreeBSD.org Thu Aug 7 20:53:05 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 7 20:53:22 2008 Subject: cvs commit: src/sys/dev/pccard pccard.c pccarddevs Message-ID: <200808072053.m77Kr4fk020922@repoman.freebsd.org> imp 2008-08-07 20:52:54 UTC FreeBSD src repository Modified files: sys/dev/pccard pccard.c pccarddevs Log: SVN rev 181392 on 2008-08-07 20:52:54Z by imp Add NEC PC-9802N-J02 (confirmed) and NEC PC-9202N-J02R (speculative) to the list of devices. Revision Changes Path 1.121 +3 -17 src/sys/dev/pccard/pccard.c 1.134 +2 -0 src/sys/dev/pccard/pccarddevs From imp at FreeBSD.org Thu Aug 7 20:55:35 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 7 20:55:41 2008 Subject: cvs commit: src/sys/dev/snc if_snc_pccard.c Message-ID: <200808072055.m77KtZbo021188@repoman.freebsd.org> imp 2008-08-07 20:55:20 UTC FreeBSD src repository Modified files: sys/dev/snc if_snc_pccard.c Log: SVN rev 181393 on 2008-08-07 20:55:20Z by imp Convert to new style PC Card front end driver. Add support for the NEC PC-9801N-J02 and PC-9801N-J02R. I can't test the former because it requires resources that conflict with my laptop. I can't test the latter because my dog chewed up my -J02R card and it didn't survive well enough for me to test. Revision Changes Path 1.13 +35 -19 src/sys/dev/snc/if_snc_pccard.c From jhb at FreeBSD.org Thu Aug 7 21:02:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 7 21:02:32 2008 Subject: cvs commit: src/share/man/man9 condvar.9 sleep.9 src/sys/kern kern_condvar.c kern_synch.c Message-ID: <200808072102.m77L2PSF021733@repoman.freebsd.org> jhb 2008-08-07 21:00:13 UTC FreeBSD src repository Modified files: share/man/man9 condvar.9 sleep.9 sys/kern kern_condvar.c kern_synch.c Log: SVN rev 181394 on 2008-08-07 21:00:13Z by jhb Permit Giant to be passed as the explicit interlock either to msleep/mtx_sleep or the various cv_*wait*() routines. Currently, the "unlock" behavior of PDROP and cv_wait_unlock() with Giant is not permitted as it is will be confusing since Giant is fully unrecursed and unlocked during a thread sleep. This is handy for subsystems which wish to allow unlocked drivers to continue to use Giant such as CAM, the new TTY layer, and the new USB stack. CAM currently uses a hack that I told Scott to use because I really didn't want to permit this behavior, and the TTY and USB patches both have various patches to permit this. MFC after: 2 weeks Revision Changes Path 1.22 +18 -0 src/share/man/man9/condvar.9 1.63 +6 -0 src/share/man/man9/sleep.9 1.65 +50 -28 src/sys/kern/kern_condvar.c 1.313 +6 -2 src/sys/kern/kern_synch.c From imp at FreeBSD.org Thu Aug 7 21:16:23 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 7 21:16:29 2008 Subject: cvs commit: src/sys/dev/pccard pccard.c Message-ID: <200808072116.m77LGNZA024339@repoman.freebsd.org> imp 2008-08-07 21:16:14 UTC FreeBSD src repository Modified files: sys/dev/pccard pccard.c Log: SVN rev 181395 on 2008-08-07 21:16:14Z by imp Fix a small problem in the comment about departure from NetBSD. Also, r181392 fixed a small problem with multifunction cards that would cause the card not to power down when the last driver detached from it. Revision Changes Path 1.122 +1 -1 src/sys/dev/pccard/pccard.c From ed at 80386.nl Thu Aug 7 21:27:02 2008 From: ed at 80386.nl (Ed Schouten) Date: Thu Aug 7 21:27:14 2008 Subject: cvs commit: src/share/man/man9 condvar.9 sleep.9 src/sys/kern kern_condvar.c kern_synch.c In-Reply-To: <200808072102.m77L2PSF021733@repoman.freebsd.org> References: <200808072102.m77L2PSF021733@repoman.freebsd.org> Message-ID: <20080807212700.GM99951@hoeg.nl> * John Baldwin wrote: > Permit Giant to be passed as the explicit interlock either to > msleep/mtx_sleep or the various cv_*wait*() routines. Currently, the > "unlock" behavior of PDROP and cv_wait_unlock() with Giant is not > permitted as it is will be confusing since Giant is fully unrecursed and > unlocked during a thread sleep. > > This is handy for subsystems which wish to allow unlocked drivers to > continue to use Giant such as CAM, the new TTY layer, and the new USB > stack. CAM currently uses a hack that I told Scott to use because I > really didn't want to permit this behavior, and the TTY and USB patches > both have various patches to permit this. Thanks a lot, John! As you mentioned, this was one of the things I needed in the MPSAFE TTY layer. I'll remove my evil hacks from the code in a sec. Yours, -- Ed Schouten WWW: http://80386.nl/ -------------- 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/20080807/9c465e89/attachment.pgp From ache at FreeBSD.org Thu Aug 7 21:36:24 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Thu Aug 7 21:37:24 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c Message-ID: <200808072136.m77LaO92026239@repoman.freebsd.org> ache 2008-08-07 21:36:09 UTC FreeBSD src repository Modified files: games/fortune/strfile strfile.c Log: SVN rev 181396 on 2008-08-07 21:36:09Z by ache Use __FreeBSD_version check since it is bootstrap tool Revision Changes Path 1.31 +8 -0 src/games/fortune/strfile/strfile.c From wb at freebie.xs4all.nl Thu Aug 7 21:57:26 2008 From: wb at freebie.xs4all.nl (Wilko Bulte) Date: Thu Aug 7 21:57:37 2008 Subject: cvs commit: src/sys/dev/snc if_snc_pccard.c In-Reply-To: <200808072055.m77KtZbo021188@repoman.freebsd.org> References: <200808072055.m77KtZbo021188@repoman.freebsd.org> Message-ID: <20080807213619.GA2830@freebie.xs4all.nl> Quoting Warner Losh, who wrote on Thu, Aug 07, 2008 at 08:55:20PM +0000 .. > imp 2008-08-07 20:55:20 UTC > > FreeBSD src repository > > Modified files: > sys/dev/snc if_snc_pccard.c > Log: > SVN rev 181393 on 2008-08-07 20:55:20Z by imp > > Convert to new style PC Card front end driver. Add support for the > NEC PC-9801N-J02 and PC-9801N-J02R. I can't test the former because > it requires resources that conflict with my laptop. I can't test the > latter because my dog chewed up my -J02R card and it didn't survive > well enough for me to test. Gives a whole new dimension to the phrase "eat your own dogfood". > Revision Changes Path > 1.13 +35 -19 src/sys/dev/snc/if_snc_pccard.c --- end of quoted text --- From ache at FreeBSD.org Thu Aug 7 22:22:56 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Thu Aug 7 22:23:03 2008 Subject: cvs commit: src/usr.bin/make job.c Message-ID: <200808072222.m77MMtV7031117@repoman.freebsd.org> ache 2008-08-07 22:22:41 UTC FreeBSD src repository Modified files: usr.bin/make job.c Log: SVN rev 181397 on 2008-08-07 22:22:41Z by ache Use arc4random_uniform(3) Revision Changes Path 1.129 +1 -1 src/usr.bin/make/job.c From kris at FreeBSD.org Thu Aug 7 22:38:58 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 22:39:10 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <200808072136.m77LaO92026239@repoman.freebsd.org> References: <200808072136.m77LaO92026239@repoman.freebsd.org> Message-ID: <489B797F.7020101@FreeBSD.org> Andrey A. Chernov wrote: > ache 2008-08-07 21:36:09 UTC > > FreeBSD src repository > > Modified files: > games/fortune/strfile strfile.c > Log: > SVN rev 181396 on 2008-08-07 21:36:09Z by ache > > Use __FreeBSD_version check since it is bootstrap tool > > Revision Changes Path > 1.31 +8 -0 src/games/fortune/strfile/strfile.c > > Is that the right solution? If someone is bootstrapping from an old kernel (e.g. 7.0) then installworld will install a strfile without your change. If someone is bootstrapping from a new kernel (but before they built the new world) then it will fail to link still. Kris From marius at FreeBSD.org Thu Aug 7 22:47:17 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Aug 7 22:47:23 2008 Subject: cvs commit: src/sys/boot/sparc64/loader locore.S main.c src/sys/sparc64/include tte.h src/sys/sun4v/include tte.h Message-ID: <200808072247.m77MlGGC033167@repoman.freebsd.org> marius 2008-08-07 22:46:25 UTC FreeBSD src repository Modified files: sys/boot/sparc64/loader locore.S main.c sys/sparc64/include tte.h sys/sun4v/include tte.h Log: SVN rev 181398 on 2008-08-07 22:46:25Z by marius - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's no particular reason for them to be implemented in assembler and having them in C allows easier extension as well as using more C macros and {d,i}tlb_slot_max rather than hard-coding magic (and actually spitfire-only) values. - Fix the compilation of pmap_print_tte(). - Change pmap_print_tlb() to use ldxa() rather than re-rolling it inline as well as TLB_DAR_SLOT and {d,i}tlb_slot_max rather than hardcoding magic (and actually spitfire-only) values. - While at it, suffix the above mentioned functions with "_sun4u" to underline they're architecture-specific. - Use __FBSDID and macros instead of magic values in locore.S. - Remove unused includes and smp_stack in locore.S. Revision Changes Path 1.8 +11 -82 src/sys/boot/sparc64/loader/locore.S 1.33 +97 -39 src/sys/boot/sparc64/loader/main.c 1.17 +5 -1 src/sys/sparc64/include/tte.h 1.3 +4 -0 src/sys/sun4v/include/tte.h From ache at nagual.pp.ru Thu Aug 7 23:05:41 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Thu Aug 7 23:05:47 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <489B797F.7020101@FreeBSD.org> References: <200808072136.m77LaO92026239@repoman.freebsd.org> <489B797F.7020101@FreeBSD.org> Message-ID: <20080807230532.GA42775@nagual.pp.ru> On Fri, Aug 08, 2008 at 12:38:55AM +0200, Kris Kennaway wrote: > Is that the right solution? If someone is bootstrapping from an old > kernel (e.g. 7.0) then installworld will install a strfile without your > change. No, this is bootstrap tool, so it is rebuilded twice, once without change and installed immediately in the temp location 'legacy' and next time with (installed on 'installworld' stage). > If someone is bootstrapping from a new kernel (but before they > built the new world) then it will fail to link still. How new kernel may affect userland here? arc4random_uniform() is not sysctl, just function. In case I mess something, please point me to. -- http://ache.pp.ru/ From kris at FreeBSD.org Thu Aug 7 23:13:52 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 23:13:58 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080807230532.GA42775@nagual.pp.ru> References: <200808072136.m77LaO92026239@repoman.freebsd.org> <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> Message-ID: <489B81AC.8090508@FreeBSD.org> Andrey Chernov wrote: > On Fri, Aug 08, 2008 at 12:38:55AM +0200, Kris Kennaway wrote: >> Is that the right solution? If someone is bootstrapping from an old >> kernel (e.g. 7.0) then installworld will install a strfile without your >> change. > > No, this is bootstrap tool, so it is rebuilded twice, once without change > and installed immediately in the temp location 'legacy' and next time with > (installed on 'installworld' stage). > >> If someone is bootstrapping from a new kernel (but before they >> built the new world) then it will fail to link still. > > How new kernel may affect userland here? arc4random_uniform() is not > sysctl, just function. > > In case I mess something, please point me to. I might have been confused about where __FreeBSD_version comes from. I guess it's OK since the first will come from the host copy of osreldate.h and the second from the new version. Kris From marius at FreeBSD.org Thu Aug 7 23:41:34 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Aug 7 23:41:40 2008 Subject: cvs commit: src/sys/dev/sym sym_hipd.c Message-ID: <200808072341.m77NfXeC042236@repoman.freebsd.org> marius 2008-08-07 23:41:17 UTC FreeBSD src repository Modified files: sys/dev/sym sym_hipd.c Log: SVN rev 181399 on 2008-08-07 23:41:17Z by marius Allow 53C1010 without NVRAM to negotiate Ultra-3. MFC after: 3 days Revision Changes Path 1.71 +2 -0 src/sys/dev/sym/sym_hipd.c From das at FreeBSD.org Fri Aug 8 00:15:38 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Aug 8 00:15:44 2008 Subject: cvs commit: src/lib/msun/src s_csqrt.c s_csqrtf.c s_csqrtl.c Message-ID: <200808080015.m780FbHw046098@repoman.freebsd.org> das 2008-08-08 00:15:16 UTC FreeBSD src repository Modified files: lib/msun/src s_csqrt.c s_csqrtf.c s_csqrtl.c Log: SVN rev 181402 on 2008-08-08 00:15:16Z by das In the line #pragma STDC CX_LIMITED_RANGE ON the "ON" needs to be in caps. gcc doesn't understand this pragma anyway and assumes it is always on in any case, but icc supports it and cares about the case. Revision Changes Path 1.4 +1 -1 src/lib/msun/src/s_csqrt.c 1.3 +1 -1 src/lib/msun/src/s_csqrtf.c 1.2 +1 -1 src/lib/msun/src/s_csqrtl.c From das at FreeBSD.org Fri Aug 8 00:21:41 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Aug 8 00:21:52 2008 Subject: cvs commit: src/lib/msun/src e_asinf.c e_jnf.c e_rem_pio2.c e_rem_pio2f.c Message-ID: <200808080021.m780Lejb046722@repoman.freebsd.org> das 2008-08-08 00:21:27 UTC FreeBSD src repository Modified files: lib/msun/src e_asinf.c e_jnf.c e_rem_pio2.c e_rem_pio2f.c Log: SVN rev 181405 on 2008-08-08 00:21:27Z by das Remove some unused variables. Reported by: Intel C Compiler Revision Changes Path 1.13 +1 -1 src/lib/msun/src/e_asinf.c 1.10 +0 -1 src/lib/msun/src/e_jnf.c 1.19 +0 -1 src/lib/msun/src/e_rem_pio2.c 1.30 +0 -1 src/lib/msun/src/e_rem_pio2f.c From scf at FreeBSD.org Fri Aug 8 00:49:42 2008 From: scf at FreeBSD.org (Sean Farley) Date: Fri Aug 8 00:50:13 2008 Subject: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <200808080049.m780nftv058328@repoman.freebsd.org> scf 2008-08-08 00:49:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdlib getenv.c Log: SVN rev 181407 on 2008-08-08 00:49:28Z by scf MFC: r181150, r181266 Detect if the application has cleared the environ variable by setting the first value (environ[0]) to NULL. This is in addition to the current detection of environ being replaced, which includes being set to NULL. Without this fix, the environment is not truly wiped, but appears to be by getenv() until an *env() call is made to alter the enviroment. This change is necessary to support those applications that use this method for clearing environ such as Dovecot and Postfix. Applications such as Sendmail and the base system's env replace environ (already detected). While neither of these methods are defined by SUSv3, it is best to support them due to historic reasons and in lieu of a clean, defined method. Add extra units tests for clearing environ using four different methods: 1. Set environ to NULL pointer. 2. Set environ[0] to NULL pointer. 3. Set environ to calloc()'d NULL-terminated array. 4. Set environ to static NULL-terminated array. Noticed by: Timo Sirainen Reviewed by: ache Revision Changes Path 1.12.2.2 +20 -13 src/lib/libc/stdlib/getenv.c From ache at FreeBSD.org Fri Aug 8 01:02:43 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Fri Aug 8 01:02:54 2008 Subject: cvs commit: src/games/random random.c Message-ID: <200808080102.m7812gH4059347@repoman.freebsd.org> ache 2008-08-08 01:02:30 UTC FreeBSD src repository Modified files: games/random random.c Log: SVN rev 181409 on 2008-08-08 01:02:30Z by ache 1) Replace hardcoded RANDOM_MAX macro with wrong (1 less than must be) value with ((double)RAND_MAX + 1) 2) For exit code increase valid denominator upper range from 255 to 256 since returned value is [0 .. denom - 1] Revision Changes Path 1.21 +5 -11 src/games/random/random.c From ache at FreeBSD.org Fri Aug 8 01:42:32 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Fri Aug 8 01:42:38 2008 Subject: cvs commit: src/games/random random.c randomize_fd.c randomize_fd.h Message-ID: <200808080142.m781gVQC063678@repoman.freebsd.org> ache 2008-08-08 01:42:17 UTC FreeBSD src repository Modified files: games/random random.c randomize_fd.c randomize_fd.h Log: SVN rev 181410 on 2008-08-08 01:42:17Z by ache I was confused a bit by the wrong construction with RAND_MAX used in randomize_fd.c. Although the max value is the same currently, RAND_MAX is for rand(), not for random(). So move RANDOM_MAX const to the common file now, make it UL and use in randomize_fd.c too. (in any case its old value was 1 less then must be, as noted in the prev. commit) Revision Changes Path 1.22 +3 -3 src/games/random/random.c 1.4 +1 -1 src/games/random/randomize_fd.c 1.3 +6 -0 src/games/random/randomize_fd.h From ache at FreeBSD.org Fri Aug 8 02:47:03 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Fri Aug 8 02:47:09 2008 Subject: cvs commit: src/games/random randomize_fd.c Message-ID: <200808080247.m782l3fi073098@repoman.freebsd.org> ache 2008-08-08 02:46:47 UTC FreeBSD src repository Modified files: games/random randomize_fd.c Log: SVN rev 181412 on 2008-08-08 02:46:47Z by ache 1) Fix longstanding math bug with denominator > 1 (wrong probability). Test case: random -f some_small_file 10000 (in most cases must be no output) 2) Prevent number of lines > RANDOM_MAX (overflow or nothing may be choosed) with EFBIG err() 3) After line is found, terminate list loop for -U case too, since nothing to do in the rest of the loop left. Revision Changes Path 1.5 +16 -8 src/games/random/randomize_fd.c From edwin at FreeBSD.org Fri Aug 8 02:55:49 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 02:55:55 2008 Subject: cvs commit: src/share/zoneinfo Theory Message-ID: <200808080255.m782tmw2073829@repoman.freebsd.org> edwin 2008-08-08 02:55:34 UTC FreeBSD src repository Removed files: share/zoneinfo Theory Log: SVN rev 181413 on 2008-08-08 02:55:34Z by edwin Cleanup (cont) Remove Theory, which isn't part of the zoneinfo module but came out of /head/usr.sbin/zic (and isn't installed from there neither). Approved by: bde (implicit) MFC after: 1 week Revision Changes Path 1.2 +0 -506 src/share/zoneinfo/Theory (dead) From edwin at FreeBSD.org Fri Aug 8 03:18:51 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 03:19:03 2008 Subject: cvs commit: src/share/zoneinfo leapseconds Message-ID: <200808080318.m783Io4I076814@repoman.freebsd.org> edwin 2008-08-08 03:18:30 UTC FreeBSD src repository Modified files: share/zoneinfo leapseconds Log: SVN rev 181414 on 2008-08-08 03:18:30Z by edwin Revert the change in leapseconds for 31 december 2008, so I can properly bootstrap the merge history on this module. Approved by: bde (implicit) Revision Changes Path 1.23 +6 -17 src/share/zoneinfo/leapseconds From edwin at FreeBSD.org Fri Aug 8 03:48:23 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 03:48:34 2008 Subject: cvs commit: src/share/zoneinfo africa asia Message-ID: <200808080348.m783mM7J082003@repoman.freebsd.org> edwin 2008-08-08 03:48:10 UTC FreeBSD src repository Modified files: share/zoneinfo africa asia Log: SVN rev 181418 on 2008-08-08 03:48:10Z by edwin MFV of tzdata2008c - Africa/Morocco will have DST in 2008. - Asia/Choibalsan should be GMT+08:00. - Asia/Pakistan will have DST in 2008. Also set all the svn:eol-style properties to native. Approved by: bde (mentor, implicit), des MFC after: 1 week Revision Changes Path 1.22 +75 -2 src/share/zoneinfo/africa 1.37 +61 -2 src/share/zoneinfo/asia From edwin at FreeBSD.org Fri Aug 8 04:20:58 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 04:21:10 2008 Subject: cvs commit: src/share/zoneinfo africa asia australasia europe northamerica southamerica zone.tab Message-ID: <200808080420.m784KvRL085627@repoman.freebsd.org> edwin 2008-08-08 04:20:36 UTC FreeBSD src repository Modified files: share/zoneinfo africa asia australasia europe northamerica southamerica zone.tab Log: SVN rev 181421 on 2008-08-08 04:20:36Z by edwin MFV of tzdata2008d - Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31. - Add/Fix historical data for C-Eur, the SovietZone, Germany, Bahamas, San Luis. - Add information about West Para (America/Santarem) - America/Eirunepe and America/Rio_Branco go to UTC-4 Approved by: bde (mentor, implicit), des MFC after: 1 week Revision Changes Path 1.23 +26 -2 src/share/zoneinfo/africa 1.38 +23 -1 src/share/zoneinfo/asia 1.33 +3 -3 src/share/zoneinfo/australasia 1.37 +17 -9 src/share/zoneinfo/europe 1.37 +3 -3 src/share/zoneinfo/northamerica 1.36 +77 -27 src/share/zoneinfo/southamerica 1.26 +3 -2 src/share/zoneinfo/zone.tab From edwin at FreeBSD.org Fri Aug 8 04:30:01 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 04:30:13 2008 Subject: cvs commit: src/share/zoneinfo africa asia europe leapseconds Message-ID: <200808080430.m784U0VC086322@repoman.freebsd.org> edwin 2008-08-08 04:29:39 UTC FreeBSD src repository Modified files: share/zoneinfo africa asia europe leapseconds Log: SVN rev 181424 on 2008-08-08 04:29:39Z by edwin MFV on tzdata2008e: - Fix dates in 2008/2009 for Africa/Mauritius. - Leap second notification for the end of 2008. Approved by: bde (mentor, implicit), des MFC after: 1 week Revision Changes Path 1.24 +37 -7 src/share/zoneinfo/africa 1.39 +2 -2 src/share/zoneinfo/asia 1.38 +47 -7 src/share/zoneinfo/europe 1.24 +25 -16 src/share/zoneinfo/leapseconds From cperciva at FreeBSD.org Fri Aug 8 04:34:16 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Aug 8 04:34:22 2008 Subject: cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh Message-ID: <200808080434.m784YG3p086737@repoman.freebsd.org> cperciva 2008-08-08 04:34:00 UTC FreeBSD src repository Modified files: usr.sbin/freebsd-update freebsd-update.sh Log: SVN rev 181425 on 2008-08-08 04:34:00Z by cperciva In `freebsd-update IDS`, strip out file flags before we look for non-matching index lines. This fixes a bug where bogus warnings would be printed file has the wrong file flags AND has been updated by FreeBSD Update. Reported by: Royce Williams Revision Changes Path 1.16 +18 -18 src/usr.sbin/freebsd-update/freebsd-update.sh From edwin at FreeBSD.org Fri Aug 8 04:38:02 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 8 04:38:08 2008 Subject: cvs commit: src/share/zoneinfo Makefile Message-ID: <200808080438.m784c2Rn087061@repoman.freebsd.org> edwin 2008-08-08 04:37:43 UTC FreeBSD src repository Modified files: share/zoneinfo Makefile Log: SVN rev 181426 on 2008-08-08 04:37:43Z by edwin Replace description on how to do CVS imports on this module with a description on how to do SVN imports on this module. Approved by: bde (implicit) Revision Changes Path 1.23 +23 -19 src/share/zoneinfo/Makefile From imp at bsdimp.com Fri Aug 8 06:22:52 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Aug 8 06:23:03 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <489B81AC.8090508@FreeBSD.org> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> Message-ID: <20080808.002150.-1037138460.imp@bsdimp.com> In message: <489B81AC.8090508@FreeBSD.org> Kris Kennaway writes: : Andrey Chernov wrote: : > On Fri, Aug 08, 2008 at 12:38:55AM +0200, Kris Kennaway wrote: : >> Is that the right solution? If someone is bootstrapping from an old : >> kernel (e.g. 7.0) then installworld will install a strfile without your : >> change. : > : > No, this is bootstrap tool, so it is rebuilded twice, once without change : > and installed immediately in the temp location 'legacy' and next time with : > (installed on 'installworld' stage). : > : >> If someone is bootstrapping from a new kernel (but before they : >> built the new world) then it will fail to link still. : > : > How new kernel may affect userland here? arc4random_uniform() is not : > sysctl, just function. : > : > In case I mess something, please point me to. : : I might have been confused about where __FreeBSD_version comes from. I : guess it's OK since the first will come from the host copy of : osreldate.h and the second from the new version. This does beg the question why we need cryptographically secure randomness for fortune, however... Warner From ache at nagual.pp.ru Fri Aug 8 06:32:14 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Fri Aug 8 06:32:52 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808.002150.-1037138460.imp@bsdimp.com> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> Message-ID: <20080808063208.GA51624@nagual.pp.ru> On Fri, Aug 08, 2008 at 12:21:50AM -0600, M. Warner Losh wrote: > This does beg the question why we need cryptographically secure > randomness for fortune, however... 1) PRNG is not crypto. 2) We already have it "cryptographically" secure via randomdev() for a long time in anycase. 3) Any code which use something like (...random() % modulo) when modulo is not divider of ...random()'s max suffer well known "modulo bias" bug which is not crypto but bad math and there is the main problem. 4) Uniformly distributed PRNG to avoid "modulo bias" bug available only for arc4random() at this time (making the same for random() involves too much math). 5) This changes comes from OpenBSD. -- http://ache.pp.ru/ From des at des.no Fri Aug 8 10:16:45 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri Aug 8 10:16:57 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808063208.GA51624@nagual.pp.ru> (Andrey Chernov's message of "Fri, 8 Aug 2008 10:32:08 +0400") References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808063208.GA51624@nagual.pp.ru> Message-ID: <86myjnerqr.fsf@ds4.des.no> Andrey Chernov writes: > M. Warner Losh writes: > > This does beg the question why we need cryptographically secure > > randomness for fortune, however... > 1) PRNG is not crypto. Stop spewing nonsense. PRNG and crypto are inseparable. In addition, as you very well know, this PRNG is actually the keystream generator for the RC4 stream cipher. DES -- Dag-Erling Sm?rgrav - des@des.no From cperciva at FreeBSD.org Fri Aug 8 10:36:25 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Aug 8 10:36:32 2008 Subject: cvs commit: src/etc freebsd-update.conf Message-ID: <200808081036.m78AaPfa041307@repoman.freebsd.org> cperciva 2008-08-08 10:36:16 UTC FreeBSD src repository Modified files: etc freebsd-update.conf Log: SVN rev 181427 on 2008-08-08 10:36:16Z by cperciva Add /usr/share/man/whatis, /var/db/locate.database, and /var/log to the list of paths which `freebsd-update IDS` should ignore by default. Revision Changes Path 1.6 +3 -0 src/etc/freebsd-update.conf From jhb at freebsd.org Fri Aug 8 13:32:23 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 13:32:29 2008 Subject: cvs commit: src/share/zoneinfo africa asia europe leapseconds In-Reply-To: <200808080430.m784U0VC086322@repoman.freebsd.org> References: <200808080430.m784U0VC086322@repoman.freebsd.org> Message-ID: <200808080905.26955.jhb@freebsd.org> On Friday 08 August 2008 12:29:39 am Edwin Groothuis wrote: > edwin 2008-08-08 04:29:39 UTC > > FreeBSD src repository > > Modified files: > share/zoneinfo africa asia europe leapseconds > Log: > SVN rev 181424 on 2008-08-08 04:29:39Z by edwin > > MFV on tzdata2008e: > > - Fix dates in 2008/2009 for Africa/Mauritius. > - Leap second notification for the end of 2008. > > Approved by: bde (mentor, implicit), des > MFC after: 1 week FYI, note that if you want, you can do multiple merges into the vendor area and then just do one merge of all the updates into src/. You don't have to merge each version individually. It's probably more work to do so, however. -- John Baldwin From ed at FreeBSD.org Fri Aug 8 13:44:06 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Aug 8 13:44:18 2008 Subject: cvs commit: src/sys/dev/io iodev.c Message-ID: <200808081343.m78DhwYE068477@repoman.freebsd.org> ed 2008-08-08 13:43:56 UTC FreeBSD src repository Modified files: sys/dev/io iodev.c Log: SVN rev 181428 on 2008-08-08 13:43:56Z by ed Remove D_NEEDGIANT from io(4). There is no need to mark this device node to use Giant. The only architectures that use io(4) (i386 and amd64) only change a flag in td->td_frame, which is only accessed by curthread. Apart from this change, I think some fishy things may happen when using /dev/io in multithreaded applications. I haven't tested, but looking at the code, the flag doesn't get cleared when close() is called from another thread, but this may not be this important. I'm not removing D_NEEDGIANT from mem(4), because this driver isn't Giant safe at all (it calls GIANT_REQUIRED). Revision Changes Path 1.4 +0 -1 src/sys/dev/io/iodev.c From rwatson at FreeBSD.org Fri Aug 8 14:36:56 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 8 14:37:08 2008 Subject: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.h Message-ID: <200808081436.m78Eat2W073974@repoman.freebsd.org> rwatson 2008-08-08 14:36:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_rwlock.c sys/sys rwlock.h Log: SVN rev 181429 on 2008-08-08 14:36:21Z by rwatson Merge r177843,178147 from head to stable/7: Add rw_try_rlock() and rw_try_wlock() to rwlocks. These functions try the specified operation (rlocking and wlocking) and true is returned if the operation completes, false otherwise. The KPI is enriched by this commit, so __FreeBSD_version bumping and manpage updating will happen soon. Requested by: jeff, kris Trylocks were implemented, remove stale comment Discussed with: attilio, jhb Revision Changes Path 1.28.4.4 +48 -0 src/sys/kern/kern_rwlock.c 1.14.4.1 +4 -2 src/sys/sys/rwlock.h From stas at FreeBSD.org Fri Aug 8 16:31:16 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Aug 8 16:31:23 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... Message-ID: <200808081631.m78GVG9i088754@repoman.freebsd.org> stas 2008-08-08 16:26:53 UTC FreeBSD src repository Modified files: share/man/man4 Makefile sys/amd64/amd64 support.S sys/amd64/conf NOTES sys/amd64/include cpufunc.h specialreg.h sys/conf files.amd64 files.i386 sys/i386/conf NOTES sys/i386/i386 support.s sys/i386/include cpufunc.h specialreg.h sys/modules Makefile sys/sys priv.h usr.sbin Makefile Added files: share/man/man4 cpuctl.4 sys/dev/cpuctl cpuctl.c sys/modules/cpuctl Makefile sys/sys cpuctl.h usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 cpucontrol.c cpucontrol.h intel.c intel.h Log: SVN rev 181430 on 2008-08-08 16:26:53Z by stas - Add cpuctl(4) pseudo-device driver to provide access to some low-level features of CPUs like reading/writing machine-specific registers, retrieving cpuid data, and updating microcode. - Add cpucontrol(8) utility, that provides userland access to the features of cpuctl(4). - Add subsequent manpages. The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX is created for each cpu present in the systems. The pseudo-device minor number corresponds to the cpu number in the system. The cpuctl(4) pseudo- device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID and UPDATE. The first pair alows the caller to read/write machine-specific registers from the correspondent CPU. cpuid data could be retrieved using the CPUID call, and microcode updates are applied via UPDATE. The permissions are inforced based on the pseudo-device file permissions. RDMSR/CPUID will be allowed when the caller has read access to the device node, while WRMSR/UPDATE will be granted only when the node is opened for writing. There're also a number of priv(9) checks. The cpucontrol(8) utility is intened to provide userland access to the cpuctl(4) device features. The utility also allows one to apply cpu microcode updates. Currently only Intel and AMD cpus are supported and were tested. Approved by: kib Reviewed by: rpaulo, cokane, Peter Jeremy MFC after: 1 month Revision Changes Path 1.423 +2 -0 src/share/man/man4/Makefile 1.1 +146 -0 src/share/man/man4/cpuctl.4 (new) 1.129 +44 -0 src/sys/amd64/amd64/support.S 1.82 +6 -0 src/sys/amd64/conf/NOTES 1.150 +5 -0 src/sys/amd64/include/cpufunc.h 1.46 +7 -0 src/sys/amd64/include/specialreg.h 1.122 +1 -0 src/sys/conf/files.amd64 1.601 +1 -0 src/sys/conf/files.i386 1.1 +446 -0 src/sys/dev/cpuctl/cpuctl.c (new) 1.1260 +6 -0 src/sys/i386/conf/NOTES 1.120 +49 -0 src/sys/i386/i386/support.s 1.147 +5 -0 src/sys/i386/include/cpufunc.h 1.45 +7 -0 src/sys/i386/include/specialreg.h 1.582 +3 -0 src/sys/modules/Makefile 1.1 +8 -0 src/sys/modules/cpuctl/Makefile (new) 1.1 +52 -0 src/sys/sys/cpuctl.h (new) 1.21 +7 -1 src/sys/sys/priv.h 1.391 +3 -0 src/usr.sbin/Makefile 1.1 +9 -0 src/usr.sbin/cpucontrol/Makefile (new) 1.1 +183 -0 src/usr.sbin/cpucontrol/amd.c (new) 1.1 +49 -0 src/usr.sbin/cpucontrol/amd.h (new) 1.1 +116 -0 src/usr.sbin/cpucontrol/cpucontrol.8 (new) 1.1 +362 -0 src/usr.sbin/cpucontrol/cpucontrol.c (new) 1.1 +56 -0 src/usr.sbin/cpucontrol/cpucontrol.h (new) 1.1 +285 -0 src/usr.sbin/cpucontrol/intel.c (new) 1.1 +70 -0 src/usr.sbin/cpucontrol/intel.h (new) From jhb at freebsd.org Fri Aug 8 16:49:41 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 16:49:53 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808081343.m78DhwYE068477@repoman.freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> Message-ID: <200808081226.32089.jhb@freebsd.org> On Friday 08 August 2008 09:43:56 am Ed Schouten wrote: > ed 2008-08-08 13:43:56 UTC > > FreeBSD src repository > > Modified files: > sys/dev/io iodev.c > Log: > SVN rev 181428 on 2008-08-08 13:43:56Z by ed > > Remove D_NEEDGIANT from io(4). > > There is no need to mark this device node to use Giant. The only > architectures that use io(4) (i386 and amd64) only change a flag in > td->td_frame, which is only accessed by curthread. > > Apart from this change, I think some fishy things may happen when using > /dev/io in multithreaded applications. I haven't tested, but looking at > the code, the flag doesn't get cleared when close() is called from > another thread, but this may not be this important. > > I'm not removing D_NEEDGIANT from mem(4), because this driver isn't > Giant safe at all (it calls GIANT_REQUIRED). It should be setting D_TRACKCLOSE though so that close() reliably clears the flag even in single-threaded processes. You can still get odd behavior if you explicitly open it twice in an app and then close one of the two fd's. You will no longer have IO permission even though you still have one fd open. However, if you do that I think you deserve what you asked for. :) Also, I don't see why memrw() is not MPSAFE actually (on amd64 and i386 at least). Stephan (ups@) even has a comment to that effect. The MTRR stuff backing memioctl() on x86 might need locking, but I think that is all mem(4) is missing. -- John Baldwin From alc at cs.rice.edu Fri Aug 8 17:08:17 2008 From: alc at cs.rice.edu (Alan Cox) Date: Fri Aug 8 17:08:26 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808081226.32089.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> Message-ID: <489C7D7F.4090806@cs.rice.edu> John Baldwin wrote: > >Also, I don't see why memrw() is not MPSAFE actually (on amd64 and i386 at >least). Stephan (ups@) even has a comment to that effect. The MTRR stuff >backing memioctl() on x86 might need locking, but I think that is all mem(4) >is missing. > > > There is nothing there that requires Giant specifically. However, the use of some lock in memrw() does have an arguably useful but small effect: overlapping operations will be serialized. So, if you're ever trying to debug something involving memrw(), you won't be staring at essentially random state. Alan From jhb at freebsd.org Fri Aug 8 17:25:05 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 17:25:22 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <200808081631.m78GVG9i088754@repoman.freebsd.org> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> Message-ID: <200808081251.17686.jhb@freebsd.org> On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: > stas 2008-08-08 16:26:53 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 Makefile > sys/amd64/amd64 support.S > sys/amd64/conf NOTES > sys/amd64/include cpufunc.h specialreg.h > sys/conf files.amd64 files.i386 > sys/i386/conf NOTES > sys/i386/i386 support.s > sys/i386/include cpufunc.h specialreg.h > sys/modules Makefile > sys/sys priv.h > usr.sbin Makefile > Added files: > share/man/man4 cpuctl.4 > sys/dev/cpuctl cpuctl.c > sys/modules/cpuctl Makefile > sys/sys cpuctl.h > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 > cpucontrol.c cpucontrol.h intel.c intel.h > Log: > SVN rev 181430 on 2008-08-08 16:26:53Z by stas > > - Add cpuctl(4) pseudo-device driver to provide access to some low-level > features of CPUs like reading/writing machine-specific registers, > retrieving cpuid data, and updating microcode. > - Add cpucontrol(8) utility, that provides userland access to > the features of cpuctl(4). > - Add subsequent manpages. > > The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX > is created for each cpu present in the systems. The pseudo-device minor > number corresponds to the cpu number in the system. The cpuctl(4) pseudo- > device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID > and UPDATE. The first pair alows the caller to read/write machine-specific > registers from the correspondent CPU. cpuid data could be retrieved using > the CPUID call, and microcode updates are applied via UPDATE. > > The permissions are inforced based on the pseudo-device file permissions. > RDMSR/CPUID will be allowed when the caller has read access to the device > node, while WRMSR/UPDATE will be granted only when the node is opened > for writing. There're also a number of priv(9) checks. > > The cpucontrol(8) utility is intened to provide userland access to > the cpuctl(4) device features. The utility also allows one to apply > cpu microcode updates. > > Currently only Intel and AMD cpus are supported and were tested. Note that cpuid isn't a privileged instruction, so I'm not sure it's really worth having an ioctl for that particular case. -- John Baldwin From jhb at freebsd.org Fri Aug 8 17:25:16 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 17:25:38 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <489C7D7F.4090806@cs.rice.edu> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <489C7D7F.4090806@cs.rice.edu> Message-ID: <200808081312.36678.jhb@freebsd.org> On Friday 08 August 2008 01:08:15 pm Alan Cox wrote: > John Baldwin wrote: > > > > >Also, I don't see why memrw() is not MPSAFE actually (on amd64 and i386 at > >least). Stephan (ups@) even has a comment to that effect. The MTRR stuff > >backing memioctl() on x86 might need locking, but I think that is all mem(4) > >is missing. > > > > > > > > There is nothing there that requires Giant specifically. However, the > use of some lock in memrw() does have an arguably useful but small > effect: overlapping operations will be serialized. So, if you're ever > trying to debug something involving memrw(), you won't be staring at > essentially random state. On amd64 there is already an sx lock over the pmap bits to temporarily map the page. If desired, that could always be expanded. As it is, Giant is dropped if you block on a lockmgr or sx lock (or go to sleep), so Giant doesn't always serialize operations anyway. -- John Baldwin From raj at FreeBSD.org Fri Aug 8 17:32:00 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Fri Aug 8 17:32:11 2008 Subject: cvs commit: src/sys/arm/arm vm_machdep.c Message-ID: <200808081732.m78HW0eJ006612@repoman.freebsd.org> raj 2008-08-08 17:31:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm vm_machdep.c Log: SVN rev 181431 on 2008-08-08 17:31:47Z by raj MFC 181296 Fix ARM nocache allocator. Revision Changes Path 1.34.2.3 +4 -5 src/sys/arm/arm/vm_machdep.c From philip at FreeBSD.org Fri Aug 8 18:01:18 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Aug 8 18:01:30 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200808081801.m78I1I8i013122@repoman.freebsd.org> philip 2008-08-08 18:00:33 UTC FreeBSD src repository Modified files: sys Makefile Log: SVN rev 181432 on 2008-08-08 18:00:33Z by philip Add a "glimpse" target to the kernel Makefile. Glimpse is a powerful "grep on an index". Especially addictive on slow laptop hard disks. MFC after: 2 days Revision Changes Path 1.52 +7 -0 src/sys/Makefile From kostikbel at gmail.com Fri Aug 8 18:10:58 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Fri Aug 8 18:11:04 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <200808081251.17686.jhb@freebsd.org> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081251.17686.jhb@freebsd.org> Message-ID: <20080808181052.GF97161@deviant.kiev.zoral.com.ua> On Fri, Aug 08, 2008 at 12:51:17PM -0400, John Baldwin wrote: > On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: > > stas 2008-08-08 16:26:53 UTC > > > > FreeBSD src repository > > > > Modified files: > > share/man/man4 Makefile > > sys/amd64/amd64 support.S > > sys/amd64/conf NOTES > > sys/amd64/include cpufunc.h specialreg.h > > sys/conf files.amd64 files.i386 > > sys/i386/conf NOTES > > sys/i386/i386 support.s > > sys/i386/include cpufunc.h specialreg.h > > sys/modules Makefile > > sys/sys priv.h > > usr.sbin Makefile > > Added files: > > share/man/man4 cpuctl.4 > > sys/dev/cpuctl cpuctl.c > > sys/modules/cpuctl Makefile > > sys/sys cpuctl.h > > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 > > cpucontrol.c cpucontrol.h intel.c intel.h > > Log: > > SVN rev 181430 on 2008-08-08 16:26:53Z by stas > > > > - Add cpuctl(4) pseudo-device driver to provide access to some low-level > > features of CPUs like reading/writing machine-specific registers, > > retrieving cpuid data, and updating microcode. > > - Add cpucontrol(8) utility, that provides userland access to > > the features of cpuctl(4). > > - Add subsequent manpages. > > > > The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX > > is created for each cpu present in the systems. The pseudo-device minor > > number corresponds to the cpu number in the system. The cpuctl(4) pseudo- > > device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID > > and UPDATE. The first pair alows the caller to read/write machine-specific > > registers from the correspondent CPU. cpuid data could be retrieved using > > the CPUID call, and microcode updates are applied via UPDATE. > > > > The permissions are inforced based on the pseudo-device file permissions. > > RDMSR/CPUID will be allowed when the caller has read access to the device > > node, while WRMSR/UPDATE will be granted only when the node is opened > > for writing. There're also a number of priv(9) checks. > > > > The cpucontrol(8) utility is intened to provide userland access to > > the cpuctl(4) device features. The utility also allows one to apply > > cpu microcode updates. > > > > Currently only Intel and AMD cpus are supported and were tested. > > Note that cpuid isn't a privileged instruction, so I'm not sure it's really > worth having an ioctl for that particular case. It was discussed when patch was reviewed on current@. The ioctl allows to get cpuid information for specific processor, as opposed to some random core curthread happens to run ATM. -------------- 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/20080808/8eaee967/attachment.pgp From jhb at freebsd.org Fri Aug 8 18:29:57 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 18:30:08 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <20080808181052.GF97161@deviant.kiev.zoral.com.ua> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081251.17686.jhb@freebsd.org> <20080808181052.GF97161@deviant.kiev.zoral.com.ua> Message-ID: <200808081427.42536.jhb@freebsd.org> On Friday 08 August 2008 02:10:52 pm Kostik Belousov wrote: > On Fri, Aug 08, 2008 at 12:51:17PM -0400, John Baldwin wrote: > > On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: > > > stas 2008-08-08 16:26:53 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > share/man/man4 Makefile > > > sys/amd64/amd64 support.S > > > sys/amd64/conf NOTES > > > sys/amd64/include cpufunc.h specialreg.h > > > sys/conf files.amd64 files.i386 > > > sys/i386/conf NOTES > > > sys/i386/i386 support.s > > > sys/i386/include cpufunc.h specialreg.h > > > sys/modules Makefile > > > sys/sys priv.h > > > usr.sbin Makefile > > > Added files: > > > share/man/man4 cpuctl.4 > > > sys/dev/cpuctl cpuctl.c > > > sys/modules/cpuctl Makefile > > > sys/sys cpuctl.h > > > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 > > > cpucontrol.c cpucontrol.h intel.c intel.h > > > Log: > > > SVN rev 181430 on 2008-08-08 16:26:53Z by stas > > > > > > - Add cpuctl(4) pseudo-device driver to provide access to some low-level > > > features of CPUs like reading/writing machine-specific registers, > > > retrieving cpuid data, and updating microcode. > > > - Add cpucontrol(8) utility, that provides userland access to > > > the features of cpuctl(4). > > > - Add subsequent manpages. > > > > > > The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX > > > is created for each cpu present in the systems. The pseudo-device minor > > > number corresponds to the cpu number in the system. The cpuctl(4) pseudo- > > > device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID > > > and UPDATE. The first pair alows the caller to read/write machine-specific > > > registers from the correspondent CPU. cpuid data could be retrieved using > > > the CPUID call, and microcode updates are applied via UPDATE. > > > > > > The permissions are inforced based on the pseudo-device file permissions. > > > RDMSR/CPUID will be allowed when the caller has read access to the device > > > node, while WRMSR/UPDATE will be granted only when the node is opened > > > for writing. There're also a number of priv(9) checks. > > > > > > The cpucontrol(8) utility is intened to provide userland access to > > > the cpuctl(4) device features. The utility also allows one to apply > > > cpu microcode updates. > > > > > > Currently only Intel and AMD cpus are supported and were tested. > > > > Note that cpuid isn't a privileged instruction, so I'm not sure it's really > > worth having an ioctl for that particular case. > > It was discussed when patch was reviewed on current@. The ioctl allows > to get cpuid information for specific processor, as opposed to some > random core curthread happens to run ATM. You can achieve that now with cpuset. :) (See my ping-pong test program recently which used cpuid to fetch the APIC ID to test for ping-ponging in the scheduler.) -- John Baldwin From kostikbel at gmail.com Fri Aug 8 18:51:38 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Fri Aug 8 18:51:50 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <200808081427.42536.jhb@freebsd.org> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081251.17686.jhb@freebsd.org> <20080808181052.GF97161@deviant.kiev.zoral.com.ua> <200808081427.42536.jhb@freebsd.org> Message-ID: <20080808185133.GG97161@deviant.kiev.zoral.com.ua> On Fri, Aug 08, 2008 at 02:27:42PM -0400, John Baldwin wrote: > On Friday 08 August 2008 02:10:52 pm Kostik Belousov wrote: > > On Fri, Aug 08, 2008 at 12:51:17PM -0400, John Baldwin wrote: > > > On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: > > > > stas 2008-08-08 16:26:53 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > share/man/man4 Makefile > > > > sys/amd64/amd64 support.S > > > > sys/amd64/conf NOTES > > > > sys/amd64/include cpufunc.h specialreg.h > > > > sys/conf files.amd64 files.i386 > > > > sys/i386/conf NOTES > > > > sys/i386/i386 support.s > > > > sys/i386/include cpufunc.h specialreg.h > > > > sys/modules Makefile > > > > sys/sys priv.h > > > > usr.sbin Makefile > > > > Added files: > > > > share/man/man4 cpuctl.4 > > > > sys/dev/cpuctl cpuctl.c > > > > sys/modules/cpuctl Makefile > > > > sys/sys cpuctl.h > > > > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 > > > > cpucontrol.c cpucontrol.h intel.c intel.h > > > > Log: > > > > SVN rev 181430 on 2008-08-08 16:26:53Z by stas > > > > > > > > - Add cpuctl(4) pseudo-device driver to provide access to some > low-level > > > > features of CPUs like reading/writing machine-specific registers, > > > > retrieving cpuid data, and updating microcode. > > > > - Add cpucontrol(8) utility, that provides userland access to > > > > the features of cpuctl(4). > > > > - Add subsequent manpages. > > > > > > > > The cpuctl(4) device operates as follows. The pseudo-device node > cpuctlX > > > > is created for each cpu present in the systems. The pseudo-device > minor > > > > number corresponds to the cpu number in the system. The cpuctl(4) > pseudo- > > > > device allows a number of ioctl to be preformed, namely > RDMSR/WRMSR/CPUID > > > > and UPDATE. The first pair alows the caller to read/write > machine-specific > > > > registers from the correspondent CPU. cpuid data could be retrieved > using > > > > the CPUID call, and microcode updates are applied via UPDATE. > > > > > > > > The permissions are inforced based on the pseudo-device file > permissions. > > > > RDMSR/CPUID will be allowed when the caller has read access to the > device > > > > node, while WRMSR/UPDATE will be granted only when the node is opened > > > > for writing. There're also a number of priv(9) checks. > > > > > > > > The cpucontrol(8) utility is intened to provide userland access to > > > > the cpuctl(4) device features. The utility also allows one to apply > > > > cpu microcode updates. > > > > > > > > Currently only Intel and AMD cpus are supported and were tested. > > > > > > Note that cpuid isn't a privileged instruction, so I'm not sure it's > really > > > worth having an ioctl for that particular case. > > > > It was discussed when patch was reviewed on current@. The ioctl allows > > to get cpuid information for specific processor, as opposed to some > > random core curthread happens to run ATM. > > You can achieve that now with cpuset. :) (See my ping-pong test program > recently which used cpuid to fetch the APIC ID to test for ping-ponging in > the scheduler.) If this is a backout request (for cpuid functionality) then we will do it. But I considered it much easier and cleaner to do fd = open("/dev/cpuctlN", O_RDWR); ioctl(fd, CPUCTL_CPUID, &x); if (x.y) ioctl(fd, CPUCTL_WRMSR, ...); close(fd); then fd = open("/dev/cpuctlN", O_RDWR); cpuset(...); /* bind to cpu */ __asm__("cpuid" : =0 (x)); if (x.y) ioctl(fd, CPUCTL_WRMSR, ...); cpuset(...); /* restore prev mask */ close(fd); -------------- 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/20080808/70d7aceb/attachment.pgp From stas at FreeBSD.org Fri Aug 8 19:17:44 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Aug 8 19:18:19 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <20080808185133.GG97161@deviant.kiev.zoral.com.ua> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081251.17686.jhb@freebsd.org> <20080808181052.GF97161@deviant.kiev.zoral.com.ua> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> Message-ID: <20080808232107.8889c5b2.stas@FreeBSD.org> On Fri, 8 Aug 2008 21:51:33 +0300 Kostik Belousov mentioned: > > > > You can achieve that now with cpuset. :) (See my ping-pong test program > > recently which used cpuid to fetch the APIC ID to test for ping-ponging in > > the scheduler.) > > If this is a backout request (for cpuid functionality) then we will do it. > > But I considered it much easier and cleaner to do > fd = open("/dev/cpuctlN", O_RDWR); > ioctl(fd, CPUCTL_CPUID, &x); > if (x.y) > ioctl(fd, CPUCTL_WRMSR, ...); > close(fd); > then > fd = open("/dev/cpuctlN", O_RDWR); > cpuset(...); /* bind to cpu */ > __asm__("cpuid" : =0 (x)); > if (x.y) > ioctl(fd, CPUCTL_WRMSR, ...); > cpuset(...); /* restore prev mask */ > close(fd); > One of the reasons to leave the cpuid functionality, present in sysutils/devcpu, in cpuctl(4) was the fact, the software that is supposed to use wrmsr/rdmsr calls, also usually perform cpuid checks as well, and it will be clean to provide access to all of this via a single interface. -- Stanislav Sedov ST4096-RIPE -------------- 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/20080808/a26b2d17/attachment.pgp From jhb at freebsd.org Fri Aug 8 19:25:21 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 8 19:25:33 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <20080808185133.GG97161@deviant.kiev.zoral.com.ua> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> Message-ID: <200808081459.54735.jhb@freebsd.org> On Friday 08 August 2008 02:51:33 pm Kostik Belousov wrote: > On Fri, Aug 08, 2008 at 02:27:42PM -0400, John Baldwin wrote: > > On Friday 08 August 2008 02:10:52 pm Kostik Belousov wrote: > > > On Fri, Aug 08, 2008 at 12:51:17PM -0400, John Baldwin wrote: > > > > On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: > > > > > stas 2008-08-08 16:26:53 UTC > > > > > > > > > > FreeBSD src repository > > > > > > > > > > Modified files: > > > > > share/man/man4 Makefile > > > > > sys/amd64/amd64 support.S > > > > > sys/amd64/conf NOTES > > > > > sys/amd64/include cpufunc.h specialreg.h > > > > > sys/conf files.amd64 files.i386 > > > > > sys/i386/conf NOTES > > > > > sys/i386/i386 support.s > > > > > sys/i386/include cpufunc.h specialreg.h > > > > > sys/modules Makefile > > > > > sys/sys priv.h > > > > > usr.sbin Makefile > > > > > Added files: > > > > > share/man/man4 cpuctl.4 > > > > > sys/dev/cpuctl cpuctl.c > > > > > sys/modules/cpuctl Makefile > > > > > sys/sys cpuctl.h > > > > > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 > > > > > cpucontrol.c cpucontrol.h intel.c intel.h > > > > > Log: > > > > > SVN rev 181430 on 2008-08-08 16:26:53Z by stas > > > > > > > > > > - Add cpuctl(4) pseudo-device driver to provide access to some > > low-level > > > > > features of CPUs like reading/writing machine-specific registers, > > > > > retrieving cpuid data, and updating microcode. > > > > > - Add cpucontrol(8) utility, that provides userland access to > > > > > the features of cpuctl(4). > > > > > - Add subsequent manpages. > > > > > > > > > > The cpuctl(4) device operates as follows. The pseudo-device node > > cpuctlX > > > > > is created for each cpu present in the systems. The pseudo-device > > minor > > > > > number corresponds to the cpu number in the system. The cpuctl(4) > > pseudo- > > > > > device allows a number of ioctl to be preformed, namely > > RDMSR/WRMSR/CPUID > > > > > and UPDATE. The first pair alows the caller to read/write > > machine-specific > > > > > registers from the correspondent CPU. cpuid data could be retrieved > > using > > > > > the CPUID call, and microcode updates are applied via UPDATE. > > > > > > > > > > The permissions are inforced based on the pseudo-device file > > permissions. > > > > > RDMSR/CPUID will be allowed when the caller has read access to the > > device > > > > > node, while WRMSR/UPDATE will be granted only when the node is opened > > > > > for writing. There're also a number of priv(9) checks. > > > > > > > > > > The cpucontrol(8) utility is intened to provide userland access to > > > > > the cpuctl(4) device features. The utility also allows one to apply > > > > > cpu microcode updates. > > > > > > > > > > Currently only Intel and AMD cpus are supported and were tested. > > > > > > > > Note that cpuid isn't a privileged instruction, so I'm not sure it's > > really > > > > worth having an ioctl for that particular case. > > > > > > It was discussed when patch was reviewed on current@. The ioctl allows > > > to get cpuid information for specific processor, as opposed to some > > > random core curthread happens to run ATM. > > > > You can achieve that now with cpuset. :) (See my ping-pong test program > > recently which used cpuid to fetch the APIC ID to test for ping-ponging in > > the scheduler.) > > If this is a backout request (for cpuid functionality) then we will do it. > > But I considered it much easier and cleaner to do > fd = open("/dev/cpuctlN", O_RDWR); > ioctl(fd, CPUCTL_CPUID, &x); > if (x.y) > ioctl(fd, CPUCTL_WRMSR, ...); > close(fd); > then > fd = open("/dev/cpuctlN", O_RDWR); > cpuset(...); /* bind to cpu */ > __asm__("cpuid" : =0 (x)); > if (x.y) > ioctl(fd, CPUCTL_WRMSR, ...); > cpuset(...); /* restore prev mask */ > close(fd); You can leave it. It is useful to specify the CPU I suppose. -- John Baldwin From ache at nagual.pp.ru Fri Aug 8 19:31:23 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Fri Aug 8 19:31:34 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <86myjnerqr.fsf@ds4.des.no> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808063208.GA51624@nagual.pp.ru> <86myjnerqr.fsf@ds4.des.no> Message-ID: <20080808193109.GA70187@nagual.pp.ru> On Fri, Aug 08, 2008 at 12:16:44PM +0200, Dag-Erling Sm??rgrav wrote: > > 1) PRNG is not crypto. > > Stop spewing nonsense. Do you have enough education to determene what is nonsense and what is not here? For example I have master degree in mathematics. > PRNG and crypto are inseparable. Well separable areas. Various PRNGs can be used in or choosed by crypto. But no crypto in PRNG itself. > In addition, > as you very well know, this PRNG is actually the keystream generator for > the RC4 stream cipher. Yes, I know. And what? Crypto uses math intensively, not PRNGs only, hashes etc. To confirm my words, OpenBSD uses ar4random() almost everywhere in the tree, especially after realizing "modulo bias" bug, and use it as "plain" PRNG even in simplest non-crypto areas. -- http://ache.pp.ru/ From jhb at FreeBSD.org Fri Aug 8 19:39:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 8 19:39:27 2008 Subject: cvs commit: src/sys/boot/i386/btx/btx btx.S Message-ID: <200808081939.m78JdHf6025051@repoman.freebsd.org> jhb 2008-08-08 19:39:11 UTC FreeBSD src repository Modified files: sys/boot/i386/btx/btx btx.S Log: SVN rev 181433 on 2008-08-08 19:39:11Z by jhb Fix the hangs reported with the real mode BTX: - I had errantly assumed that all user requests should run with interrupts enabled. User requests for software interrupts, however, need to disable interrupts (and tracing) just like hardware interrupts. - Disable alignment checking when emulating a hardware interrupt as well (based on the description of the real mode operation of the 'INT' instruction in the IA-32 manuals). - Use constants for fields in %eflags. Tested by: bz MFC after: 3 days Revision Changes Path 1.47 +22 -11 src/sys/boot/i386/btx/btx/btx.S From rwatson at FreeBSD.org Fri Aug 8 19:41:20 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 8 19:41:27 2008 Subject: cvs commit: src/share/man/man9 Makefile rwlock.9 Message-ID: <200808081941.m78JfJtn025305@repoman.freebsd.org> rwatson 2008-08-08 19:41:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 Makefile rwlock.9 Log: SVN rev 181434 on 2008-08-08 19:41:11Z by rwatson Merge r177846 from head to stable/7: Add manpages for rw_try_rlock() and rw_try_wlock() functions. Discussed with: attilio, jhb Revision Changes Path 1.310.2.4 +2 -0 src/share/man/man9/Makefile 1.10.2.2 +19 -1 src/share/man/man9/rwlock.9 From jhb at FreeBSD.org Fri Aug 8 19:42:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 8 19:42:12 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c Message-ID: <200808081942.m78Jg0ei025441@repoman.freebsd.org> jhb 2008-08-08 19:41:20 UTC FreeBSD src repository Modified files: sys/boot/i386/boot2 boot2.c sys/boot/i386/gptboot gptboot.c sys/boot/i386/loader main.c sys/boot/pc98/loader main.c Log: SVN rev 181436 on 2008-08-08 19:41:20Z by jhb - Initialize the vm86 structure to a known-good state. Specifically, always set the %eflags used during a BIOS call via BTX to 0x202. Previously the flags field was uninitialized garbage, and thus it was "random" if interrupts were enabled or not during BIOS calls. - Use constants from for fields in %eflags. MFC after: 3 days Revision Changes Path 1.88 +4 -2 src/sys/boot/i386/boot2/boot2.c 1.88 +4 -2 src/sys/boot/i386/gptboot/gptboot.c 1.42 +5 -0 src/sys/boot/i386/loader/main.c 1.26 +5 -0 src/sys/boot/pc98/loader/main.c From jhb at FreeBSD.org Fri Aug 8 20:40:51 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 8 20:41:02 2008 Subject: cvs commit: src/sys/pci agp_i810.c Message-ID: <200808082040.m78KepoX031604@repoman.freebsd.org> jhb 2008-08-08 20:40:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/pci agp_i810.c Log: SVN rev 181437 on 2008-08-08 20:40:35Z by jhb MFC: Fix PCI ID for 945GME and enable Q35/G33/Q33. Revision Changes Path 1.41.2.4 +1 -3 src/sys/pci/agp_i810.c From cperciva at FreeBSD.org Fri Aug 8 20:42:52 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Fri Aug 8 20:43:03 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200808082042.m78Kgp8i031761@repoman.freebsd.org> cperciva 2008-08-08 20:42:42 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: SVN rev 181438 on 2008-08-08 20:42:42Z by cperciva Remove variables which are assigned values and never used thereafter. Found by: LLVM/Clang Static Checker Approved by: jasone Revision Changes Path 1.174 +1 -5 src/lib/libc/stdlib/malloc.c From dwmalone at maths.tcd.ie Fri Aug 8 20:43:33 2008 From: dwmalone at maths.tcd.ie (David Malone) Date: Fri Aug 8 20:43:45 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808.002150.-1037138460.imp@bsdimp.com> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> Message-ID: <20080808204329.GA64169@walton.maths.tcd.ie> On Fri, Aug 08, 2008 at 12:21:50AM -0600, M. Warner Losh wrote: > This does beg the question why we need cryptographically secure > randomness for fortune, however... I seem to remember us catching a /dev/random related bug because fortune displayed the same quote too often. Something to do with seeding maybe? David. From ache at nagual.pp.ru Fri Aug 8 21:00:19 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Fri Aug 8 21:00:31 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808204329.GA64169@walton.maths.tcd.ie> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808204329.GA64169@walton.maths.tcd.ie> Message-ID: <20080808210012.GA71737@nagual.pp.ru> On Fri, Aug 08, 2008 at 09:43:29PM +0100, David Malone wrote: > On Fri, Aug 08, 2008 at 12:21:50AM -0600, M. Warner Losh wrote: > > This does beg the question why we need cryptographically secure > > randomness for fortune, however... > > I seem to remember us catching a /dev/random related bug because > fortune displayed the same quote too often. Something to do with > seeding maybe? It was random kernel module bug fixed long time ago (perhaps due to furtune help :) Speking in general, now even in the situation when absolutely no random enthropy available at the call moment (very unlikely because of disks or net etc. activity), kernel PRNG seeded with time, so plays not worse that old time+getpid seeding used everywhere counting the fact that pids are sequentual during the boot so it is better not relay on them. -- http://ache.pp.ru/ From peter at wemm.org Fri Aug 8 21:02:22 2008 From: peter at wemm.org (Peter Wemm) Date: Fri Aug 8 21:02:28 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <200808081459.54735.jhb@freebsd.org> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> <200808081459.54735.jhb@freebsd.org> Message-ID: On Fri, Aug 8, 2008 at 11:59 AM, John Baldwin wrote: > On Friday 08 August 2008 02:51:33 pm Kostik Belousov wrote: >> On Fri, Aug 08, 2008 at 02:27:42PM -0400, John Baldwin wrote: >> > On Friday 08 August 2008 02:10:52 pm Kostik Belousov wrote: >> > > On Fri, Aug 08, 2008 at 12:51:17PM -0400, John Baldwin wrote: >> > > > On Friday 08 August 2008 12:26:53 pm Stanislav Sedov wrote: >> > > > > stas 2008-08-08 16:26:53 UTC >> > > > > >> > > > > FreeBSD src repository >> > > > > >> > > > > Modified files: >> > > > > share/man/man4 Makefile >> > > > > sys/amd64/amd64 support.S >> > > > > sys/amd64/conf NOTES >> > > > > sys/amd64/include cpufunc.h specialreg.h >> > > > > sys/conf files.amd64 files.i386 >> > > > > sys/i386/conf NOTES >> > > > > sys/i386/i386 support.s >> > > > > sys/i386/include cpufunc.h specialreg.h >> > > > > sys/modules Makefile >> > > > > sys/sys priv.h >> > > > > usr.sbin Makefile >> > > > > Added files: >> > > > > share/man/man4 cpuctl.4 >> > > > > sys/dev/cpuctl cpuctl.c >> > > > > sys/modules/cpuctl Makefile >> > > > > sys/sys cpuctl.h >> > > > > usr.sbin/cpucontrol Makefile amd.c amd.h cpucontrol.8 >> > > > > cpucontrol.c cpucontrol.h intel.c intel.h >> > > > > Log: >> > > > > SVN rev 181430 on 2008-08-08 16:26:53Z by stas >> > > > > >> > > > > - Add cpuctl(4) pseudo-device driver to provide access to some >> > low-level >> > > > > features of CPUs like reading/writing machine-specific > registers, >> > > > > retrieving cpuid data, and updating microcode. >> > > > > - Add cpucontrol(8) utility, that provides userland access to >> > > > > the features of cpuctl(4). >> > > > > - Add subsequent manpages. >> > > > > >> > > > > The cpuctl(4) device operates as follows. The pseudo-device node >> > cpuctlX >> > > > > is created for each cpu present in the systems. The pseudo-device >> > minor >> > > > > number corresponds to the cpu number in the system. The cpuctl(4) >> > pseudo- >> > > > > device allows a number of ioctl to be preformed, namely >> > RDMSR/WRMSR/CPUID >> > > > > and UPDATE. The first pair alows the caller to read/write >> > machine-specific >> > > > > registers from the correspondent CPU. cpuid data could be > retrieved >> > using >> > > > > the CPUID call, and microcode updates are applied via UPDATE. >> > > > > >> > > > > The permissions are inforced based on the pseudo-device file >> > permissions. >> > > > > RDMSR/CPUID will be allowed when the caller has read access to the >> > device >> > > > > node, while WRMSR/UPDATE will be granted only when the node is > opened >> > > > > for writing. There're also a number of priv(9) checks. >> > > > > >> > > > > The cpucontrol(8) utility is intened to provide userland access to >> > > > > the cpuctl(4) device features. The utility also allows one to > apply >> > > > > cpu microcode updates. >> > > > > >> > > > > Currently only Intel and AMD cpus are supported and were tested. >> > > > >> > > > Note that cpuid isn't a privileged instruction, so I'm not sure it's >> > really >> > > > worth having an ioctl for that particular case. >> > > >> > > It was discussed when patch was reviewed on current@. The ioctl allows >> > > to get cpuid information for specific processor, as opposed to some >> > > random core curthread happens to run ATM. >> > >> > You can achieve that now with cpuset. :) (See my ping-pong test program >> > recently which used cpuid to fetch the APIC ID to test for ping-ponging in >> > the scheduler.) >> >> If this is a backout request (for cpuid functionality) then we will do it. >> >> But I considered it much easier and cleaner to do >> fd = open("/dev/cpuctlN", O_RDWR); >> ioctl(fd, CPUCTL_CPUID, &x); >> if (x.y) >> ioctl(fd, CPUCTL_WRMSR, ...); >> close(fd); >> then >> fd = open("/dev/cpuctlN", O_RDWR); >> cpuset(...); /* bind to cpu */ >> __asm__("cpuid" : =0 (x)); >> if (x.y) >> ioctl(fd, CPUCTL_WRMSR, ...); >> cpuset(...); /* restore prev mask */ >> close(fd); > > You can leave it. It is useful to specify the CPU I suppose. I just don't think it is particularly useful to add a restriction / priv check for information that is available in an unprivileged fashion by other means. I think the priv check should go away since it doesn't achieve anything. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From stas at FreeBSD.org Fri Aug 8 21:36:53 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Aug 8 21:37:04 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200808082136.m78LaqOZ046399@repoman.freebsd.org> stas 2008-08-08 21:36:49 UTC FreeBSD src repository Modified files: sys/sys param.h Log: SVN rev 181439 on 2008-08-08 21:36:49Z by stas - Bump __FreeBSD_version for cpuctl(4) added. Approved by: kib Revision Changes Path 1.360 +1 -1 src/sys/sys/param.h From des at des.no Fri Aug 8 21:50:25 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri Aug 8 21:50:38 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808193109.GA70187@nagual.pp.ru> (Andrey Chernov's message of "Fri, 8 Aug 2008 23:31:10 +0400") References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808063208.GA51624@nagual.pp.ru> <86myjnerqr.fsf@ds4.des.no> <20080808193109.GA70187@nagual.pp.ru> Message-ID: <8663qbdvmo.fsf@ds4.des.no> Andrey Chernov writes: > Do you have enough education to determene what is nonsense and what is > not here? For example I have master degree in mathematics. I am *so* impressed. DES -- Dag-Erling Sm?rgrav - des@des.no From stas at FreeBSD.org Fri Aug 8 22:05:02 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Aug 8 22:05:08 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> <200808081459.54735.jhb@freebsd.org> Message-ID: <20080809020838.d63be5da.stas@FreeBSD.org> On Fri, 8 Aug 2008 14:02:19 -0700 "Peter Wemm" mentioned: > > I just don't think it is particularly useful to add a restriction / > priv check for information that is available in an unprivileged > fashion by other means. I think the priv check should go away since > it doesn't achieve anything. > Yeah, that's why cpuctl(4) has priv checks only for wrmsr and update features. Using this checks one can control how much to grant to the root user. -- Stanislav Sedov ST4096-RIPE -------------- 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/20080808/0c6c7767/attachment.pgp From peter at wemm.org Fri Aug 8 22:37:54 2008 From: peter at wemm.org (Peter Wemm) Date: Fri Aug 8 22:38:05 2008 Subject: cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ... In-Reply-To: <20080809020838.d63be5da.stas@FreeBSD.org> References: <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> <200808081459.54735.jhb@freebsd.org> <20080809020838.d63be5da.stas@FreeBSD.org> Message-ID: On Fri, Aug 8, 2008 at 3:08 PM, Stanislav Sedov wrote: > On Fri, 8 Aug 2008 14:02:19 -0700 > "Peter Wemm" mentioned: > >> >> I just don't think it is particularly useful to add a restriction / >> priv check for information that is available in an unprivileged >> fashion by other means. I think the priv check should go away since >> it doesn't achieve anything. >> > > Yeah, that's why cpuctl(4) has priv checks only for wrmsr and update > features. Using this checks one can control how much to grant to the > root user. Serves me right for responding to what I thought I read vs actually reading the code then.. :) -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From delphij at FreeBSD.org Fri Aug 8 22:46:21 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Aug 8 22:46:28 2008 Subject: cvs commit: src/lib/libc/sys setfib.2 src/sys/sys socket.h Message-ID: <200808082246.m78MkKCc057513@repoman.freebsd.org> delphij 2008-08-08 22:40:04 UTC FreeBSD src repository Modified files: lib/libc/sys setfib.2 sys/sys socket.h Log: SVN rev 181440 on 2008-08-08 22:40:04Z by delphij Add prototype defination for setfib(2) to sys/socket.h. Revision Changes Path 1.4 +2 -1 src/lib/libc/sys/setfib.2 1.102 +1 -0 src/sys/sys/socket.h From des at des.no Fri Aug 8 22:54:38 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Fri Aug 8 22:54:50 2008 Subject: cvs commit: src/share/zoneinfo africa asia europe leapseconds In-Reply-To: <200808080905.26955.jhb@freebsd.org> (John Baldwin's message of "Fri, 8 Aug 2008 09:05:26 -0400") References: <200808080430.m784U0VC086322@repoman.freebsd.org> <200808080905.26955.jhb@freebsd.org> Message-ID: <861w0zdsnn.fsf@ds4.des.no> John Baldwin writes: > FYI, note that if you want, you can do multiple merges into the vendor > area and then just do one merge of all the updates into src/. You > don't have to merge each version individually. It's probably more > work to do so, however. Less work, actually, if you have local modifications, since you only need to merge conflicts once. OpenSSH would have been hell to merge if I had done it one release at a time (I went straight from 4.5 to 5.1) In this case, it made no difference, as the only local modifications we had were manually applied upstream patches which were included in one of the new releases Edwin merged. DES -- Dag-Erling Sm?rgrav - des@des.no From edwin at mavetju.org Fri Aug 8 22:58:07 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Fri Aug 8 22:58:19 2008 Subject: cvs commit: src/share/zoneinfo africa asia europe leapseconds In-Reply-To: <200808080905.26955.jhb@freebsd.org> References: <200808080430.m784U0VC086322@repoman.freebsd.org> <200808080905.26955.jhb@freebsd.org> Message-ID: <20080808225712.GV3285@k7.mavetju> On Fri, Aug 08, 2008 at 09:05:26AM -0400, John Baldwin wrote: > On Friday 08 August 2008 12:29:39 am Edwin Groothuis wrote: > > edwin 2008-08-08 04:29:39 UTC > > > > FreeBSD src repository > > > > Modified files: > > share/zoneinfo africa asia europe leapseconds > > Log: > > SVN rev 181424 on 2008-08-08 04:29:39Z by edwin > > > > MFV on tzdata2008e: > > > > - Fix dates in 2008/2009 for Africa/Mauritius. > > - Leap second notification for the end of 2008. > > > > Approved by: bde (mentor, implicit), des > > MFC after: 1 week > > FYI, note that if you want, you can do multiple merges into the vendor area > and then just do one merge of all the updates into src/. You don't have to > merge each version individually. It's probably more work to do so, however. The MFCs will be done in one go, this was more an excercise in vendor import and MFVs. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From emax at FreeBSD.org Fri Aug 8 23:20:04 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Aug 8 23:20:15 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c Message-ID: <200808082320.m78NK4eM061607@repoman.freebsd.org> emax 2008-08-08 23:19:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c Log: SVN rev 181441 on 2008-08-08 23:19:48Z by emax MFC SVN rev 181093 Implement ratelimiting for debug messages. For now, allow at most one message per second. In the future might add a sysctl knob for each socket family to fine tune this. Revision Changes Path 1.23.2.2 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c 1.24.2.2 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c 1.20.2.1 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c 1.26.2.2 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c From emax at FreeBSD.org Fri Aug 8 23:23:53 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Aug 8 23:23:59 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c Message-ID: <200808082323.m78NNoOT061937@repoman.freebsd.org> emax 2008-08-08 23:23:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c ng_btsocket_l2cap.c ng_btsocket_l2cap_raw.c ng_btsocket_rfcomm.c Log: SVN rev 181442 on 2008-08-08 23:23:44Z by emax MFC SVN rev 181093 Implement ratelimiting for debug messages. For now, allow at most one message per second. In the future might add a sysctl knob for each socket family to fine tune this. Revision Changes Path 1.17.2.4 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c 1.16.2.3 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c 1.14.2.3 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c 1.17.2.4 +10 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c From marcel at FreeBSD.org Fri Aug 8 23:54:52 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Fri Aug 8 23:55:04 2008 Subject: cvs commit: src/release/ia64 mkisoimages.sh Message-ID: <200808082354.m78Nspbm064372@repoman.freebsd.org> marcel 2008-08-08 23:54:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/ia64 mkisoimages.sh Log: SVN rev 181443 on 2008-08-08 23:54:46Z by marcel MFC r177991: Increase the size of the EFI system partition from 16M to 20M. Revision Changes Path 1.11.10.1 +1 -1 src/release/ia64/mkisoimages.sh From peterjeremy at optushome.com.au Sat Aug 9 00:13:03 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sat Aug 9 00:13:09 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808081226.32089.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> Message-ID: <20080809001256.GL64458@server.vk2pj.dyndns.org> On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: >It should be setting D_TRACKCLOSE though so that close() reliably clears the >flag even in single-threaded processes. You can still get odd behavior if >you explicitly open it twice in an app and then close one of the two fd's. >You will no longer have IO permission even though you still have one fd open. >However, if you do that I think you deserve what you asked for. :) That behaviour may be legitimate: Your code links with libraries foo and bar that each independently open /dev/io so they can frob different things in IO space. libfoo needs ongoing access to device foo and so keeps its descriptor open. libbar only needs once-off access to device bar and so closes /dev/io once it's finished its initialisation. Libraries foo and bar are completely independent and shouldn't need to know anything about each other and your app shouldn't need to know that libraries it's using frob around in IO space. -- 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080809/b0f8e47a/attachment.pgp From alfred at freebsd.org Sat Aug 9 00:16:13 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Sat Aug 9 00:16:19 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809001256.GL64458@server.vk2pj.dyndns.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> Message-ID: <20080809001612.GN16977@elvis.mu.org> * Peter Jeremy [080808 17:13] wrote: > On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: > >It should be setting D_TRACKCLOSE though so that close() reliably clears the > >flag even in single-threaded processes. You can still get odd behavior if > >you explicitly open it twice in an app and then close one of the two fd's. > >You will no longer have IO permission even though you still have one fd open. > >However, if you do that I think you deserve what you asked for. :) > > That behaviour may be legitimate: Your code links with libraries foo and > bar that each independently open /dev/io so they can frob different things > in IO space. libfoo needs ongoing access to device foo and so keeps its > descriptor open. libbar only needs once-off access to device bar and so > closes /dev/io once it's finished its initialisation. Libraries foo and > bar are completely independent and shouldn't need to know anything about > each other and your app shouldn't need to know that libraries it's using > frob around in IO space. Sort of the same problem with sysv style fcntl locks. :( -- - Alfred Perlstein From rpaulo at FreeBSD.org Sat Aug 9 00:30:56 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sat Aug 9 00:31:07 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200808090030.m790UqjS068447@repoman.freebsd.org> rpaulo 2008-08-09 00:30:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/forth loader.conf Log: SVN rev 181444 on 2008-08-09 00:30:46Z by rpaulo MFC r181297: Add coretemp(4) and k8temp(4). Revision Changes Path 1.122.2.3 +2 -0 src/sys/boot/forth/loader.conf From obrien at FreeBSD.org Sat Aug 9 01:19:10 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Sat Aug 9 01:19:17 2008 Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d kernel Message-ID: <200808090119.m791JA1F082540@repoman.freebsd.org> obrien 2008-08-09 01:19:00 UTC FreeBSD src repository Modified files: etc/defaults rc.conf etc/rc.d kernel Log: SVN rev 181445 on 2008-08-09 01:19:00Z by obrien Only symlink booted kernel directory to /boot/kernel if user has explicitly requested it. This is too dangerous to just do behind the admin's back. Revision Changes Path 1.339 +1 -0 src/etc/defaults/rc.conf 1.3 +1 -0 src/etc/rc.d/kernel From yongari at FreeBSD.org Sat Aug 9 01:43:00 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Aug 9 01:43:06 2008 Subject: cvs commit: src/sys/conf NOTES Message-ID: <200808090142.m791guLl084450@repoman.freebsd.org> yongari 2008-08-09 01:42:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf NOTES Log: SVN rev 181446 on 2008-08-09 01:42:51Z by yongari MFC r180946, r180981. Add missing jme(4), msk(4), re(4) and stge(4) in NOTES and ensure that LINT builds include these devices. Revision Changes Path 1.1454.2.15 +5 -0 src/sys/conf/NOTES From yongari at FreeBSD.org Sat Aug 9 01:57:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Aug 9 01:57:19 2008 Subject: cvs commit: src/sys/conf NOTES Message-ID: <200808090157.m791vCWV085556@repoman.freebsd.org> yongari 2008-08-09 01:57:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf NOTES Log: SVN rev 181447 on 2008-08-09 01:57:09Z by yongari MFC r180946, r180981. Add missing jme(4), msk(4), re(4) and stge(4) in NOTES and ensure that LINT builds include these devices. Revision Changes Path 1.1325.2.44 +5 -0 src/sys/conf/NOTES From yongari at FreeBSD.org Sat Aug 9 02:08:02 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Aug 9 02:08:09 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200808090208.m79282wv087528@repoman.freebsd.org> yongari 2008-08-09 02:07:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 181448 on 2008-08-09 02:07:30Z by yongari MFC r181270. The number of bits reserved for MSS in RealTek controllers is 11bits. This limits the maximum interface MTU size in TSO case as upper stack should not generate TCP segments with MSS greater than the limit. Armed with this information, disable TSO if interface MTU is greater than the limit. Revision Changes Path 1.95.2.32 +18 -0 src/sys/dev/re/if_re.c 1.67.2.14 +8 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Sat Aug 9 02:12:04 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Aug 9 02:12:16 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808090212.m792C4gv087940@repoman.freebsd.org> yongari 2008-08-09 02:11:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 181449 on 2008-08-09 02:11:59Z by yongari MFC r181271. Don't enable TSO by default. Users of RTL8169/8110 reported watchdog timeout issues and the root cause seems to stem from silicon bug of controller. Personally I couldn't reproduce it on RTL8169 controller but it seems it's dependent on usage pattern. For newer PCIe based controllers I have no TSO complaints but turning off TSO would be more safe. Users who are sure that their controller works with TSO can still reenable the TSO with ifconfig(8). Revision Changes Path 1.95.2.33 +7 -0 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Sat Aug 9 02:26:21 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Sat Aug 9 02:26:26 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808090226.m792QK04089094@repoman.freebsd.org> yongari 2008-08-09 02:26:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 181450 on 2008-08-09 02:26:07Z by yongari MFC r181272-r181275. r181272: Use ANSI C declarations for all functions. r181273: Remove register keyword. r181274: Remove return keyword at the end of functions that return void. r181275: Rearrange conditional compilation directives. This makes syntax highlighting work in vim. Revision Changes Path 1.95.2.34 +48 -124 src/sys/dev/re/if_re.c From imp at FreeBSD.org Sat Aug 9 03:37:22 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 03:37:33 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808090337.m793bMoS095746@repoman.freebsd.org> imp 2008-08-09 03:37:12 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181451 on 2008-08-09 03:37:12Z by imp While most bridges can bring a card out of reset in 20ms, there are some bridge + card combinations that take longer for reasons unknown. Adjust the timeout to be 100ms on all !RICOH bridges, but leave RICOH at 400ms. The 400ms is "lore" from other open source projects, and I've never see my ricoh bridge chips take this long. Maybe it is the same thing? Maybe a bit should be read instead of a hard-wired pause? After this adjustment, a few cards that I'd insert and get only: cbb0: card_power: 3V cbb0: card_power: 0V with full debugging enabled would actually try to attach. Reported by: sam@ (I think) MFC after: 3 days Revision Changes Path 1.167 +4 -3 src/sys/dev/pccbb/pccbb.c From imp at FreeBSD.org Sat Aug 9 03:54:25 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 03:54:31 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200808090354.m793sPZp097061@repoman.freebsd.org> imp 2008-08-09 03:54:12 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181452 on 2008-08-09 03:54:12Z by imp Change -1 to 0xfffffffful since the interface returns uint32_t. Revision Changes Path 1.361 +1 -1 src/sys/dev/pci/pci.c From imp at FreeBSD.org Sat Aug 9 04:08:42 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 04:08:49 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808090408.m7948gQS099289@repoman.freebsd.org> imp 2008-08-09 04:08:36 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181453 on 2008-08-09 04:08:36Z by imp Rather than waiting a fixed amount of time, which might not be enough and also holds things up, check every 20ms to see if we can read the vendor of device 0.0. It will be 0xffffffff until the card is out of reset. Always wait at least 20ms, for safety. I think this is a better fix to the reset problem. However, I did it as a separate commit in case something bad happens, people can roll back to the commit before this one to see if that gives them reliable behavior. I don't have FreeBSD up on enough machines to do exhaustive testing on all known bridges... Revision Changes Path 1.168 +23 -12 src/sys/dev/pccbb/pccbb.c From brde at optusnet.com.au Sat Aug 9 04:35:57 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Sat Aug 9 04:36:09 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808081226.32089.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> Message-ID: <20080809130929.P77335@delplex.bde.org> On Fri, 8 Aug 2008, John Baldwin wrote: > On Friday 08 August 2008 09:43:56 am Ed Schouten wrote: >> ed 2008-08-08 13:43:56 UTC >> >> Apart from this change, I think some fishy things may happen when using >> /dev/io in multithreaded applications. I haven't tested, but looking at >> the code, the flag doesn't get cleared when close() is called from >> another thread, but this may not be this important. Of course it isn't. The flag only gets cleared on last close. Threads probably involve mainly file descriptors, and for file descriptors close() doesn't even reach vn_close() until the fd reference count drops to 0. Then for files, vn_close() normally doesn't reach device close until the file reference count drops to 0. > It should be setting D_TRACKCLOSE though so that close() reliably clears the > flag even in single-threaded processes. You can still get odd behavior if You mean "should _not_ be setting D_TRACKCLOSE", so that close() works normally. close() can never reliably clear the flag, since even vn_close() is not reached after open()/dup()/close() or open()/fork()/close()... > you explicitly open it twice in an app and then close one of the two fd's. > You will no longer have IO permission even though you still have one fd open. > However, if you do that I think you deserve what you asked for. :) You asked for normal last-close behaviour and deserve that not being broken by setting D_TRACKCLOSE. D_TRACKCLOSE allows different handling of non-last closes, but this is rarely wanted, and in theory it allows better determination of last closes, since vfs doesn't count last closes right. However, it is difficult to count last closes right, and most uses of D_TRACKCLOSE handle last closes are worse than vfs: - ast: uses D_TRACKCLOSE to trash (write a filemark) and/or rewind tapes on non-last closes. After the trash and rewind, astclose() uses count_dev() to avoid doing a full hardware close if the device is still open. This involves using count_dev(), but count_dev() is just an interface to the vfs count, so it miscounts in the same way as vfs. In particular, it doesn't count incompleted opens. I don't know if ast's locking is sufficient to prevent close() being called while a new open is in progress. For most devices, it isn't. - drm: it uses its own count of opens and closes, and it doesn't use count_dev(). The own count has some chance of working, but needs delicate locking of device open and device close to prevent them running into each other, and some defense against the vfs bugs which at least used to result in missing and/or extra closes. - smb: like drm, except it limits its own count to 0 or 1 to give half- baked exclusive access (fork() and dup(), etc, still give non-exclusive access). D_TRACKCLOSE thus has no effect except for its interaction with other bugs. - geom: unlike most or all of the others, this may actually need D_TRACKCLOSE, to implement multiple logical drivers per physical device. I don't understand its details. - apm: like drm - bpf: like smb Bruce From sam at FreeBSD.org Sat Aug 9 05:37:30 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 9 05:37:36 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 ifieee80211.c Message-ID: <200808090537.m795bTBH016870@repoman.freebsd.org> sam 2008-08-09 05:37:22 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 ifieee80211.c Log: SVN rev 181454 on 2008-08-09 05:37:22Z by sam recognize WPS ie's Submitted by: "Chuck Tuffli" MFC after: 1 week Revision Changes Path 1.151 +3 -1 src/sbin/ifconfig/ifconfig.8 1.56 +81 -0 src/sbin/ifconfig/ifieee80211.c From imp at FreeBSD.org Sat Aug 9 05:46:15 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 05:46:22 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ioctl.c Message-ID: <200808090546.m795kFsp017618@repoman.freebsd.org> imp 2008-08-09 05:46:01 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ioctl.c Log: SVN rev 181455 on 2008-08-09 05:46:01Z by imp Verify that the WPA flags set are actually compatible with the driver's set of valid flags. Otherwise, wpa_supplicant wouldn't report an error for old wi cards that can't do WPA. Reviewed by: sam@ Revision Changes Path 1.62 +13 -4 src/sys/net80211/ieee80211_ioctl.c From alc at FreeBSD.org Sat Aug 9 05:46:31 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Aug 9 05:46:38 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200808090546.m795kVsS017664@repoman.freebsd.org> alc 2008-08-09 05:46:13 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 181456 on 2008-08-09 05:46:13Z by alc Intel describes the behavior of their processors as "undefined" if two or more mappings to the same physical page have different memory types, i.e., PAT settings. Consequently, if pmap_change_attr() is applied to a virtual address range within the kernel map, then the corresponding ranges of the direct map also need to be changed. Enhance pmap_change_attr() to handle this case automatically. Add a comment describing what pmap_change_attr() does. Discussed with: jhb Revision Changes Path 1.645 +84 -2 src/sys/amd64/amd64/pmap.c From obrien at FreeBSD.org Sat Aug 9 06:35:33 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Sat Aug 9 06:35:44 2008 Subject: cvs commit: src/share/man/man5 rc.conf.5 Message-ID: <200808090635.m796ZXWd022596@repoman.freebsd.org> obrien 2008-08-09 06:35:19 UTC FreeBSD src repository Modified files: share/man/man5 rc.conf.5 Log: SVN rev 181457 on 2008-08-09 06:35:19Z by obrien Only symlink booted kernel directory to /boot/kernel if user has explicitly requested it. This is too dangerous to just do behind the admin's back. Revision Changes Path 1.344 +11 -1 src/share/man/man5/rc.conf.5 From imp at FreeBSD.org Sat Aug 9 07:41:35 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 07:41:51 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808090741.m797fZxx028828@repoman.freebsd.org> imp 2008-08-09 07:41:18 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181458 on 2008-08-09 07:41:18Z by imp After some intial testing, there are even slower cards than the ones that I have. Wait up to 1.1s for the card to become ready. Document what the standards say, and use that to justify the behavior in the code: PCI standard says that a card must respond to configuration cycles within 2^25 cycles after reset goes high, which is approximately 1s. Therefore, give cards a little break and wait for up to 1.1s for VENDOR to become valid. Only look at the vendor part of the ID, since only it can't be 0xffff (although in practice vendor/device will always be != 0xfffffffff). Include detailed pointers to standards so epople understand why we're doing what we're doing and why it just might be OK. Make it clear in the timeout message that it is just a warning, sinc we try to soldier on as best we can anyway. This should eliminate an error message that r181453 produced on certain Atheros cards. Revision Changes Path 1.169 +24 -13 src/sys/dev/pccbb/pccbb.c From phk at FreeBSD.org Sat Aug 9 09:27:25 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sat Aug 9 09:27:36 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808090927.m799RNMo050482@repoman.freebsd.org> phk 2008-08-09 09:27:06 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181459 on 2008-08-09 09:27:06Z by phk Track /etc/ttys change to uart(4) Revision Changes Path 1.32 +1 -1 src/tools/tools/nanobsd/nanobsd.sh From phk at FreeBSD.org Sat Aug 9 09:28:09 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sat Aug 9 09:28:21 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808090928.m799S9KD050607@repoman.freebsd.org> phk 2008-08-09 09:27:54 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181460 on 2008-08-09 09:27:54Z by phk Add -i option to supress image building. Submitted by: keramida Revision Changes Path 1.33 +10 -2 src/tools/tools/nanobsd/nanobsd.sh From phk at FreeBSD.org Sat Aug 9 09:37:55 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sat Aug 9 09:38:06 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808090937.m799btw9051516@repoman.freebsd.org> phk 2008-08-09 09:37:44 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181461 on 2008-08-09 09:37:44Z by phk Add late customize hook Submitted by: Patrick M. Hausen Sat on for far too long: phk Revision Changes Path 1.34 +25 -0 src/tools/tools/nanobsd/nanobsd.sh From des at FreeBSD.org Sat Aug 9 10:27:12 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Aug 9 10:27:24 2008 Subject: cvs commit: src/sys/kern subr_sbuf.c src/sys/sys sbuf.h Message-ID: <200808091027.m79ARCNu056583@repoman.freebsd.org> des 2008-08-09 10:26:21 UTC FreeBSD src repository Modified files: sys/kern subr_sbuf.c sys/sys sbuf.h Log: SVN rev 181462 on 2008-08-09 10:26:21Z by des Switch to simplified BSD license (with phk's approval), plus whitespace and style(9) cleanup. Revision Changes Path 1.31 +45 -29 src/sys/kern/subr_sbuf.c 1.15 +18 -16 src/sys/sys/sbuf.h From rwatson at FreeBSD.org Sat Aug 9 10:28:00 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 9 10:28:12 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809001256.GL64458@server.vk2pj.dyndns.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> Message-ID: On Sat, 9 Aug 2008, Peter Jeremy wrote: > On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: >> It should be setting D_TRACKCLOSE though so that close() reliably clears >> the flag even in single-threaded processes. You can still get odd behavior >> if you explicitly open it twice in an app and then close one of the two >> fd's. You will no longer have IO permission even though you still have one >> fd open. However, if you do that I think you deserve what you asked for. :) > > That behaviour may be legitimate: Your code links with libraries foo and > bar that each independently open /dev/io so they can frob different things > in IO space. libfoo needs ongoing access to device foo and so keeps its > descriptor open. libbar only needs once-off access to device bar and so > closes /dev/io once it's finished its initialisation. Libraries foo and bar > are completely independent and shouldn't need to know anything about each > other and your app shouldn't need to know that libraries it's using frob > around in IO space. If that's the view, there should probably be a per-process counter, although this is all a bit tricky anyway since file descriptors and processes have a tenuous relationship. Robert N M Watson Computer Laboratory University of Cambridge From kostikbel at gmail.com Sat Aug 9 10:33:46 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Sat Aug 9 10:33:52 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> Message-ID: <20080809103338.GN97161@deviant.kiev.zoral.com.ua> On Sat, Aug 09, 2008 at 11:27:58AM +0100, Robert Watson wrote: > > On Sat, 9 Aug 2008, Peter Jeremy wrote: > > >On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: > >>It should be setting D_TRACKCLOSE though so that close() reliably clears > >>the flag even in single-threaded processes. You can still get odd > >>behavior if you explicitly open it twice in an app and then close one of > >>the two fd's. You will no longer have IO permission even though you still > >>have one fd open. However, if you do that I think you deserve what you > >>asked for. :) > > > >That behaviour may be legitimate: Your code links with libraries foo and > >bar that each independently open /dev/io so they can frob different things > >in IO space. libfoo needs ongoing access to device foo and so keeps its > >descriptor open. libbar only needs once-off access to device bar and so > >closes /dev/io once it's finished its initialisation. Libraries foo and > >bar are completely independent and shouldn't need to know anything about > >each other and your app shouldn't need to know that libraries it's using > >frob around in IO space. > > If that's the view, there should probably be a per-process counter, > although this is all a bit tricky anyway since file descriptors and > processes have a tenuous relationship. Another interesting issue is the close on exec, esp. for /dev/io. It seems that Linux recently grown full new API to handle FD_CLOEXEC races, see http://udrepper.livejournal.com/20407.html -------------- 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/20080809/6a21f982/attachment.pgp From rwatson at FreeBSD.org Sat Aug 9 11:08:43 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Aug 9 11:08:49 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809103338.GN97161@deviant.kiev.zoral.com.ua> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> <20080809103338.GN97161@deviant.kiev.zoral.com.ua> Message-ID: On Sat, 9 Aug 2008, Kostik Belousov wrote: > On Sat, Aug 09, 2008 at 11:27:58AM +0100, Robert Watson wrote: >> >> On Sat, 9 Aug 2008, Peter Jeremy wrote: >> >>> On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: >>>> It should be setting D_TRACKCLOSE though so that close() reliably clears >>>> the flag even in single-threaded processes. You can still get odd >>>> behavior if you explicitly open it twice in an app and then close one of >>>> the two fd's. You will no longer have IO permission even though you still >>>> have one fd open. However, if you do that I think you deserve what you >>>> asked for. :) >>> >>> That behaviour may be legitimate: Your code links with libraries foo and >>> bar that each independently open /dev/io so they can frob different things >>> in IO space. libfoo needs ongoing access to device foo and so keeps its >>> descriptor open. libbar only needs once-off access to device bar and so >>> closes /dev/io once it's finished its initialisation. Libraries foo and >>> bar are completely independent and shouldn't need to know anything about >>> each other and your app shouldn't need to know that libraries it's using >>> frob around in IO space. >> >> If that's the view, there should probably be a per-process counter, >> although this is all a bit tricky anyway since file descriptors and >> processes have a tenuous relationship. > > Another interesting issue is the close on exec, esp. for /dev/io. > > It seems that Linux recently grown full new API to handle FD_CLOEXEC races, > see http://udrepper.livejournal.com/20407.html While /dev/io appeals to the UNIX "everything is a file" sensibility, I think the system calls we have for this on i386 are more conceptually coherent. Robert N M Watson Computer Laboratory University of Cambridge From des at FreeBSD.org Sat Aug 9 11:18:43 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Aug 9 11:18:54 2008 Subject: cvs commit: src/lib/libgeom geom_xml2tree.c src/sbin/ifconfig regdomain.c src/sys/dev/acpi_support acpi_asus.c src/sys/dev/led led.c src/sys/geom geom_ccd.c geom_ctl.c geom_disk.c geom_kern.c geom_slice.c geom_subr.c src/sys/geom/concat g_concat.c ... Message-ID: <200808091118.m79BIgXk062073@repoman.freebsd.org> des 2008-08-09 11:14:05 UTC FreeBSD src repository Modified files: lib/libgeom geom_xml2tree.c sbin/ifconfig regdomain.c sys/dev/acpi_support acpi_asus.c sys/dev/led led.c sys/geom geom_ccd.c geom_ctl.c geom_disk.c geom_kern.c geom_slice.c geom_subr.c sys/geom/concat g_concat.c sys/geom/part g_part.c sys/geom/stripe g_stripe.c sys/kern vfs_mount.c sys/security/mac_portacl mac_portacl.c sys/sys sbuf.h tools/regression/geom/ConfCmp ConfCmp.c tools/regression/geom/MdLoad MdLoad.c Log: SVN rev 181463 on 2008-08-09 11:14:05Z by des Add sbuf_new_auto as a shortcut for the very common case of creating a completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks Revision Changes Path 1.7 +1 -1 src/lib/libgeom/geom_xml2tree.c 1.3 +1 -1 src/sbin/ifconfig/regdomain.c 1.37 +1 -1 src/sys/dev/acpi_support/acpi_asus.c 1.19 +1 -1 src/sys/dev/led/led.c 1.30 +1 -1 src/sys/geom/concat/g_concat.c 1.156 +2 -2 src/sys/geom/geom_ccd.c 1.40 +1 -1 src/sys/geom/geom_ctl.c 1.106 +1 -1 src/sys/geom/geom_disk.c 1.42 +3 -3 src/sys/geom/geom_kern.c 1.63 +1 -1 src/sys/geom/geom_slice.c 1.97 +2 -2 src/sys/geom/geom_subr.c 1.20 +7 -7 src/sys/geom/part/g_part.c 1.33 +1 -1 src/sys/geom/stripe/g_stripe.c 1.286 +1 -1 src/sys/kern/vfs_mount.c 1.18 +1 -1 src/sys/security/mac_portacl/mac_portacl.c 1.16 +2 -0 src/sys/sys/sbuf.h 1.10 +2 -2 src/tools/regression/geom/ConfCmp/ConfCmp.c 1.2 +1 -1 src/tools/regression/geom/MdLoad/MdLoad.c From des at FreeBSD.org Sat Aug 9 11:29:13 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Sat Aug 9 11:29:19 2008 Subject: cvs commit: src/sys/netinet sctp_bsd_addr.c Message-ID: <200808091129.m79BTDhQ062919@repoman.freebsd.org> des 2008-08-09 11:28:57 UTC FreeBSD src repository Modified files: sys/netinet sctp_bsd_addr.c Log: SVN rev 181464 on 2008-08-09 11:28:57Z by des Nit Revision Changes Path 1.23 +1 -2 src/sys/netinet/sctp_bsd_addr.c From peterjeremy at optushome.com.au Sat Aug 9 11:43:13 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sat Aug 9 11:43:19 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> <20080809103338.GN97161@deviant.kiev.zoral.com.ua> Message-ID: <20080809114305.GV64458@server.vk2pj.dyndns.org> On 2008-Aug-09 12:08:42 +0100, Robert Watson wrote: >While /dev/io appeals to the UNIX "everything is a file" sensibility, I think >the system calls we have for this on i386 are more conceptually coherent. IMO, /dev/io is inherently a kludge - it's really more a MAC issue than anything like a file. Whilst you get a FD by opening /dev/io, you never use that FD for anything other than passing to close(2). Instead, you are using a magic side-effect that allows you to execute 'in' and 'out' instructions whilst you hold that FD open. AFAIK, the sole reason for having it appear as a file is that (in the absence of a MAC framework), the filesystem provides the only mechanism for access control. IMHO, /dev/io should be deprecated in favour of something like the MAC framework. (Note that i386_{g,s}et_ioperm(2) are nor suitable in their current form because there is no mechanism for the system administrator to define access controls). -- 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080809/f522cb70/attachment.pgp From ed at FreeBSD.org Sat Aug 9 12:42:32 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Sat Aug 9 12:42:38 2008 Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200808091242.m79CgVxn069807@repoman.freebsd.org> ed 2008-08-09 12:42:12 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: SVN rev 181465 on 2008-08-09 12:42:12Z by ed Remove unneeded D_NEEDGIANT from /dev/fd/{0,1,2}. There is no reason the fdopen() routine needs Giant. It only sets curthread->td_dupfd, based on the device unit number of the cdev. I guess we won't get massive performance improvements here, but still, I assume we eventually want to get rid of Giant. Revision Changes Path 1.336 +0 -1 src/sys/kern/kern_descrip.c From ed at FreeBSD.org Sat Aug 9 14:44:19 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Sat Aug 9 14:44:30 2008 Subject: cvs commit: src/usr.bin/window :tt :tty :var :ww Message-ID: <200808091444.m79EiIjJ091534@repoman.freebsd.org> ed 2008-08-09 14:44:04 UTC FreeBSD src repository Removed files: usr.bin/window :tt :tty :var :ww Log: SVN rev 181466 on 2008-08-09 14:44:04Z by ed Delete unused files in the window(1) directory that contain a colon. During the import of the 4.4BSD Lite sources, four files got added to the repository called :tt, :tty, :var and :ww. They seem to contain some kind of debug information. These files aren't used/installed anywhere. Unfortunately the colons in the filenames prevents us from checking out the source tree on file systems that don't support colons (such as FAT). Just remove these unneeded files to keep SVN happy. Reported by: Rohit Tripathi MFC after: 3 days Revision Changes Path 1.2 +0 -11 src/usr.bin/window/:tt (dead) 1.2 +0 -6 src/usr.bin/window/:tty (dead) 1.2 +0 -2 src/usr.bin/window/:var (dead) 1.2 +0 -19 src/usr.bin/window/:ww (dead) From philip at FreeBSD.org Sat Aug 9 14:53:18 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Sat Aug 9 14:53:24 2008 Subject: cvs commit: src/sys/conf files.i386 src/sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/glxsb Makefile Message-ID: <200808091453.m79ErIuP092318@repoman.freebsd.org> philip 2008-08-09 14:52:31 UTC FreeBSD src repository Modified files: sys/conf files.i386 sys/i386/conf NOTES sys/modules Makefile Added files: sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c sys/modules/glxsb Makefile Log: SVN rev 181467 on 2008-08-09 14:52:31Z by philip Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as found in Soekris hardware, for instance). The hardware supports acceleration of AES-128-CBC accessible through crypto(4) and supplies entropy to random(4). TODO: o Implement rndtest(4) support o Performance enhancements Submitted by: Patrick Lamaizière Reviewed by: jhb, sam MFC after: 1 week Revision Changes Path 1.602 +2 -0 src/sys/conf/files.i386 1.1 +958 -0 src/sys/dev/glxsb/glxsb.c (new) 1.1 +57 -0 src/sys/dev/glxsb/glxsb.h (new) 1.1 +183 -0 src/sys/dev/glxsb/glxsb_hash.c (new) 1.1261 +6 -0 src/sys/i386/conf/NOTES 1.583 +2 -0 src/sys/modules/Makefile 1.1 +9 -0 src/sys/modules/glxsb/Makefile (new) From philip at FreeBSD.org Sat Aug 9 14:54:23 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Sat Aug 9 14:54:28 2008 Subject: cvs commit: src/share/man/man4/man4.i386 Makefile glxsb.4 Message-ID: <200808091454.m79EsMPQ092414@repoman.freebsd.org> philip 2008-08-09 14:54:19 UTC FreeBSD src repository Modified files: share/man/man4/man4.i386 Makefile Added files: share/man/man4/man4.i386 glxsb.4 Log: SVN rev 181468 on 2008-08-09 14:54:19Z by philip Add the glxsb(4) manual page. Submitted by: Patrick Lamaizière MFC after: 1 week Revision Changes Path 1.189 +1 -0 src/share/man/man4/man4.i386/Makefile 1.1 +97 -0 src/share/man/man4/man4.i386/glxsb.4 (new) From philip at FreeBSD.org Sat Aug 9 15:10:09 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Sat Aug 9 15:10:17 2008 Subject: cvs commit: src/share/man/man4/man4.i386 glxsb.4 Message-ID: <200808091510.m79FA8ue094805@repoman.freebsd.org> philip 2008-08-09 15:09:51 UTC FreeBSD src repository Modified files: share/man/man4/man4.i386 glxsb.4 Log: SVN rev 181469 on 2008-08-09 15:09:51Z by philip Typo: glxsb(4) was imported to FreeBSD 8.0, not 7.0. Spotted by: kib Revision Changes Path 1.2 +1 -1 src/share/man/man4/man4.i386/glxsb.4 From imp at FreeBSD.org Sat Aug 9 15:55:25 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 15:55:31 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808091555.m79FtO20098417@repoman.freebsd.org> imp 2008-08-09 15:55:10 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181470 on 2008-08-09 15:55:10Z by imp It turns out that checking the first DWORD register is more reliable on a variety of cards. Adjust the comments accordingly to match the code. Even if the vendor chose 0xffff for the device ID, the vendor ID can't be 0xffff, so the test is still valid from a standards perspective. Revision Changes Path 1.170 +17 -15 src/sys/dev/pccbb/pccbb.c From phk at phk.freebsd.dk Sat Aug 9 16:10:45 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Sat Aug 9 16:10:50 2008 Subject: cvs commit: src/sys/conf files.i386 src/sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/glxsb Makefile In-Reply-To: Your message of "Sat, 09 Aug 2008 14:52:31 GMT." <200808091453.m79ErIuP092318@repoman.freebsd.org> Message-ID: <97980.1218298242@critter.freebsd.dk> In message <200808091453.m79ErIuP092318@repoman.freebsd.org>, Philip Paeps writ es: >philip 2008-08-09 14:52:31 UTC > > Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as > found in Soekris hardware, for instance). The hardware supports acceleration > of AES-128-CBC accessible through crypto(4) and supplies entropy to random(4). > > TODO: > > o Implement rndtest(4) support Just for the record: I think it is important that we have a test-program that checks that these hardware assisted crypto algorithms actually do the right thing. I would really hate if people found out that they had been using the ROT52 algorithm due to some silly bug we don't notice along the way. It doesn't have to be very advanced, just run a couple of the standard test-vectors to see that the result is correct. -- 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 ivoras at FreeBSD.org Sat Aug 9 16:47:41 2008 From: ivoras at FreeBSD.org (Ivan Voras) Date: Sat Aug 9 16:47:52 2008 Subject: cvs commit: src/sbin/geom/class/virstor geom_virstor.c Message-ID: <200808091647.m79GleQk014329@repoman.freebsd.org> ivoras 2008-08-09 16:47:30 UTC FreeBSD src repository Modified files: sbin/geom/class/virstor geom_virstor.c Log: SVN rev 181471 on 2008-08-09 16:47:30Z by ivoras Clean up of dead code and possible unassigned variable usage. Found by: LLVM/Clang Static Checker Approved by: gnn (mentor) Revision Changes Path 1.3 +7 -3 src/sbin/geom/class/virstor/geom_virstor.c From imp at FreeBSD.org Sat Aug 9 17:29:43 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 9 17:29:54 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808091729.m79HTgm6023561@repoman.freebsd.org> imp 2008-08-09 17:29:36 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181472 on 2008-08-09 17:29:36Z by imp fix typo Submitted by: N.J. Mann Revision Changes Path 1.171 +1 -1 src/sys/dev/pccbb/pccbb.c From sam at freebsd.org Sat Aug 9 18:08:25 2008 From: sam at freebsd.org (Sam Leffler) Date: Sat Aug 9 18:08:37 2008 Subject: cvs commit: src/sys/conf files.i386 src/sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/glxsb Makefile In-Reply-To: <97980.1218298242@critter.freebsd.dk> References: <97980.1218298242@critter.freebsd.dk> Message-ID: <489DDD16.7000907@freebsd.org> Poul-Henning Kamp wrote: > In message <200808091453.m79ErIuP092318@repoman.freebsd.org>, Philip Paeps writ > es: > >> philip 2008-08-09 14:52:31 UTC >> >> > > >> Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as >> found in Soekris hardware, for instance). The hardware supports acceleration >> of AES-128-CBC accessible through crypto(4) and supplies entropy to random(4). >> >> TODO: >> >> o Implement rndtest(4) support >> > > Just for the record: I think it is important that we have a test-program > that checks that these hardware assisted crypto algorithms actually > do the right thing. > > I would really hate if people found out that they had been using > the ROT52 algorithm due to some silly bug we don't notice along the > way. > > It doesn't have to be very advanced, just run a couple of the standard > test-vectors to see that the result is correct. > > tools/tools/crypto/cryptotest is kinda setup to do that. No test vectors though. Sam From pjd at FreeBSD.org Sat Aug 9 19:42:49 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 19:42:55 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808091942.m79JgmL1043069@repoman.freebsd.org> pjd 2008-08-09 19:42:37 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181473 on 2008-08-09 19:42:37Z by pjd Sessions in-use are at the end of the queue, so use TAILQ_FOREACH_REVERSE() when looking for them. Idea from: Patrick Lamaiziere Revision Changes Path 1.15 +5 -3 src/sys/crypto/via/padlock.c From pjd at FreeBSD.org Sat Aug 9 19:43:50 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 19:43:56 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808091943.m79JhnTP043179@repoman.freebsd.org> pjd 2008-08-09 19:43:44 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181474 on 2008-08-09 19:43:44Z by pjd When freeing session, restore its ID after zeroing memory. Bug tracked down by: Patrick Lamaiziere Revision Changes Path 1.16 +1 -0 src/sys/crypto/via/padlock.c From pjd at FreeBSD.org Sat Aug 9 19:45:52 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 19:46:03 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808091945.m79Jjo5s043409@repoman.freebsd.org> pjd 2008-08-09 19:45:43 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181475 on 2008-08-09 19:45:43Z by pjd We don't have to drop a lock around malloc(M_NOWAIT). Revision Changes Path 1.17 +4 -4 src/sys/crypto/via/padlock.c From pjd at FreeBSD.org Sat Aug 9 19:47:36 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 19:47:43 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808091947.m79JlaBR043549@repoman.freebsd.org> pjd 2008-08-09 19:47:19 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181476 on 2008-08-09 19:47:19Z by pjd Implify sessions freeing loop. Revision Changes Path 1.18 +1 -2 src/sys/crypto/via/padlock.c From pjd at FreeBSD.org Sat Aug 9 19:49:07 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 19:49:14 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808091949.m79Jn7qG043683@repoman.freebsd.org> pjd 2008-08-09 19:48:59 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181477 on 2008-08-09 19:48:59Z by pjd - Fix freeing session on newsession failure. - Update copyright years. Revision Changes Path 1.19 +24 -9 src/sys/crypto/via/padlock.c From pjd at FreeBSD.org Sat Aug 9 20:01:08 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Aug 9 20:01:14 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200808092001.m79K18kw044655@repoman.freebsd.org> pjd 2008-08-09 20:01:01 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 181478 on 2008-08-09 20:01:01Z by pjd Simplify session selection/allocation. Revision Changes Path 1.20 +5 -10 src/sys/crypto/via/padlock.c From thompsa at FreeBSD.org Sat Aug 9 20:56:10 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sat Aug 9 20:56:22 2008 Subject: cvs commit: src/lib/libgeom libgeom.3 Message-ID: <200808092056.m79KuA2e059687@repoman.freebsd.org> thompsa 2008-08-09 20:55:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libgeom libgeom.3 Log: SVN rev 181479 on 2008-08-09 20:55:52Z by thompsa MFC r179780 Fix spelling. Revision Changes Path 1.8.2.1 +1 -1 src/lib/libgeom/libgeom.3 From thompsa at FreeBSD.org Sat Aug 9 21:00:26 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sat Aug 9 21:00:32 2008 Subject: cvs commit: src/lib/libgeom libgeom.3 Message-ID: <200808092100.m79L0PjH060061@repoman.freebsd.org> thompsa 2008-08-09 21:00:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libgeom libgeom.3 Log: SVN rev 181480 on 2008-08-09 21:00:15Z by thompsa MFC r179780 Fix spelling. Revision Changes Path 1.6.8.1 +1 -1 src/lib/libgeom/libgeom.3 From jhb at freebsd.org Sat Aug 9 21:02:05 2008 From: jhb at freebsd.org (John Baldwin) Date: Sat Aug 9 21:02:56 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809001256.GL64458@server.vk2pj.dyndns.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> Message-ID: <200808091543.15299.jhb@freebsd.org> On Friday 08 August 2008 08:12:56 pm Peter Jeremy wrote: > On 2008-Aug-08 12:26:31 -0400, John Baldwin wrote: > >It should be setting D_TRACKCLOSE though so that close() reliably clears > > the flag even in single-threaded processes. You can still get odd > > behavior if you explicitly open it twice in an app and then close one of > > the two fd's. You will no longer have IO permission even though you still > > have one fd open. However, if you do that I think you deserve what you > > asked for. :) > > That behaviour may be legitimate: Your code links with libraries foo and > bar that each independently open /dev/io so they can frob different things > in IO space. libfoo needs ongoing access to device foo and so keeps its > descriptor open. libbar only needs once-off access to device bar and so > closes /dev/io once it's finished its initialisation. Libraries foo and > bar are completely independent and shouldn't need to know anything about > each other and your app shouldn't need to know that libraries it's using > frob around in IO space. Then it requires a per-thread (really per-process) counter. However, D_TRACKCLOSE is still better than what is there now and will be needed for the counter case to have a chance of working. -- John Baldwin From jhb at freebsd.org Sat Aug 9 21:02:18 2008 From: jhb at freebsd.org (John Baldwin) Date: Sat Aug 9 21:03:12 2008 Subject: cvs commit: src/share/zoneinfo africa asia europe leapseconds In-Reply-To: <861w0zdsnn.fsf@ds4.des.no> References: <200808080430.m784U0VC086322@repoman.freebsd.org> <200808080905.26955.jhb@freebsd.org> <861w0zdsnn.fsf@ds4.des.no> Message-ID: <200808091549.30888.jhb@freebsd.org> On Friday 08 August 2008 06:54:36 pm Dag-Erling Sm?rgrav wrote: > John Baldwin writes: > > FYI, note that if you want, you can do multiple merges into the vendor > > area and then just do one merge of all the updates into src/. You > > don't have to merge each version individually. It's probably more > > work to do so, however. > > Less work, actually, if you have local modifications, since you only > need to merge conflicts once. OpenSSH would have been hell to merge if > I had done it one release at a time (I went straight from 4.5 to 5.1) Heh, I was trying to say that merging each individual release to src/ would have been more work, but I can see how what I wrote is ambiguous. -- John Baldwin From jhb at freebsd.org Sat Aug 9 21:02:20 2008 From: jhb at freebsd.org (John Baldwin) Date: Sat Aug 9 21:03:13 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809130929.P77335@delplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> Message-ID: <200808091555.25020.jhb@freebsd.org> On Saturday 09 August 2008 12:35:50 am Bruce Evans wrote: > On Fri, 8 Aug 2008, John Baldwin wrote: > > On Friday 08 August 2008 09:43:56 am Ed Schouten wrote: > >> ed 2008-08-08 13:43:56 UTC > >> > >> Apart from this change, I think some fishy things may happen when > >> using /dev/io in multithreaded applications. I haven't tested, but > >> looking at the code, the flag doesn't get cleared when close() is called > >> from another thread, but this may not be this important. > > Of course it isn't. The flag only gets cleared on last close. Threads > probably involve mainly file descriptors, and for file descriptors close() > doesn't even reach vn_close() until the fd reference count drops to 0. > Then for files, vn_close() normally doesn't reach device close until the > file reference count drops to 0. > > > It should be setting D_TRACKCLOSE though so that close() reliably clears > > the flag even in single-threaded processes. You can still get odd > > behavior if > > You mean "should _not_ be setting D_TRACKCLOSE", so that close() works > normally. > > close() can never reliably clear the flag, since even vn_close() is not > reached after open()/dup()/close() or open()/fork()/close()... > > > you explicitly open it twice in an app and then close one of the two > > fd's. You will no longer have IO permission even though you still have > > one fd open. However, if you do that I think you deserve what you asked > > for. :) > > You asked for normal last-close behaviour and deserve that not being broken > by setting D_TRACKCLOSE. > > D_TRACKCLOSE allows different handling of non-last closes, but this is > rarely wanted, and in theory it allows better determination of last > closes, since vfs doesn't count last closes right. However, it is > difficult to count last closes right, and most uses of D_TRACKCLOSE handle > last closes are worse than vfs: > - ast: uses D_TRACKCLOSE to trash (write a filemark) and/or rewind tapes > on non-last closes. After the trash and rewind, astclose() uses > count_dev() to avoid doing a full hardware close if the device is still > open. This involves using count_dev(), but count_dev() is just an > interface to the vfs count, so it miscounts in the same way as vfs. In > particular, it doesn't count incompleted opens. I don't know if ast's > locking is sufficient to prevent close() being called while a new open > is in progress. For most devices, it isn't. > - drm: it uses its own count of opens and closes, and it doesn't use > count_dev(). The own count has some chance of working, but needs > delicate locking of device open and device close to prevent them > running into each other, and some defense against the vfs bugs which > at least used to result in missing and/or extra closes. > - smb: like drm, except it limits its own count to 0 or 1 to give half- > baked exclusive access (fork() and dup(), etc, still give non-exclusive > access). D_TRACKCLOSE thus has no effect except for its interaction > with other bugs. > - geom: unlike most or all of the others, this may actually need > D_TRACKCLOSE, to implement multiple logical drivers per physical device. > I don't understand its details. > - apm: like drm > - bpf: like smb You failed to note that not using D_TRACKCLOSE doesn't actually reliable close devices. I set D_TRACKCLOSE on bpf because under load at work (lots of concurrent nmap's) bpf devices would sometimes never get fully closed, so you'd have an unopened bpf device that was no longer available. D_TRACKCLOSE gives much saner semantics for devices, each open() of an fd calls the 'd_open' method, and the last close of that fd (which could be in another process) calls 'd_close'. /dev/io in particular is quite bogus since even though a child process inherits the file descriptor, it doesn't inherit the behavior of having /dev/io open. -- John Baldwin From sam at FreeBSD.org Sat Aug 9 21:52:12 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Aug 9 21:52:19 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808092152.m79LqB4j065443@repoman.freebsd.org> sam 2008-08-09 21:51:57 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181481 on 2008-08-09 21:51:57Z by sam fix syntax Revision Changes Path 1.35 +1 -0 src/tools/tools/nanobsd/nanobsd.sh From brix at FreeBSD.org Sat Aug 9 22:25:28 2008 From: brix at FreeBSD.org (Henrik Brix Andersen) Date: Sat Aug 9 22:25:34 2008 Subject: cvs commit: src/sys/dev/usb usb_quirks.c usbdevs Message-ID: <200808092225.m79MPR9D069155@repoman.freebsd.org> brix 2008-08-09 22:25:13 UTC FreeBSD src repository Modified files: sys/dev/usb usb_quirks.c usbdevs Log: SVN rev 181482 on 2008-08-09 22:25:13Z by brix Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G. Reviewed by: sam Approved by: sam MFC after: 3 days Revision Changes Path 1.66 +4 -0 src/sys/dev/usb/usb_quirks.c 1.363 +2 -0 src/sys/dev/usb/usbdevs From sam at freebsd.org Sat Aug 9 22:34:43 2008 From: sam at freebsd.org (Sam Leffler) Date: Sat Aug 9 22:34:49 2008 Subject: cvs commit: src/sys/conf files.i386 src/sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/glxsb Makefile In-Reply-To: <489DDD16.7000907@freebsd.org> References: <97980.1218298242@critter.freebsd.dk> <489DDD16.7000907@freebsd.org> Message-ID: <489E1B80.8090807@freebsd.org> Sam Leffler wrote: > Poul-Henning Kamp wrote: >> In message <200808091453.m79ErIuP092318@repoman.freebsd.org>, Philip >> Paeps writ >> es: >> >>> philip 2008-08-09 14:52:31 UTC >>> >>> >> >> >>> Add glxsb(4) driver for the Security Block in AMD Geode LX >>> processors (as >>> found in Soekris hardware, for instance). The hardware supports >>> acceleration >>> of AES-128-CBC accessible through crypto(4) and supplies entropy to >>> random(4). >>> >>> TODO: >>> >>> o Implement rndtest(4) support >>> >> >> Just for the record: I think it is important that we have a >> test-program >> that checks that these hardware assisted crypto algorithms actually >> do the right thing. >> >> I would really hate if people found out that they had been using >> the ROT52 algorithm due to some silly bug we don't notice along the >> way. >> >> It doesn't have to be very advanced, just run a couple of the standard >> test-vectors to see that the result is correct. >> >> > tools/tools/crypto/cryptotest is kinda setup to do that. No test > vectors though. I just remembered that for the net80211 crypto support I did test vectors in loadable modules (tools/tools/regression/net80211). This was required because the crypto support isn't exposed to user space and things are tied to 802.11 packet formats. The opencrypto support is exposed to user space through /dev/crypto so perhaps not relevant unless someone wanted to test paths accessible only in the kernel. Sam From kientzle at FreeBSD.org Sat Aug 9 23:14:45 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Aug 9 23:14:51 2008 Subject: cvs commit: src/lib/libarchive/test test_write_format_cpio_newc.c test_write_format_cpio_odc.c Message-ID: <200808092314.m79NEhBL074250@repoman.freebsd.org> kientzle 2008-08-09 23:14:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive/test test_write_format_cpio_newc.c test_write_format_cpio_odc.c Log: SVN rev 181483 on 2008-08-09 23:14:37Z by kientzle Fix up mergeinfo to reflect the current status of this branch. stable/7/lib/libarchive was already almost identical to head/lib/libarchive@177777. This matches it up exactly (except that I declined to resurrect the .cvsignore file) and records that alignment in svn:mergeinfo. Revision Changes Path 1.2.2.2 +1 -0 src/lib/libarchive/test/test_write_format_cpio_newc.c 1.1.2.2 +1 -0 src/lib/libarchive/test/test_write_format_cpio_odc.c From kientzle at FreeBSD.org Sun Aug 10 02:06:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 02:06:59 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Message-ID: <200808100206.m7A26kLG002068@repoman.freebsd.org> kientzle 2008-08-10 02:06:28 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Log: SVN rev 181485 on 2008-08-10 02:06:28Z by kientzle MfP4: Joerg Sonnenberger's fixes to make 'ar' and 'pax' writers robust against multiple calls to their destroy() functions. Revision Changes Path 1.8 +3 -0 src/lib/libarchive/archive_write_set_format_ar.c 1.48 +3 -0 src/lib/libarchive/archive_write_set_format_pax.c From kientzle at FreeBSD.org Sun Aug 10 02:14:03 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 02:14:14 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_mtree.c Message-ID: <200808100214.m7A2E2AC002770@repoman.freebsd.org> kientzle 2008-08-10 02:13:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_format_mtree.c Log: SVN rev 181486 on 2008-08-10 02:13:52Z by kientzle MFC r179125 > r179125 | cperciva | 2008-05-19 11:06:48 -0700 (Mon, 19 May 2008) | 5 lines > Return ARCHIVE_FATAL if we can't allocate memory instead of going ahead and > dereferencing NULL. > Found by: Coverity Prevent Revision Changes Path 1.1.2.4 +1 -0 src/lib/libarchive/archive_read_support_format_mtree.c From kientzle at FreeBSD.org Sun Aug 10 02:17:34 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 02:17:45 2008 Subject: cvs commit: src/lib/libarchive archive_entry_strmode.c Message-ID: <200808100217.m7A2HXLJ003070@repoman.freebsd.org> kientzle 2008-08-10 02:17:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_entry_strmode.c Log: SVN rev 181487 on 2008-08-10 02:17:23Z by kientzle MFC r179234 | cperciva | 2008-05-22 21:57:28 -0700 (Thu, 22 May 2008) > We only use the string "?rwxrwxrwx " once, so inline it rather than > declaring a variable which points to it. Aside from eliminating a > line of code and one level of unnecessary indirection, this eliminates > a false positive in Coverity. Revision Changes Path 1.1.2.3 +1 -2 src/lib/libarchive/archive_entry_strmode.c From kientzle at FreeBSD.org Sun Aug 10 02:19:19 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 02:19:31 2008 Subject: cvs commit: src/lib/libarchive archive_read_data_into_fd.c Message-ID: <200808100219.m7A2JJBK003207@repoman.freebsd.org> kientzle 2008-08-10 02:19:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_data_into_fd.c Log: SVN rev 181488 on 2008-08-10 02:19:17Z by kientzle MFC r179235 | cperciva | 2008-05-22 22:01:29 -0700 (Thu, 22 May 2008) > Check that lseek(2) succeeds and puts us where we expect. [1] > > While we're here, fix a long-standing bug in the handling of write(2) > errors: The API changed from "return # of bytes written" to "return > status code" almost 4 years ago, so instead of returning (-1) we need > to return ARCHIVE_FATAL. > > Found by: Coverity Prevent [1] Revision Changes Path 1.15.2.1 +7 -3 src/lib/libarchive/archive_read_data_into_fd.c From kientzle at FreeBSD.org Sun Aug 10 03:13:56 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 03:14:03 2008 Subject: cvs commit: src/lib/libarchive/test test_read_format_zip.c Message-ID: <200808100313.m7A3DutH010297@repoman.freebsd.org> kientzle 2008-08-10 03:13:42 UTC FreeBSD src repository Modified files: lib/libarchive/test test_read_format_zip.c Log: SVN rev 181489 on 2008-08-10 03:13:42Z by kientzle Explain why two apparently-identical archive_read_data() calls really should have different return values. Revision Changes Path 1.6 +2 -0 src/lib/libarchive/test/test_read_format_zip.c From keramida at ceid.upatras.gr Sun Aug 10 04:29:00 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Aug 10 04:29:13 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh In-Reply-To: <200808090928.m799S9KD050607@repoman.freebsd.org> (Poul-Henning Kamp's message of "Sat, 9 Aug 2008 09:27:54 +0000 (UTC)") References: <200808090928.m799S9KD050607@repoman.freebsd.org> Message-ID: <87sktdjxxg.fsf@kobe.laptop> On Sat, 9 Aug 2008 09:27:54 +0000 (UTC), Poul-Henning Kamp wrote: > phk 2008-08-09 09:27:54 UTC > > FreeBSD src repository > > Modified files: > tools/tools/nanobsd nanobsd.sh > Log: > SVN rev 181460 on 2008-08-09 09:27:54Z by phk > > Add -i option to supress image building. > > Submitted by: keramida Thanks :) From kientzle at FreeBSD.org Sun Aug 10 04:33:00 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 04:33:07 2008 Subject: cvs commit: src/lib/libarchive Makefile archive.h archive.h.in archive_endian.h archive_entry.3 archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_entry_strmode.c archive_platform.h archive_read.3 archive_read_extract.c ... Message-ID: <200808100433.m7A4X0lx019210@repoman.freebsd.org> kientzle 2008-08-10 04:32:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive Makefile archive_endian.h archive_entry.3 archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_entry_strmode.c archive_platform.h archive_read.3 archive_read_extract.c archive_read_support_compression_bzip2.c archive_read_support_compression_program.c archive_read_support_format_ar.c archive_read_support_format_iso9660.c archive_read_support_format_mtree.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string.h archive_util.c archive_write.3 archive_write_disk.3 archive_write_disk.c archive_write_set_compression_program.c archive_write_set_format_ar.c archive_write_set_format_pax.c archive_write_set_format_ustar.c config_freebsd.h cpio.5 filter_fork.c libarchive-formats.5 tar.5 lib/libarchive/test Makefile main.c test.h test_acl_pax.c test_archive_api_feature.c test_entry.c test_pax_filename_encoding.c test_read_extract.c test_read_format_isorr_bz2.c test_read_format_mtree.c test_read_format_zip.c test_tar_filenames.c test_tar_large.c test_write_disk.c test_write_disk_hardlink.c test_write_disk_perms.c test_write_disk_secure.c test_write_format_ar.c Added files: (Branch: RELENG_7) lib/libarchive archive.h lib/libarchive/test test_link_resolver.c test_read_format_isorr_bz2.iso.bz2.uu test_read_format_tar_empty_filename.c test_read_format_tar_empty_filename.tar.uu test_read_format_zip.zip.uu test_ustar_filenames.c test_write_format_tar_ustar.c Removed files: (Branch: RELENG_7) lib/libarchive archive.h.in Log: SVN rev 181490 on 2008-08-10 04:32:47Z by kientzle Big MFC of libarchive 2.5.5. Revision Changes Path 1.77.2.3 +6 -28 src/lib/libarchive/Makefile 1.18.2.1 +592 -0 src/lib/libarchive/archive.h (new) 1.46.2.3 +0 -539 src/lib/libarchive/archive.h.in (dead) 1.1.2.3 +14 -0 src/lib/libarchive/archive_endian.h 1.15.2.2 +13 -2 src/lib/libarchive/archive_entry.3 1.44.2.3 +298 -122 src/lib/libarchive/archive_entry.c 1.23.2.3 +223 -106 src/lib/libarchive/archive_entry.h 1.1.2.2 +295 -114 src/lib/libarchive/archive_entry_link_resolver.c 1.1.4.3 +20 -6 src/lib/libarchive/archive_entry_private.h 1.1.2.4 +5 -0 src/lib/libarchive/archive_entry_strmode.c 1.27.2.3 +3 -0 src/lib/libarchive/archive_platform.h 1.35.2.2 +23 -0 src/lib/libarchive/archive_read.3 1.59.2.2 +17 -11 src/lib/libarchive/archive_read_extract.c 1.16.2.2 +22 -10 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.2.2.1 +28 -1 src/lib/libarchive/archive_read_support_compression_program.c 1.6.4.4 +6 -2 src/lib/libarchive/archive_read_support_format_ar.c 1.23.2.3 +19 -40 src/lib/libarchive/archive_read_support_format_iso9660.c 1.1.2.5 +637 -117 src/lib/libarchive/archive_read_support_format_mtree.c 1.61.2.4 +56 -40 src/lib/libarchive/archive_read_support_format_tar.c 1.14.2.5 +118 -7 src/lib/libarchive/archive_read_support_format_zip.c 1.11.2.1 +246 -7 src/lib/libarchive/archive_string.c 1.9.2.2 +23 -6 src/lib/libarchive/archive_string.h 1.15.2.3 +1 -23 src/lib/libarchive/archive_util.c 1.22.2.2 +5 -1 src/lib/libarchive/archive_write.3 1.1.4.2 +4 -0 src/lib/libarchive/archive_write_disk.3 1.17.2.4 +132 -54 src/lib/libarchive/archive_write_disk.c 1.1.4.1 +27 -0 src/lib/libarchive/archive_write_set_compression_program.c 1.3.4.3 +6 -5 src/lib/libarchive/archive_write_set_format_ar.c 1.41.2.3 +58 -17 src/lib/libarchive/archive_write_set_format_pax.c 1.24.2.3 +38 -30 src/lib/libarchive/archive_write_set_format_ustar.c 1.5.2.3 +4 -2 src/lib/libarchive/config_freebsd.h 1.1.2.2 +6 -6 src/lib/libarchive/cpio.5 1.1.4.2 +31 -9 src/lib/libarchive/filter_fork.c 1.14.2.2 +8 -0 src/lib/libarchive/libarchive-formats.5 1.17.2.1 +6 -6 src/lib/libarchive/tar.5 1.11.2.3 +8 -18 src/lib/libarchive/test/Makefile 1.8.2.4 +156 -24 src/lib/libarchive/test/main.c 1.6.2.4 +23 -16 src/lib/libarchive/test/test.h 1.4.2.1 +4 -8 src/lib/libarchive/test/test_acl_pax.c 1.3.2.2 +12 -1 src/lib/libarchive/test/test_archive_api_feature.c 1.2.2.2 +32 -3 src/lib/libarchive/test/test_entry.c 1.2.2.1 +205 -0 src/lib/libarchive/test/test_link_resolver.c (new) 1.1.2.2 +151 -15 src/lib/libarchive/test/test_pax_filename_encoding.c 1.3.2.1 +18 -9 src/lib/libarchive/test/test_read_extract.c 1.2.2.2 +52 -94 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.1.2.1 +24 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.iso.bz2.uu (new) 1.1.2.2 +5 -5 src/lib/libarchive/test/test_read_format_mtree.c 1.1.2.1 +66 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.c (new) 1.2.2.1 +38 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.tar.uu (new) 1.2.2.2 +3 -19 src/lib/libarchive/test/test_read_format_zip.c 1.2.2.1 +13 -0 src/lib/libarchive/test/test_read_format_zip.zip.uu (new) 1.7.2.2 +22 -12 src/lib/libarchive/test/test_tar_filenames.c 1.1.2.2 +5 -0 src/lib/libarchive/test/test_tar_large.c 1.1.2.1 +183 -0 src/lib/libarchive/test/test_ustar_filenames.c (new) 1.6.2.2 +5 -1 src/lib/libarchive/test/test_write_disk.c 1.1.2.2 +12 -4 src/lib/libarchive/test/test_write_disk_hardlink.c 1.7.2.2 +3 -3 src/lib/libarchive/test/test_write_disk_perms.c 1.3.2.1 +2 -2 src/lib/libarchive/test/test_write_disk_secure.c 1.5.2.2 +2 -1 src/lib/libarchive/test/test_write_format_ar.c 1.1.2.1 +342 -0 src/lib/libarchive/test/test_write_format_tar_ustar.c (new) From kientzle at FreeBSD.org Sun Aug 10 05:00:31 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 05:00:37 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c src/lib/libarchive/test test_read_format_zip.c test_read_format_zip.zip.uu Message-ID: <200808100500.m7A50VMw030719@repoman.freebsd.org> kientzle 2008-08-10 05:00:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_format_zip.c lib/libarchive/test test_read_format_zip.c test_read_format_zip.zip.uu Log: SVN rev 181491 on 2008-08-10 05:00:14Z by kientzle MFC r180027, r180028, r180122, r180123, r181489 Cumulatively, these implement CRC32 validation when reading Zip archives and the test suite updates to ensure that CRC32 checking really will fail on a damaged entry and succeed on a valid one. Revision Changes Path 1.14.2.6 +14 -6 src/lib/libarchive/archive_read_support_format_zip.c 1.2.2.3 +5 -2 src/lib/libarchive/test/test_read_format_zip.c 1.2.2.2 +3 -3 src/lib/libarchive/test/test_read_format_zip.zip.uu From kientzle at FreeBSD.org Sun Aug 10 05:30:33 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 05:30:39 2008 Subject: cvs commit: src/lib/libarchive/test Makefile Message-ID: <200808100530.m7A5UX4A034314@repoman.freebsd.org> kientzle 2008-08-10 05:30:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive/test Makefile Log: SVN rev 181492 on 2008-08-10 05:30:28Z by kientzle MFC various corrections to the test suite Makefile. Revision Changes Path 1.11.2.4 +6 -6 src/lib/libarchive/test/Makefile From kientzle at FreeBSD.org Sun Aug 10 05:38:19 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 05:38:25 2008 Subject: cvs commit: src/lib/libarchive/test test_pax_filename_encoding.tar.gz.uu test_read_format_tar_empty_filename.tar.uu Message-ID: <200808100538.m7A5cIIh034944@repoman.freebsd.org> kientzle 2008-08-10 05:38:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive/test test_pax_filename_encoding.tar.gz.uu test_read_format_tar_empty_filename.tar.uu Log: SVN rev 181493 on 2008-08-10 05:38:07Z by kientzle MFC missing $FreeBSD$ markers. Revision Changes Path 1.1.2.2 +1 -0 src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.tar.uu From kientzle at FreeBSD.org Sun Aug 10 05:39:34 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 05:39:46 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200808100539.m7A5dYxm035086@repoman.freebsd.org> kientzle 2008-08-10 05:39:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_format_tar.c Log: SVN rev 181494 on 2008-08-10 05:39:25Z by kientzle MFC removal of an unused variable. Revision Changes Path 1.61.2.5 +0 -2 src/lib/libarchive/archive_read_support_format_tar.c From kientzle at FreeBSD.org Sun Aug 10 05:40:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 05:40:58 2008 Subject: cvs commit: src/lib/libarchive archive_private.h Message-ID: <200808100540.m7A5elcQ035257@repoman.freebsd.org> kientzle 2008-08-10 05:40:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_private.h Log: SVN rev 181495 on 2008-08-10 05:40:16Z by kientzle MFC __dead2 marker Revision Changes Path 1.29.2.1 +1 -1 src/lib/libarchive/archive_private.h From thompsa at FreeBSD.org Sun Aug 10 05:57:18 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 10 05:57:25 2008 Subject: cvs commit: src/sys/compat/ndis ndis_var.h Message-ID: <200808100557.m7A5vHG8036584@repoman.freebsd.org> thompsa 2008-08-10 05:57:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/ndis ndis_var.h Log: SVN rev 181496 on 2008-08-10 05:57:10Z by thompsa MFC r174141 Correct the nwbx_ies field type in struct ndis_wlan_bssid_ex. PR: kern/118369 Revision Changes Path 1.47.2.1 +1 -1 src/sys/compat/ndis/ndis_var.h From thompsa at FreeBSD.org Sun Aug 10 06:03:49 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 10 06:04:01 2008 Subject: cvs commit: src/usr.bin/netstat route.c Message-ID: <200808100603.m7A63mNN038201@repoman.freebsd.org> thompsa 2008-08-10 06:03:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/netstat route.c Log: SVN rev 181497 on 2008-08-10 06:03:46Z by thompsa MFC r175217 Add IFT_BRIDGE to the Ethernet section so l2 addresses are formatted correctly. PR: bin/119542 Revision Changes Path 1.76.2.7 +1 -0 src/usr.bin/netstat/route.c From kientzle at FreeBSD.org Sun Aug 10 06:09:34 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:09:41 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Message-ID: <200808100609.m7A69YBC038661@repoman.freebsd.org> kientzle 2008-08-10 06:09:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Log: SVN rev 181498 on 2008-08-10 06:09:25Z by kientzle MFC r181485 | kientzle | 2008-08-09 19:06:28 -0700 (Sat, 09 Aug 2008) > MfP4: Joerg Sonnenberger's fixes to make 'ar' and 'pax' writers > robust against multiple calls to their destroy() functions. Revision Changes Path 1.3.4.4 +3 -0 src/lib/libarchive/archive_write_set_format_ar.c 1.41.2.4 +3 -0 src/lib/libarchive/archive_write_set_format_pax.c From kientzle at FreeBSD.org Sun Aug 10 06:24:51 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:24:57 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100624.m7A6Ooma039941@repoman.freebsd.org> kientzle 2008-08-10 06:24:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181499 on 2008-08-10 06:24:31Z by kientzle MFC r176395 | kientzle | 2008-02-18 21:27:17 -0800 (Mon, 18 Feb 2008) > Allow appending to archives on block devices as well as > archives in regular files, since both are seekable. Revision Changes Path 1.63.2.1 +1 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 06:26:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:26:47 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c write.c Message-ID: <200808100626.m7A6QaV4040135@repoman.freebsd.org> kientzle 2008-08-10 06:26:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 bsdtar.c write.c Log: SVN rev 181500 on 2008-08-10 06:26:29Z by kientzle MFC r177204 | kientzle | 2008-03-14 19:41:44 -0700 (Fri, 14 Mar 2008) > Enable and document the -Z option for selecting "compress" compression, > now that libarchive supports it. Revision Changes Path 1.35.2.2 +10 -0 src/usr.bin/tar/bsdtar.1 1.77.2.2 +0 -5 src/usr.bin/tar/bsdtar.c 1.63.2.2 +3 -0 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 06:28:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:29:04 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808100628.m7A6Sq0G040302@repoman.freebsd.org> kientzle 2008-08-10 06:28:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.c Log: SVN rev 181501 on 2008-08-10 06:28:39Z by kientzle MFC --compress and --uncompress as synonyms for -Z Revision Changes Path 1.77.2.3 +2 -0 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 06:30:53 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:31:03 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h read.c Message-ID: <200808100630.m7A6UrZm040528@repoman.freebsd.org> kientzle 2008-08-10 06:30:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h read.c Log: SVN rev 181502 on 2008-08-10 06:30:40Z by kientzle MFC --chroot option and documentation Revision Changes Path 1.35.2.3 +6 -0 src/usr.bin/tar/bsdtar.1 1.77.2.4 +5 -0 src/usr.bin/tar/bsdtar.c 1.28.2.2 +1 -0 src/usr.bin/tar/bsdtar.h 1.1.4.2 +1 -0 src/usr.bin/tar/config_freebsd.h 1.34.2.2 +11 -0 src/usr.bin/tar/read.c From kientzle at FreeBSD.org Sun Aug 10 06:32:39 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:32:46 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808100632.m7A6WdVd040667@repoman.freebsd.org> kientzle 2008-08-10 06:32:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181503 on 2008-08-10 06:32:34Z by kientzle MFC -q as synonym for --fast-read Revision Changes Path 1.35.2.4 +9 -9 src/usr.bin/tar/bsdtar.1 1.77.2.5 +4 -5 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 06:36:56 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:37:01 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808100636.m7A6atVf041158@repoman.freebsd.org> kientzle 2008-08-10 06:36:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.c Log: SVN rev 181504 on 2008-08-10 06:36:43Z by kientzle MFC r177211 | kientzle | 2008-03-14 20:28:39 -0700 (Fri, 14 Mar 2008) Support NetBSD's --insecure as a synonym for -P. Revision Changes Path 1.77.2.6 +1 -0 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 06:43:28 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:43:40 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808100643.m7A6hQu9041736@repoman.freebsd.org> kientzle 2008-08-10 06:43:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.c Log: SVN rev 181505 on 2008-08-10 06:43:20Z by kientzle MFC r177214: style fix and a comment. Revision Changes Path 1.77.2.7 +2 -1 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 06:44:57 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:45:04 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100644.m7A6ivhU041869@repoman.freebsd.org> kientzle 2008-08-10 06:44:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181506 on 2008-08-10 06:44:39Z by kientzle MFC r178714: allow -r and -T together even when there are no files on the command line. PR: bin/123246 Revision Changes Path 1.63.2.3 +1 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 06:53:45 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:53:51 2008 Subject: cvs commit: src/usr.bin/tar/test Makefile config.sh main.c test-acl.sh test-basic.sh test-deep-dir.sh test-flags.sh test-nodump.sh test-overwrite.sh test-utf8.sh test.h test_0.c test_basic.c test_copy.c test_getdate.c test_help.c ... Message-ID: <200808100653.m7A6rjD1042805@repoman.freebsd.org> kientzle 2008-08-10 06:53:28 UTC FreeBSD src repository Added files: (Branch: RELENG_7) usr.bin/tar/test Makefile main.c test.h test_0.c test_basic.c test_copy.c test_getdate.c test_help.c test_option_T.c test_stdio.c test_version.c Removed files: (Branch: RELENG_7) usr.bin/tar/test config.sh test-acl.sh test-basic.sh test-deep-dir.sh test-flags.sh test-nodump.sh test-overwrite.sh test-utf8.sh Log: SVN rev 181507 on 2008-08-10 06:53:28Z by kientzle MFC r178715, r175052: New bsdtar test harness, modeled after libarchive test harness. Revision Changes Path 1.2.2.1 +61 -0 src/usr.bin/tar/test/Makefile (new) 1.2.2.1 +0 -74 src/usr.bin/tar/test/config.sh (dead) 1.3.2.1 +1012 -0 src/usr.bin/tar/test/main.c (new) 1.1.2.1 +0 -76 src/usr.bin/tar/test/test-acl.sh (dead) 1.5.2.1 +0 -432 src/usr.bin/tar/test/test-basic.sh (dead) 1.1.2.1 +0 -60 src/usr.bin/tar/test/test-deep-dir.sh (dead) 1.1.2.1 +0 -74 src/usr.bin/tar/test/test-flags.sh (dead) 1.1.2.1 +0 -52 src/usr.bin/tar/test/test-nodump.sh (dead) 1.1.2.1 +0 -51 src/usr.bin/tar/test/test-overwrite.sh (dead) 1.1.2.1 +0 -40 src/usr.bin/tar/test/test-utf8.sh (dead) 1.3.2.1 +151 -0 src/usr.bin/tar/test/test.h (new) 1.2.2.1 +62 -0 src/usr.bin/tar/test/test_0.c (new) 1.2.2.1 +158 -0 src/usr.bin/tar/test/test_basic.c (new) 1.2.2.1 +300 -0 src/usr.bin/tar/test/test_copy.c (new) 1.2.2.1 +38 -0 src/usr.bin/tar/test/test_getdate.c (new) 1.2.2.1 +81 -0 src/usr.bin/tar/test/test_help.c (new) 1.2.2.1 +123 -0 src/usr.bin/tar/test/test_option_T.c (new) 1.2.2.1 +124 -0 src/usr.bin/tar/test/test_stdio.c (new) 1.2.2.1 +93 -0 src/usr.bin/tar/test/test_version.c (new) From kientzle at FreeBSD.org Sun Aug 10 06:58:17 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 06:58:23 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808100658.m7A6wFkq043194@repoman.freebsd.org> kientzle 2008-08-10 06:58:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.c Log: SVN rev 181508 on 2008-08-10 06:58:09Z by kientzle MFC r178716: --version succeeds Revision Changes Path 1.77.2.8 +1 -1 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 07:00:31 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:00:38 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808100700.m7A70VAP043452@repoman.freebsd.org> kientzle 2008-08-10 07:00:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181509 on 2008-08-10 07:00:12Z by kientzle MFC r178717: --format is permitted with -r or -u, document that -o is a synonym for --format=ustar when used with -c, -r, or -u Revision Changes Path 1.35.2.5 +8 -2 src/usr.bin/tar/bsdtar.1 1.77.2.9 +1 -1 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 07:03:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:03:09 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808100703.m7A732UL044350@repoman.freebsd.org> kientzle 2008-08-10 07:02:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181510 on 2008-08-10 07:02:48Z by kientzle MFC r179072 | cperciva | 2008-05-17 08:55:29 -0700 (Sat, 17 May 2008) > Add --keep-newer-files option (as in GNU tar: When in -x mode, ignore > files if the existing file is newer than the archive entry). Revision Changes Path 1.35.2.6 +4 -0 src/usr.bin/tar/bsdtar.1 1.77.2.10 +5 -0 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 07:07:18 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:07:30 2008 Subject: cvs commit: src/usr.bin/tar Makefile bsdtar.h read.c siginfo.c write.c Message-ID: <200808100707.m7A77Imp045164@repoman.freebsd.org> kientzle 2008-08-10 07:07:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar Makefile bsdtar.h read.c write.c Added files: (Branch: RELENG_7) usr.bin/tar siginfo.c Log: SVN rev 181511 on 2008-08-10 07:07:00Z by kientzle MFC r179083, r179213: When we receive SIGINFO (or SIGUSR1), print out some basic progress information. Revision Changes Path 1.32.2.2 +1 -1 src/usr.bin/tar/Makefile 1.28.2.3 +6 -0 src/usr.bin/tar/bsdtar.h 1.34.2.3 +26 -0 src/usr.bin/tar/read.c 1.2.2.1 +147 -0 src/usr.bin/tar/siginfo.c (new) 1.63.2.4 +25 -0 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:14:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:15:01 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808100714.m7A7EnJH045902@repoman.freebsd.org> kientzle 2008-08-10 07:14:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.c Log: SVN rev 181512 on 2008-08-10 07:14:38Z by kientzle MFC r179131 | cperciva | 2008-05-19 11:38:01 -0700 (Mon, 19 May 2008) Avoid a call to malloc(0) when invoked as 'tar ""'. This avoids a bizarre error message when malloc() is set to System V mode (malloc(0) == NULL). Revision Changes Path 1.77.2.11 +2 -2 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Sun Aug 10 07:15:50 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:16:02 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100715.m7A7Foob046098@repoman.freebsd.org> kientzle 2008-08-10 07:15:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181513 on 2008-08-10 07:15:33Z by kientzle MFC r179236: Remove an unnecessary check for NULL Revision Changes Path 1.63.2.5 +1 -2 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:36:13 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:36:19 2008 Subject: cvs commit: src/usr.bin/tar Makefile bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h matching.c read.c subst.c util.c write.c src/usr.bin/tar/test Makefile main.c test.h test_copy.c test_option_T.c test_patterns.c Message-ID: <200808100736.m7A7aCjc047788@repoman.freebsd.org> kientzle 2008-08-10 07:35:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar Makefile bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h matching.c read.c util.c write.c usr.bin/tar/test Makefile main.c test.h test_copy.c test_option_T.c Added files: (Branch: RELENG_7) usr.bin/tar subst.c usr.bin/tar/test test_patterns.c Log: SVN rev 181514 on 2008-08-10 07:35:55Z by kientzle Big MFC of bsdtar 2.5.5. Revision Changes Path 1.32.2.3 +4 -3 src/usr.bin/tar/Makefile 1.35.2.7 +38 -2 src/usr.bin/tar/bsdtar.1 1.77.2.12 +21 -1 src/usr.bin/tar/bsdtar.c 1.28.2.4 +9 -1 src/usr.bin/tar/bsdtar.h 1.1.4.3 +1 -1 src/usr.bin/tar/config_freebsd.h 1.11.2.2 +23 -0 src/usr.bin/tar/matching.c 1.34.2.4 +8 -1 src/usr.bin/tar/read.c 1.4.2.1 +287 -0 src/usr.bin/tar/subst.c (new) 1.2.2.2 +1 -0 src/usr.bin/tar/test/Makefile 1.3.2.2 +6 -3 src/usr.bin/tar/test/main.c 1.3.2.2 +15 -16 src/usr.bin/tar/test/test.h 1.2.2.2 +108 -82 src/usr.bin/tar/test/test_copy.c 1.2.2.2 +19 -0 src/usr.bin/tar/test/test_option_T.c 1.1.2.1 +47 -0 src/usr.bin/tar/test/test_patterns.c (new) 1.17.2.2 +57 -5 src/usr.bin/tar/util.c 1.63.2.6 +88 -227 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:38:28 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:38:35 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100738.m7A7cSfB047958@repoman.freebsd.org> kientzle 2008-08-10 07:38:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181515 on 2008-08-10 07:38:25Z by kientzle MFC r179988: Include the filename when reporting file truncation. Revision Changes Path 1.63.2.7 +6 -4 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:41:14 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:41:26 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100741.m7A7fEUa048246@repoman.freebsd.org> kientzle 2008-08-10 07:41:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181516 on 2008-08-10 07:41:00Z by kientzle MFC r180277: Restore an unnecessary NULL check, for stylistic reasons. Revision Changes Path 1.63.2.8 +2 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:43:32 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:43:42 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808100743.m7A7hV6c048426@repoman.freebsd.org> kientzle 2008-08-10 07:43:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar write.c Log: SVN rev 181517 on 2008-08-10 07:43:19Z by kientzle MFC r180281: Clean up fd handling. Revision Changes Path 1.63.2.9 +14 -13 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:45:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:45:59 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.h write.c Message-ID: <200808100745.m7A7jlM2048658@repoman.freebsd.org> kientzle 2008-08-10 07:45:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.h write.c Log: SVN rev 181518 on 2008-08-10 07:45:38Z by kientzle MFC r180283, r180284: Allocate 64k copy buffer on heap, not stack. Refactor duplicated tar_mode_[cru] code down into archive_write. Revision Changes Path 1.28.2.5 +1 -0 src/usr.bin/tar/bsdtar.h 1.63.2.10 +35 -44 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sun Aug 10 07:47:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:48:01 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 Message-ID: <200808100747.m7A7lmKt048814@repoman.freebsd.org> kientzle 2008-08-10 07:47:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.1 Log: SVN rev 181520 on 2008-08-10 07:47:34Z by kientzle Actually MFC r180827 | simon | 2008-07-26 10:22:40 -0700 (Sat, 26 Jul 2008) - Fix mtree example so it works. - Document --version. Revision Changes Path 1.35.2.8 +7 -0 src/usr.bin/tar/bsdtar.1 From kientzle at FreeBSD.org Sun Aug 10 07:48:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 07:48:56 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.h Message-ID: <200808100748.m7A7mn3T048907@repoman.freebsd.org> kientzle 2008-08-10 07:48:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/tar bsdtar.h Log: SVN rev 181521 on 2008-08-10 07:48:41Z by kientzle MFC r181269: Colin's __dead2 markers Revision Changes Path 1.28.2.6 +1 -1 src/usr.bin/tar/bsdtar.h From rwatson at FreeBSD.org Sun Aug 10 09:38:04 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Aug 10 09:38:11 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080809114305.GV64458@server.vk2pj.dyndns.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809001256.GL64458@server.vk2pj.dyndns.org> <20080809103338.GN97161@deviant.kiev.zoral.com.ua> <20080809114305.GV64458@server.vk2pj.dyndns.org> Message-ID: On Sat, 9 Aug 2008, Peter Jeremy wrote: > On 2008-Aug-09 12:08:42 +0100, Robert Watson wrote: >> While /dev/io appeals to the UNIX "everything is a file" sensibility, I >> think the system calls we have for this on i386 are more conceptually >> coherent. > > IMO, /dev/io is inherently a kludge - it's really more a MAC issue than > anything like a file. Whilst you get a FD by opening /dev/io, you never use > that FD for anything other than passing to close(2). Instead, you are using > a magic side-effect that allows you to execute 'in' and 'out' instructions > whilst you hold that FD open. AFAIK, the sole reason for having it appear > as a file is that (in the absence of a MAC framework), the filesystem > provides the only mechanism for access control. IMHO, /dev/io should be > deprecated in favour of something like the MAC framework. (Note that > i386_{g,s}et_ioperm(2) are nor suitable in their current form because there > is no mechanism for the system administrator to define access controls). Well, the MAC Framework is basically an object/method control mechanism, and appropriate for use with different sorts of objects and methods (we have quite a few). It doesn't specify how the service is delivered, though. What I like about i386_{g,s}et_ioperm(2) is that they set qualities on a process (cleared on exeve(2), I hope), and if we have different priv(9) privileges for them, they can be separately controlled. Robert N M Watson Computer Laboratory University of Cambridge From imp at FreeBSD.org Sun Aug 10 09:47:21 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Aug 10 09:47:32 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/xl if_xl.c if_xlreg.h src/sys/modules/xl Makefile src/sys/pci if_xl.c if_xlreg.h Message-ID: <200808100947.m7A9lKCu072639@repoman.freebsd.org> imp 2008-08-10 09:45:52 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/xl Makefile Added files: sys/dev/xl if_xl.c if_xlreg.h Removed files: sys/pci if_xl.c if_xlreg.h Log: SVN rev 181522 on 2008-08-10 09:45:52Z by imp Move the xl driver form sys/pci to sys/dev/xl for consistency. Revision Changes Path 1.1322 +1 -1 src/sys/conf/files 1.1 +3366 -0 src/sys/dev/xl/if_xl.c (new) 1.1 +743 -0 src/sys/dev/xl/if_xlreg.h (new) 1.15 +1 -1 src/sys/modules/xl/Makefile 1.215 +0 -3369 src/sys/pci/if_xl.c (dead) 1.62 +0 -743 src/sys/pci/if_xlreg.h (dead) From imp at FreeBSD.org Sun Aug 10 09:55:25 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Aug 10 09:55:32 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb.c Message-ID: <200808100955.m7A9tPLc073348@repoman.freebsd.org> imp 2008-08-10 09:55:14 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: SVN rev 181523 on 2008-08-10 09:55:14Z by imp Read the config space of the child, not the bridge, to determine when the child is out of reset... Revision Changes Path 1.172 +5 -5 src/sys/dev/pccbb/pccbb.c From imp at FreeBSD.org Sun Aug 10 10:01:02 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Aug 10 10:01:13 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/sis if_sis.c if_sisreg.h src/sys/modules/sis Makefile src/sys/pci if_sis.c if_sisreg.h Message-ID: <200808101001.m7AA12BK073908@repoman.freebsd.org> imp 2008-08-10 10:00:14 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/sis Makefile Added files: sys/dev/sis if_sis.c if_sisreg.h Removed files: sys/pci if_sis.c if_sisreg.h Log: SVN rev 181524 on 2008-08-10 10:00:14Z by imp Move sis to sys/dev/sis for consistency. Revision Changes Path 1.1323 +1 -1 src/sys/conf/files 1.1 +2295 -0 src/sys/dev/sis/if_sis.c (new) 1.1 +507 -0 src/sys/dev/sis/if_sisreg.h (new) 1.12 +1 -1 src/sys/modules/sis/Makefile 1.153 +0 -2295 src/sys/pci/if_sis.c (dead) 1.39 +0 -507 src/sys/pci/if_sisreg.h (dead) From philip at FreeBSD.org Sun Aug 10 10:04:19 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Sun Aug 10 10:04:30 2008 Subject: cvs commit: CVSROOT access Message-ID: <200808101004.m7AA4IWg075249@repoman.freebsd.org> philip 2008-08-10 10:04:14 UTC FreeBSD src repository Modified files: . access Log: SVN rev 181525 on 2008-08-10 10:04:14Z by philip Take joe's commit bit for safekeeping, per his request. Approved by: core Revision Changes Path 1.892 +0 -1 CVSROOT/access From philip at FreeBSD.org Sun Aug 10 10:15:58 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Sun Aug 10 10:16:11 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200808101015.m7AAFvn1076337@repoman.freebsd.org> philip 2008-08-10 10:15:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys Makefile Log: SVN rev 181526 on 2008-08-10 10:15:20Z by philip MFC r181432: Add a "glimpse" target to the kernel Makefile. Revision Changes Path 1.45.2.3 +7 -0 src/sys/Makefile From peterjeremy at optushome.com.au Sun Aug 10 10:42:50 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sun Aug 10 10:43:01 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 In-Reply-To: <200802230101.m1N11ndD091703@repoman.freebsd.org> References: <200802230101.m1N11ndD091703@repoman.freebsd.org> Message-ID: <20080810104244.GO64458@server.vk2pj.dyndns.org> Hi Dag-Erling, On 2008-Feb-23 01:01:49 +0000, Dag-Erling Smorgrav wrote: > 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. ... > MFC after: 3 weeks Are you going to MFC this? I've back-ported the code and it works well. -- 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080810/d1dfd1d9/attachment.pgp From ache at FreeBSD.org Sun Aug 10 11:32:01 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sun Aug 10 11:32:12 2008 Subject: cvs commit: src/games/random random.c randomize_fd.c randomize_fd.h Message-ID: <200808101132.m7ABW0V3083545@repoman.freebsd.org> ache 2008-08-10 11:31:56 UTC FreeBSD src repository Modified files: games/random random.c randomize_fd.c randomize_fd.h Log: SVN rev 181527 on 2008-08-10 11:31:56Z by ache All cosmetic. 1) Rename RANDOM_MAX to RANDOM_MAX_PLUS1 to not confuse with random()'s max 2) Use calloc() instead of zeroing fields explicitly 3) "too many lines" -> "too many delimiters" for err() Revision Changes Path 1.23 +3 -3 src/games/random/random.c 1.6 +5 -8 src/games/random/randomize_fd.c 1.4 +1 -1 src/games/random/randomize_fd.h From kib at FreeBSD.org Sun Aug 10 12:16:24 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Aug 10 12:16:36 2008 Subject: cvs commit: src/sys/kern vfs_mount.c src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200808101216.m7ACGNgY088237@repoman.freebsd.org> kib 2008-08-10 12:15:36 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c sys/ufs/ffs ffs_vfsops.c Log: SVN rev 181528 on 2008-08-10 12:15:36Z by kib Revert r181345. Move the NULL pointer check to the vfs_deleteopt() function. Discussed with: rodrigc MFC after: 3 days Revision Changes Path 1.287 +2 -0 src/sys/kern/vfs_mount.c 1.345 +1 -2 src/sys/ufs/ffs/ffs_vfsops.c From kib at FreeBSD.org Sun Aug 10 13:18:19 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Aug 10 13:18:30 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c Message-ID: <200808101318.m7ADII28003629@repoman.freebsd.org> kib 2008-08-10 13:18:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern link_elf.c link_elf_obj.c Log: SVN rev 181529 on 2008-08-10 13:18:07Z by kib MFC r181235: Calling linker_load_dependencies() while holding the module' vnode lock may cause a LOR between kld_sx lock and vnode lock. linker_load_dependencies() drops kld_sx, and another thread may attempt to load the same kld. Revision Changes Path 1.93.2.3 +2 -0 src/sys/kern/link_elf.c 1.95.2.3 +2 -0 src/sys/kern/link_elf_obj.c From keramida at FreeBSD.org Sun Aug 10 15:11:37 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Sun Aug 10 15:11:48 2008 Subject: cvs commit: src/sys/dev/aha aha.c Message-ID: <200808101511.m7AFBaxk015018@repoman.freebsd.org> keramida 2008-08-10 15:10:39 UTC FreeBSD src repository Modified files: sys/dev/aha aha.c Log: SVN rev 181530 on 2008-08-10 15:10:39Z by keramida Minor typo fix, caught while skimming through the file. Revision Changes Path 1.65 +1 -1 src/sys/dev/aha/aha.c From rik at inse.ru Sun Aug 10 15:45:51 2008 From: rik at inse.ru (Roman Kurakin) Date: Sun Aug 10 15:45:57 2008 Subject: cvs commit: src/games/fortune/strfile strfile.c In-Reply-To: <20080808193109.GA70187@nagual.pp.ru> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808063208.GA51624@nagual.pp.ru> <86myjnerqr.fsf@ds4.des.no> <20080808193109.GA70187@nagual.pp.ru> Message-ID: <489F0A75.5010100@localhost.inse.ru> Hi, Does any one has any technical reason why this change is wrong, or makes smth worse? If this change makes smth better, even a bit, and does not ruin smth, why it does not have a chance for existence? IMHO. rik Andrey Chernov wrote: > On Fri, Aug 08, 2008 at 12:16:44PM +0200, Dag-Erling Sm??rgrav wrote: > >>> 1) PRNG is not crypto. >>> >> Stop spewing nonsense. >> > > Do you have enough education to determene what is nonsense and what is > not here? For example I have master degree in mathematics. > > >> PRNG and crypto are inseparable. >> > > Well separable areas. Various PRNGs can be used in or choosed by crypto. > But no crypto in PRNG itself. > > >> In addition, >> as you very well know, this PRNG is actually the keystream generator for >> the RC4 stream cipher. >> > > Yes, I know. And what? Crypto uses math intensively, not PRNGs only, > hashes etc. > > To confirm my words, OpenBSD uses ar4random() almost everywhere in the > tree, especially after realizing "modulo bias" bug, and use it as "plain" > PRNG even in simplest non-crypto areas. > > From antoine at FreeBSD.org Sun Aug 10 18:11:43 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sun Aug 10 18:12:21 2008 Subject: cvs commit: src/etc/periodic/security 550.ipfwlimit Message-ID: <200808101811.m7AIBgcx045794@repoman.freebsd.org> antoine 2008-08-10 18:11:24 UTC FreeBSD src repository Modified files: etc/periodic/security 550.ipfwlimit Log: SVN rev 181531 on 2008-08-10 18:11:24Z by antoine Improve periodic/security/550.ipfwlimit a bit: - don't run it if net.inet.ip.fw.verbose = 0 as it is pointless - handle rules without logging limit correctly [1] (those rules show up without logamount in "ipfw -a list") PR: conf/126060 [1] MFC after: 1 month Revision Changes Path 1.11 +3 -6 src/etc/periodic/security/550.ipfwlimit From kientzle at FreeBSD.org Sun Aug 10 18:21:58 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 18:22:10 2008 Subject: cvs commit: src/usr.bin/tar Makefile bsdtar.c config_freebsd.h Message-ID: <200808101821.m7AILwIb047117@repoman.freebsd.org> kientzle 2008-08-10 18:21:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar Makefile bsdtar.c config_freebsd.h Log: SVN rev 181532 on 2008-08-10 18:21:50Z by kientzle MFC r175051 | kientzle | 2008-01-01 16:27:14 -0800 (Tue, 01 Jan 2008) * prototypes for optarg/optind on platforms that don't already have them * Disambiguate version number macros * Remove unnecessary PACKAGE_NAME macro * Hook for forthcoming bsdtar test suite Revision Changes Path 1.24.2.7 +4 -1 src/usr.bin/tar/Makefile 1.63.2.15 +11 -1 src/usr.bin/tar/bsdtar.c 1.1.2.3 +2 -1 src/usr.bin/tar/config_freebsd.h From kientzle at FreeBSD.org Sun Aug 10 18:27:59 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 18:28:08 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808101827.m7AIRx2l047929@repoman.freebsd.org> kientzle 2008-08-10 18:27:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181533 on 2008-08-10 18:27:49Z by kientzle MFC r175558 | kientzle | 2008-01-21 23:23:44 -0800 (Mon, 21 Jan 2008) Always accept -l with the SUSv2 meaning. GNU tar finally adopted this usage a few years ago so there's no need to recognize the old GNU behavior nor to error out if we think someone is requesting it. Revision Changes Path 1.29.2.7 +8 -17 src/usr.bin/tar/bsdtar.1 1.63.2.16 +3 -13 src/usr.bin/tar/bsdtar.c From das at FreeBSD.org Sun Aug 10 19:03:01 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Aug 10 19:03:32 2008 Subject: cvs commit: src/contrib/gcc/config/i386 freebsd.h Message-ID: <200808101903.m7AJ308H050833@repoman.freebsd.org> das 2008-08-10 19:02:57 UTC FreeBSD src repository Modified files: contrib/gcc/config/i386 freebsd.h Log: SVN rev 181534 on 2008-08-10 19:02:57Z by das Make -mfancy-math-387 the default on FreeBSD, as it is on most other operating systems. Previously, gcc would inhibit the generation of fsqrt, fsin, and several other floating point instructions, for the benefit of the old in-kernel math emulator, which was removed over 5 years ago. Revision Changes Path 1.76 +0 -5 src/contrib/gcc/config/i386/freebsd.h From antoine at FreeBSD.org Sun Aug 10 19:10:50 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sun Aug 10 19:11:01 2008 Subject: cvs commit: src/lib/libexpat expat_config.h Message-ID: <200808101910.m7AJAmdL052595@repoman.freebsd.org> antoine 2008-08-10 19:10:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libexpat expat_config.h Log: SVN rev 181535 on 2008-08-10 19:10:40Z by antoine MFC r168998 (by phk) to stable/6: Get endianess right. Why would an XML library need to know about endianess anyway ?? PR: kern/98618 Revision Changes Path 1.1.14.1 +11 -1 src/lib/libexpat/expat_config.h From kientzle at FreeBSD.org Sun Aug 10 19:33:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 19:33:47 2008 Subject: cvs commit: src/usr.bin/tar bsdtar_platform.h Message-ID: <200808101933.m7AJXZbM055747@repoman.freebsd.org> kientzle 2008-08-10 19:33:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar_platform.h Log: SVN rev 181537 on 2008-08-10 19:33:23Z by kientzle MFC r175049 | kientzle | 2008-01-01 16:23:00 -0800 (Tue, 01 Jan 2008) Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms. Revision Changes Path 1.15.2.12 +2 -1 src/usr.bin/tar/bsdtar_platform.h From das at FreeBSD.org Sun Aug 10 19:33:53 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Aug 10 19:34:04 2008 Subject: cvs commit: src/contrib/gcc common.opt Message-ID: <200808101933.m7AJXqYN055792@repoman.freebsd.org> das 2008-08-10 19:33:35 UTC FreeBSD src repository Modified files: contrib/gcc common.opt Log: SVN rev 181538 on 2008-08-10 19:33:35Z by das Make -fno-math-errno the default. Our libm doesn't support the SysV mistake of setting errno, and never has. This will need to be fixed upstream in a more generic way, but the changes are somewhat more involved. Revision Changes Path 1.2 +545 -195 src/contrib/gcc/common.opt From kientzle at FreeBSD.org Sun Aug 10 19:35:24 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 19:35:35 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 Message-ID: <200808101935.m7AJZNix055997@repoman.freebsd.org> kientzle 2008-08-10 19:35:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 Log: SVN rev 181539 on 2008-08-10 19:35:08Z by kientzle MFC r175050: Note the release data of Seventh Edition Unix, which was the first public appearance of a 'tar' command. Revision Changes Path 1.29.2.8 +1 -1 src/usr.bin/tar/bsdtar.1 From das at FreeBSD.org Sun Aug 10 19:35:24 2008 From: das at FreeBSD.org (David Schultz) Date: Sun Aug 10 19:35:46 2008 Subject: cvs commit: src/contrib/gcc/doc invoke.texi Message-ID: <200808101935.m7AJZOVt056026@repoman.freebsd.org> das 2008-08-10 19:35:09 UTC FreeBSD src repository Modified files: contrib/gcc/doc invoke.texi Log: SVN rev 181540 on 2008-08-10 19:35:09Z by das Doc updates for changes in the default values of -ffancy-math-387 and -mmath-errno. Revision Changes Path 1.2 +9310 -5616 src/contrib/gcc/doc/invoke.texi From kientzle at FreeBSD.org Sun Aug 10 21:14:41 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:14:48 2008 Subject: cvs commit: src/lib/libarchive/test test_tar_large.c Message-ID: <200808102114.m7ALEfWW076587@repoman.freebsd.org> kientzle 2008-08-10 21:14:26 UTC FreeBSD src repository Modified files: lib/libarchive/test test_tar_large.c Log: SVN rev 181542 on 2008-08-10 21:14:26Z by kientzle Correct test_tar_large so it works correctly with the libarchive 1.x API. Revision Changes Path 1.3 +2 -2 src/lib/libarchive/test/test_tar_large.c From kientzle at FreeBSD.org Sun Aug 10 21:19:19 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:19:41 2008 Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_entry_strmode.c archive_platform.h archive_read_support_compression_none.c archive_read_support_format_all.c archive_read_support_format_ar.c ... Message-ID: <200808102119.m7ALJJkI077541@repoman.freebsd.org> kientzle 2008-08-10 21:18:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.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_none.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_ustar.c filter_fork.c libarchive-formats.5 libarchive_internals.3 Added files: (Branch: RELENG_6) lib/libarchive archive_entry_link_resolver.c archive_entry_strmode.c archive_read_support_format_mtree.c cpio.5 lib/libarchive/test Makefile README main.c read_open_memory.c test.h test_acl_basic.c test_acl_pax.c test_archive_api_feature.c test_bad_fd.c test_compat_gtar.c test_compat_gtar_1.tgz.uu test_compat_zip.c test_compat_zip_1.zip.uu test_empty_write.c test_entry.c test_entry_strmode.c test_read_compress_program.c test_read_data_large.c test_read_extract.c test_read_format_ar.c test_read_format_cpio_bin.c test_read_format_cpio_bin_Z.c test_read_format_cpio_bin_bz2.c test_read_format_cpio_bin_gz.c test_read_format_cpio_odc.c test_read_format_cpio_svr4_gzip.c test_read_format_cpio_svr4c_Z.c test_read_format_empty.c test_read_format_gtar_gz.c test_read_format_gtar_sparse.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_iso_gz.c test_read_format_isorr_bz2.c test_read_format_mtree.c test_read_format_pax_bz2.c test_read_format_tar.c test_read_format_tbz.c test_read_format_tgz.c test_read_format_tz.c test_read_format_zip.c test_read_large.c test_read_pax_truncated.c test_read_position.c test_read_truncated.c test_tar_filenames.c test_tar_large.c test_write_compress_program.c test_write_disk.c test_write_disk_perms.c test_write_disk_secure.c test_write_format_ar.c test_write_format_cpio.c test_write_format_cpio_empty.c test_write_format_cpio_newc.c test_write_format_cpio_odc.c test_write_format_shar_empty.c test_write_format_tar.c test_write_format_tar_empty.c test_write_open_memory.c Log: SVN rev 181543 on 2008-08-10 21:18:59Z by kientzle MFC libarchive 2.4.10, including test harness. Revision Changes Path 1.36.2.11 +11 -15 src/lib/libarchive/Makefile 1.23.2.8 +25 -33 src/lib/libarchive/archive.h.in 1.29.2.5 +26 -5 src/lib/libarchive/archive_entry.c 1.16.2.5 +30 -5 src/lib/libarchive/archive_entry.h 1.3.2.1 +222 -0 src/lib/libarchive/archive_entry_link_resolver.c (new) 1.1.2.2 +2 -0 src/lib/libarchive/archive_entry_private.h 1.4.2.1 +83 -0 src/lib/libarchive/archive_entry_strmode.c (new) 1.16.2.4 +3 -2 src/lib/libarchive/archive_platform.h 1.6.2.8 +55 -50 src/lib/libarchive/archive_read_support_compression_none.c 1.6.2.4 +1 -0 src/lib/libarchive/archive_read_support_format_all.c 1.6.2.2 +1 -7 src/lib/libarchive/archive_read_support_format_ar.c 1.13.2.6 +175 -7 src/lib/libarchive/archive_read_support_format_cpio.c 1.8.2.4 +17 -11 src/lib/libarchive/archive_read_support_format_iso9660.c 1.9.2.1 +705 -0 src/lib/libarchive/archive_read_support_format_mtree.c (new) 1.32.2.10 +38 -37 src/lib/libarchive/archive_read_support_format_tar.c 1.5.2.7 +13 -12 src/lib/libarchive/archive_read_support_format_zip.c 1.9.2.4 +1 -1 src/lib/libarchive/archive_util.c 1.12.2.5 +6 -0 src/lib/libarchive/archive_write_disk.c 1.8.2.5 +30 -13 src/lib/libarchive/archive_write_set_compression_none.c 1.5.2.5 +1 -0 src/lib/libarchive/archive_write_set_format_cpio.c 1.27.2.4 +8 -5 src/lib/libarchive/archive_write_set_format_pax.c 1.12.2.4 +8 -5 src/lib/libarchive/archive_write_set_format_ustar.c 1.2.2.1 +325 -0 src/lib/libarchive/cpio.5 (new) 1.1.2.2 +2 -0 src/lib/libarchive/filter_fork.c 1.7.2.4 +23 -9 src/lib/libarchive/libarchive-formats.5 1.1.2.2 +6 -16 src/lib/libarchive/libarchive_internals.3 1.23.2.1 +129 -0 src/lib/libarchive/test/Makefile (new) 1.3.2.1 +63 -0 src/lib/libarchive/test/README (new) 1.13.2.1 +713 -0 src/lib/libarchive/test/main.c (new) 1.2.2.1 +148 -0 src/lib/libarchive/test/read_open_memory.c (new) 1.10.2.1 +163 -0 src/lib/libarchive/test/test.h (new) 1.4.6.1 +230 -0 src/lib/libarchive/test/test_acl_basic.c (new) 1.5.2.1 +521 -0 src/lib/libarchive/test/test_acl_pax.c (new) 1.5.2.1 +51 -0 src/lib/libarchive/test/test_archive_api_feature.c (new) 1.1.6.1 +41 -0 src/lib/libarchive/test/test_bad_fd.c (new) 1.2.2.1 +110 -0 src/lib/libarchive/test/test_compat_gtar.c (new) 1.2.2.1 +9 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu (new) 1.2.2.1 +69 -0 src/lib/libarchive/test/test_compat_zip.c (new) 1.2.2.1 +14 -0 src/lib/libarchive/test/test_compat_zip_1.zip.uu (new) 1.2.2.1 +118 -0 src/lib/libarchive/test/test_empty_write.c (new) 1.6.2.1 +675 -0 src/lib/libarchive/test/test_entry.c (new) 1.1.4.1 +48 -0 src/lib/libarchive/test/test_entry_strmode.c (new) 1.2.6.1 +59 -0 src/lib/libarchive/test/test_read_compress_program.c (new) 1.3.6.1 +117 -0 src/lib/libarchive/test/test_read_data_large.c (new) 1.4.2.1 +184 -0 src/lib/libarchive/test/test_read_extract.c (new) 1.5.2.1 +121 -0 src/lib/libarchive/test/test_read_format_ar.c (new) 1.1.6.1 +64 -0 src/lib/libarchive/test/test_read_format_cpio_bin.c (new) 1.1.6.1 +53 -0 src/lib/libarchive/test/test_read_format_cpio_bin_Z.c (new) 1.1.6.1 +54 -0 src/lib/libarchive/test/test_read_format_cpio_bin_bz2.c (new) 1.1.6.1 +53 -0 src/lib/libarchive/test/test_read_format_cpio_bin_gz.c (new) 1.2.2.1 +68 -0 src/lib/libarchive/test/test_read_format_cpio_odc.c (new) 1.1.6.1 +54 -0 src/lib/libarchive/test/test_read_format_cpio_svr4_gzip.c (new) 1.1.6.1 +56 -0 src/lib/libarchive/test/test_read_format_cpio_svr4c_Z.c (new) 1.1.6.1 +49 -0 src/lib/libarchive/test/test_read_format_empty.c (new) 1.1.6.1 +54 -0 src/lib/libarchive/test/test_read_format_gtar_gz.c (new) 1.8.2.1 +322 -0 src/lib/libarchive/test/test_read_format_gtar_sparse.c (new) 1.2.2.1 +26 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu (new) 1.2.2.1 +26 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu (new) 1.2.2.1 +29 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu (new) 1.2.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu (new) 1.2.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu (new) 1.2.2.1 +1369 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu (new) 1.1.6.1 +73 -0 src/lib/libarchive/test/test_read_format_iso_gz.c (new) 1.4.2.1 +183 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.c (new) 1.2.2.1 +113 -0 src/lib/libarchive/test/test_read_format_mtree.c (new) 1.1.6.1 +62 -0 src/lib/libarchive/test/test_read_format_pax_bz2.c (new) 1.3.2.1 +432 -0 src/lib/libarchive/test/test_read_format_tar.c (new) 1.1.6.1 +55 -0 src/lib/libarchive/test/test_read_format_tbz.c (new) 1.1.6.1 +54 -0 src/lib/libarchive/test/test_read_format_tgz.c (new) 1.1.6.1 +56 -0 src/lib/libarchive/test/test_read_format_tz.c (new) 1.6.2.1 +88 -0 src/lib/libarchive/test/test_read_format_zip.c (new) 1.3.6.1 +94 -0 src/lib/libarchive/test/test_read_large.c (new) 1.2.2.1 +281 -0 src/lib/libarchive/test/test_read_pax_truncated.c (new) 1.3.6.1 +75 -0 src/lib/libarchive/test/test_read_position.c (new) 1.3.6.1 +149 -0 src/lib/libarchive/test/test_read_truncated.c (new) 1.9.2.1 +176 -0 src/lib/libarchive/test/test_tar_filenames.c (new) 1.3.2.1 +309 -0 src/lib/libarchive/test/test_tar_large.c (new) 1.2.6.1 +101 -0 src/lib/libarchive/test/test_write_compress_program.c (new) 1.9.2.1 +175 -0 src/lib/libarchive/test/test_write_disk.c (new) 1.9.2.1 +455 -0 src/lib/libarchive/test/test_write_disk_perms.c (new) 1.4.2.1 +147 -0 src/lib/libarchive/test/test_write_disk_secure.c (new) 1.7.2.1 +212 -0 src/lib/libarchive/test/test_write_format_ar.c (new) 1.4.2.1 +203 -0 src/lib/libarchive/test/test_write_format_cpio.c (new) 1.2.6.1 +75 -0 src/lib/libarchive/test/test_write_format_cpio_empty.c (new) 1.2.4.1 +172 -0 src/lib/libarchive/test/test_write_format_cpio_newc.c (new) 1.1.4.1 +224 -0 src/lib/libarchive/test/test_write_format_cpio_odc.c (new) 1.2.6.1 +58 -0 src/lib/libarchive/test/test_write_format_shar_empty.c (new) 1.3.6.1 +114 -0 src/lib/libarchive/test/test_write_format_tar.c (new) 1.3.6.1 +92 -0 src/lib/libarchive/test/test_write_format_tar_empty.c (new) 1.3.6.1 +76 -0 src/lib/libarchive/test/test_write_open_memory.c (new) From kientzle at FreeBSD.org Sun Aug 10 21:26:20 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:26:31 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200808102126.m7ALQKe8078181@repoman.freebsd.org> kientzle 2008-08-10 21:26:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c Log: SVN rev 181544 on 2008-08-10 21:26:02Z by kientzle Replace calls to a->decompressor->read_ahead with __archive_read_ahead(), which saves a few lines of code. Revision Changes Path 1.5.2.8 +10 -25 src/lib/libarchive/archive_read_support_format_zip.c From minimarmot at gmail.com Sun Aug 10 21:26:38 2008 From: minimarmot at gmail.com (Ben Kaduk) Date: Sun Aug 10 21:26:45 2008 Subject: cvs commit: src/contrib/gcc common.opt In-Reply-To: <200808101933.m7AJXqYN055792@repoman.freebsd.org> References: <200808101933.m7AJXqYN055792@repoman.freebsd.org> Message-ID: <47d0403c0808101357i6f5efee4j4d56b8c2713ae3d7@mail.gmail.com> On Sun, Aug 10, 2008 at 3:33 PM, David Schultz wrote: > das 2008-08-10 19:33:35 UTC > > FreeBSD src repository > > Modified files: > contrib/gcc common.opt > Log: > SVN rev 181538 on 2008-08-10 19:33:35Z by das > > Make -fno-math-errno the default. Our libm doesn't support the SysV > mistake of setting errno, and never has. This will need to be fixed > upstream in a more generic way, but the changes are somewhat more > involved. > > Revision Changes Path > 1.2 +545 -195 src/contrib/gcc/common.opt ^^^^^^^^^^ It seems to do a bit more than just that -- were the other changes intended as well? -Ben Kaduk From kientzle at FreeBSD.org Sun Aug 10 21:29:21 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:29:27 2008 Subject: cvs commit: src/lib/libarchive archive_endian.h archive_read_support_format_zip.c Message-ID: <200808102129.m7ALTKwS078418@repoman.freebsd.org> kientzle 2008-08-10 21:29:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c Added files: (Branch: RELENG_6) lib/libarchive archive_endian.h Log: SVN rev 181545 on 2008-08-10 21:29:06Z by kientzle MFC: Rename 'i4' to 'archive_le32dec', etc. Revision Changes Path 1.3.2.1 +142 -0 src/lib/libarchive/archive_endian.h (new) 1.5.2.9 +24 -57 src/lib/libarchive/archive_read_support_format_zip.c From kientzle at FreeBSD.org Sun Aug 10 21:31:23 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:31:28 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c src/lib/libarchive/test test_read_format_tar.c Message-ID: <200808102131.m7ALVLrU078743@repoman.freebsd.org> kientzle 2008-08-10 21:31:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c lib/libarchive/test test_read_format_tar.c Log: SVN rev 181546 on 2008-08-10 21:31:15Z by kientzle MFC r175307: Don't worry about multiple initializations of the 'tar' reader, recognize empty tar archives as such, update test. Revision Changes Path 1.32.2.11 +12 -23 src/lib/libarchive/archive_read_support_format_tar.c 1.3.2.2 +47 -0 src/lib/libarchive/test/test_read_format_tar.c From thompsa at FreeBSD.org Sun Aug 10 21:31:53 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun Aug 10 21:32:04 2008 Subject: cvs commit: src/sys/libkern/arm ffs.S Message-ID: <200808102131.m7ALVqjS078809@repoman.freebsd.org> thompsa 2008-08-10 21:31:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/libkern/arm ffs.S Log: SVN rev 181547 on 2008-08-10 21:31:39Z by thompsa MFC r172615 (cognet) Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead. Revision Changes Path 1.4.10.1 +1 -1 src/sys/libkern/arm/ffs.S From kientzle at FreeBSD.org Sun Aug 10 21:32:38 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:32:49 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_cpio.c Message-ID: <200808102132.m7ALWcqK078894@repoman.freebsd.org> kientzle 2008-08-10 21:32:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_cpio.c Log: SVN rev 181548 on 2008-08-10 21:32:26Z by kientzle MFC r175343: Recognize uppercase hex digits in cpio archives. Revision Changes Path 1.13.2.7 +5 -3 src/lib/libarchive/archive_read_support_format_cpio.c From kientzle at FreeBSD.org Sun Aug 10 21:33:54 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:34:00 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200808102133.m7ALXsoA079054@repoman.freebsd.org> kientzle 2008-08-10 21:33:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c Log: SVN rev 181549 on 2008-08-10 21:33:38Z by kientzle MFC r175358: Support single-file multifile Zip archives. Revision Changes Path 1.5.2.10 +19 -1 src/lib/libarchive/archive_read_support_format_zip.c From kientzle at FreeBSD.org Sun Aug 10 21:35:41 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:35:52 2008 Subject: cvs commit: src/lib/libarchive archive_read_extract.c Message-ID: <200808102135.m7ALZed9079282@repoman.freebsd.org> kientzle 2008-08-10 21:35:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_extract.c Log: SVN rev 181550 on 2008-08-10 21:35:28Z by kientzle MFC r175422: Reconnect the progress callback that got disconnected in the 2.0 refactoring of the write-to-disk logic. This isn't used by bsdtar, but is used by other libarchive-based applications. Revision Changes Path 1.41.2.7 +8 -2 src/lib/libarchive/archive_read_extract.c From kientzle at FreeBSD.org Sun Aug 10 21:45:57 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:46:09 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c archive_write_disk.c src/lib/libarchive/test Makefile test_compat_tar_hardlink.c test_compat_tar_hardlink_1.tar.uu test_write_disk.c test_write_disk_hardlink.c Message-ID: <200808102145.m7ALjv4c080244@repoman.freebsd.org> kientzle 2008-08-10 21:45:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c archive_write_disk.c lib/libarchive/test Makefile test_write_disk.c Added files: (Branch: RELENG_6) lib/libarchive/test test_compat_tar_hardlink.c test_compat_tar_hardlink_1.tar.uu test_write_disk_hardlink.c Log: SVN rev 181551 on 2008-08-10 21:45:52Z by kientzle MFC r175423,175426-175428,175842-175843: Various improvements to hardlink restore handling. Revision Changes Path 1.32.2.12 +36 -20 src/lib/libarchive/archive_read_support_format_tar.c 1.12.2.6 +32 -6 src/lib/libarchive/archive_write_disk.c 1.23.2.2 +3 -0 src/lib/libarchive/test/Makefile 1.2.2.1 +104 -0 src/lib/libarchive/test/test_compat_tar_hardlink.c (new) 1.1.4.1 +39 -0 src/lib/libarchive/test/test_compat_tar_hardlink_1.tar.uu (new) 1.9.2.2 +2 -0 src/lib/libarchive/test/test_write_disk.c 1.2.2.1 +165 -0 src/lib/libarchive/test/test_write_disk_hardlink.c (new) From kientzle at FreeBSD.org Sun Aug 10 21:47:25 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:47:36 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_cpio_newc.c src/lib/libarchive/test test_write_format_cpio_newc.c Message-ID: <200808102147.m7ALlPQl080386@repoman.freebsd.org> kientzle 2008-08-10 21:47:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_format_cpio_newc.c lib/libarchive/test test_write_format_cpio_newc.c Log: SVN rev 181552 on 2008-08-10 21:47:02Z by kientzle MFC r175589: Fix symlink writing in newc format. Revision Changes Path 1.1.2.3 +7 -1 src/lib/libarchive/archive_write_set_format_cpio_newc.c 1.2.4.2 +42 -3 src/lib/libarchive/test/test_write_format_cpio_newc.c From kientzle at FreeBSD.org Sun Aug 10 21:51:56 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:52:07 2008 Subject: cvs commit: src/lib/libarchive Makefile src/lib/libarchive/test test_write_disk.c Message-ID: <200808102151.m7ALptWW080808@repoman.freebsd.org> kientzle 2008-08-10 21:51:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile lib/libarchive/test test_write_disk.c Log: SVN rev 181553 on 2008-08-10 21:51:42Z by kientzle MFC: comment update and version # tweak. Revision Changes Path 1.36.2.12 +1 -1 src/lib/libarchive/Makefile 1.9.2.3 +21 -0 src/lib/libarchive/test/test_write_disk.c From kris at FreeBSD.org Sun Aug 10 21:55:34 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Aug 10 21:55:41 2008 Subject: cvs commit: src/contrib/gcc common.opt In-Reply-To: <47d0403c0808101357i6f5efee4j4d56b8c2713ae3d7@mail.gmail.com> References: <200808101933.m7AJXqYN055792@repoman.freebsd.org> <47d0403c0808101357i6f5efee4j4d56b8c2713ae3d7@mail.gmail.com> Message-ID: <489F63D1.50509@FreeBSD.org> Ben Kaduk wrote: > On Sun, Aug 10, 2008 at 3:33 PM, David Schultz wrote: >> das 2008-08-10 19:33:35 UTC >> >> FreeBSD src repository >> >> Modified files: >> contrib/gcc common.opt >> Log: >> SVN rev 181538 on 2008-08-10 19:33:35Z by das >> >> Make -fno-math-errno the default. Our libm doesn't support the SysV >> mistake of setting errno, and never has. This will need to be fixed >> upstream in a more generic way, but the changes are somewhat more >> involved. >> >> Revision Changes Path >> 1.2 +545 -195 src/contrib/gcc/common.opt > > ^^^^^^^^^^ > It seems to do a bit more than just that -- were the other changes > intended as well? Looks like the standard effect of taking a file off the vendor branch. Kris From kientzle at FreeBSD.org Sun Aug 10 21:57:26 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 10 21:58:13 2008 Subject: cvs commit: src/lib/libarchive archive_entry_strmode.c archive_read_open_filename.c archive_read_support_compression_bzip2.c archive_read_support_compression_gzip.c archive_read_support_format_mtree.c archive_write_disk.c archive_write_open_filename.c config_freebsd.h Message-ID: <200808102157.m7ALvQT8081369@repoman.freebsd.org> kientzle 2008-08-10 21:57:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry_strmode.c archive_read_open_filename.c archive_read_support_compression_bzip2.c archive_read_support_compression_gzip.c archive_read_support_format_mtree.c archive_write_disk.c archive_write_open_filename.c config_freebsd.h Log: SVN rev 181554 on 2008-08-10 21:57:23Z by kientzle MFC r176396-176400,176405: various portability fixes: Don't use non-portable symbolic constants when portable numbers will do, use O_BINARY on platforms that define it, accomodate systems that lack device nodes. Revision Changes Path 1.4.2.2 +3 -3 src/lib/libarchive/archive_entry_strmode.c 1.18.2.4 +5 -1 src/lib/libarchive/archive_read_open_filename.c 1.7.2.6 +1 -1 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.9.2.4 +1 -1 src/lib/libarchive/archive_read_support_compression_gzip.c 1.9.2.2 +8 -2 src/lib/libarchive/archive_read_support_format_mtree.c 1.12.2.7 +66 -23 src/lib/libarchive/archive_write_disk.c 1.19.2.2 +5 -1 src/lib/libarchive/archive_write_open_filename.c 1.2.2.3 +7 -0 src/lib/libarchive/config_freebsd.h From kientzle at FreeBSD.org Mon Aug 11 01:19:45 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 01:19:52 2008 Subject: cvs commit: src/lib/libarchive/test test_compat_tar_hardlink.c test_pax_filename_encoding.c test_ustar_filenames.c test_write_disk_hardlink.c test_write_format_tar_ustar.c Message-ID: <200808110119.m7B1Jj2k013048@repoman.freebsd.org> kientzle 2008-08-11 01:19:36 UTC FreeBSD src repository Modified files: lib/libarchive/test test_compat_tar_hardlink.c test_pax_filename_encoding.c test_ustar_filenames.c test_write_disk_hardlink.c test_write_format_tar_ustar.c Log: SVN rev 181555 on 2008-08-11 01:19:36Z by kientzle Fix up test suite so it works again with the libarchive 1.x API. In particular, FreeBSD 6 still uses the libarchive 1.x API and this correction will permit MFCing new libarchive features back to FreeBSD 6. Revision Changes Path 1.3 +4 -0 src/lib/libarchive/test/test_compat_tar_hardlink.c 1.3 +17 -1 src/lib/libarchive/test/test_pax_filename_encoding.c 1.2 +10 -2 src/lib/libarchive/test/test_ustar_filenames.c 1.3 +5 -1 src/lib/libarchive/test/test_write_disk_hardlink.c 1.2 +4 -0 src/lib/libarchive/test/test_write_format_tar_ustar.c From yongari at FreeBSD.org Mon Aug 11 01:45:17 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 11 01:45:23 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808110145.m7B1jG06015338@repoman.freebsd.org> yongari 2008-08-11 01:45:05 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: SVN rev 181556 on 2008-08-11 01:45:05Z by yongari Partial back out r180952. pci_get_vendor() and pci_get_device() don't do configuration space accessses so cahcing them makes no sense. Pointed out by: jhb, imp, des Revision Changes Path 1.49 +2 -4 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Mon Aug 11 01:50:03 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Aug 11 01:50:09 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808110150.m7B1o2Ut016157@repoman.freebsd.org> yongari 2008-08-11 01:49:46 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: SVN rev 181557 on 2008-08-11 01:49:46Z by yongari Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. Revision Changes Path 1.50 +1 -1 src/sys/dev/bfe/if_bfe.c From kientzle at FreeBSD.org Mon Aug 11 01:50:19 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 01:50:30 2008 Subject: cvs commit: src/lib/libarchive/test Makefile main.c test.h test_compat_gtar.c test_compat_tar_hardlink.c test_compat_zip.c test_read_format_gtar_sparse.c Message-ID: <200808110150.m7B1oIuZ016269@repoman.freebsd.org> kientzle 2008-08-11 01:50:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test Makefile main.c test.h test_compat_gtar.c test_compat_tar_hardlink.c test_compat_zip.c test_read_format_gtar_sparse.c Log: SVN rev 181558 on 2008-08-11 01:50:00Z by kientzle MFC r176401, r177084: Test harness improvements. Revision Changes Path 1.23.2.3 +2 -18 src/lib/libarchive/test/Makefile 1.13.2.2 +215 -46 src/lib/libarchive/test/main.c 1.10.2.2 +15 -14 src/lib/libarchive/test/test.h 1.2.2.2 +2 -2 src/lib/libarchive/test/test_compat_gtar.c 1.2.2.2 +2 -2 src/lib/libarchive/test/test_compat_tar_hardlink.c 1.2.2.2 +2 -2 src/lib/libarchive/test/test_compat_zip.c 1.8.2.2 +3 -4 src/lib/libarchive/test/test_read_format_gtar_sparse.c From kientzle at FreeBSD.org Mon Aug 11 01:51:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 01:51:56 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_ar.c Message-ID: <200808110151.m7B1pn4D016422@repoman.freebsd.org> kientzle 2008-08-11 01:51:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_ar.c Log: SVN rev 181559 on 2008-08-11 01:51:41Z by kientzle MFC r176402: Minor code cleanup Revision Changes Path 1.6.2.3 +2 -4 src/lib/libarchive/archive_read_support_format_ar.c From kientzle at FreeBSD.org Mon Aug 11 01:57:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 01:57:58 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c Message-ID: <200808110157.m7B1voHZ016888@repoman.freebsd.org> kientzle 2008-08-11 01:57:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_iso9660.c Log: SVN rev 181560 on 2008-08-11 01:57:42Z by kientzle MFC ISO9660 improvements from r176403 and r179321: * More portable substitute for platforms that lack timegm() * detect buffer allocation overflow * don't be confused by zero-length files (such as symlinks or device nodes) with garbage offsets; this seems to fix most instances of "Ignoring out-of-order file" Revision Changes Path 1.8.2.5 +19 -36 src/lib/libarchive/archive_read_support_format_iso9660.c From kientzle at FreeBSD.org Mon Aug 11 02:00:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:01:09 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_compression_gzip.c Message-ID: <200808110200.m7B20pjP017174@repoman.freebsd.org> kientzle 2008-08-11 02:00:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_compression_gzip.c Log: SVN rev 181561 on 2008-08-11 02:00:37Z by kientzle MFC r176432: sanity-check the compression buffer size for gzip. This should be overhauled to allow the compression buffer to be larger than the output block size, but the check is better than nothing. Revision Changes Path 1.10.2.4 +19 -0 src/lib/libarchive/archive_write_set_compression_gzip.c From kientzle at FreeBSD.org Mon Aug 11 02:02:08 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:05:19 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200808110202.m7B227Eh017295@repoman.freebsd.org> kientzle 2008-08-11 02:01:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c Log: SVN rev 181562 on 2008-08-11 02:01:57Z by kientzle MFC r176619: Optimize skipping of zip bodies. This greatly accelerates "tar -tf" on large Zip archives. Revision Changes Path 1.5.2.11 +5 -14 src/lib/libarchive/archive_read_support_format_zip.c From kientzle at FreeBSD.org Mon Aug 11 02:05:38 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:05:44 2008 Subject: cvs commit: src/lib/libarchive archive_entry.3 archive_read.3 archive_util.3 archive_write.3 archive_write_disk.3 archive_write_disk.c Message-ID: <200808110205.m7B25ckW018737@repoman.freebsd.org> kientzle 2008-08-11 02:05:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.3 archive_read.3 archive_util.3 archive_write.3 archive_write_disk.3 archive_write_disk.c Log: SVN rev 181563 on 2008-08-11 02:05:22Z by kientzle MFC r176620, r177029, r177030: Spelling and formatting corrections. Revision Changes Path 1.9.8.6 +45 -7 src/lib/libarchive/archive_entry.3 1.20.2.7 +71 -13 src/lib/libarchive/archive_read.3 1.3.2.4 +6 -1 src/lib/libarchive/archive_util.3 1.12.2.5 +36 -6 src/lib/libarchive/archive_write.3 1.1.2.2 +16 -3 src/lib/libarchive/archive_write_disk.3 1.12.2.8 +1 -1 src/lib/libarchive/archive_write_disk.c From kientzle at FreeBSD.org Mon Aug 11 02:08:32 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:08:44 2008 Subject: cvs commit: src/lib/libarchive archive_entry.c src/lib/libarchive/test test_entry.c Message-ID: <200808110208.m7B28V09018962@repoman.freebsd.org> kientzle 2008-08-11 02:08:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.c lib/libarchive/test test_entry.c Log: SVN rev 181564 on 2008-08-11 02:08:03Z by kientzle MFC r177081, r177082: Fix return values when you hit the end of an ACL or xattr list. Revision Changes Path 1.29.2.6 +6 -1 src/lib/libarchive/archive_entry.c 1.6.2.2 +22 -0 src/lib/libarchive/test/test_entry.c From kientzle at FreeBSD.org Mon Aug 11 02:09:17 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:09:27 2008 Subject: cvs commit: src/lib/libarchive archive_read.c archive_read_private.h Message-ID: <200808110209.m7B29H3X019041@repoman.freebsd.org> kientzle 2008-08-11 02:09:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read.c archive_read_private.h Log: SVN rev 181565 on 2008-08-11 02:09:08Z by kientzle MFC r177082: remove unused fields from the private archive_read structure. Revision Changes Path 1.15.2.9 +0 -15 src/lib/libarchive/archive_read.c 1.3.2.3 +0 -37 src/lib/libarchive/archive_read_private.h From kientzle at FreeBSD.org Mon Aug 11 02:17:48 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:18:00 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200808110217.m7B2HmOE019775@repoman.freebsd.org> kientzle 2008-08-11 02:17:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c Log: SVN rev 181567 on 2008-08-11 02:17:32Z by kientzle MFC r177182: Use the correct numeric constant instead of the wrong symbolic one. Revision Changes Path 1.32.2.13 +1 -1 src/lib/libarchive/archive_read_support_format_tar.c From kientzle at FreeBSD.org Mon Aug 11 02:20:35 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:20:41 2008 Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_write_set_compression_compress.c src/lib/libarchive/test Makefile test_write_compress.c Message-ID: <200808110220.m7B2KYRl020077@repoman.freebsd.org> kientzle 2008-08-11 02:20:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile archive.h.in lib/libarchive/test Makefile Added files: (Branch: RELENG_6) lib/libarchive archive_write_set_compression_compress.c lib/libarchive/test test_write_compress.c Log: SVN rev 181568 on 2008-08-11 02:20:24Z by kientzle MFC r177183: compress write support, thanks to Joerg Sonnenberger. Revision Changes Path 1.36.2.13 +1 -0 src/lib/libarchive/Makefile 1.23.2.9 +1 -0 src/lib/libarchive/archive.h.in 1.1.4.1 +494 -0 src/lib/libarchive/archive_write_set_compression_compress.c (new) 1.23.2.4 +1 -0 src/lib/libarchive/test/Makefile 1.2.4.1 +99 -0 src/lib/libarchive/test/test_write_compress.c (new) From kientzle at FreeBSD.org Mon Aug 11 02:31:21 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:31:27 2008 Subject: cvs commit: src/lib/libarchive archive.h.in archive_string.h archive_string_sprintf.c archive_util.c src/lib/libarchive/test test_archive_api_feature.c Message-ID: <200808110231.m7B2VKb3020948@repoman.freebsd.org> kientzle 2008-08-11 02:31:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive.h.in archive_string.h archive_string_sprintf.c archive_util.c lib/libarchive/test test_archive_api_feature.c Log: SVN rev 181569 on 2008-08-11 02:31:07Z by kientzle MFC r177185,r177186,r177187: Rework the versioning interface again. The new interface has fewer elements and seems to be easier to use. Of course, I'm retaining the old interface until libarchive 3.x. Revision Changes Path 1.23.2.10 +37 -41 src/lib/libarchive/archive.h.in 1.6.2.3 +3 -0 src/lib/libarchive/archive_string.h 1.7.2.3 +10 -0 src/lib/libarchive/archive_string_sprintf.c 1.9.2.5 +44 -2 src/lib/libarchive/archive_util.c 1.5.2.2 +14 -0 src/lib/libarchive/test/test_archive_api_feature.c From kientzle at FreeBSD.org Mon Aug 11 02:36:53 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:36:59 2008 Subject: cvs commit: src/lib/libarchive archive_entry.c Message-ID: <200808110236.m7B2apGX021479@repoman.freebsd.org> kientzle 2008-08-11 02:36:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.c Log: SVN rev 181570 on 2008-08-11 02:36:45Z by kientzle MFC r177188: Allow archive_entry_clear() (and hence, archive_entry_free()) to graciously accept a NULL argument. This makes archive_entry_free() parallel with free(3). Revision Changes Path 1.29.2.7 +2 -0 src/lib/libarchive/archive_entry.c From kientzle at FreeBSD.org Mon Aug 11 02:40:44 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:40:51 2008 Subject: cvs commit: src/lib/libarchive archive_entry.h Message-ID: <200808110240.m7B2eiqN021890@repoman.freebsd.org> kientzle 2008-08-11 02:40:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.h Log: SVN rev 181571 on 2008-08-11 02:40:08Z by kientzle MFC r177190: comment out argument names in public header to guard against inadvertent namespace problems. Revision Changes Path 1.16.2.6 +50 -16 src/lib/libarchive/archive_entry.h From kientzle at FreeBSD.org Mon Aug 11 02:42:16 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:42:22 2008 Subject: cvs commit: src/lib/libarchive archive_write.c Message-ID: <200808110242.m7B2gFSr022108@repoman.freebsd.org> kientzle 2008-08-11 02:42:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write.c Log: SVN rev 181572 on 2008-08-11 02:42:08Z by kientzle MFC r177192: The default block size actually should not be published as a public constant. Just hardcode the numeric value for now until we can do something more clever. Revision Changes Path 1.15.2.5 +6 -1 src/lib/libarchive/archive_write.c From kientzle at FreeBSD.org Mon Aug 11 02:52:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 02:52:13 2008 Subject: cvs commit: src/lib/libarchive Makefile archive_entry.3 archive_entry.c archive_entry.h src/lib/libarchive/test test_entry.c Message-ID: <200808110252.m7B2q1UN022913@repoman.freebsd.org> kientzle 2008-08-11 02:51:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile archive_entry.3 archive_entry.c archive_entry.h lib/libarchive/test test_entry.c Log: SVN rev 181573 on 2008-08-11 02:51:42Z by kientzle MFC r177191: new public functions archive_entry_copy_link() and archive_entry_copy_link_w() Revision Changes Path 1.36.2.14 +2 -0 src/lib/libarchive/Makefile 1.9.8.7 +2 -0 src/lib/libarchive/archive_entry.3 1.29.2.8 +22 -0 src/lib/libarchive/archive_entry.c 1.16.2.7 +2 -0 src/lib/libarchive/archive_entry.h 1.6.2.3 +30 -1 src/lib/libarchive/test/test_entry.c From kientzle at FreeBSD.org Mon Aug 11 03:00:48 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 03:01:00 2008 Subject: cvs commit: src/lib/libarchive archive_entry.c archive_read_support_format_tar.c archive_write_set_format_pax.c src/lib/libarchive/test Makefile test_entry.c test_pax_filename_encoding.c test_pax_filename_encoding.tar.gz.uu Message-ID: <200808110300.m7B30meV023646@repoman.freebsd.org> kientzle 2008-08-11 03:00:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.c archive_read_support_format_tar.c archive_write_set_format_pax.c lib/libarchive/test Makefile test_entry.c Added files: (Branch: RELENG_6) lib/libarchive/test test_pax_filename_encoding.c test_pax_filename_encoding.tar.gz.uu Log: SVN rev 181574 on 2008-08-11 03:00:44Z by kientzle MFC r177193, r177199: If the locale of the filename on disk doesn't match the locale in effect when the archiver is run, then attempts to convert filenames to UTF-8 can fail and result in truncated filenames in pax format archives. Detect such failures and fall back on storing the filename as a binary string in such cases. Read the log message for r177199 for more details about this problem. On FreeBSD, using "C" locale is a good workaround. Revision Changes Path 1.29.2.9 +8 -1 src/lib/libarchive/archive_entry.c 1.32.2.14 +240 -209 src/lib/libarchive/archive_read_support_format_tar.c 1.27.2.5 +126 -50 src/lib/libarchive/archive_write_set_format_pax.c 1.23.2.5 +1 -0 src/lib/libarchive/test/Makefile 1.6.2.4 +35 -0 src/lib/libarchive/test/test_entry.c 1.3.2.1 +169 -0 src/lib/libarchive/test/test_pax_filename_encoding.c (new) 1.2.2.1 +10 -0 src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu (new) From weongyo at FreeBSD.org Mon Aug 11 04:12:46 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Aug 11 04:12:52 2008 Subject: cvs commit: src/share/man/man4 upgt.4 src/sys/dev/usb if_upgt.c if_upgtvar.h usbdevs src/sys/modules/upgt Makefile Message-ID: <200808110412.m7B4Cjl9031777@repoman.freebsd.org> weongyo 2008-08-11 03:57:31 UTC FreeBSD src repository Modified files: sys/dev/usb usbdevs Added files: share/man/man4 upgt.4 sys/dev/usb if_upgt.c if_upgtvar.h sys/modules/upgt Makefile Log: SVN rev 181575 on 2008-08-11 03:57:31Z by weongyo Add Conexant/Intersil PrismGT SoftMAC wireless USB driver - upgt(4). This driver supports GW3887 based chipsets and works on x86/powerpc/sparc64. You need upgtfw kernel module before loading upgt(4). Please see the manpage. Obtained from: OpenBSD Revision Changes Path 1.1 +211 -0 src/share/man/man4/upgt.4 (new) 1.1 +2376 -0 src/sys/dev/usb/if_upgt.c (new) 1.1 +462 -0 src/sys/dev/usb/if_upgtvar.h (new) 1.364 +21 -0 src/sys/dev/usb/usbdevs 1.1 +10 -0 src/sys/modules/upgt/Makefile (new) From kientzle at FreeBSD.org Mon Aug 11 04:15:01 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 04:15:12 2008 Subject: cvs commit: src/lib/libarchive archive_entry.c Message-ID: <200808110415.m7B4F15D031946@repoman.freebsd.org> kientzle 2008-08-11 04:05:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry.c Log: SVN rev 181576 on 2008-08-11 04:05:34Z by kientzle MFC r177189: Minor type fix. Revision Changes Path 1.29.2.10 +1 -1 src/lib/libarchive/archive_entry.c From weongyo at FreeBSD.org Mon Aug 11 04:46:58 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Aug 11 04:47:05 2008 Subject: cvs commit: src/sys/modules Makefile Message-ID: <200808110446.m7B4kwvs034794@repoman.freebsd.org> weongyo 2008-08-11 04:46:14 UTC FreeBSD src repository Modified files: sys/modules Makefile Log: SVN rev 181578 on 2008-08-11 04:46:14Z by weongyo Connect upgt(4) to the build. Revision Changes Path 1.584 +5 -0 src/sys/modules/Makefile From weongyo at FreeBSD.org Mon Aug 11 04:48:45 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Aug 11 04:48:57 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200808110448.m7B4mjJN044212@repoman.freebsd.org> weongyo 2008-08-11 04:48:34 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Log: SVN rev 181579 on 2008-08-11 04:48:34Z by weongyo Connect upgt.4 to the build. Revision Changes Path 1.424 +1 -0 src/share/man/man4/Makefile From kevlo at FreeBSD.org Mon Aug 11 04:52:32 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Mon Aug 11 04:52:44 2008 Subject: cvs commit: src/sys/dev/mii rgephy.c Message-ID: <200808110452.m7B4qVII044553@repoman.freebsd.org> kevlo 2008-08-11 04:52:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii rgephy.c Log: SVN rev 181580 on 2008-08-11 04:52:22Z by kevlo MFC: r181343 Fix a copy/paste error Revision Changes Path 1.15.2.5 +0 -1 src/sys/dev/mii/rgephy.c From weongyo at FreeBSD.org Mon Aug 11 04:54:47 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Aug 11 04:54:58 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200808110454.m7B4sl2S044716@repoman.freebsd.org> weongyo 2008-08-11 04:54:43 UTC FreeBSD src repository Modified files: sys/boot/forth loader.conf Log: SVN rev 181581 on 2008-08-11 04:54:43Z by weongyo Add an entry for the upgt(4) module. Revision Changes Path 1.131 +1 -0 src/sys/boot/forth/loader.conf From weongyo at FreeBSD.org Mon Aug 11 04:58:19 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Aug 11 04:58:30 2008 Subject: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <200808110458.m7B4wIsH045045@repoman.freebsd.org> weongyo 2008-08-11 04:58:06 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall devices.c Log: SVN rev 181582 on 2008-08-11 04:58:06Z by weongyo Add upgt(4) to the list of supported network interface. Revision Changes Path 1.177 +1 -0 src/usr.sbin/sysinstall/devices.c From kientzle at FreeBSD.org Mon Aug 11 05:03:50 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:04:01 2008 Subject: cvs commit: src/lib/libarchive/test Makefile Message-ID: <200808110503.m7B53nER046595@repoman.freebsd.org> kientzle 2008-08-11 05:03:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test Makefile Log: SVN rev 181583 on 2008-08-11 05:03:44Z by kientzle MFC r177200: GC an unused variable Revision Changes Path 1.23.2.6 +1 -1 src/lib/libarchive/test/Makefile From kientzle at FreeBSD.org Mon Aug 11 05:05:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:05:42 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_pax.c config_freebsd.h Message-ID: <200808110505.m7B55Zdc046800@repoman.freebsd.org> kientzle 2008-08-11 05:05:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_format_pax.c config_freebsd.h Log: SVN rev 181584 on 2008-08-11 05:05:29Z by kientzle MFC r177201, r177212: Implement /PaxHeader./ as the fake directory used to store the pax extended headers, per SUS, but disable it because it mucks up testing. Revision Changes Path 1.27.2.6 +31 -12 src/lib/libarchive/archive_write_set_format_pax.c 1.2.2.4 +1 -0 src/lib/libarchive/config_freebsd.h From kientzle at FreeBSD.org Mon Aug 11 05:06:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:06:42 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c config_freebsd.h Message-ID: <200808110506.m7B56arr046913@repoman.freebsd.org> kientzle 2008-08-11 05:06:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_disk.c config_freebsd.h Log: SVN rev 181585 on 2008-08-11 05:06:27Z by kientzle MFC r177213: use fstat() on FreeBSD, and use it correctly. Revision Changes Path 1.12.2.9 +1 -1 src/lib/libarchive/archive_write_disk.c 1.2.2.5 +1 -0 src/lib/libarchive/config_freebsd.h From kientzle at FreeBSD.org Mon Aug 11 05:09:53 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:10:03 2008 Subject: cvs commit: src/lib/libarchive archive_write_private.h 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_shar.c archive_write_set_format_ustar.c Message-ID: <200808110509.m7B59qE8047156@repoman.freebsd.org> kientzle 2008-08-11 05:09:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_private.h 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_shar.c archive_write_set_format_ustar.c Log: SVN rev 181586 on 2008-08-11 05:09:44Z by kientzle MFC r177220: Remove duplicate fields and update the code to use the correct ones. Revision Changes Path 1.2.2.2 +0 -7 src/lib/libarchive/archive_write_private.h 1.3.2.3 +6 -6 src/lib/libarchive/archive_write_set_format_ar.c 1.5.2.6 +2 -2 src/lib/libarchive/archive_write_set_format_cpio.c 1.1.2.4 +2 -2 src/lib/libarchive/archive_write_set_format_cpio_newc.c 1.27.2.7 +6 -6 src/lib/libarchive/archive_write_set_format_pax.c 1.11.2.3 +4 -4 src/lib/libarchive/archive_write_set_format_shar.c 1.12.2.5 +2 -2 src/lib/libarchive/archive_write_set_format_ustar.c From kientzle at FreeBSD.org Mon Aug 11 05:10:53 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:11:05 2008 Subject: cvs commit: src/lib/libarchive/test test_empty_write.c test_write_compress.c Message-ID: <200808110510.m7B5ArhC047322@repoman.freebsd.org> kientzle 2008-08-11 05:10:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test test_empty_write.c test_write_compress.c Log: SVN rev 181587 on 2008-08-11 05:10:35Z by kientzle MFC r177221, r177223: clean up after tests Revision Changes Path 1.2.2.2 +3 -0 src/lib/libarchive/test/test_empty_write.c 1.2.4.2 +3 -0 src/lib/libarchive/test/test_write_compress.c From kientzle at FreeBSD.org Mon Aug 11 05:11:40 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:11:51 2008 Subject: cvs commit: src/lib/libarchive archive_read_private.h Message-ID: <200808110511.m7B5Bee7047422@repoman.freebsd.org> kientzle 2008-08-11 05:11:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_private.h Log: SVN rev 181588 on 2008-08-11 05:11:32Z by kientzle MFC r177226: comment update Revision Changes Path 1.3.2.4 +2 -9 src/lib/libarchive/archive_read_private.h From kientzle at FreeBSD.org Mon Aug 11 05:12:41 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:12:52 2008 Subject: cvs commit: src/lib/libarchive Makefile Message-ID: <200808110512.m7B5Ceev047531@repoman.freebsd.org> kientzle 2008-08-11 05:12:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile Log: SVN rev 181589 on 2008-08-11 05:12:28Z by kientzle MFC r177473: link manpage for archive_write_close Revision Changes Path 1.36.2.15 +1 -0 src/lib/libarchive/Makefile From kientzle at FreeBSD.org Mon Aug 11 05:14:11 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:14:18 2008 Subject: cvs commit: src/lib/libarchive archive_platform.h Message-ID: <200808110514.m7B5EBDU047670@repoman.freebsd.org> kientzle 2008-08-11 05:13:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_platform.h Log: SVN rev 181590 on 2008-08-11 05:13:55Z by kientzle MFC r176404: portability to Windows Revision Changes Path 1.16.2.5 +4 -1 src/lib/libarchive/archive_platform.h From kientzle at FreeBSD.org Mon Aug 11 05:16:13 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:16:25 2008 Subject: cvs commit: src/lib/libarchive archive_entry_private.h archive_entry_strmode.c archive_read_data_into_fd.c archive_read_support_format_mtree.c Message-ID: <200808110516.m7B5GCw2047886@repoman.freebsd.org> kientzle 2008-08-11 05:16:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry_private.h archive_entry_strmode.c archive_read_data_into_fd.c archive_read_support_format_mtree.c Log: SVN rev 181591 on 2008-08-11 05:16:03Z by kientzle MFC r179125, r179234, r179235: A couple of bugs discovered by Colin using Coverity Prevent Revision Changes Path 1.1.2.3 +1 -1 src/lib/libarchive/archive_entry_private.h 1.4.2.3 +1 -2 src/lib/libarchive/archive_entry_strmode.c 1.8.2.4 +7 -3 src/lib/libarchive/archive_read_data_into_fd.c 1.9.2.3 +1 -0 src/lib/libarchive/archive_read_support_format_mtree.c From kientzle at FreeBSD.org Mon Aug 11 05:18:14 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 11 05:18:20 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_mtree.c Message-ID: <200808110518.m7B5IDF6048037@repoman.freebsd.org> kientzle 2008-08-11 05:18:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_mtree.c Log: SVN rev 181592 on 2008-08-11 05:18:13Z by kientzle MFC r177217,r177218: a few improvements to the mtree reader Revision Changes Path 1.9.2.4 +174 -108 src/lib/libarchive/archive_read_support_format_mtree.c From pjd at FreeBSD.org Mon Aug 11 08:41:17 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Mon Aug 11 08:41:28 2008 Subject: cvs commit: src/sys/dev/glxsb glxsb.c glxsb_hash.c Message-ID: <200808110841.m7B8fH4m067740@repoman.freebsd.org> pjd 2008-08-11 08:41:08 UTC FreeBSD src repository Modified files: sys/dev/glxsb glxsb.c glxsb_hash.c Log: SVN rev 181593 on 2008-08-11 08:41:08Z by pjd - Convert sc_sessions_mtx mutex to a rwlock, so in the fast path (glxsb_process()) we don't block others when looking for our session. - Simplify the loop responsible for freeing sessions on detach. - No need to drop a lock around malloc(M_NOWAIT). - Treat ses_used as boolean. - Avoid gotos where possible. - Various style(9) fixes. Reviewed by: philip, Patrick Lamaiziere Revision Changes Path 1.2 +69 -86 src/sys/dev/glxsb/glxsb.c 1.2 +1 -2 src/sys/dev/glxsb/glxsb_hash.c From brueffer at FreeBSD.org Mon Aug 11 08:42:48 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Mon Aug 11 08:42:54 2008 Subject: cvs commit: src/share/man/man4/man4.i386 glxsb.4 Message-ID: <200808110842.m7B8gl2T067885@repoman.freebsd.org> brueffer 2008-08-11 08:42:31 UTC FreeBSD src repository Modified files: share/man/man4/man4.i386 glxsb.4 Log: SVN rev 181594 on 2008-08-11 08:42:31Z by brueffer Correct a few minor markup and grammar issues. Revision Changes Path 1.3 +5 -5 src/share/man/man4/man4.i386/glxsb.4 From kib at FreeBSD.org Mon Aug 11 10:30:37 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Aug 11 10:30:50 2008 Subject: cvs commit: src/sys/dev/syscons syscons.c Message-ID: <200808111030.m7BAUbpF089379@repoman.freebsd.org> kib 2008-08-11 10:30:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/syscons syscons.c Log: SVN rev 181595 on 2008-08-11 10:30:23Z by kib MFC r177431: Improve VT_WAITACTIVE semantics. - Wait for requested vty activation regardless its open state. - Remove redundant console cleanup. MFC r181286: Lower the priority of the sleep in the syscons for "waitvt" wchan to PZERO + 1. Revision Changes Path 1.453.2.3 +6 -13 src/sys/dev/syscons/syscons.c From brde at optusnet.com.au Mon Aug 11 16:36:46 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Mon Aug 11 16:36:53 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808091555.25020.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> <200808091555.25020.jhb@freebsd.org> Message-ID: <20080812014937.E21092@besplex.bde.org> On Sat, 9 Aug 2008, John Baldwin wrote: > On Saturday 09 August 2008 12:35:50 am Bruce Evans wrote: >> On Fri, 8 Aug 2008, John Baldwin wrote: >>> On Friday 08 August 2008 09:43:56 am Ed Schouten wrote: >>>> ed 2008-08-08 13:43:56 UTC >>>> >>>> Apart from this change, I think some fishy things may happen when >>>> using /dev/io in multithreaded applications. I haven't tested, but >>>> looking at the code, the flag doesn't get cleared when close() is called >>>> from another thread, but this may not be this important. >> >> Of course it isn't. The flag only gets cleared on last close. Threads >> probably involve mainly file descriptors, and for file descriptors close() >> doesn't even reach vn_close() until the fd reference count drops to 0. >> Then for files, vn_close() normally doesn't reach device close until the >> file reference count drops to 0. >> >>> It should be setting D_TRACKCLOSE though so that close() reliably clears >>> the flag even in single-threaded processes. You can still get odd >>> behavior if >> >> You mean "should _not_ be setting D_TRACKCLOSE", so that close() works >> normally. >> >> close() can never reliably clear the flag, since even vn_close() is not >> reached after open()/dup()/close() or open()/fork()/close()... >> >>> you explicitly open it twice in an app and then close one of the two >>> fd's. You will no longer have IO permission even though you still have >>> one fd open. However, if you do that I think you deserve what you asked >>> for. :) >> >> You asked for normal last-close behaviour and deserve that not being broken >> by setting D_TRACKCLOSE. >> >> D_TRACKCLOSE allows different handling of non-last closes, but this is >> rarely wanted, and in theory it allows better determination of last >> closes, since vfs doesn't count last closes right. However, it is >> difficult to count last closes right, and most uses of D_TRACKCLOSE handle >> last closes are worse than vfs: >> - ast: uses D_TRACKCLOSE to trash (write a filemark) and/or rewind tapes >> on non-last closes. After the trash and rewind, astclose() uses >> count_dev() to avoid doing a full hardware close if the device is still >> open. This involves using count_dev(), but count_dev() is just an >> interface to the vfs count, so it miscounts in the same way as vfs. In >> particular, it doesn't count incompleted opens. I don't know if ast's >> locking is sufficient to prevent close() being called while a new open >> is in progress. For most devices, it isn't. >> - drm: it uses its own count of opens and closes, and it doesn't use >> count_dev(). The own count has some chance of working, but needs >> delicate locking of device open and device close to prevent them >> running into each other, and some defense against the vfs bugs which >> at least used to result in missing and/or extra closes. >> - smb: like drm, except it limits its own count to 0 or 1 to give half- >> baked exclusive access (fork() and dup(), etc, still give non-exclusive >> access). D_TRACKCLOSE thus has no effect except for its interaction >> with other bugs. >> - geom: unlike most or all of the others, this may actually need >> D_TRACKCLOSE, to implement multiple logical drivers per physical device. >> I don't understand its details. >> - apm: like drm >> - bpf: like smb > > You failed to note that not using D_TRACKCLOSE doesn't actually reliable close > devices. No, I noted that vfs doesn't count last closes right. Unreliability of last-close is a special case of that. But using D_TRACKCLOSE mostly makes things worse. To avoid the vfs bugs in tracked closes, it is necessary for individual drivers to understand vfs's bugs better than vfs does. > I set D_TRACKCLOSE on bpf because under load at work (lots of > concurrent nmap's) bpf devices would sometimes never get fully closed, so > you'd have an unopened bpf device that was no longer available. It is unclear how that helps. vfs's bugs must be really large for the last-close to go completely missing. kib fixed some of them a few months ago (before you changed bpf I think). bpf is especially simple since it is exclusive-accesses, so the vfs bugs should be smaller for it. > D_TRACKCLOSE > gives much saner semantics for devices, each open() of an fd calls > the 'd_open' method, and the last close of that fd (which could be in another > process) calls 'd_close'. This is insane semantics for most devices, and D_TRACKCLOSE doesn't give it. Most devices don't care about the difference between file descriptors and files -- they want d_close to be called only when the last file descriptor on the device is closed. !D_TRACKCLOSE gives this, modulo the vfs bugs. D_TRACKCLOSE doesn't give these semantics: revoke() closes everything in 1 step and then calls d_close(), giving an N-1 correspondence between d_open()s and d_close()s (modulo the vfs bugs giving a fuzzier correspondence). (IIRC, at least before kib's fixes, it was possible for revoke() to cause any of 0, 1 or 2 calls to d_close(). I think 1 call always gets as far as devfs_close() but this is only guaranteed to reaach d_close() with D_TRACKCLOSE.) This is not a bug, but all drivers that depend on the correspondence being 1-1 are broken. Drivers that enforce "exclusive" access like bpf have N=1, so they probably work modulo the vfs bugs, and they have a good chance of not being affected by the vfs bug that gives an extra devfs_close() and thus an extra d_close(). > /dev/io in particular is quite bogus since even though a child process > inherits the file descriptor, it doesn't inherit the behavior of > having /dev/io open. Not just child processes. The same process disinherits the behaviour on exec though it normally keeps the fd open. Bruce From mlaier at FreeBSD.org Mon Aug 11 17:59:58 2008 From: mlaier at FreeBSD.org (Max Laier) Date: Mon Aug 11 18:00:09 2008 Subject: cvs commit: src/sys/contrib/pf/net pf.c Message-ID: <200808111759.m7BHxvuc053478@repoman.freebsd.org> mlaier 2008-08-11 17:59:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/contrib/pf/net pf.c Log: SVN rev 181596 on 2008-08-11 17:59:47Z by mlaier MFC r181295: tcp state reuse PR: kern/125261 Revision Changes Path 1.46.2.3 +17 -0 src/sys/contrib/pf/net/pf.c From jfv at FreeBSD.org Mon Aug 11 18:34:01 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 18:34:08 2008 Subject: cvs commit: src/sys/dev/e1000 LICENSE README 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 e1000_82575.h e1000_api.c e1000_api.h ... Message-ID: <200808111834.m7BIY10w057928@repoman.freebsd.org> jfv 2008-08-11 18:33:10 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/dev/e1000 LICENSE README 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 e1000_82575.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.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_em.c if_em.h if_igb.c if_igb.h Removed files: (Branch: RELENG_7) sys/dev/em LICENSE README 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.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_em.c if_em.h 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.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_igb.c if_igb.h Log: SVN rev 181597 on 2008-08-11 18:33:10Z by jfv MFC of the em/igb driver reorg Revision Changes Path 1.1.2.1 +31 -0 src/sys/dev/e1000/LICENSE (new) 1.1.2.1 +405 -0 src/sys/dev/e1000/README (new) 1.1.2.1 +1423 -0 src/sys/dev/e1000/e1000_80003es2lan.c (new) 1.1.2.1 +102 -0 src/sys/dev/e1000/e1000_80003es2lan.h (new) 1.1.2.1 +683 -0 src/sys/dev/e1000/e1000_82540.c (new) 1.1.2.1 +1330 -0 src/sys/dev/e1000/e1000_82541.c (new) 1.1.2.1 +92 -0 src/sys/dev/e1000/e1000_82541.h (new) 1.1.2.1 +584 -0 src/sys/dev/e1000/e1000_82542.c (new) 1.1.2.1 +1664 -0 src/sys/dev/e1000/e1000_82543.c (new) 1.1.2.1 +57 -0 src/sys/dev/e1000/e1000_82543.h (new) 1.1.2.1 +1542 -0 src/sys/dev/e1000/e1000_82571.c (new) 1.1.2.1 +59 -0 src/sys/dev/e1000/e1000_82571.h (new) 1.1.2.1 +1783 -0 src/sys/dev/e1000/e1000_82575.c (new) 1.1.2.1 +449 -0 src/sys/dev/e1000/e1000_82575.h (new) 1.1.2.1 +1232 -0 src/sys/dev/e1000/e1000_api.c (new) 1.1.2.1 +162 -0 src/sys/dev/e1000/e1000_api.h (new) 1.1.2.1 +1492 -0 src/sys/dev/e1000/e1000_defines.h (new) 1.1.2.1 +753 -0 src/sys/dev/e1000/e1000_hw.h (new) 1.1.2.1 +2717 -0 src/sys/dev/e1000/e1000_ich8lan.c (new) 1.1.2.1 +134 -0 src/sys/dev/e1000/e1000_ich8lan.h (new) 1.1.2.1 +2191 -0 src/sys/dev/e1000/e1000_mac.c (new) 1.1.2.1 +101 -0 src/sys/dev/e1000/e1000_mac.h (new) 1.1.2.1 +389 -0 src/sys/dev/e1000/e1000_manage.c (new) 1.1.2.1 +88 -0 src/sys/dev/e1000/e1000_manage.h (new) 1.1.2.1 +929 -0 src/sys/dev/e1000/e1000_nvm.c (new) 1.1.2.1 +68 -0 src/sys/dev/e1000/e1000_nvm.h (new) 1.1.2.1 +101 -0 src/sys/dev/e1000/e1000_osdep.c (new) 1.1.2.1 +187 -0 src/sys/dev/e1000/e1000_osdep.h (new) 1.1.2.1 +2566 -0 src/sys/dev/e1000/e1000_phy.c (new) 1.1.2.1 +200 -0 src/sys/dev/e1000/e1000_phy.h (new) 1.1.2.1 +464 -0 src/sys/dev/e1000/e1000_regs.h (new) 1.1.2.1 +5317 -0 src/sys/dev/e1000/if_em.c (new) 1.1.2.1 +489 -0 src/sys/dev/e1000/if_em.h (new) 1.3.2.1 +4809 -0 src/sys/dev/e1000/if_igb.c (new) 1.1.2.1 +460 -0 src/sys/dev/e1000/if_igb.h (new) 1.6.2.2 +0 -31 src/sys/dev/em/LICENSE (dead) 1.15.2.1 +0 -405 src/sys/dev/em/README (dead) 1.3.4.3 +0 -1421 src/sys/dev/em/e1000_80003es2lan.c (dead) 1.3.4.3 +0 -102 src/sys/dev/em/e1000_80003es2lan.h (dead) 1.3.4.3 +0 -683 src/sys/dev/em/e1000_82540.c (dead) 1.3.4.3 +0 -1331 src/sys/dev/em/e1000_82541.c (dead) 1.3.4.3 +0 -91 src/sys/dev/em/e1000_82541.h (dead) 1.3.4.3 +0 -584 src/sys/dev/em/e1000_82542.c (dead) 1.3.4.3 +0 -1665 src/sys/dev/em/e1000_82543.c (dead) 1.3.4.3 +0 -51 src/sys/dev/em/e1000_82543.h (dead) 1.3.4.3 +0 -1474 src/sys/dev/em/e1000_82571.c (dead) 1.3.4.3 +0 -54 src/sys/dev/em/e1000_82571.h (dead) 1.3.4.3 +0 -1223 src/sys/dev/em/e1000_api.c (dead) 1.3.4.3 +0 -182 src/sys/dev/em/e1000_api.h (dead) 1.3.4.3 +0 -1450 src/sys/dev/em/e1000_defines.h (dead) 1.3.4.3 +0 -742 src/sys/dev/em/e1000_hw.h (dead) 1.3.4.3 +0 -2713 src/sys/dev/em/e1000_ich8lan.c (dead) 1.3.4.3 +0 -127 src/sys/dev/em/e1000_ich8lan.h (dead) 1.3.4.3 +0 -2172 src/sys/dev/em/e1000_mac.c (dead) 1.3.4.3 +0 -101 src/sys/dev/em/e1000_mac.h (dead) 1.3.4.3 +0 -390 src/sys/dev/em/e1000_manage.c (dead) 1.3.4.3 +0 -88 src/sys/dev/em/e1000_manage.h (dead) 1.3.4.3 +0 -932 src/sys/dev/em/e1000_nvm.c (dead) 1.3.4.3 +0 -68 src/sys/dev/em/e1000_nvm.h (dead) 1.1.2.2 +0 -101 src/sys/dev/em/e1000_osdep.c (dead) 1.3.4.3 +0 -191 src/sys/dev/em/e1000_osdep.h (dead) 1.3.4.3 +0 -2553 src/sys/dev/em/e1000_phy.c (dead) 1.3.4.3 +0 -200 src/sys/dev/em/e1000_phy.h (dead) 1.3.4.3 +0 -330 src/sys/dev/em/e1000_regs.h (dead) 1.184.2.4 +0 -5317 src/sys/dev/em/if_em.c (dead) 1.62.2.3 +0 -489 src/sys/dev/em/if_em.h (dead) 1.2.2.2 +0 -1430 src/sys/dev/igb/e1000_82575.c (dead) 1.1.2.2 +0 -317 src/sys/dev/igb/e1000_82575.h (dead) 1.2.2.2 +0 -1060 src/sys/dev/igb/e1000_api.c (dead) 1.2.2.2 +0 -151 src/sys/dev/igb/e1000_api.h (dead) 1.2.2.2 +0 -1403 src/sys/dev/igb/e1000_defines.h (dead) 1.2.2.2 +0 -627 src/sys/dev/igb/e1000_hw.h (dead) 1.3.2.2 +0 -2171 src/sys/dev/igb/e1000_mac.c (dead) 1.1.2.2 +0 -101 src/sys/dev/igb/e1000_mac.h (dead) 1.1.2.2 +0 -390 src/sys/dev/igb/e1000_manage.c (dead) 1.2.2.2 +0 -88 src/sys/dev/igb/e1000_manage.h (dead) 1.1.2.2 +0 -932 src/sys/dev/igb/e1000_nvm.c (dead) 1.1.2.2 +0 -68 src/sys/dev/igb/e1000_nvm.h (dead) 1.2.2.2 +0 -87 src/sys/dev/igb/e1000_osdep.c (dead) 1.2.2.2 +0 -186 src/sys/dev/igb/e1000_osdep.h (dead) 1.2.2.2 +0 -2145 src/sys/dev/igb/e1000_phy.c (dead) 1.1.2.2 +0 -177 src/sys/dev/igb/e1000_phy.h (dead) 1.1.2.2 +0 -326 src/sys/dev/igb/e1000_regs.h (dead) 1.12.2.2 +0 -4419 src/sys/dev/igb/if_igb.c (dead) 1.2.2.2 +0 -427 src/sys/dev/igb/if_igb.h (dead) From jfv at FreeBSD.org Mon Aug 11 18:38:00 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 18:38:21 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200808111837.m7BIbxuK058302@repoman.freebsd.org> jfv 2008-08-11 18:37:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files Log: SVN rev 181598 on 2008-08-11 18:37:51Z by jfv MFC of the em/igb driver reorg Revision Changes Path 1.1243.2.34 +32 -32 src/sys/conf/files From jfv at FreeBSD.org Mon Aug 11 18:46:07 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 18:46:26 2008 Subject: cvs commit: src/sys/modules/em Makefile src/sys/modules/igb Makefile Message-ID: <200808111846.m7BIk7Ot058996@repoman.freebsd.org> jfv 2008-08-11 18:45:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/em Makefile sys/modules/igb Makefile Log: SVN rev 181599 on 2008-08-11 18:45:51Z by jfv MFC of the new em/igb driver reorg, sources for both drivers now reside in dev/e1000 so static kernel build works correctly but loadable modules still build in independent directories as before. Revision Changes Path 1.9.2.2 +6 -9 src/sys/modules/em/Makefile 1.3.2.2 +5 -3 src/sys/modules/igb/Makefile From jfv at FreeBSD.org Mon Aug 11 18:53:55 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 18:54:07 2008 Subject: cvs commit: src/sys/netinet tcp_lro.c tcp_lro.h Message-ID: <200808111853.m7BIrrsl059570@repoman.freebsd.org> jfv 2008-08-11 18:53:36 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/netinet tcp_lro.c tcp_lro.h Log: SVN rev 181600 on 2008-08-11 18:53:36Z by jfv MFC of the generic LRO facility Revision Changes Path 1.1.2.1 +379 -0 src/sys/netinet/tcp_lro.c (new) 1.1.2.1 +85 -0 src/sys/netinet/tcp_lro.h (new) From raj at FreeBSD.org Mon Aug 11 19:30:25 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Mon Aug 11 19:30:36 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/iicbus ds1339.c ds133x.c Message-ID: <200808111930.m7BJUOtP063635@repoman.freebsd.org> raj 2008-08-11 19:26:55 UTC FreeBSD src repository Modified files: sys/conf files Added files: sys/dev/iicbus ds133x.c Removed files: sys/dev/iicbus ds1339.c Log: SVN rev 181601 on 2008-08-11 19:26:55Z by raj Rename ds1339 -> ds133x to better fit the upcoming driver extensions. Revision Changes Path 1.1324 +1 -1 src/sys/conf/files 1.3 +0 -232 src/sys/dev/iicbus/ds1339.c (dead) 1.1 +232 -0 src/sys/dev/iicbus/ds133x.c (new) From raj at FreeBSD.org Mon Aug 11 19:34:08 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Mon Aug 11 19:34:14 2008 Subject: cvs commit: src/sys/dev/iicbus ds133x.c Message-ID: <200808111934.m7BJY8YQ063944@repoman.freebsd.org> raj 2008-08-11 19:33:58 UTC FreeBSD src repository Modified files: sys/dev/iicbus ds133x.c Log: SVN rev 181602 on 2008-08-11 19:33:58Z by raj Rework Dallas Semiconductor RTC support. - Extend the DS1339 driver to recognize more chips in the family: DS1337, DS1338, DS1339 are now supported - Provide run-time chip detection Reviewed, tested by: stas Obtained from: Piotr Ziecik kosmo ! semihalf dot com Revision Changes Path 1.2 +236 -110 src/sys/dev/iicbus/ds133x.c From jhb at FreeBSD.org Mon Aug 11 20:11:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 11 20:11:39 2008 Subject: cvs commit: src/sys/i386/i386 db_disasm.c Message-ID: <200808112011.m7BKBSWX069005@repoman.freebsd.org> jhb 2008-08-11 20:10:52 UTC FreeBSD src repository Modified files: sys/i386/i386 db_disasm.c Log: SVN rev 181603 on 2008-08-11 20:10:52Z by jhb MFamd64: Decode "cmov*" instructions. MFC after: 1 week Revision Changes Path 1.30 +21 -1 src/sys/i386/i386/db_disasm.c From csjp at FreeBSD.org Mon Aug 11 20:15:14 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Mon Aug 11 20:15:20 2008 Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200808112015.m7BKFDXn069295@repoman.freebsd.org> csjp 2008-08-11 20:14:56 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: SVN rev 181604 on 2008-08-11 20:14:56Z by csjp Make sure we check the preselection masks present for all audit pipes. It is possible that the audit pipe(s) have different preselection configs then the global preselection mask. Spotted by: Vincenzo Iozzo MFC after: 2 weeks Revision Changes Path 1.45 +2 -1 src/sys/security/audit/audit.c From jfv at FreeBSD.org Mon Aug 11 20:19:45 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 20:19:51 2008 Subject: cvs commit: src/sys/sys eventhandler.h Message-ID: <200808112019.m7BKJiLu069682@repoman.freebsd.org> jfv 2008-08-11 20:19:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys eventhandler.h Log: SVN rev 181605 on 2008-08-11 20:19:38Z by jfv MFC of vlan attach event support Revision Changes Path 1.37.2.3 +7 -0 src/sys/sys/eventhandler.h From jhb at FreeBSD.org Mon Aug 11 20:20:40 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Aug 11 20:20:46 2008 Subject: cvs commit: src/sys/amd64/amd64 db_disasm.c src/sys/i386/i386 db_disasm.c Message-ID: <200808112020.m7BKKdWc069882@repoman.freebsd.org> jhb 2008-08-11 20:19:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 db_disasm.c sys/i386/i386 db_disasm.c Log: SVN rev 181606 on 2008-08-11 20:19:42Z by jhb Decode some more "exotic" instructions including: fxsave, fxrstor, ldmxcsr, stmxcsr, clflush, lfence, mfence, sfence, syscall, sysret, sysenter, sysexit, pause, monitor, mwait, and swapgs (amd64 only). MFC after: 1 week Revision Changes Path 1.32 +68 -9 src/sys/amd64/amd64/db_disasm.c 1.31 +63 -9 src/sys/i386/i386/db_disasm.c From jfv at FreeBSD.org Mon Aug 11 20:20:54 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 20:21:06 2008 Subject: cvs commit: src/sys/net if_vlan.c Message-ID: <200808112020.m7BKKsp2069920@repoman.freebsd.org> jfv 2008-08-11 20:20:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_vlan.c Log: SVN rev 181607 on 2008-08-11 20:20:13Z by jfv MFC of vlan attach notification support. Revision Changes Path 1.124.2.2 +6 -0 src/sys/net/if_vlan.c From marius at FreeBSD.org Mon Aug 11 20:24:11 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Aug 11 20:24:17 2008 Subject: cvs commit: src/sys/dev/sym sym_hipd.c Message-ID: <200808112024.m7BKOAvU070163@repoman.freebsd.org> marius 2008-08-11 20:24:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sym sym_hipd.c Log: SVN rev 181608 on 2008-08-11 20:24:08Z by marius MFC: 181399 Allow 53C1010 without NVRAM to negotiate Ultra-3. Revision Changes Path 1.67.2.4 +2 -0 src/sys/dev/sym/sym_hipd.c From marius at FreeBSD.org Mon Aug 11 20:28:57 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Aug 11 20:29:12 2008 Subject: cvs commit: src/sys/dev/sym sym_hipd.c Message-ID: <200808112028.m7BKSueU070542@repoman.freebsd.org> marius 2008-08-11 20:28:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/sym sym_hipd.c Log: SVN rev 181609 on 2008-08-11 20:28:45Z by marius MFC: 181399 Allow 53C1010 without NVRAM to negotiate Ultra-3. Revision Changes Path 1.55.2.4 +2 -0 src/sys/dev/sym/sym_hipd.c From jfv at FreeBSD.org Mon Aug 11 20:30:42 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 20:30:53 2008 Subject: cvs commit: src/sys/i386/conf GENERIC Message-ID: <200808112030.m7BKUg0Q070747@repoman.freebsd.org> jfv 2008-08-11 20:30:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/conf GENERIC Log: SVN rev 181610 on 2008-08-11 20:30:31Z by jfv MFC of the e1000 driver reorg - add igb to the default kernel. Revision Changes Path 1.474.2.11 +2 -1 src/sys/i386/conf/GENERIC From jfv at FreeBSD.org Mon Aug 11 20:31:28 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 20:31:35 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC Message-ID: <200808112031.m7BKVSsb070867@repoman.freebsd.org> jfv 2008-08-11 20:31:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC Log: SVN rev 181611 on 2008-08-11 20:31:14Z by jfv MFC of the e1000 driver reorg - add igb driver to GENERIC Revision Changes Path 1.484.2.11 +2 -1 src/sys/amd64/conf/GENERIC From jfv at FreeBSD.org Mon Aug 11 20:43:16 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 20:43:27 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200808112043.m7BKhGf3071941@repoman.freebsd.org> jfv 2008-08-11 20:43:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files Log: SVN rev 181612 on 2008-08-11 20:43:01Z by jfv Add LRO code into kernel build. Revision Changes Path 1.1243.2.35 +1 -0 src/sys/conf/files From jfv at FreeBSD.org Mon Aug 11 21:02:35 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Aug 11 21:02:41 2008 Subject: cvs commit: src/sys/dev/ixgbe LICENSE ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_api.c ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_osdep.h ixgbe_phy.c ixgbe_phy.h ixgbe_type.h Message-ID: <200808112102.m7BL2WVJ082725@repoman.freebsd.org> jfv 2008-08-11 21:02:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ixgbe LICENSE ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_api.c ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_osdep.h ixgbe_phy.c ixgbe_phy.h ixgbe_type.h Log: SVN rev 181613 on 2008-08-11 21:02:22Z by jfv MFC of the 1.4.7 ixgbe driver Revision Changes Path 1.1.2.1 +4 -2 src/sys/dev/ixgbe/LICENSE 1.4.2.2 +765 -587 src/sys/dev/ixgbe/ixgbe.c 1.3.2.2 +87 -60 src/sys/dev/ixgbe/ixgbe.h 1.3.2.2 +488 -290 src/sys/dev/ixgbe/ixgbe_82598.c 1.3.2.2 +234 -174 src/sys/dev/ixgbe/ixgbe_api.c 1.3.2.2 +29 -13 src/sys/dev/ixgbe/ixgbe_api.h 1.3.2.2 +396 -351 src/sys/dev/ixgbe/ixgbe_common.c 1.3.2.2 +16 -17 src/sys/dev/ixgbe/ixgbe_common.h 1.3.2.2 +41 -31 src/sys/dev/ixgbe/ixgbe_osdep.h 1.3.2.2 +141 -204 src/sys/dev/ixgbe/ixgbe_phy.c 1.3.2.2 +17 -24 src/sys/dev/ixgbe/ixgbe_phy.h 1.3.2.2 +308 -223 src/sys/dev/ixgbe/ixgbe_type.h From jhb at freebsd.org Mon Aug 11 21:23:35 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Aug 11 21:23:47 2008 Subject: cvs commit: src/sys/dev/glxsb glxsb.c glxsb_hash.c In-Reply-To: <200808110841.m7B8fH4m067740@repoman.freebsd.org> References: <200808110841.m7B8fH4m067740@repoman.freebsd.org> Message-ID: <200808111306.00982.jhb@freebsd.org> On Monday 11 August 2008 04:41:08 am Pawel Jakub Dawidek wrote: > pjd 2008-08-11 08:41:08 UTC > > FreeBSD src repository > > Modified files: > sys/dev/glxsb glxsb.c glxsb_hash.c > Log: > SVN rev 181593 on 2008-08-11 08:41:08Z by pjd > > - Convert sc_sessions_mtx mutex to a rwlock, so in the fast path > (glxsb_process()) we don't block others when looking for our session. > - Simplify the loop responsible for freeing sessions on detach. > - No need to drop a lock around malloc(M_NOWAIT). > - Treat ses_used as boolean. > - Avoid gotos where possible. > - Various style(9) fixes. > > Reviewed by: philip, Patrick Lamaiziere Would it be worthwhile to abstract the session handling out of padlock(4) and glxsb(4)? Are there other CPUs with embedded crypto that will need their own drivers that having the abstraction would make writing a driver easier? -- John Baldwin From kmacy at FreeBSD.org Mon Aug 11 23:01:52 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Aug 11 23:02:04 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c src/sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_xgmac.c Message-ID: <200808112301.m7BN1q0V095731@repoman.freebsd.org> kmacy 2008-08-11 23:01:34 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_main.c sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_xgmac.c Log: SVN rev 181614 on 2008-08-11 23:01:34Z by kmacy Vendor fix for PHY problem. Obtained from: Chelsio Inc. MFC after: 3 days Revision Changes Path 1.7 +640 -42 src/sys/dev/cxgb/common/cxgb_ael1002.c 1.11 +36 -24 src/sys/dev/cxgb/common/cxgb_common.h 1.9 +13 -10 src/sys/dev/cxgb/common/cxgb_t3_cpl.h 1.12 +52 -4 src/sys/dev/cxgb/common/cxgb_t3_hw.c 1.10 +17 -8 src/sys/dev/cxgb/common/cxgb_xgmac.c 1.33 +1 -0 src/sys/dev/cxgb/cxgb_adapter.h 1.57 +27 -0 src/sys/dev/cxgb/cxgb_main.c From ache at FreeBSD.org Mon Aug 11 23:24:53 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Aug 11 23:25:01 2008 Subject: cvs commit: src/games/random random.c randomize_fd.c Message-ID: <200808112324.m7BNOrX2098678@repoman.freebsd.org> ache 2008-08-11 23:24:42 UTC FreeBSD src repository Modified files: games/random random.c randomize_fd.c Log: SVN rev 181615 on 2008-08-11 23:24:42Z by ache Suggections from bde@ 1) Split too long source lines 2) Portable code should not assume that null pointer == all-bits-0, so back out prev. calloc() change. Submitted by: bde Revision Changes Path 1.24 +2 -1 src/games/random/random.c 1.7 +9 -4 src/games/random/randomize_fd.c From kmacy at FreeBSD.org Tue Aug 12 00:29:24 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 12 00:29:35 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/cxgb cxgb_adapter.h cxgb_lro.c cxgb_main.c cxgb_sge.c src/sys/modules/cxgb/cxgb Makefile Message-ID: <200808120029.m7C0TOOP006457@repoman.freebsd.org> kmacy 2008-08-12 00:27:32 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c sys/modules/cxgb/cxgb Makefile Removed files: sys/dev/cxgb cxgb_lro.c Log: SVN rev 181616 on 2008-08-12 00:27:32Z by kmacy Remove cxgb private lro implementation and switch to using system implementation. Obtained from: Chelsio Inc. MFC after: 1 week Revision Changes Path 1.1325 +0 -1 src/sys/conf/files 1.34 +3 -31 src/sys/dev/cxgb/cxgb_adapter.h 1.9 +0 -397 src/sys/dev/cxgb/cxgb_lro.c (dead) 1.58 +26 -2 src/sys/dev/cxgb/cxgb_main.c 1.54 +47 -47 src/sys/dev/cxgb/cxgb_sge.c 1.11 +1 -1 src/sys/modules/cxgb/cxgb/Makefile From yongari at FreeBSD.org Tue Aug 12 00:52:19 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Aug 12 00:52:29 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808120052.m7C0qIXo017745@repoman.freebsd.org> yongari 2008-08-12 00:52:10 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c Log: SVN rev 181617 on 2008-08-12 00:52:10Z by yongari Remove whitespace at the end of line. Revision Changes Path 1.76 +10 -10 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Tue Aug 12 00:55:20 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Aug 12 00:55:31 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808120055.m7C0tJ13018037@repoman.freebsd.org> yongari 2008-08-12 00:55:03 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c Log: SVN rev 181618 on 2008-08-12 00:55:03Z by yongari Remove 'cr' at the end of line. Revision Changes Path 1.77 +20 -20 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Tue Aug 12 00:57:50 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Aug 12 00:57:56 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808120057.m7C0vopF018214@repoman.freebsd.org> yongari 2008-08-12 00:57:39 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c Log: SVN rev 181619 on 2008-08-12 00:57:39Z by yongari Restore link state handling which was broken in rev 1.69. Also report current link state while auto-negotiation is in progress. With this change link loss should be reported within a second and drivers that rely on link state should work. Reported by: Pete French < petefrench at ticketswitch dot com > Tested by: Pete French < petefrench at ticketswitch dot com > MFC after: 1 week Revision Changes Path 1.78 +1 -4 src/sys/dev/mii/brgphy.c From kevlo at FreeBSD.org Tue Aug 12 01:17:37 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Tue Aug 12 01:17:42 2008 Subject: cvs commit: src/share/man/man4 miibus.4 Message-ID: <200808120117.m7C1HaGN020957@repoman.freebsd.org> kevlo 2008-08-12 01:17:34 UTC FreeBSD src repository Modified files: share/man/man4 miibus.4 Log: SVN rev 181620 on 2008-08-12 01:17:34Z by kevlo Add et(4) to the list of drivers use the miibus interface Revision Changes Path 1.24 +4 -1 src/share/man/man4/miibus.4 From kevlo at FreeBSD.org Tue Aug 12 01:21:53 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Tue Aug 12 01:21:59 2008 Subject: cvs commit: src/share/man/man4 miibus.4 Message-ID: <200808120121.m7C1LqsA021339@repoman.freebsd.org> kevlo 2008-08-12 01:21:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 miibus.4 Log: SVN rev 181621 on 2008-08-12 01:21:43Z by kevlo MFC: r181620 Add et(4) to the list of drivers use the miibus interface Revision Changes Path 1.21.2.3 +4 -1 src/share/man/man4/miibus.4 From edwin at FreeBSD.org Tue Aug 12 04:55:41 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 12 04:55:53 2008 Subject: cvs commit: src/usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Message-ID: <200808120455.m7C4tegU052212@repoman.freebsd.org> edwin 2008-08-12 04:55:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Log: SVN rev 181622 on 2008-08-12 04:55:33Z by edwin MFC of r181322 style(9)ify usr.bin/calendar PR: bin/118644 Revision Changes Path 1.18.14.2 +19 -20 src/usr.bin/calendar/calendar.c 1.10.8.2 +40 -36 src/usr.bin/calendar/calendar.h 1.21.2.4 +123 -126 src/usr.bin/calendar/day.c 1.19.14.2 +92 -55 src/usr.bin/calendar/io.c 1.11.14.2 +33 -34 src/usr.bin/calendar/ostern.c 1.7.14.2 +17 -19 src/usr.bin/calendar/paskha.c From edwin at FreeBSD.org Tue Aug 12 04:56:12 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Aug 12 04:56:18 2008 Subject: cvs commit: src/usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Message-ID: <200808120456.m7C4uBGr052292@repoman.freebsd.org> edwin 2008-08-12 04:55:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/calendar calendar.c calendar.h day.c io.c ostern.c paskha.c Log: SVN rev 181623 on 2008-08-12 04:55:54Z by edwin MFC of r181322 style(9)ify usr.bin/calendar PR: bin/11864 Revision Changes Path 1.19.2.1 +19 -20 src/usr.bin/calendar/calendar.c 1.12.2.1 +40 -36 src/usr.bin/calendar/calendar.h 1.27.2.1 +123 -126 src/usr.bin/calendar/day.c 1.21.2.2 +92 -55 src/usr.bin/calendar/io.c 1.12.2.1 +33 -34 src/usr.bin/calendar/ostern.c 1.8.2.1 +17 -19 src/usr.bin/calendar/paskha.c From kmacy at FreeBSD.org Tue Aug 12 07:37:20 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 12 07:37:32 2008 Subject: cvs commit: src/sys/xen gnttab.c gnttab.h src/sys/xen/evtchn evtchn.c evtchn_dev.c src/sys/xen/interface COPYING acm.h acm_ops.h arch-ia64.h arch-powerpc.h arch-x86_32.h arch-x86_64.h callback.h dom0_ops.h domctl.h elfnote.h elfstructs.h ... Message-ID: <200808120737.m7C7bKqU069065@repoman.freebsd.org> kmacy 2008-08-12 07:36:56 UTC FreeBSD src repository Added files: sys/xen gnttab.c gnttab.h sys/xen/evtchn evtchn.c evtchn_dev.c sys/xen/interface COPYING acm.h acm_ops.h arch-ia64.h arch-powerpc.h arch-x86_32.h arch-x86_64.h callback.h dom0_ops.h domctl.h elfnote.h elfstructs.h event_channel.h features.h grant_table.h kexec.h libelf.h memory.h nmi.h physdev.h platform.h sched.h sysctl.h trace.h vcpu.h version.h xen-compat.h xen.h xencomm.h xenoprof.h sys/xen/interface/arch-x86 xen-x86_32.h xen-x86_64.h xen.h sys/xen/interface/foreign Makefile mkchecker.py mkheader.py reference.size structs.py sys/xen/interface/hvm e820.h hvm_info_table.h hvm_op.h ioreq.h params.h save.h vmx_assist.h sys/xen/interface/io blkif.h console.h fbif.h kbdif.h netif.h pciif.h protocols.h ring.h tpmif.h xenbus.h xs_wire.h sys/xen/xenbus init.txt xenbus_client.c xenbus_comms.c xenbus_comms.h xenbus_dev.c xenbus_probe.c xenbus_probe_backend.c xenbus_xs.c Log: SVN rev 181624 on 2008-08-12 07:36:56Z by kmacy Import OS interfaces to Xen services. MFC after: 2 weeks Revision Changes Path 1.1 +1097 -0 src/sys/xen/evtchn/evtchn.c (new) 1.1 +394 -0 src/sys/xen/evtchn/evtchn_dev.c (new) 1.1 +597 -0 src/sys/xen/gnttab.c (new) 1.1 +138 -0 src/sys/xen/gnttab.h (new) 1.1 +38 -0 src/sys/xen/interface/COPYING (new) 1.1 +228 -0 src/sys/xen/interface/acm.h (new) 1.1 +159 -0 src/sys/xen/interface/acm_ops.h (new) 1.1 +522 -0 src/sys/xen/interface/arch-ia64.h (new) 1.1 +125 -0 src/sys/xen/interface/arch-powerpc.h (new) 1.1 +200 -0 src/sys/xen/interface/arch-x86/xen-x86_32.h (new) 1.1 +211 -0 src/sys/xen/interface/arch-x86/xen-x86_64.h (new) 1.1 +189 -0 src/sys/xen/interface/arch-x86/xen.h (new) 1.1 +27 -0 src/sys/xen/interface/arch-x86_32.h (new) 1.1 +27 -0 src/sys/xen/interface/arch-x86_64.h (new) 1.1 +92 -0 src/sys/xen/interface/callback.h (new) 1.1 +120 -0 src/sys/xen/interface/dom0_ops.h (new) 1.1 +481 -0 src/sys/xen/interface/domctl.h (new) 1.1 +233 -0 src/sys/xen/interface/elfnote.h (new) 1.1 +527 -0 src/sys/xen/interface/elfstructs.h (new) 1.1 +264 -0 src/sys/xen/interface/event_channel.h (new) 1.1 +71 -0 src/sys/xen/interface/features.h (new) 1.1 +37 -0 src/sys/xen/interface/foreign/Makefile (new) 1.1 +58 -0 src/sys/xen/interface/foreign/mkchecker.py (new) 1.1 +153 -0 src/sys/xen/interface/foreign/mkheader.py (new) 1.1 +17 -0 src/sys/xen/interface/foreign/reference.size (new) 1.1 +54 -0 src/sys/xen/interface/foreign/structs.py (new) 1.1 +401 -0 src/sys/xen/interface/grant_table.h (new) 1.1 +34 -0 src/sys/xen/interface/hvm/e820.h (new) 1.1 +41 -0 src/sys/xen/interface/hvm/hvm_info_table.h (new) 1.1 +76 -0 src/sys/xen/interface/hvm/hvm_op.h (new) 1.1 +122 -0 src/sys/xen/interface/hvm/ioreq.h (new) 1.1 +60 -0 src/sys/xen/interface/hvm/params.h (new) 1.1 +462 -0 src/sys/xen/interface/hvm/save.h (new) 1.1 +122 -0 src/sys/xen/interface/hvm/vmx_assist.h (new) 1.1 +128 -0 src/sys/xen/interface/io/blkif.h (new) 1.1 +51 -0 src/sys/xen/interface/io/console.h (new) 1.1 +138 -0 src/sys/xen/interface/io/fbif.h (new) 1.1 +130 -0 src/sys/xen/interface/io/kbdif.h (new) 1.1 +184 -0 src/sys/xen/interface/io/netif.h (new) 1.1 +83 -0 src/sys/xen/interface/io/pciif.h (new) 1.1 +21 -0 src/sys/xen/interface/io/protocols.h (new) 1.1 +299 -0 src/sys/xen/interface/io/ring.h (new) 1.1 +77 -0 src/sys/xen/interface/io/tpmif.h (new) 1.1 +73 -0 src/sys/xen/interface/io/xenbus.h (new) 1.1 +121 -0 src/sys/xen/interface/io/xs_wire.h (new) 1.1 +137 -0 src/sys/xen/interface/kexec.h (new) 1.1 +241 -0 src/sys/xen/interface/libelf.h (new) 1.1 +281 -0 src/sys/xen/interface/memory.h (new) 1.1 +78 -0 src/sys/xen/interface/nmi.h (new) 1.1 +169 -0 src/sys/xen/interface/physdev.h (new) 1.1 +183 -0 src/sys/xen/interface/platform.h (new) 1.1 +121 -0 src/sys/xen/interface/sched.h (new) 1.1 +198 -0 src/sys/xen/interface/sysctl.h (new) 1.1 +120 -0 src/sys/xen/interface/trace.h (new) 1.1 +192 -0 src/sys/xen/interface/vcpu.h (new) 1.1 +91 -0 src/sys/xen/interface/version.h (new) 1.1 +51 -0 src/sys/xen/interface/xen-compat.h (new) 1.1 +613 -0 src/sys/xen/interface/xen.h (new) 1.1 +41 -0 src/sys/xen/interface/xencomm.h (new) 1.1 +138 -0 src/sys/xen/interface/xenoprof.h (new) 1.1 +14 -0 src/sys/xen/xenbus/init.txt (new) 1.1 +301 -0 src/sys/xen/xenbus/xenbus_client.c (new) 1.1 +249 -0 src/sys/xen/xenbus/xenbus_comms.c (new) 1.1 +156 -0 src/sys/xen/xenbus/xenbus_comms.h (new) 1.1 +260 -0 src/sys/xen/xenbus/xenbus_dev.c (new) 1.1 +1122 -0 src/sys/xen/xenbus/xenbus_probe.c (new) 1.1 +310 -0 src/sys/xen/xenbus/xenbus_probe_backend.c (new) 1.1 +876 -0 src/sys/xen/xenbus/xenbus_xs.c (new) From rwatson at FreeBSD.org Tue Aug 12 07:43:50 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Aug 12 07:43:56 2008 Subject: cvs commit: src/sys/i386/conf GENERIC In-Reply-To: <200808112030.m7BKUg0Q070747@repoman.freebsd.org> References: <200808112030.m7BKUg0Q070747@repoman.freebsd.org> Message-ID: On Mon, 11 Aug 2008, Jack F Vogel wrote: > jfv 2008-08-11 20:30:31 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/i386/conf GENERIC > Log: > SVN rev 181610 on 2008-08-11 20:30:31Z by jfv > > MFC of the e1000 driver reorg - add igb to the default kernel. > > Revision Changes Path > 1.474.2.11 +2 -1 src/sys/i386/conf/GENERIC Is this going to change the name of devices for existing installs on 7.x? If so, this requires a pretty serious HEADS UP, or people doing upgrades may find that rc.conf no longer configures their interfaces, firewall rules using "via" may no longer apply, etc. Robert N M Watson Computer Laboratory University of Cambridge From remko at elvandar.org Tue Aug 12 08:30:04 2008 From: remko at elvandar.org (Remko Lodder) Date: Tue Aug 12 08:30:10 2008 Subject: cvs commit: src/sys/xen gnttab.c gnttab.h src/sys/xen/evtchn evtchn.c evtchn_dev.c src/sys/xen/interface COPYING acm.h acm_ops.h arch-ia64.h arch-powerpc.h arch-x86_32.h arch-x86_64.h callback.h dom0_ops.h domctl.h elfnote.h elfstructs.h ... In-Reply-To: <200808120737.m7C7bKqU069065@repoman.freebsd.org> References: <200808120737.m7C7bKqU069065@repoman.freebsd.org> Message-ID: <61b000a5b1ca9a02e574f2434fb4f5ab.squirrel@galain.elvandar.org> On Tue, August 12, 2008 9:36 am, Kip Macy wrote: > kmacy 2008-08-12 07:36:56 UTC > > FreeBSD src repository > > Log: > SVN rev 181624 on 2008-08-12 07:36:56Z by kmacy > > Import OS interfaces to Xen services. > > MFC after: 2 weeks > \o/ Thanks!! -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From ed at FreeBSD.org Tue Aug 12 08:54:53 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Tue Aug 12 08:54:59 2008 Subject: cvs commit: src/usr.bin/window :tt :tty :var :ww Message-ID: <200808120854.m7C8sqxF085509@repoman.freebsd.org> ed 2008-08-12 08:54:43 UTC FreeBSD src repository Removed files: (Branch: RELENG_7) usr.bin/window :tt :tty :var :ww Log: SVN rev 181625 on 2008-08-12 08:54:43Z by ed MFC of SVN r181466: Delete unused files in the window(1) directory that contain a colon. During the import of the 4.4BSD Lite sources, four files got added to the repository called :tt, :tty, :var and :ww. They seem to contain some kind of debug information. These files aren't used/installed anywhere. Unfortunately the colons in the filenames prevents us from checking out the source tree on file systems that don't support colons (such as FAT). Just remove these unneeded files to keep SVN happy. Reported by: Rohit Tripathi Revision Changes Path 1.1.1.1.56.1 +0 -11 src/usr.bin/window/:tt (dead) 1.1.1.1.56.1 +0 -6 src/usr.bin/window/:tty (dead) 1.1.1.1.56.1 +0 -2 src/usr.bin/window/:var (dead) 1.1.1.1.56.1 +0 -19 src/usr.bin/window/:ww (dead) From ed at FreeBSD.org Tue Aug 12 08:56:23 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Tue Aug 12 08:56:34 2008 Subject: cvs commit: src/usr.bin/window :tt :tty :var :ww Message-ID: <200808120856.m7C8uN7R085721@repoman.freebsd.org> ed 2008-08-12 08:56:19 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) usr.bin/window :tt :tty :var :ww Log: SVN rev 181626 on 2008-08-12 08:56:19Z by ed MFC of SVN r181466: Delete unused files in the window(1) directory that contain a colon. During the import of the 4.4BSD Lite sources, four files got added to the repository called :tt, :tty, :var and :ww. They seem to contain some kind of debug information. These files aren't used/installed anywhere. Unfortunately the colons in the filenames prevents us from checking out the source tree on file systems that don't support colons (such as FAT). Just remove these unneeded files to keep SVN happy. Reported by: Rohit Tripathi Revision Changes Path 1.1.1.1.46.1 +0 -11 src/usr.bin/window/:tt (dead) 1.1.1.1.46.1 +0 -6 src/usr.bin/window/:tty (dead) 1.1.1.1.46.1 +0 -2 src/usr.bin/window/:var (dead) 1.1.1.1.46.1 +0 -19 src/usr.bin/window/:ww (dead) From peterjeremy at optushome.com.au Tue Aug 12 08:56:32 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Tue Aug 12 08:56:48 2008 Subject: cvs commit: src/sys/dev/glxsb glxsb.c glxsb_hash.c In-Reply-To: <200808111306.00982.jhb@freebsd.org> References: <200808110841.m7B8fH4m067740@repoman.freebsd.org> <200808111306.00982.jhb@freebsd.org> Message-ID: <20080812085627.GQ64458@server.vk2pj.dyndns.org> On 2008-Aug-11 13:06:00 -0400, John Baldwin wrote: >Would it be worthwhile to abstract the session handling out of padlock(4) and >glxsb(4)? Are there other CPUs with embedded crypto that will need their own >drivers that having the abstraction would make writing a driver easier? sun4v has hardware crypto. -- 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080812/04756081/attachment.pgp From vanhu at FreeBSD.org Tue Aug 12 09:06:21 2008 From: vanhu at FreeBSD.org (VANHULLEBUS Yvan) Date: Tue Aug 12 09:06:27 2008 Subject: cvs commit: src/sys/net if_enc.c if_enc.h src/sys/netipsec ipsec_input.c ipsec_output.c Message-ID: <200808120906.m7C96Ljg087693@repoman.freebsd.org> vanhu 2008-08-12 09:05:01 UTC FreeBSD src repository Modified files: sys/net if_enc.c sys/netipsec ipsec_input.c ipsec_output.c Added files: sys/net if_enc.h Log: SVN rev 181627 on 2008-08-12 09:05:01Z by vanhu Increase statistic counters for enc0 interface when enabled and processing IPSec traffic. Approved by: gnn (mentor) MFC after: 1 week Revision Changes Path 1.10 +1 -1 src/sys/net/if_enc.c 1.1 +35 -0 src/sys/net/if_enc.h (new) 1.22 +11 -0 src/sys/netipsec/ipsec_input.c 1.20 +11 -0 src/sys/netipsec/ipsec_output.c From stas at FreeBSD.org Tue Aug 12 09:48:01 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Aug 12 09:48:06 2008 Subject: cvs commit: src/usr.sbin/cpucontrol cpucontrol.c Message-ID: <200808120948.m7C9m0Tx091100@repoman.freebsd.org> stas 2008-08-12 09:47:50 UTC FreeBSD src repository Modified files: usr.sbin/cpucontrol cpucontrol.c Log: SVN rev 181628 on 2008-08-12 09:47:50Z by stas - Fix error reporting. Approved by: kib Revision Changes Path 1.2 +5 -5 src/usr.sbin/cpucontrol/cpucontrol.c From h.schmalzbauer at OmniLAN.de Tue Aug 12 09:58:39 2008 From: h.schmalzbauer at OmniLAN.de (Harald Schmalzbauer) Date: Tue Aug 12 09:58:52 2008 Subject: cvs commit: src/sys/dev/ata ata-raid.c In-Reply-To: <200803201154.m2KBsQXG019728@repoman.freebsd.org> References: <200803201154.m2KBsQXG019728@repoman.freebsd.org> Message-ID: <48A15B32.2010502@OmniLAN.de> S?ren Schmidt schrieb am 20.03.2008 12:54 (localtime): > sos 2008-03-20 11:54:26 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-raid.c > Log: > Fix Problem with Intel Matrix RAID. > > Fix from PR/121899. > > Revision Changes Path > 1.125 +19 -11 src/sys/dev/ata/ata-raid.c I'd love to see this MFCd, any chance? Any reason not to MFC? Best regards, -Harry -- OmniLAN - UNIX & Windows Netze + Systeme Harald Schmalzbauer Flintsbacher Str. 3 80686 M?nchen +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 http:/www.omnilan.de/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080812/800332a3/signature.pgp From h.schmalzbauer at OmniLAN.de Tue Aug 12 09:58:40 2008 From: h.schmalzbauer at OmniLAN.de (Harald Schmalzbauer) Date: Tue Aug 12 09:58:53 2008 Subject: cvs commit: src/sys/i386/i386 geode.c In-Reply-To: <481572D4.1090000@omnisec.de> References: <200802101914.m1AJEg9d066020@repoman.freebsd.org> <481572D4.1090000@omnisec.de> Message-ID: <48A159D9.5000808@OmniLAN.de> Harald Schmalzbauer schrieb am 28.04.2008 08:46 (localtime): > Poul-Henning Kamp wrote am 10.02.2008 20:14 (localtime): >> 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 > > I'd love to see this MFCd. I'm using 1.11 with RELENG_7 for 2 Months and Any chance to see this MFCd? Any reason why not? Thanks, -Harry -- OmniLAN - UNIX & Windows Netze + Systeme Harald Schmalzbauer Flintsbacher Str. 3 80686 M?nchen +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 http:/www.omnilan.de/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080812/945aad73/signature.pgp From stas at FreeBSD.org Tue Aug 12 10:08:34 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Aug 12 10:08:41 2008 Subject: cvs commit: src/sys/arm/at91 at91_pmc.c Message-ID: <200808121008.m7CA8VsG093900@repoman.freebsd.org> stas 2008-08-12 10:08:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 at91_pmc.c Log: SVN rev 181629 on 2008-08-12 10:08:25Z by stas - MFC r180693. Whitespace fixes. Approved by: kib Revision Changes Path 1.5.2.1 +37 -37 src/sys/arm/at91/at91_pmc.c From des at des.no Tue Aug 12 11:03:58 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Tue Aug 12 11:05:10 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 In-Reply-To: <20080810104244.GO64458@server.vk2pj.dyndns.org> (Peter Jeremy's message of "Sun, 10 Aug 2008 20:42:44 +1000") References: <200802230101.m1N11ndD091703@repoman.freebsd.org> <20080810104244.GO64458@server.vk2pj.dyndns.org> Message-ID: <86wsim4hr6.fsf@ds4.des.no> Peter Jeremy writes: > Are you going to MFC this? I've back-ported the code and it works > well. Working on it. DES -- Dag-Erling Sm?rgrav - des@des.no From pjd at FreeBSD.org Tue Aug 12 12:47:57 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Tue Aug 12 12:48:03 2008 Subject: cvs commit: src/sys/dev/glxsb glxsb.c glxsb_hash.c In-Reply-To: <200808111306.00982.jhb@freebsd.org> References: <200808110841.m7B8fH4m067740@repoman.freebsd.org> <200808111306.00982.jhb@freebsd.org> Message-ID: <20080812121708.GA2304@garage.freebsd.pl> On Mon, Aug 11, 2008 at 01:06:00PM -0400, John Baldwin wrote: > On Monday 11 August 2008 04:41:08 am Pawel Jakub Dawidek wrote: > > pjd 2008-08-11 08:41:08 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/glxsb glxsb.c glxsb_hash.c > > Log: > > SVN rev 181593 on 2008-08-11 08:41:08Z by pjd > > > > - Convert sc_sessions_mtx mutex to a rwlock, so in the fast path > > (glxsb_process()) we don't block others when looking for our session. > > - Simplify the loop responsible for freeing sessions on detach. > > - No need to drop a lock around malloc(M_NOWAIT). > > - Treat ses_used as boolean. > > - Avoid gotos where possible. > > - Various style(9) fixes. > > > > Reviewed by: philip, Patrick Lamaiziere > > Would it be worthwhile to abstract the session handling out of padlock(4) and > glxsb(4)? Are there other CPUs with embedded crypto that will need their own > drivers that having the abstraction would make writing a driver easier? There is still a lot of work to do. Session handling is probably a good candidate for abstraction, but what I don't like the most is that every single driver have to implement both encryption and hash algorithms to be able to work with IPsec, etc. That's why both padlock and glxsb have software implementation of hash algorithms and lie about supporting them. The opencrypto framework should return a driver that supports both algorithm that consumer is looking for, but if can't find one, it should propose one driver for encryption and another driver for hash calculations and hide this separation from the consumer. The are other issues too. For example some drivers support only one order of operations (encryption and hash) and we have three: Authenticate-then-Encrypt Encrypt-and-Authenticate Encrypt-then-Authenticate The order should be also registered by the driver to the opencrypto framework and if there is no driver with the requested order, opencrypto should handle reordering by itself. Mind you every one of the three most popular crypto protocols (IPsec, SSL, SSH) uses different order of operations. Another issue (pointed out by Patrick) is that glxsb only supports AES with 128 bits key and currently one can only register AES support, which implies all key lengths. BTW. Solution for glxsb for now is probably handling 192 and 256 keys in software and not returing EINVAL. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- 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/20080812/fafe5537/attachment.pgp From dfr at FreeBSD.org Tue Aug 12 13:38:19 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Tue Aug 12 13:38:30 2008 Subject: cvs commit: src/usr.bin/rpcgen rpc_svcout.c Message-ID: <200808121338.m7CDcJQB023565@repoman.freebsd.org> dfr 2008-08-12 13:38:06 UTC FreeBSD src repository Modified files: usr.bin/rpcgen rpc_svcout.c Log: SVN rev 181630 on 2008-08-12 13:38:06Z by dfr When generating thread-safe server code, handle procedures with void return types correctly. Revision Changes Path 1.26 +3 -0 src/usr.bin/rpcgen/rpc_svcout.c From brde at optusnet.com.au Tue Aug 12 14:07:48 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Tue Aug 12 14:08:03 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812014937.E21092@besplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> <200808091555.25020.jhb@freebsd.org> <20080812014937.E21092@besplex.bde.org> Message-ID: <20080812231130.D760@besplex.bde.org> On Tue, 12 Aug 2008, Bruce Evans wrote: > On Sat, 9 Aug 2008, John Baldwin wrote: >> You failed to note that not using D_TRACKCLOSE doesn't actually reliable >> close >> devices. > > No, I noted that vfs doesn't count last closes right. Unreliability of > last-close is a special case of that. But using D_TRACKCLOSE mostly makes > things worse. To avoid the vfs bugs in tracked closes, it is necessary > for individual drivers to understand vfs's bugs better than vfs does. > >> I set D_TRACKCLOSE on bpf because under load at work (lots of >> concurrent nmap's) bpf devices would sometimes never get fully closed, so >> you'd have an unopened bpf device that was no longer available. > > It is unclear how that helps. vfs's bugs must be really large for the > last-close to go completely missing. kib fixed some of them a few months > ago (before you changed bpf I think). bpf is especially simple since it > is exclusive-accesses, so the vfs bugs should be smaller for it. > >> D_TRACKCLOSE >> gives much saner semantics for devices, each open() of an fd calls >> the 'd_open' method, and the last close of that fd (which could be in >> another >> process) calls 'd_close'. > > This is insane semantics for most devices, and D_TRACKCLOSE doesn't give it. > Most devices don't care about the difference between file descriptors and > files -- they want d_close to be called only when the last file descriptor > on the device is closed. !D_TRACKCLOSE gives this, modulo the vfs bugs. > > D_TRACKCLOSE doesn't give these semantics: revoke() closes everything > in 1 step and then calls d_close(), giving an N-1 correspondence between > d_open()s and d_close()s (modulo the vfs bugs giving a fuzzier > correspondence). (IIRC, at least before kib's fixes, it was possible > for revoke() to cause any of 0, 1 or 2 calls to d_close(). I think 1 > call always gets as far as devfs_close() but this is only guaranteed > to reaach d_close() with D_TRACKCLOSE.) This is not a bug, but all > drivers that depend on the correspondence being 1-1 are broken. Drivers > that enforce "exclusive" access like bpf have N=1, so they probably > work modulo the vfs bugs, and they have a good chance of not being > affected by the vfs bug that gives an extra devfs_close() and thus an > extra d_close(). I checked that bpf panics (even under UP) due to the obvious bugs in its d_close(): # Generate lots of network activity using something like: sysctl net.inet.icmp.icmplim=0; ping -fq localhost & # Race to panic eventually: while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 Most or all device drivers have obvious bugs in their d_close(); bpf is just a bit easier to understand and more likely to cause a panic than most device drivers, since it is simple and frees resources. A panic is very likely when si_drv1 is freed, and si_drv1 is only locked accidentally. % static int % bpfclose(struct cdev *dev, int flags, int fmt, struct thread *td) % { % struct bpf_d *d = dev->si_drv1; % % BPFD_LOCK(d); % if (d->bd_state == BPF_WAITING) % callout_stop(&d->bd_callout); % d->bd_state = BPF_IDLE; % BPFD_UNLOCK(d); % funsetown(&d->bd_sigio); % mtx_lock(&bpf_mtx); % if (d->bd_bif) % bpf_detachd(d); % mtx_unlock(&bpf_mtx); % selwakeuppri(&d->bd_sel, PRINET); % #ifdef MAC % mac_bpfdesc_destroy(d); % #endif /* MAC */ % knlist_destroy(&d->bd_sel.si_note); % bpf_freed(d); % dev->si_drv1 = NULL; % free(d, M_BPF); Lots of possibly-in-used data structures are destroyed here. % % return (0); % } % % static int % bpfread(struct cdev *dev, struct uio *uio, int ioflag) % { % struct bpf_d *d = dev->si_drv1; There is no locking for si_drv1 here and elsewhere. There used to be locking -- long ago, there was implicit locking for non-SMP non-preemptive kernels. Then there was Giant locking. d can be either NULL or garbage here. (It is null if revoke() just cleared si_drv1 and there is an implicit or accidental memory barrier that makes the change visible here. It is garbage if revoke() has started destroying it but hasn't yet set si_drv1 to NULL when we read si_drv1, or if revoke() starts destroying it after we read si_drv1.) % int timed_out; % int error; % % /* % * Restrict application to use a buffer the same size as % * as kernel buffers. % */ % if (uio->uio_resid != d->bd_bufsize) % return (EINVAL); If we're lucky after losing the race, then d is null and we get a null pointer panic here. I didn't observe this. % % BPFD_LOCK(d); If we're unlucky after losing the race, then we start corrupting *d here. % error = msleep(d, &d->bd_mtx, PRINET|PCATCH, % "bpf", d->bd_rtout); Since we block, we implemented panic(9) even with implicit or explicit Giant locking. The sleep gives a very large race window... % if (error == EINTR || error == ERESTART) { % BPFD_UNLOCK(d); % return (error); % } ...however, we now have locking for d, and bpfclose() blocks on this, so I think we don't implement panic(9) here. We have a broken revoke() instead -- it should do a forced close without waiting, but instead it waits for the unlock in the above or later. % if (error == EWOULDBLOCK) { % /* % * On a timeout, return what's in the buffer, % * which may be nothing. If there is something % * in the store buffer, we can rotate the buffers. % */ % if (d->bd_hbuf) % /* % * We filled up the buffer in between % * getting the timeout and arriving % * here, so we don't need to rotate. % */ % break; % % if (d->bd_slen == 0) { % BPFD_UNLOCK(d); % return (0); % } % ROTATE_BUFFERS(d); % break; % } % } % /* % * At this point, we know we have something in the hold slot. % */ % BPFD_UNLOCK(d); If bpfclose() was blocked on d, then our d is especially likely to become corrupt just after here. % % /* % * Move data from hold buffer into user space. % * We know the entire buffer is transferred since % * we checked above that the read buffer is bpf_bufsize bytes. % * % * XXXRW: More synchronization needed here: what if a second thread % * issues a read on the same fd at the same time? Don't want this % * getting invalidated. % */ % error = bpf_uiomove(d, d->bd_hbuf, d->bd_hlen, uio); % % BPFD_LOCK(d); % d->bd_fbuf = d->bd_hbuf; % d->bd_hbuf = NULL; % d->bd_hlen = 0; % bpf_buf_reclaimed(d); % BPFD_UNLOCK(d); % % return (error); % } Bruce From ed at 80386.nl Tue Aug 12 14:15:23 2008 From: ed at 80386.nl (Ed Schouten) Date: Tue Aug 12 14:15:35 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812231130.D760@besplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> <200808091555.25020.jhb@freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> Message-ID: <20080812141521.GX99951@hoeg.nl> Hello all, * Bruce Evans wrote: > I checked that bpf panics (even under UP) due to the obvious bugs in > its d_close(): > > # Generate lots of network activity using something like: > sysctl net.inet.icmp.icmplim=0; ping -fq localhost & > > # Race to panic eventually: > while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 > > Most or all device drivers have obvious bugs in their d_close(); bpf > is just a bit easier to understand and more likely to cause a panic > than most device drivers, since it is simple and frees resources. A > panic is very likely when si_drv1 is freed, and si_drv1 is only locked > accidentally. I remember I once warned people about this on the lists. It seems the cdevpriv API is protected against this, so the following patch turns BPF into a single device node, which can handle revoke() calls properly. I wrote this patch a month ago, but eventually I didn't commit this. I think I should, though. http://80386.nl/files/bpf-cdevpriv.diff -- Ed Schouten WWW: http://80386.nl/ -------------- 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/20080812/eef9ef39/attachment.pgp From kostikbel at gmail.com Tue Aug 12 14:41:56 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Tue Aug 12 14:42:51 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812141521.GX99951@hoeg.nl> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> <200808091555.25020.jhb@freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> <20080812141521.GX99951@hoeg.nl> Message-ID: <20080812144134.GC1803@deviant.kiev.zoral.com.ua> On Tue, Aug 12, 2008 at 04:15:21PM +0200, Ed Schouten wrote: > Hello all, > > * Bruce Evans wrote: > > I checked that bpf panics (even under UP) due to the obvious bugs in > > its d_close(): > > > > # Generate lots of network activity using something like: > > sysctl net.inet.icmp.icmplim=0; ping -fq localhost & > > > > # Race to panic eventually: > > while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 > > > > Most or all device drivers have obvious bugs in their d_close(); bpf > > is just a bit easier to understand and more likely to cause a panic > > than most device drivers, since it is simple and frees resources. A > > panic is very likely when si_drv1 is freed, and si_drv1 is only locked > > accidentally. > > I remember I once warned people about this on the lists. It seems the > cdevpriv API is protected against this, so the following patch turns BPF > into a single device node, which can handle revoke() calls properly. > > I wrote this patch a month ago, but eventually I didn't commit this. I > think I should, though. > > http://80386.nl/files/bpf-cdevpriv.diff Did you tested cdevpriv'ed bpf against revoke ? -------------- 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/20080812/7f82c95c/attachment.pgp From ed at 80386.nl Tue Aug 12 14:52:07 2008 From: ed at 80386.nl (Ed Schouten) Date: Tue Aug 12 14:52:12 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812144134.GC1803@deviant.kiev.zoral.com.ua> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808081226.32089.jhb@freebsd.org> <20080809130929.P77335@delplex.bde.org> <200808091555.25020.jhb@freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> <20080812141521.GX99951@hoeg.nl> <20080812144134.GC1803@deviant.kiev.zoral.com.ua> Message-ID: <20080812145206.GZ99951@hoeg.nl> * Kostik Belousov wrote: > Did you tested cdevpriv'ed bpf against revoke ? Yes. It worked like it should. I don't have the patch running on one of my systems right now, but I did some tests, running multiple instances of tcpdump at the same time. When I revoked /dev/bpf, all instances just shut down "gracefully" because an ioctl() failed. -- Ed Schouten WWW: http://80386.nl/ -------------- 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/20080812/8feccf1c/attachment.pgp From jhb at freebsd.org Tue Aug 12 15:15:47 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 12 15:15:58 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812141521.GX99951@hoeg.nl> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <20080812231130.D760@besplex.bde.org> <20080812141521.GX99951@hoeg.nl> Message-ID: <200808121112.59596.jhb@freebsd.org> On Tuesday 12 August 2008 10:15:21 am Ed Schouten wrote: > Hello all, > > * Bruce Evans wrote: > > I checked that bpf panics (even under UP) due to the obvious bugs in > > its d_close(): > > > > # Generate lots of network activity using something like: > > sysctl net.inet.icmp.icmplim=0; ping -fq localhost & > > > > # Race to panic eventually: > > while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 > > > > Most or all device drivers have obvious bugs in their d_close(); bpf > > is just a bit easier to understand and more likely to cause a panic > > than most device drivers, since it is simple and frees resources. A > > panic is very likely when si_drv1 is freed, and si_drv1 is only locked > > accidentally. > > I remember I once warned people about this on the lists. It seems the > cdevpriv API is protected against this, so the following patch turns BPF > into a single device node, which can handle revoke() calls properly. > > I wrote this patch a month ago, but eventually I didn't commit this. I > think I should, though. > > http://80386.nl/files/bpf-cdevpriv.diff This is definitely a good idea and should be done. -- John Baldwin From jhb at freebsd.org Tue Aug 12 15:15:49 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 12 15:16:08 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080812231130.D760@besplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> Message-ID: <200808121115.01483.jhb@freebsd.org> On Tuesday 12 August 2008 10:07:43 am Bruce Evans wrote: > I checked that bpf panics (even under UP) due to the obvious bugs in > its d_close(): > > # Generate lots of network activity using something like: > sysctl net.inet.icmp.icmplim=0; ping -fq localhost & > > # Race to panic eventually: > while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 > > Most or all device drivers have obvious bugs in their d_close(); bpf > is just a bit easier to understand and more likely to cause a panic > than most device drivers, since it is simple and frees resources. A > panic is very likely when si_drv1 is freed, and si_drv1 is only locked > accidentally. I think revoke(2) should EINVAL (or ENOTTY) for non-ttys. Of course bpf is broken with revoke, but nobody uses revoke with bpf. What people do do in the normal course of using bpf is lots of concurrent bpf accesses, and w/o D_TRACKCLOSE, bpf devices don't get closed. -- John Baldwin From antoine at FreeBSD.org Tue Aug 12 16:59:37 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Tue Aug 12 16:59:48 2008 Subject: cvs commit: src/tools/tools/nanobsd FlashDevice.sub Message-ID: <200808121659.m7CGxbgD054153@repoman.freebsd.org> antoine 2008-08-12 16:59:23 UTC FreeBSD src repository Modified files: tools/tools/nanobsd FlashDevice.sub Log: SVN rev 181631 on 2008-08-12 16:59:23Z by antoine Use expr -e instead of expr to compute NANO_MEDIASIZE for Flash devices larger than 2GB to prevent an overflow [1]. Make case-insensitive comparison work for siliconsystems, soekris and transcend devices. PR: conf/126386 [1] Submitted by: Mark A [1] MFC after: 1 month Revision Changes Path 1.9 +5 -5 src/tools/tools/nanobsd/FlashDevice.sub From brde at optusnet.com.au Tue Aug 12 17:23:59 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Tue Aug 12 17:24:05 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808121115.01483.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> <200808121115.01483.jhb@freebsd.org> Message-ID: <20080813014505.H1310@besplex.bde.org> On Tue, 12 Aug 2008, John Baldwin wrote: > On Tuesday 12 August 2008 10:07:43 am Bruce Evans wrote: >> I checked that bpf panics (even under UP) due to the obvious bugs in >> its d_close(): >> >> # Generate lots of network activity using something like: >> sysctl net.inet.icmp.icmplim=0; ping -fq localhost & >> >> # Race to panic eventually: >> while :; do tcpdump -i lo0 & sleep 0.001; revoke /dev/bpf0 >> >> Most or all device drivers have obvious bugs in their d_close(); bpf >> is just a bit easier to understand and more likely to cause a panic >> than most device drivers, since it is simple and frees resources. A >> panic is very likely when si_drv1 is freed, and si_drv1 is only locked >> accidentally. > > I think revoke(2) should EINVAL (or ENOTTY) for non-ttys. That might work, but revoke() is supposed to work for all types of files, and there may other paths to a forced d_close(). umount -f should be one (umount -f should call vflush() with flags FORCECLOSE; then vflush() calls vgonel(). revoke() is essentially vgone()). However, devfs seems to be already missing support for umount -f. > Of course bpf is > broken with revoke, but nobody uses revoke with bpf. What people do do in > the normal course of using bpf is lots of concurrent bpf accesses, and w/o > D_TRACKCLOSE, bpf devices don't get closed. Why not fix the actual bug? Your commit doesn't give enough details on the actual bug, so I will try to guess it: libpcap has to probe for for a free bpf unit, so it does lots of failing opens of bpfN (especially when N == 0) when bpfN is already in use. Failing opens break last closes with which they are concurrent, because the relevant reference count (si_usecount) is increased during the failing open (I think it is the vref() in _fgetvp() that does it). Then when the opens fail, si_usecount is decremented to 1, but devfs_close() is not called again because only 1 real last close is possible (I think -- at least without races with revoke()), so d_close() is never called twice for 1 real least close. Failing opens shouldn't take long, so it is surprising that the race is often lost. Apparently there is some synchronization. This bug probably also affects the probe for a free pty. The bug affects callin/callout serial devices in a non-race fashion. I committed a work-around for it in FreeBSD-1 and still use this, but never committed the work-around to FreeBSD-2+. The workaround is to not count non-returned d_open()s in count_dev() or vcount(). This is only a workaround because it might be correct to count non-returned d_open()s in some cases. One interesting case is the vcount(vp) > 1 check for revoke(). We hold 1 reference to the vp, and non-returned d_open()s (or even to-be-called d_open()s) may hold more, so vcount() may be > 1 for non-open devices. Then we eventually call devfs_close(), and devfs_close() may later be confused into calling d_close() on a non-open device (I think devfs_close() is confused enough iff there is precisely 1 non-returned d_open() later). This is bogus, but we should do something to cancel any partially complete d_open()s if there is >= 1 of them. I once thought that using D_TRACKCLOSE was the right fix for this in serial drivers. Now I know better :-). The bug affects all devices, and has a tricky interaction with revoke() and with open()s and closes() racing each other. vfs should handle it as an easy special case of handling the others. Bruce From des at FreeBSD.org Tue Aug 12 17:26:46 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Aug 12 17:26:52 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: <200808121726.m7CHQkJR057713@repoman.freebsd.org> des 2008-08-12 17:22:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) 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: SVN rev 181632 on 2008-08-12 17:22:51Z by des MFH r176471 (KTR_STRUCT, support for struct stat and struct sockaddr) Revision Changes Path 1.313.2.8 +8 -0 src/sys/kern/kern_descrip.c 1.121.2.1 +31 -1 src/sys/kern/kern_ktrace.c 1.259.2.6 +36 -0 src/sys/kern/uipc_syscalls.c 1.443.2.1 +12 -0 src/sys/kern/vfs_syscalls.c 1.33.2.1 +13 -0 src/sys/sys/ktrace.h 1.15.2.1 +7 -3 src/usr.bin/kdump/kdump.1 1.37.2.3 +239 -4 src/usr.bin/kdump/kdump.c 1.9.2.1 +1 -0 src/usr.bin/kdump/mksubr 1.18.2.1 +7 -5 src/usr.bin/ktrace/ktrace.1 1.4.24.1 +1 -1 src/usr.bin/ktrace/ktrace.h 1.13.10.1 +3 -0 src/usr.bin/ktrace/subr.c From phk at phk.freebsd.dk Tue Aug 12 17:28:57 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Tue Aug 12 17:29:04 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: Your message of "Wed, 13 Aug 2008 03:23:47 +1000." <20080813014505.H1310@besplex.bde.org> Message-ID: <35880.1218562133@critter.freebsd.dk> In message <20080813014505.H1310@besplex.bde.org>, Bruce Evans writes: >I once thought that using D_TRACKCLOSE was the right fix for this in >serial drivers. D_TRACKCLOSE Was created for drivers that need per open state reclaimation, forced closes is an entirely different kettle of fish. Writing a driver to support forced closes is significantly more work than writing a "normal" driver, but it can be eased a lot if we add infrastructure to keep track of and wake up all sleeping threads in a particular driver. Either way, it is significant architectural work. Poul-Henning -- 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 jhb at freebsd.org Tue Aug 12 18:40:53 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 12 18:41:04 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080813014505.H1310@besplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808121115.01483.jhb@freebsd.org> <20080813014505.H1310@besplex.bde.org> Message-ID: <200808121344.57238.jhb@freebsd.org> On Tuesday 12 August 2008 01:23:47 pm Bruce Evans wrote: > On Tue, 12 Aug 2008, John Baldwin wrote: > > Of course bpf is > > broken with revoke, but nobody uses revoke with bpf. What people do do in > > the normal course of using bpf is lots of concurrent bpf accesses, and w/o > > D_TRACKCLOSE, bpf devices don't get closed. > > Why not fix the actual bug? > > Your commit doesn't give enough details on the actual bug, so I will > try to guess it: libpcap has to probe for for a free bpf unit, so it > does lots of failing opens of bpfN (especially when N == 0) when bpfN > is already in use. Failing opens break last closes with which they > are concurrent, because the relevant reference count (si_usecount) is > increased during the failing open (I think it is the vref() in _fgetvp() > that does it). Then when the opens fail, si_usecount is decremented > to 1, but devfs_close() is not called again because only 1 real last > close is possible (I think -- at least without races with revoke()), > so d_close() is never called twice for 1 real least close. Failing > opens shouldn't take long, so it is surprising that the race is often > lost. Apparently there is some synchronization. Correct-ish. The actual extra reference is in devfs_lookup() rather than _fgetvp(). Specifically, it is an open concurrent with a close. The opening thread first does the lookup which bumps the reference count in devfs_allocv() (IIRC). Eventually we get to devfs_open() which drops the vnode lock while it invokes d_open(). If the closing thread is waiting for the vnode lock for close, then it can acquire the lock and do devfs_close(). This sees count_dev() > 1 and doesn't call d_close(). Meanwhile, the opening thread will fail bpfopen() and return, but the bpf device is permamently open. When I talked with phk@ about it originally his reply to my various suggestions was D_TRACKCLOSE. I'm not sure how you'd really fix this otherwise: calling d_close() from devfs_open() if the use_count is 1 after re-acquiring the vnode lock (you have to drop the vnode lock while you call d_close() though, so you might still race with other concurrent opens for example), having a count of pending opens and subtracting that from count_dev() when checking for whether or not to call d_close() (but is that dubious? Then you might call d_close() while d_open() is running, so the driver would need to put locking to synchronize the two and handle the case that the d_close() actually runs after a d_open() that was successfull, so each driver now has to duplicate that work.), etc. -- John Baldwin From kib at FreeBSD.org Tue Aug 12 19:34:56 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Aug 12 19:35:02 2008 Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c Message-ID: <200808121934.m7CJYsxj069910@repoman.freebsd.org> kib 2008-08-12 19:34:45 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_vnops.c Log: SVN rev 181635 on 2008-08-12 19:34:45Z by kib Remove unnecessary locking around pointer fetch. Requested by: jhb Revision Changes Path 1.164 +0 -2 src/sys/fs/devfs/devfs_vnops.c From brix at FreeBSD.org Tue Aug 12 19:40:42 2008 From: brix at FreeBSD.org (Henrik Brix Andersen) Date: Tue Aug 12 19:40:53 2008 Subject: cvs commit: src/sys/dev/usb usb_quirks.c usbdevs Message-ID: <200808121940.m7CJegmb070484@repoman.freebsd.org> brix 2008-08-12 19:40:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb usb_quirks.c usbdevs Log: SVN rev 181636 on 2008-08-12 19:40:18Z by brix MFC of SVN rev 181482: Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G. Approved by: sam Revision Changes Path 1.63.2.2 +4 -0 src/sys/dev/usb/usb_quirks.c 1.328.2.15 +2 -0 src/sys/dev/usb/usbdevs From brix at FreeBSD.org Tue Aug 12 19:40:44 2008 From: brix at FreeBSD.org (Henrik Brix Andersen) Date: Tue Aug 12 19:41:04 2008 Subject: cvs commit: src/sys/dev/usb usb_quirks.c usbdevs Message-ID: <200808121940.m7CJehD4070514@repoman.freebsd.org> brix 2008-08-12 19:40:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/usb usb_quirks.c usbdevs Log: SVN rev 181637 on 2008-08-12 19:40:28Z by brix MFC of SVN rev 181482: Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G. Approved by: sam Revision Changes Path 1.41.2.9 +5 -0 src/sys/dev/usb/usb_quirks.c 1.232.2.29 +2 -0 src/sys/dev/usb/usbdevs From kmacy at FreeBSD.org Tue Aug 12 19:41:15 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 12 19:41:26 2008 Subject: cvs commit: src/sys/i386/include/xen evtchn.h features.h hypercall.h hypervisor.h synch_bitops.h xen-os.h xen_intr.h xenbus.h xenfunc.h xenpmap.h xenstored.h xenvar.h Message-ID: <200808121941.m7CJfFPq070650@repoman.freebsd.org> kmacy 2008-08-12 19:41:11 UTC FreeBSD src repository Added files: sys/i386/include/xen evtchn.h features.h hypercall.h hypervisor.h synch_bitops.h xen-os.h xen_intr.h xenbus.h xenfunc.h xenpmap.h xenstored.h xenvar.h Log: SVN rev 181638 on 2008-08-12 19:41:11Z by kmacy Import xen sub-arch includes. MFC after: 2 weeks Revision Changes Path 1.1 +82 -0 src/sys/i386/include/xen/evtchn.h (new) 1.1 +22 -0 src/sys/i386/include/xen/features.h (new) 1.1 +405 -0 src/sys/i386/include/xen/hypercall.h (new) 1.1 +143 -0 src/sys/i386/include/xen/hypervisor.h (new) 1.1 +139 -0 src/sys/i386/include/xen/synch_bitops.h (new) 1.1 +371 -0 src/sys/i386/include/xen/xen-os.h (new) 1.1 +71 -0 src/sys/i386/include/xen/xen_intr.h (new) 1.1 +287 -0 src/sys/i386/include/xen/xenbus.h (new) 1.1 +83 -0 src/sys/i386/include/xen/xenfunc.h (new) 1.1 +243 -0 src/sys/i386/include/xen/xenpmap.h (new) 1.1 +89 -0 src/sys/i386/include/xen/xenstored.h (new) 1.1 +103 -0 src/sys/i386/include/xen/xenvar.h (new) From pjd at FreeBSD.org Tue Aug 12 19:42:17 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Tue Aug 12 19:42:24 2008 Subject: cvs commit: src/sbin/geom/class/eli geli.8 geom_eli.c Message-ID: <200808121942.m7CJgHZX070748@repoman.freebsd.org> pjd 2008-08-12 19:42:03 UTC FreeBSD src repository Modified files: sbin/geom/class/eli geli.8 geom_eli.c Log: SVN rev 181639 on 2008-08-12 19:42:03Z by pjd geli onetime command can take only one GEOM provider at a time. Revision Changes Path 1.23 +1 -1 src/sbin/geom/class/eli/geli.8 1.25 +2 -2 src/sbin/geom/class/eli/geom_eli.c From marius at FreeBSD.org Tue Aug 12 19:43:48 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Tue Aug 12 19:44:00 2008 Subject: cvs commit: src/sys/sparc64/sparc64 db_disasm.c Message-ID: <200808121943.m7CJhm4n070862@repoman.freebsd.org> marius 2008-08-12 19:43:36 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 db_disasm.c Log: SVN rev 181640 on 2008-08-12 19:43:36Z by marius - Add sys_tick and the USIII and beyond sys_tick_cmpr to state_regs[]. - Const'ify and static'ize as appropriate. - Use __FBSDID(). Revision Changes Path 1.9 +15 -15 src/sys/sparc64/sparc64/db_disasm.c From kmacy at FreeBSD.org Tue Aug 12 19:48:35 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 12 19:48:41 2008 Subject: cvs commit: src/sys/i386/xen clock.c exception.s locore.s pmap.c xen_machdep.c Message-ID: <200808121948.m7CJmY41071368@repoman.freebsd.org> kmacy 2008-08-12 19:48:18 UTC FreeBSD src repository Added files: sys/i386/xen clock.c exception.s locore.s pmap.c xen_machdep.c Log: SVN rev 181641 on 2008-08-12 19:48:18Z by kmacy Import i386 xen sub-arch files. MFC after: 2 weeks Revision Changes Path 1.1 +976 -0 src/sys/i386/xen/clock.c (new) 1.1 +466 -0 src/sys/i386/xen/exception.s (new) 1.1 +372 -0 src/sys/i386/xen/locore.s (new) 1.1 +4128 -0 src/sys/i386/xen/pmap.c (new) 1.1 +1315 -0 src/sys/i386/xen/xen_machdep.c (new) From marius at FreeBSD.org Tue Aug 12 20:00:35 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Tue Aug 12 20:00:41 2008 Subject: cvs commit: src/sys/sparc64/include vmparam.h Message-ID: <200808122000.m7CK0Z2i072499@repoman.freebsd.org> marius 2008-08-12 20:00:28 UTC FreeBSD src repository Modified files: sys/sparc64/include vmparam.h Log: SVN rev 181642 on 2008-08-12 20:00:28Z by marius Assume OpenSolaris knows better and use their value for VM_MAX_PROM_ADDRESS. Revision Changes Path 1.20 +1 -1 src/sys/sparc64/include/vmparam.h From kmacy at FreeBSD.org Tue Aug 12 20:02:09 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 12 20:02:16 2008 Subject: cvs commit: src/sys/dev/xen/balloon balloon.c src/sys/dev/xen/blkback blkback.c src/sys/dev/xen/blkfront blkfront.c block.h src/sys/dev/xen/console console.c xencons_ring.c xencons_ring.h src/sys/dev/xen/evtchn evtchn_dev.c src/sys/dev/xen/netback ... Message-ID: <200808122002.m7CK29aO072853@repoman.freebsd.org> kmacy 2008-08-12 20:01:57 UTC FreeBSD src repository Added files: sys/dev/xen/balloon balloon.c sys/dev/xen/blkback blkback.c sys/dev/xen/blkfront blkfront.c block.h sys/dev/xen/console console.c xencons_ring.c xencons_ring.h sys/dev/xen/evtchn evtchn_dev.c sys/dev/xen/netback netback.c sys/dev/xen/netfront mbufq.h netfront.c sys/dev/xen/pcifront pcifront.c Log: SVN rev 181643 on 2008-08-12 20:01:57Z by kmacy Import Xen paravirtual drivers. MFC after: 2 weeks Revision Changes Path 1.1 +446 -0 src/sys/dev/xen/balloon/balloon.c (new) 1.1 +1349 -0 src/sys/dev/xen/blkback/blkback.c (new) 1.1 +1021 -0 src/sys/dev/xen/blkfront/blkfront.c (new) 1.1 +97 -0 src/sys/dev/xen/blkfront/block.h (new) 1.1 +564 -0 src/sys/dev/xen/console/console.c (new) 1.1 +154 -0 src/sys/dev/xen/console/xencons_ring.c (new) 1.1 +20 -0 src/sys/dev/xen/console/xencons_ring.h (new) 1.1 +394 -0 src/sys/dev/xen/evtchn/evtchn_dev.c (new) 1.1 +1585 -0 src/sys/dev/xen/netback/netback.c (new) 1.1 +123 -0 src/sys/dev/xen/netfront/mbufq.h (new) 1.1 +1829 -0 src/sys/dev/xen/netfront/netfront.c (new) 1.1 +688 -0 src/sys/dev/xen/pcifront/pcifront.c (new) From jkim at FreeBSD.org Tue Aug 12 20:10:55 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Tue Aug 12 20:11:07 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h Message-ID: <200808122010.m7CKAthB074800@repoman.freebsd.org> jkim 2008-08-12 20:10:45 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h Log: SVN rev 181644 on 2008-08-12 20:10:45Z by jkim Replace all stack usages with registers and remove unused macros. Revision Changes Path 1.7 +40 -42 src/sys/amd64/amd64/bpf_jit_machdep.c 1.6 +41 -44 src/sys/amd64/amd64/bpf_jit_machdep.h From jkim at FreeBSD.org Tue Aug 12 20:13:11 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Tue Aug 12 20:13:23 2008 Subject: cvs commit: src/sys/i386/i386 bpf_jit_machdep.c Message-ID: <200808122013.m7CKDBSe075031@repoman.freebsd.org> jkim 2008-08-12 20:12:59 UTC FreeBSD src repository Modified files: sys/i386/i386 bpf_jit_machdep.c Log: SVN rev 181645 on 2008-08-12 20:12:59Z by jkim Reduce number of stack usages with unused %edi. Revision Changes Path 1.7 +8 -7 src/sys/i386/i386/bpf_jit_machdep.c From pjd at FreeBSD.org Tue Aug 12 20:19:12 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Tue Aug 12 20:19:18 2008 Subject: cvs commit: src/sys/geom/eli g_eli.c Message-ID: <200808122019.m7CKJCCu075720@repoman.freebsd.org> pjd 2008-08-12 20:19:08 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: SVN rev 181646 on 2008-08-12 20:19:08Z by pjd Style(9). Revision Changes Path 1.41 +4 -3 src/sys/geom/eli/g_eli.c From csjp at FreeBSD.org Tue Aug 12 21:27:59 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Tue Aug 12 21:28:11 2008 Subject: cvs commit: src/sys/kern kern_exec.c Message-ID: <200808122127.m7CLRwGN092038@repoman.freebsd.org> csjp 2008-08-12 21:27:48 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: SVN rev 181647 on 2008-08-12 21:27:48Z by csjp Reduce the scope of the vnode lock such that it does not cover the various copyouts associated with initializing the process's argv/env data in userspace. It is possible that these copyout operations can fault under memory pressure, possibly resulting in dead locks. This is believed to be safe since none of the copyout_strings() operations need to interact with the vnode here. Submitted by: Zhouyi Zhou PR: kern/111260 Discussed with: kib MFC after: 3 weeks Revision Changes Path 1.321 +5 -1 src/sys/kern/kern_exec.c From jkim at FreeBSD.org Tue Aug 12 21:32:27 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Tue Aug 12 21:32:38 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h src/sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Message-ID: <200808122132.m7CLWQen092441@repoman.freebsd.org> jkim 2008-08-12 21:31:31 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Log: SVN rev 181648 on 2008-08-12 21:31:31Z by jkim Update copyrights and fix style(9). Revision Changes Path 1.8 +8 -8 src/sys/amd64/amd64/bpf_jit_machdep.c 1.7 +2 -2 src/sys/amd64/amd64/bpf_jit_machdep.h 1.8 +10 -10 src/sys/i386/i386/bpf_jit_machdep.c 1.6 +2 -2 src/sys/i386/i386/bpf_jit_machdep.h From jkim at FreeBSD.org Tue Aug 12 21:45:48 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Tue Aug 12 21:46:00 2008 Subject: cvs commit: src/sys/i386/i386 bpf_jit_machdep.h Message-ID: <200808122145.m7CLjmoj093586@repoman.freebsd.org> jkim 2008-08-12 21:45:38 UTC FreeBSD src repository Modified files: sys/i386/i386 bpf_jit_machdep.h Log: SVN rev 181649 on 2008-08-12 21:45:38Z by jkim MFamd64: Remove unused macros. Revision Changes Path 1.7 +0 -21 src/sys/i386/i386/bpf_jit_machdep.h From marcel at FreeBSD.org Wed Aug 13 00:03:52 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Wed Aug 13 00:04:06 2008 Subject: cvs commit: src/lib/libthread_db thread_db.h Message-ID: <200808130003.m7D03qpm007942@repoman.freebsd.org> marcel 2008-08-13 00:03:35 UTC FreeBSD src repository Modified files: lib/libthread_db thread_db.h Log: SVN rev 181651 on 2008-08-13 00:03:35Z by marcel Change the type of ti_traceme from a char to an int as its address is passed to ps_pread for reading sizeof(int) bytes. Revision Changes Path 1.8 +1 -1 src/lib/libthread_db/thread_db.h From kmacy at FreeBSD.org Wed Aug 13 01:30:54 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 13 01:31:06 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c Message-ID: <200808130130.m7D1Uri2029090@repoman.freebsd.org> kmacy 2008-08-13 01:30:41 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c Log: SVN rev 181652 on 2008-08-13 01:30:41Z by kmacy Add LRO and MAC statistics to exported sysctls. Obtained from: Chelsio Inc. MFC after: 1 week Revision Changes Path 1.35 +7 -0 src/sys/dev/cxgb/cxgb_adapter.h 1.59 +18 -7 src/sys/dev/cxgb/cxgb_main.c 1.55 +114 -7 src/sys/dev/cxgb/cxgb_sge.c From kmacy at FreeBSD.org Wed Aug 13 01:32:40 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 13 01:32:53 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <200808130132.m7D1Wdam029235@repoman.freebsd.org> kmacy 2008-08-13 01:32:32 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_sge.c Log: SVN rev 181653 on 2008-08-13 01:32:32Z by kmacy Fix runt TSO packet issue. Obtained from: Chelsio Inc. MFC after: 1 week Revision Changes Path 1.56 +23 -20 src/sys/dev/cxgb/cxgb_sge.c From kientzle at FreeBSD.org Wed Aug 13 03:28:01 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 03:28:13 2008 Subject: cvs commit: src/lib/libarchive Makefile archive.h archive.h.in archive_endian.h archive_entry.3 archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_platform.h archive_read.3 archive_read_extract.c archive_read_support_compression_bzip2.c ... Message-ID: <200808130328.m7D3S09w042314@repoman.freebsd.org> kientzle 2008-08-13 03:27:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile archive.h.in archive_endian.h archive_entry.3 archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_platform.h archive_read.3 archive_read_extract.c archive_read_support_compression_bzip2.c archive_read_support_compression_program.c archive_read_support_format_ar.c archive_read_support_format_mtree.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string.h archive_util.c archive_write.3 archive_write_disk.3 archive_write_disk.c archive_write_set_compression_program.c archive_write_set_format_ar.c archive_write_set_format_pax.c archive_write_set_format_ustar.c config_freebsd.h cpio.5 filter_fork.c libarchive-formats.5 tar.5 lib/libarchive/test Makefile main.c test_acl_pax.c test_archive_api_feature.c test_entry.c test_pax_filename_encoding.c test_read_format_mtree.c test_tar_filenames.c test_tar_large.c test_write_disk_hardlink.c test_write_format_ar.c Added files: (Branch: RELENG_6) lib/libarchive archive.h lib/libarchive/test test_link_resolver.c test_read_format_tar_empty_filename.c test_read_format_tar_empty_filename.tar.uu test_ustar_filenames.c test_write_format_tar_ustar.c Log: SVN rev 181654 on 2008-08-13 03:27:33Z by kientzle MFC r179321,179349,179790,179797,179801-179802 This brings in all of the updates from libarchive 2.5.4b plus the most critical of the fixes from 2.5.5. Note the internal version is 1.9.25 to mark the fact that it still uses the libarchive 1.x API in order to preserve API/ABI compatibility with previous FreeBSD 6 releases. Revision Changes Path 1.36.2.16 +6 -28 src/lib/libarchive/Makefile 1.18.4.1 +592 -0 src/lib/libarchive/archive.h (new) 1.23.2.11 +181 -128 src/lib/libarchive/archive.h.in 1.3.2.2 +14 -0 src/lib/libarchive/archive_endian.h 1.9.8.8 +13 -2 src/lib/libarchive/archive_entry.3 1.29.2.11 +298 -122 src/lib/libarchive/archive_entry.c 1.16.2.8 +223 -106 src/lib/libarchive/archive_entry.h 1.3.2.2 +292 -114 src/lib/libarchive/archive_entry_link_resolver.c 1.1.2.4 +20 -6 src/lib/libarchive/archive_entry_private.h 1.16.2.6 +3 -0 src/lib/libarchive/archive_platform.h 1.20.2.8 +23 -0 src/lib/libarchive/archive_read.3 1.41.2.8 +17 -11 src/lib/libarchive/archive_read_extract.c 1.7.2.7 +22 -10 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.1.2.3 +20 -0 src/lib/libarchive/archive_read_support_compression_program.c 1.6.2.4 +6 -2 src/lib/libarchive/archive_read_support_format_ar.c 1.9.2.5 +556 -104 src/lib/libarchive/archive_read_support_format_mtree.c 1.32.2.15 +55 -39 src/lib/libarchive/archive_read_support_format_tar.c 1.5.2.12 +112 -5 src/lib/libarchive/archive_read_support_format_zip.c 1.6.2.4 +256 -7 src/lib/libarchive/archive_string.c 1.6.2.4 +20 -6 src/lib/libarchive/archive_string.h 1.9.2.6 +1 -23 src/lib/libarchive/archive_util.c 1.12.2.6 +5 -1 src/lib/libarchive/archive_write.3 1.1.2.3 +4 -0 src/lib/libarchive/archive_write_disk.3 1.12.2.10 +120 -43 src/lib/libarchive/archive_write_disk.c 1.1.2.2 +19 -0 src/lib/libarchive/archive_write_set_compression_program.c 1.3.2.4 +6 -5 src/lib/libarchive/archive_write_set_format_ar.c 1.27.2.8 +58 -17 src/lib/libarchive/archive_write_set_format_pax.c 1.12.2.6 +38 -30 src/lib/libarchive/archive_write_set_format_ustar.c 1.2.2.6 +3 -0 src/lib/libarchive/config_freebsd.h 1.2.2.2 +6 -6 src/lib/libarchive/cpio.5 1.1.2.3 +5 -0 src/lib/libarchive/filter_fork.c 1.7.2.5 +8 -0 src/lib/libarchive/libarchive-formats.5 1.12.2.3 +6 -6 src/lib/libarchive/tar.5 1.23.2.7 +8 -18 src/lib/libarchive/test/Makefile 1.13.2.3 +108 -21 src/lib/libarchive/test/main.c 1.5.2.2 +4 -8 src/lib/libarchive/test/test_acl_pax.c 1.5.2.3 +12 -1 src/lib/libarchive/test/test_archive_api_feature.c 1.6.2.5 +32 -3 src/lib/libarchive/test/test_entry.c 1.2.4.1 +187 -0 src/lib/libarchive/test/test_link_resolver.c (new) 1.3.2.2 +151 -15 src/lib/libarchive/test/test_pax_filename_encoding.c 1.2.2.2 +5 -5 src/lib/libarchive/test/test_read_format_mtree.c 1.1.4.1 +66 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.c (new) 1.2.4.1 +38 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.tar.uu (new) 1.9.2.2 +22 -12 src/lib/libarchive/test/test_tar_filenames.c 1.3.2.2 +5 -0 src/lib/libarchive/test/test_tar_large.c 1.2.2.1 +183 -0 src/lib/libarchive/test/test_ustar_filenames.c (new) 1.2.2.2 +12 -4 src/lib/libarchive/test/test_write_disk_hardlink.c 1.7.2.2 +2 -1 src/lib/libarchive/test/test_write_format_ar.c 1.2.2.1 +342 -0 src/lib/libarchive/test/test_write_format_tar_ustar.c (new) From yongari at FreeBSD.org Wed Aug 13 03:40:17 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 13 03:40:29 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808130340.m7D3eGSc043691@repoman.freebsd.org> yongari 2008-08-13 03:40:08 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 181655 on 2008-08-13 03:40:08Z by yongari Fix VLAN hardware tag insertion/stripping on big-endian architectures. Reported by: naddy Tested on: sparc64 MFC after: 1 week Revision Changes Path 1.134 +2 -2 src/sys/dev/re/if_re.c From kientzle at FreeBSD.org Wed Aug 13 03:55:09 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 03:55:21 2008 Subject: cvs commit: src/lib/libarchive/test test_compat_tar_hardlink.c test_pax_filename_encoding.c test_ustar_filenames.c test_write_disk_hardlink.c test_write_format_tar_ustar.c Message-ID: <200808130355.m7D3t5n7053998@repoman.freebsd.org> kientzle 2008-08-13 03:54:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test test_compat_tar_hardlink.c test_pax_filename_encoding.c test_ustar_filenames.c test_write_disk_hardlink.c test_write_format_tar_ustar.c Log: SVN rev 181656 on 2008-08-13 03:54:53Z by kientzle MFC r181555: Fix test suite to work with libarchive 1.x API. Revision Changes Path 1.2.2.3 +4 -0 src/lib/libarchive/test/test_compat_tar_hardlink.c 1.3.2.3 +8 -0 src/lib/libarchive/test/test_pax_filename_encoding.c 1.2.2.2 +10 -2 src/lib/libarchive/test/test_ustar_filenames.c 1.2.2.3 +5 -0 src/lib/libarchive/test/test_write_disk_hardlink.c 1.2.2.2 +4 -0 src/lib/libarchive/test/test_write_format_tar_ustar.c From kientzle at FreeBSD.org Wed Aug 13 03:57:36 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 03:57:48 2008 Subject: cvs commit: src/lib/libarchive/test test_write_disk_hardlink.c Message-ID: <200808130357.m7D3vavq054191@repoman.freebsd.org> kientzle 2008-08-13 03:57:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test test_write_disk_hardlink.c Log: SVN rev 181657 on 2008-08-13 03:57:31Z by kientzle Merge of r181555 missed a line. Now the test harness runs again. Revision Changes Path 1.2.2.4 +0 -1 src/lib/libarchive/test/test_write_disk_hardlink.c From kientzle at FreeBSD.org Wed Aug 13 04:03:53 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:04:04 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_mtree.c Message-ID: <200808130403.m7D43qP9055955@repoman.freebsd.org> kientzle 2008-08-13 04:03:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_mtree.c Log: SVN rev 181658 on 2008-08-13 04:03:36Z by kientzle MFC r179679,179799,179915: Various fixes to the mtree reader: * Parsing of malformed device specifications * Be more careful about closing file descriptors * Handle quoted newlines and C-style escapes Revision Changes Path 1.9.2.6 +83 -15 src/lib/libarchive/archive_read_support_format_mtree.c From kientzle at FreeBSD.org Wed Aug 13 04:05:39 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:05:50 2008 Subject: cvs commit: src/lib/libarchive archive_entry_link_resolver.c src/lib/libarchive/test test_link_resolver.c Message-ID: <200808130405.m7D45cOu056175@repoman.freebsd.org> kientzle 2008-08-13 04:05:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_entry_link_resolver.c lib/libarchive/test test_link_resolver.c Log: SVN rev 181659 on 2008-08-13 04:05:33Z by kientzle MFC r179789: Never match dirs as hardlinks. Revision Changes Path 1.3.2.3 +3 -0 src/lib/libarchive/archive_entry_link_resolver.c 1.2.4.2 +18 -0 src/lib/libarchive/test/test_link_resolver.c From kientzle at FreeBSD.org Wed Aug 13 04:11:40 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:11:51 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c src/lib/libarchive/test test_compat_zip_1.zip.uu test_read_format_zip.c test_read_format_zip.zip.uu Message-ID: <200808130411.m7D4Bems056709@repoman.freebsd.org> kientzle 2008-08-13 04:11:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c lib/libarchive/test test_compat_zip_1.zip.uu test_read_format_zip.c Added files: (Branch: RELENG_6) lib/libarchive/test test_read_format_zip.zip.uu Log: SVN rev 181660 on 2008-08-13 04:11:22Z by kientzle MFC r180016,180027-180028,180122-180123,181489: Implement CRC validation when reading Zip archives. Update the test suite to check that the CRC actually fails for damaged entries. Revision Changes Path 1.5.2.13 +14 -6 src/lib/libarchive/archive_read_support_format_zip.c 1.2.2.2 +1 -0 src/lib/libarchive/test/test_compat_zip_1.zip.uu 1.6.2.2 +8 -21 src/lib/libarchive/test/test_read_format_zip.c 1.2.4.1 +13 -0 src/lib/libarchive/test/test_read_format_zip.zip.uu (new) From kientzle at FreeBSD.org Wed Aug 13 04:19:41 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:19:48 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200808130419.m7D4JfRE057289@repoman.freebsd.org> kientzle 2008-08-13 04:19:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c Log: SVN rev 181661 on 2008-08-13 04:19:25Z by kientzle MFC r179351: Check that end of string exists before trying to access it. Revision Changes Path 1.32.2.16 +1 -1 src/lib/libarchive/archive_read_support_format_tar.c From kientzle at FreeBSD.org Wed Aug 13 04:29:13 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:29:25 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_compression_program.c archive_string.c archive_string.h archive_write_disk.c archive_write_set_compression_program.c config_freebsd.h filter_fork.c Message-ID: <200808130429.m7D4TCLk058093@repoman.freebsd.org> kientzle 2008-08-13 04:29:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_compression_program.c archive_string.c archive_string.h archive_write_disk.c archive_write_set_compression_program.c config_freebsd.h filter_fork.c Log: SVN rev 181662 on 2008-08-13 04:29:05Z by kientzle MFC r179791-179792,179800,180269,180271: Several minor portability tweaks: Revision Changes Path 1.1.2.4 +9 -2 src/lib/libarchive/archive_read_support_compression_program.c 1.6.2.5 +23 -33 src/lib/libarchive/archive_string.c 1.6.2.5 +3 -0 src/lib/libarchive/archive_string.h 1.12.2.11 +0 -3 src/lib/libarchive/archive_write_disk.c 1.1.2.3 +9 -1 src/lib/libarchive/archive_write_set_compression_program.c 1.2.2.7 +1 -2 src/lib/libarchive/config_freebsd.h 1.1.2.4 +27 -10 src/lib/libarchive/filter_fork.c From kientzle at FreeBSD.org Wed Aug 13 04:33:44 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:33:50 2008 Subject: cvs commit: src/lib/libarchive/test Makefile main.c test.h test_compat_gtar_1.tgz.uu test_pax_filename_encoding.tar.gz.uu test_read_extract.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 ... Message-ID: <200808130433.m7D4XiT3058540@repoman.freebsd.org> kientzle 2008-08-13 04:33:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive/test Makefile main.c test.h test_compat_gtar_1.tgz.uu test_pax_filename_encoding.tar.gz.uu test_read_extract.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_isorr_bz2.c test_read_format_tar_empty_filename.tar.uu test_write_disk.c test_write_disk_perms.c test_write_disk_secure.c Added files: (Branch: RELENG_6) lib/libarchive/test test_read_format_isorr_bz2.iso.bz2.uu Log: SVN rev 181663 on 2008-08-13 04:33:31Z by kientzle MFC r179798,179916,180026,180204,180209: Various test harness improvements Revision Changes Path 1.23.2.8 +2 -2 src/lib/libarchive/test/Makefile 1.13.2.4 +48 -3 src/lib/libarchive/test/main.c 1.10.2.3 +23 -16 src/lib/libarchive/test/test.h 1.2.2.2 +1 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu 1.4.2.2 +18 -9 src/lib/libarchive/test/test_read_extract.c 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu 1.2.2.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu 1.4.2.2 +52 -94 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.1.4.1 +24 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.iso.bz2.uu (new) 1.2.4.2 +1 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.tar.uu 1.9.2.4 +5 -1 src/lib/libarchive/test/test_write_disk.c 1.9.2.2 +3 -3 src/lib/libarchive/test/test_write_disk_perms.c 1.4.2.2 +2 -2 src/lib/libarchive/test/test_write_disk_secure.c From kientzle at FreeBSD.org Wed Aug 13 04:39:45 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:39:56 2008 Subject: cvs commit: src/lib/libarchive archive.h.in Message-ID: <200808130439.m7D4didS059012@repoman.freebsd.org> kientzle 2008-08-13 04:39:38 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) lib/libarchive archive.h.in Log: SVN rev 181664 on 2008-08-13 04:39:38Z by kientzle Remove archive.h.in, now that archive.h is no longer a constructed file. Revision Changes Path 1.23.2.12 +0 -592 src/lib/libarchive/archive.h.in (dead) From kientzle at FreeBSD.org Wed Aug 13 04:42:30 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 04:42:36 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200808130442.m7D4gUGG059364@repoman.freebsd.org> kientzle 2008-08-13 04:42:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_zip.c Log: SVN rev 181665 on 2008-08-13 04:42:12Z by kientzle MFC r179794: Recover after seeing a Zip entry with an unsupported compression method. Revision Changes Path 1.5.2.14 +6 -2 src/lib/libarchive/archive_read_support_format_zip.c From kientzle at FreeBSD.org Wed Aug 13 05:06:01 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:06:13 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c Message-ID: <200808130506.m7D561Fo071582@repoman.freebsd.org> kientzle 2008-08-13 05:05:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_disk.c Log: SVN rev 181667 on 2008-08-13 05:05:43Z by kientzle MFC r179914: If we fail to open the file, return ARCHIVE_FAILED so that clients (such as bsdtar) will know they shouldn't try to write the file body. Revision Changes Path 1.12.2.12 +3 -3 src/lib/libarchive/archive_write_disk.c From kientzle at FreeBSD.org Wed Aug 13 05:07:33 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:07:44 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200808130507.m7D57WJg071699@repoman.freebsd.org> kientzle 2008-08-13 05:07:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c Log: SVN rev 181668 on 2008-08-13 05:07:26Z by kientzle MFC r180423: GC an unused variable Revision Changes Path 1.32.2.17 +0 -2 src/lib/libarchive/archive_read_support_format_tar.c From kientzle at FreeBSD.org Wed Aug 13 05:08:33 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:08:44 2008 Subject: cvs commit: src/lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Message-ID: <200808130508.m7D58XpM071798@repoman.freebsd.org> kientzle 2008-08-13 05:08:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_write_set_format_ar.c archive_write_set_format_pax.c Log: SVN rev 181669 on 2008-08-13 05:08:22Z by kientzle MFC r181485: Make 'ar' and 'pax' writers robust against multiple calls to their destroy() functions. Revision Changes Path 1.3.2.5 +3 -0 src/lib/libarchive/archive_write_set_format_ar.c 1.27.2.9 +3 -0 src/lib/libarchive/archive_write_set_format_pax.c From kientzle at FreeBSD.org Wed Aug 13 05:27:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:28:01 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808130527.m7D5RnDX073287@repoman.freebsd.org> kientzle 2008-08-13 05:27:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar write.c Log: SVN rev 181670 on 2008-08-13 05:27:32Z by kientzle MFC r176395: Allow appending to archives on block devices Revision Changes Path 1.41.2.14 +1 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Wed Aug 13 05:29:20 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:29:32 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h read.c Message-ID: <200808130529.m7D5TKun073424@repoman.freebsd.org> kientzle 2008-08-13 05:29:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 bsdtar.c bsdtar.h config_freebsd.h read.c Log: SVN rev 181671 on 2008-08-13 05:29:14Z by kientzle MFC r177206,r177210: --chroot option for tar Revision Changes Path 1.29.2.9 +6 -0 src/usr.bin/tar/bsdtar.1 1.63.2.17 +5 -0 src/usr.bin/tar/bsdtar.c 1.23.2.7 +1 -0 src/usr.bin/tar/bsdtar.h 1.1.2.4 +1 -0 src/usr.bin/tar/config_freebsd.h 1.23.2.10 +11 -0 src/usr.bin/tar/read.c From kientzle at FreeBSD.org Wed Aug 13 05:31:51 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:32:08 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808130531.m7D5VpgQ073677@repoman.freebsd.org> kientzle 2008-08-13 05:31:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181672 on 2008-08-13 05:31:40Z by kientzle MFC r177208,r177211: -q is now a synonym for --fast-read, --insecure is now a synonym for -P Revision Changes Path 1.29.2.10 +9 -9 src/usr.bin/tar/bsdtar.1 1.63.2.18 +5 -5 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Wed Aug 13 05:35:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:35:58 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808130535.m7D5ZqJY074215@repoman.freebsd.org> kientzle 2008-08-13 05:35:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c Log: SVN rev 181673 on 2008-08-13 05:35:34Z by kientzle MFC r177214: style(9) fix Revision Changes Path 1.63.2.19 +1 -1 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Wed Aug 13 05:37:08 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:37:15 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808130537.m7D5b8l0074328@repoman.freebsd.org> kientzle 2008-08-13 05:36:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar write.c Log: SVN rev 181674 on 2008-08-13 05:36:49Z by kientzle MFC r178714: Allow -r with -T when there are no files on the command line PR: bin/123246 Revision Changes Path 1.41.2.15 +1 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Wed Aug 13 05:39:42 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:39:48 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 bsdtar.c Message-ID: <200808130539.m7D5ddZT074503@repoman.freebsd.org> kientzle 2008-08-13 05:39:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 bsdtar.c Log: SVN rev 181675 on 2008-08-13 05:39:33Z by kientzle MFC r178717: * Doc fix: --format can be used with -r or -u * Remove an erroneous check that suppressed the above combo, even though lower-level code supports it * Doc fix: -o is a synonym for --format=ustar when used with -c/-r/-u Revision Changes Path 1.29.2.11 +8 -2 src/usr.bin/tar/bsdtar.1 1.63.2.20 +1 -1 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Wed Aug 13 05:41:25 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:41:36 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808130541.m7D5fPK3074780@repoman.freebsd.org> kientzle 2008-08-13 05:41:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar write.c Log: SVN rev 181676 on 2008-08-13 05:41:09Z by kientzle MFC r179236: No need to guard against free(NULL) Revision Changes Path 1.41.2.16 +1 -2 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Wed Aug 13 05:42:26 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:42:46 2008 Subject: cvs commit: src/usr.bin/tar config_freebsd.h Message-ID: <200808130542.m7D5gQbu074879@repoman.freebsd.org> kientzle 2008-08-13 05:42:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar config_freebsd.h Log: SVN rev 181677 on 2008-08-13 05:42:18Z by kientzle MFC r180275: Remove an unused macro Revision Changes Path 1.1.2.5 +0 -1 src/usr.bin/tar/config_freebsd.h From kientzle at FreeBSD.org Wed Aug 13 05:43:57 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:44:10 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 Message-ID: <200808130543.m7D5hvuV074998@repoman.freebsd.org> kientzle 2008-08-13 05:43:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.1 Log: SVN rev 181678 on 2008-08-13 05:43:55Z by kientzle MFC r180827: Provide a correct example of using mtree input, document --version Revision Changes Path 1.29.2.12 +17 -0 src/usr.bin/tar/bsdtar.1 From kientzle at FreeBSD.org Wed Aug 13 05:46:44 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:46:50 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c Message-ID: <200808130546.m7D5khFv075259@repoman.freebsd.org> kientzle 2008-08-13 05:46:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar bsdtar.c Log: SVN rev 181679 on 2008-08-13 05:46:28Z by kientzle MFC r179131: avoid calling malloc(0) in a rather unusual situation Revision Changes Path 1.63.2.21 +2 -2 src/usr.bin/tar/bsdtar.c From kientzle at FreeBSD.org Wed Aug 13 05:54:29 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:54:36 2008 Subject: cvs commit: src/usr.bin/tar read.c Message-ID: <200808130554.m7D5sTfG075908@repoman.freebsd.org> kientzle 2008-08-13 05:54:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar read.c Log: SVN rev 181680 on 2008-08-13 05:54:15Z by kientzle MFC r180273: Use %H:%M in strftime() instead of non-portable %R Revision Changes Path 1.23.2.11 +1 -1 src/usr.bin/tar/read.c From kientzle at FreeBSD.org Wed Aug 13 05:55:00 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 05:55:06 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200808130555.m7D5t0MZ075960@repoman.freebsd.org> kientzle 2008-08-13 05:54:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar write.c Log: SVN rev 181681 on 2008-08-13 05:54:49Z by kientzle MFC r180274: Minor fix for Linux build Revision Changes Path 1.41.2.17 +0 -3 src/usr.bin/tar/write.c From ed at FreeBSD.org Wed Aug 13 09:21:54 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 13 09:22:06 2008 Subject: cvs commit: src/sys/dev/iicbus ad7418.c src/sys/sys sx.h Message-ID: <200808130921.m7D9Lr6C007979@repoman.freebsd.org> ed 2008-08-13 09:20:52 UTC FreeBSD src repository Modified files: sys/dev/iicbus ad7418.c sys/sys sx.h Log: SVN rev 181682 on 2008-08-13 09:20:52Z by ed Fix compilation of arm's AVILA. Compilation of the AVILA kernel failed because of two reasons: - It needed curthread, which is defined through . - It still referred the softc's sc_mtx field, which has been replaced by sc_lock three weeks ago. To solve the first problem, I decided to include in , which also seems to be done by and . Those header files also require curthread. Approved by: jhb Revision Changes Path 1.3 +1 -1 src/sys/dev/iicbus/ad7418.c 1.39 +2 -1 src/sys/sys/sx.h From brde at optusnet.com.au Wed Aug 13 10:16:29 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Wed Aug 13 10:16:43 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <20080813014505.H1310@besplex.bde.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <20080812014937.E21092@besplex.bde.org> <20080812231130.D760@besplex.bde.org> <200808121115.01483.jhb@freebsd.org> <20080813014505.H1310@besplex.bde.org> Message-ID: <20080813195547.W91887@delplex.bde.org> On Wed, 13 Aug 2008, Bruce Evans wrote: > On Tue, 12 Aug 2008, John Baldwin wrote: >> Of course bpf is >> broken with revoke, but nobody uses revoke with bpf. What people do do in >> the normal course of using bpf is lots of concurrent bpf accesses, and w/o >> D_TRACKCLOSE, bpf devices don't get closed. > > Why not fix the actual bug? > > Your commit doesn't give enough details on the actual bug, so I will > try to guess it: libpcap has to probe for for a free bpf unit, so it > does lots of failing opens of bpfN (especially when N == 0) when bpfN > is already in use. Failing opens break last closes with which they > are concurrent, because the relevant reference count (si_usecount) is > increased during the failing open (I think it is the vref() in _fgetvp() > that does it). Then when the opens fail, si_usecount is decremented > to 1, but devfs_close() is not called again because only 1 real last > close is possible (I think -- at least without races with revoke()), > so d_close() is never called twice for 1 real least close. Failing > opens shouldn't take long, so it is surprising that the race is often > lost. Apparently there is some synchronization. > > This bug probably also affects the probe for a free pty. In fact, it is well known that it does. There is a PR or 2 about this, and committed fixes that were backed out because they gave panics instead of just leaked ptys. The following seems to my most recent mail about this. The test program in it still leaks ptys under -current. % From bde@zeta.org.au Thu Nov 9 16:39:06 2006 +1100 % Date: Thu, 9 Nov 2006 16:39:03 +1100 (EST) % From: Bruce Evans % X-X-Sender: bde@delplex.bde.org % To: Rong-en Fan % cc: Kostik Belousov , bde@FreeBSD.org, tegge@FreeBSD.org, % mb@imp.ch, Vlad Galu % Subject: Re: Fwd: panic when portupgrade in jail (devfs related?) % In-Reply-To: <6eb82e0611081559s2dd6d088k529b161a63b9eec2@mail.gmail.com> % Message-ID: <20061109155921.O59908@delplex.bde.org> % References: <6eb82e0611050847i54d16638x89c428c9dffcc106@mail.gmail.com> % <6eb82e0611060946p726b3418of94036f583e95dcc@mail.gmail.com> % <20061106193405.GU12108@deviant.kiev.zoral.com.ua> % <6eb82e0611061146gd6b8402xc254a992d149dd11@mail.gmail.com> % <20061107041730.GV12108@deviant.kiev.zoral.com.ua> % <6eb82e0611062223o4b7193bbu4fb19c79f49e9700@mail.gmail.com> % <6eb82e0611070026m682bc3f7vfdbcb7c0527fdd06@mail.gmail.com> % <6eb82e0611080221u47473713m17b19e60307663a0@mail.gmail.com> % <6eb82e0611081559s2dd6d088k529b161a63b9eec2@mail.gmail.com> % MIME-Version: 1.0 % Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed % Status: O % X-Status: % X-Keywords: % X-UID: 623 % % On Thu, 9 Nov 2006, Rong-en Fan wrote: % % > OK, after running 4 instances of script in jail for 10+ hours. It seems % > that ttys are leaked (I haven't got any panic). I get lots of % > % > script: openpty: No such file or directory % % This is another known bug. No fix is in sight, but I think one of the % other known bugs can be exploited to write a program to unleak the % ptys. (Arrange for a nonzero vfs refcount, possibly by attempting to % open the leaked pty, and race with revoke(). The open() will always fail % int ptcopen(), but it may be possible to trick revoke() into calling % ptcclose() for the unopen device; then the ptcclose() will unleak the % device.) % % I now have a better SMP machine for testing the races. The original % version of my program to demonstrate the leak doesn't show the leak % very fast under -current on this machine, and it takes 2 instances % (parent doing open()s and child doing stat()s) to leak at all, though % the leak occurs fast on a machine with similar speed (but configured % with INVARIANTS etc) running 6.1. Apparently, locking fixes in % -current have fixed or reduced the race with stat(). % % The following version (with TIOCEXCL and both the parent and child % doing open()'s) leaks fast on all machines that I tested on. % % %%% % #include % #include % % #include % #include % #include % % int % main(int argc, char **argv) % { % struct stat sb; % const char *pty, *who; % pid_t child, parent; % int fd, i, lastok; % % pty = (argc == 1 ? "/dev/ptyp0" : argv[1]); % i = 0; % lastok = -1; % parent = getpid(); % child = fork(); % who = (child == 0 ? "child" : "parent"); % for (;;) { % fd = open(pty, O_WRONLY | O_NONBLOCK); % if (fd < 0) { % if (i - lastok >= 1000) { % if (child != 0) % usleep(50000); % err(1, "%s open %d", who, i); % } % i++; % continue; % } % (void)ioctl(fd, TIOCEXCL); % if (close(fd) != 0) % err(1, "%s close %d", who, i); % lastok = i; % i++; % } % } % %%% % % Usage is something like "./foo /dev/ptyp" as non-root. It % quits after 1000 failed opens and a leaked pty is shown by failing % open #'s 0 through 999 and printing i == 999 when quitting. Some % open failures are now normal for ptyp* since all opens of ptyp* % are exclusive and the program now races itself. The TIOCEXCL is to % give similar exclusivity for testing other devices. It only works % as non-root. Remove it to simplify testing of ptyp* only. After % an open() failure, the usleep() is to give up control so as not % to see 1000 sequential open() failures on UP systems just because % 1000 open()s can be done before being rescheduled. Remove it to % simplify testing on SMP systems. % % Bruce % Any device tha enforces exclusive access for all opens (instead of selectively/correctly according to O_EXCL and/or TIOCEXCL) has the same leak. Such devices must have some state which indicates that the device is open. When a last-close is missed, the device-is-open state remains set, so the device cannot be opened again. Then it cannot be closed again. For devices that don't do this, the missed last-close isn't much of a problem. New opens just work, and it is possible to unleak the device by repeating open()/close() until the last-close isn't missed. Bruce From brde at optusnet.com.au Wed Aug 13 11:52:37 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Wed Aug 13 11:53:07 2008 Subject: cvs commit: src/sys/dev/io iodev.c In-Reply-To: <200808121344.57238.jhb@freebsd.org> References: <200808081343.m78DhwYE068477@repoman.freebsd.org> <200808121115.01483.jhb@freebsd.org> <20080813014505.H1310@besplex.bde.org> <200808121344.57238.jhb@freebsd.org> Message-ID: <20080813201735.H91887@delplex.bde.org> On Tue, 12 Aug 2008, John Baldwin wrote: > On Tuesday 12 August 2008 01:23:47 pm Bruce Evans wrote: >> On Tue, 12 Aug 2008, John Baldwin wrote: >>> Of course bpf is >>> broken with revoke, but nobody uses revoke with bpf. What people do do in >>> the normal course of using bpf is lots of concurrent bpf accesses, and w/o >>> D_TRACKCLOSE, bpf devices don't get closed. >> >> Why not fix the actual bug? >> >> Your commit doesn't give enough details on the actual bug, so I will >> try to guess it: libpcap has to probe for for a free bpf unit, so it >> does lots of failing opens of bpfN (especially when N == 0) when bpfN >> is already in use. Failing opens break last closes with which they >> are concurrent, because the relevant reference count (si_usecount) is >> increased during the failing open (I think it is the vref() in _fgetvp() >> that does it)... > > Correct-ish. The actual extra reference is in devfs_lookup() rather than > _fgetvp(). Specifically, it is an open concurrent with a close. The opening > thread first does the lookup which bumps the reference count in > devfs_allocv() (IIRC). Eventually we get to devfs_open() which drops the > vnode lock while it invokes d_open(). If the closing thread is waiting for > the vnode lock for close, then it can acquire the lock and do devfs_close(). si_usecount is actually locked by dev_lock() (a global mutex), so in general the vnode lock is neither necessary nor sufficient for implementing or fixing the bug, but the general case is rarely used. The general case involves doing failing opens using more than one devfs mount. dev_lock() is only held briefly, so failing opens can easily get in and change si_usecount. count_dev() and vcount() of course use dev_lock(), but this only gives the transient value, so the value means very little unless it is the magic value 1 (this means that our reference is the only one). devfs_close() has to unlock everything, so si_usecount becomes even more volatile. > This sees count_dev() > 1 and doesn't call d_close(). Meanwhile, the opening > thread will fail bpfopen() and return, but the bpf device is permamently > open. When I talked with phk@ about it originally his reply to my various > suggestions was D_TRACKCLOSE. I'm not sure how you'd really fix this > otherwise: I would first try to actually count opens correctly. It should be possible to tell when a last-close is needed if everything is locked. This is complicated by the possibility of any numbers of opens and last-closes already being in progress, with each having progressed to a timing-dependent and driver-dependent state. This can certainly happen now, but at least the general case of it shouldn't be allowed to happen since no drivers can handle it. Ways that it can happen: - after devfs_close() sees count_dev() == 1, it calls d_close(). SInce it unlocks everthing, devfs_open() can easily call d_open() any number of times before the d_close() completes. - d_close() may be called any number of times to last-close the new open instances. The new d_close()s may complete before the original ones. This behaviour is easy to set up for hardware serial devices, and is useful. Let the first open instance be blocking and make it block on drainwait in close. Do several non-blocking open/closes using stty -f to look at the problem. Then do another non-blocking open/close using stty -f or comcontrol to clear the problem. > calling d_close() from devfs_open() if the use_count is 1 after > re-acquiring the vnode lock (you have to drop the vnode lock while you call > d_close() though, so you might still race with other concurrent opens for > example), having a count of pending opens and subtracting that from > count_dev() when checking for whether or not to call d_close() (but is that > dubious? This is basically what I put in FreeBSD-1. It almost worked there. > Then you might call d_close() while d_open() is running, so the > driver would need to put locking to synchronize the two and handle the case > that the d_close() actually runs after a d_open() that was successfull, so > each driver now has to duplicate that work.), etc. Strictly, all drivers already need to do this. In FreeeBSD-1, simple methods worked provided d_close() and d_open() don't sleep, since the kernel was not preemptive. After sleeping, it is obvious that d_close() and d_open() should check for relevant state changes after waking up and not continue if the changes are too large. Now, similar behaviour could be obtained using locking. Don't unlock things in devfs_close() and devfs_open() by default. Only drivers that unlocked things would face the full complications. In particular, in the usual case, holding dev_lock() or a corresponding device-dependent lock would block new opens (and even lookups?) until after d_close() returns. Bruce From dfr at FreeBSD.org Wed Aug 13 12:03:45 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Aug 13 12:03:58 2008 Subject: cvs commit: src/sys/nlm nlm_prot_impl.c Message-ID: <200808131203.m7DC3b0v025658@repoman.freebsd.org> dfr 2008-08-13 12:03:31 UTC FreeBSD src repository Modified files: sys/nlm nlm_prot_impl.c Log: SVN rev 181683 on 2008-08-13 12:03:31Z by dfr Fix an interop issue with Linux: If you do nothing but TCP mounts, Linux won't even bother registering nlockmgr for UDP. This causes nlm_get_rpc to fail, which means any attempts to deliver the GRANTED callback fail. Add code to nlm_get_rpc to try to locate the TCP version as well. If it finds it on TCP, it establishes a clnt_reconnect to the host. Submitted by: zachary.loafman at isilon.com MFC after: 2 weeks Revision Changes Path 1.13 +115 -54 src/sys/nlm/nlm_prot_impl.c From dfr at FreeBSD.org Wed Aug 13 12:05:08 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Aug 13 12:05:20 2008 Subject: cvs commit: src/sys/rpc clnt_rc.c Message-ID: <200808131205.m7DC58vR025836@repoman.freebsd.org> dfr 2008-08-13 12:04:54 UTC FreeBSD src repository Modified files: sys/rpc clnt_rc.c Log: SVN rev 181684 on 2008-08-13 12:04:54Z by dfr Add a missing call to mtx_destroy() in clnt_reconnect_destroy(). Submitted by: zachary.loafman at isilon.com MFC after: 2 weeks Revision Changes Path 1.5 +1 -0 src/sys/rpc/clnt_rc.c From maxim at FreeBSD.org Wed Aug 13 12:40:25 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Wed Aug 13 12:40:37 2008 Subject: cvs commit: src/sys/dev/usb umass.c Message-ID: <200808131240.m7DCePAa028848@repoman.freebsd.org> maxim 2008-08-13 12:40:20 UTC FreeBSD src repository Modified files: sys/dev/usb umass.c Log: SVN rev 181685 on 2008-08-13 12:40:20Z by maxim o Add a quirk for Sony Handycam DCR-HC32E. PR: usb/96599 Submitted by: Eugene Grosbein MFC after: 1 week Revision Changes Path 1.164 +4 -0 src/sys/dev/usb/umass.c From kib at FreeBSD.org Wed Aug 13 12:40:41 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Aug 13 12:40:52 2008 Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200808131240.m7DCeeGq028894@repoman.freebsd.org> kib 2008-08-13 12:40:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_mount.c Log: SVN rev 181686 on 2008-08-13 12:40:23Z by kib MFC r181345: User may do "mount -o snapshot ...", that causes new FFS mount to be performed with snapshot option, while the mp->mnt_opt is NULL. Protect against NULL pointer dereference. MFC r181528: Revert r181345. Move the NULL pointer check to the vfs_deleteopt() function. Revision Changes Path 1.265.2.7 +2 -0 src/sys/kern/vfs_mount.c From obrien at FreeBSD.org Wed Aug 13 14:23:42 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Wed Aug 13 14:23:49 2008 Subject: cvs commit: src/usr.sbin/config config.y lang.l Message-ID: <200808131423.m7DENggI051230@repoman.freebsd.org> obrien 2008-08-13 14:23:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/config config.y lang.l Log: SVN rev 181687 on 2008-08-13 14:23:26Z by obrien MFC: r180922: allow kernel config files to include files other than those in the CWD, using unquoted paths. Revision Changes Path 1.78.2.1 +7 -0 src/usr.sbin/config/config.y 1.45.2.1 +6 -0 src/usr.sbin/config/lang.l From obrien at FreeBSD.org Wed Aug 13 14:35:14 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Wed Aug 13 14:35:20 2008 Subject: cvs commit: src/usr.sbin/config config.y lang.l Message-ID: <200808131435.m7DEZDBn052177@repoman.freebsd.org> obrien 2008-08-13 14:34:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/config config.y lang.l Log: SVN rev 181688 on 2008-08-13 14:34:53Z by obrien MFC: r180922/181687: allow kernel config files to include files other than those in the CWD, using unquoted paths. Revision Changes Path 1.66.2.3 +4 -0 src/usr.sbin/config/config.y 1.41.2.2 +6 -0 src/usr.sbin/config/lang.l From kientzle at FreeBSD.org Wed Aug 13 14:50:59 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 13 14:51:06 2008 Subject: cvs commit: src/usr.bin/tar Makefile Message-ID: <200808131450.m7DEoxoU053435@repoman.freebsd.org> kientzle 2008-08-13 14:50:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar Makefile Log: SVN rev 181689 on 2008-08-13 14:50:42Z by kientzle Fix the merge of r175051, which inadvertently broke the output of tar --version. Revision Changes Path 1.24.2.8 +1 -1 src/usr.bin/tar/Makefile From ed at FreeBSD.org Wed Aug 13 15:45:47 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 13 15:45:58 2008 Subject: cvs commit: src/lib/libpcap config.h src/sys/net bpf.c Message-ID: <200808131545.m7DFjlLP058986@repoman.freebsd.org> ed 2008-08-13 15:41:21 UTC FreeBSD src repository Modified files: lib/libpcap config.h sys/net bpf.c Log: SVN rev 181690 on 2008-08-13 15:41:21Z by ed Change bpf(4) to use the cdevpriv API. Right now the bpf(4) driver uses the cloning API to generate /dev/bpf%u. When an application such as tcpdump needs a BPF, it opens /dev/bpf0, /dev/bpf1, etc. until it opens the first available device node. We used this approach, because our devfs implementation didn't allow per-descriptor data. Now that we can, make it use devfs_get_cdevpriv() to obtain the private data. To remain compatible with the existing implementation, add a symlink from /dev/bpf0 to /dev/bpf. I've already changed libpcap to compile with HAVE_CLONING_BPF, which makes it use /dev/bpf. There may be other applications in the base system (dhclient) that use the loop to obtain a valid bpf. Discussed on: src-committers Approved by: csjp Revision Changes Path 1.7 +1 -1 src/lib/libpcap/config.h 1.200 +62 -80 src/sys/net/bpf.c From jhb at FreeBSD.org Wed Aug 13 16:10:27 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 13 16:10:45 2008 Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Message-ID: <200808131610.m7DGAQpe062045@repoman.freebsd.org> jhb 2008-08-13 16:09:40 UTC FreeBSD src repository Modified files: sys/dev/cpufreq ichss.c sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Log: SVN rev 181691 on 2008-08-13 16:09:40Z by jhb Attach the cpufreq child devices with specific orders to enforce relative priority of some of the drivers that manage the same state (e.g. ichss0 vs est0). Specifically, powernow, est, and p4tcc are added at order 10, ichss at order 20, and smist at order 30. Previously, some laptops were seeing both ichss0 and est0 attaching and stomping on each other. XXX: This isn't quite ideal, but works with the existing hacks, I think what we really want instead is a single "speedstep0" device for CPUs that the ichss, est, and smist drivers probe (but with differing priorities). MFC after: 1 week Revision Changes Path 1.12 +1 -1 src/sys/dev/cpufreq/ichss.c 1.18 +1 -1 src/sys/i386/cpufreq/est.c 1.17 +1 -1 src/sys/i386/cpufreq/p4tcc.c 1.5 +1 -1 src/sys/i386/cpufreq/powernow.c 1.3 +1 -1 src/sys/i386/cpufreq/smist.c From max at love2party.net Wed Aug 13 16:57:24 2008 From: max at love2party.net (Max Laier) Date: Wed Aug 13 16:57:31 2008 Subject: cvs commit: src/lib/libpcap config.h src/sys/net bpf.c In-Reply-To: <200808131545.m7DFjlLP058986@repoman.freebsd.org> References: <200808131545.m7DFjlLP058986@repoman.freebsd.org> Message-ID: <200808131850.54734.max@love2party.net> On Wednesday 13 August 2008 17:41:21 Ed Schouten wrote: > ed 2008-08-13 15:41:21 UTC > > FreeBSD src repository > > Modified files: > lib/libpcap config.h > sys/net bpf.c > Log: > SVN rev 181690 on 2008-08-13 15:41:21Z by ed > > Change bpf(4) to use the cdevpriv API. > > Right now the bpf(4) driver uses the cloning API to generate /dev/bpf%u. > When an application such as tcpdump needs a BPF, it opens /dev/bpf0, > /dev/bpf1, etc. until it opens the first available device node. We used > this approach, because our devfs implementation didn't allow > per-descriptor data. > > Now that we can, make it use devfs_get_cdevpriv() to obtain the private > data. To remain compatible with the existing implementation, add a > symlink from /dev/bpf0 to /dev/bpf. I've already changed libpcap to > compile with HAVE_CLONING_BPF, which makes it use /dev/bpf. There may be > other applications in the base system (dhclient) that use the loop to > obtain a valid bpf. Can you bump __FreeBSD_version for this? And maybe submit configure patches upstream and/or make sure that libpcap from ports dtrt. > Discussed on: src-committers > Approved by: csjp > > Revision Changes Path > 1.7 +1 -1 src/lib/libpcap/config.h > 1.200 +62 -80 src/sys/net/bpf.c -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From emaste at FreeBSD.org Wed Aug 13 17:32:51 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Wed Aug 13 17:32:58 2008 Subject: cvs commit: src/sys/vm redzone.c Message-ID: <200808131732.m7DHWpSQ079430@repoman.freebsd.org> emaste 2008-08-13 17:32:48 UTC FreeBSD src repository Modified files: sys/vm redzone.c Log: SVN rev 181693 on 2008-08-13 17:32:48Z by emaste Fix REDZONE(9) on amd64 and perhaps other 64 bit targets -- ensure the space that redzone adds to the allocation for storing its metadata is at least as large as the metadata that it will store there. Submitted by: Nima Misaghian Revision Changes Path 1.3 +2 -0 src/sys/vm/redzone.c From ed at 80386.nl Wed Aug 13 17:38:29 2008 From: ed at 80386.nl (Ed Schouten) Date: Wed Aug 13 17:38:40 2008 Subject: cvs commit: src/lib/libpcap config.h src/sys/net bpf.c In-Reply-To: <200808131850.54734.max@love2party.net> References: <200808131545.m7DFjlLP058986@repoman.freebsd.org> <200808131850.54734.max@love2party.net> Message-ID: <20080813173827.GG99951@hoeg.nl> * Max Laier wrote: > Can you bump __FreeBSD_version for this? And maybe submit configure patches > upstream and/or make sure that libpcap from ports dtrt. Upstream (libpcap) already does the correct thing. That was one of the things I checked after creating the patch. Bumping __FreeBSD_version isn't a bad idea. I'll bump it in a minute. Yours, -- Ed Schouten WWW: http://80386.nl/ -------------- 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/20080813/37e11472/attachment.pgp From ed at FreeBSD.org Wed Aug 13 17:47:20 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 13 17:47:27 2008 Subject: cvs commit: src/share/man/man4 bpf.4 src/sys/sys param.h Message-ID: <200808131747.m7DHlKrl080659@repoman.freebsd.org> ed 2008-08-13 17:45:06 UTC FreeBSD src repository Modified files: share/man/man4 bpf.4 sys/sys param.h Log: SVN rev 181694 on 2008-08-13 17:45:06Z by ed Bump __FreeBSD_version to 800043, because of the bpf(4) change. bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where it used to be implemented using device cloning. Ports like libpcap properly detect the change in their configure scripts, but it doesn't hurt to increase __FreeBSD_version. While there, change the bpf(4) manual page to refer to /dev/bpf instead of /dev/bpfN. Requested by: mlaier Revision Changes Path 1.52 +3 -5 src/share/man/man4/bpf.4 1.361 +1 -1 src/sys/sys/param.h From attilio at FreeBSD.org Wed Aug 13 18:25:00 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Aug 13 18:25:06 2008 Subject: cvs commit: src/sys/kern kern_thread.c subr_witness.c src/sys/sys lock.h Message-ID: <200808131825.m7DIP0wi084783@repoman.freebsd.org> attilio 2008-08-13 18:24:22 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c subr_witness.c sys/sys lock.h Log: SVN rev 181695 on 2008-08-13 18:24:22Z by attilio Introduce some WITNESS improvements: - Speedup the lock orderings lookup modifying the witness graph from a linked tree to a matrix. A table lookup caches the lock orderings in order to make a O(1) access for them. Any witness object has an unique index withing this lookup cache table. - Reduce the lock contention on w_mtx acquiring it only when the LOR actually happens and not in a sane case. In order to do this don't totally flush lock lists (per-CPU spinlocks list and per-thread sleeplocks list) but check for ll_count anytime we need to have to verify allocations sanity. - Introduce the function witness_thread_exit() in the witness namespace which should verify a thread doesn't hold any witness occurrence why exiting. - Rename the sysctl debug.witness.graphs into debug.witness.fullgraph and add debug.witness.badstacks which prints out stacks for LOR revealed. This is implemented using the stack(9) support, which makes WITNESS to be dependent by the STACK option or by the DDB (including STACK) option. - Fix style(9) for src/sys/kern/subr_witness.c The hash table approach has been developed by Ilya Maykov on the behalf of Isilon Systems which kindly released the patch. Jeff Roberson, ported the patch to -CURRENT and fixed w_mtx contention, on the behalf of Nokia. Submitted by: Ilya Maykov (Isilon Systems), jeff Sponsored by: Nokia Revision Changes Path 1.276 +5 -0 src/sys/kern/kern_thread.c 1.251 +1061 -491 src/sys/kern/subr_witness.c 1.74 +1 -0 src/sys/sys/lock.h From attilio at FreeBSD.org Wed Aug 13 18:29:37 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Wed Aug 13 18:29:43 2008 Subject: cvs commit: src/sys/i386/i386 trap.c Message-ID: <200808131829.m7DITaL3085152@repoman.freebsd.org> attilio 2008-08-13 18:29:29 UTC FreeBSD src repository Modified files: sys/i386/i386 trap.c Log: SVN rev 181696 on 2008-08-13 18:29:29Z by attilio In the case of POWERFAIL_NMI, remove the Giant acquisitions because they can lead to a deadlock if the thread owning the Giant lock is interrupted by the NMI. Instead, tollerate a small race on the x86 architecture. Revision Changes Path 1.315 +0 -4 src/sys/i386/i386/trap.c From jkim at FreeBSD.org Wed Aug 13 19:28:25 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Wed Aug 13 19:28:31 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h src/sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Message-ID: <200808131928.m7DJSPMQ091022@repoman.freebsd.org> jkim 2008-08-13 19:25:09 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Log: SVN rev 181697 on 2008-08-13 19:25:09Z by jkim - Remove unnecessary jump instruction(s) when offset(s) is/are zero(s). - Constantly use conditional jumps for unsigned integers. Revision Changes Path 1.9 +34 -45 src/sys/amd64/amd64/bpf_jit_machdep.c 1.8 +50 -33 src/sys/amd64/amd64/bpf_jit_machdep.h 1.9 +34 -45 src/sys/i386/i386/bpf_jit_machdep.c 1.8 +50 -33 src/sys/i386/i386/bpf_jit_machdep.h From emax at FreeBSD.org Wed Aug 13 19:35:48 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Wed Aug 13 19:35:54 2008 Subject: cvs commit: src/lib/libbluetooth Makefile bluetooth.3 bluetooth.h Message-ID: <200808131935.m7DJZlbl091689@repoman.freebsd.org> emax 2008-08-13 19:35:31 UTC FreeBSD src repository Modified files: lib/libbluetooth Makefile bluetooth.3 bluetooth.h Log: SVN rev 181698 on 2008-08-13 19:35:31Z by emax Import handy shorthand Bluetooth address (BD_ADDR) utility functions from NetBSD and document them. Obtained from: NetBSD MFC after: 1 week Revision Changes Path 1.4 +4 -0 src/lib/libbluetooth/Makefile 1.8 +33 -2 src/lib/libbluetooth/bluetooth.3 1.3 +30 -0 src/lib/libbluetooth/bluetooth.h From jkim at FreeBSD.org Wed Aug 13 19:52:31 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Wed Aug 13 19:52:38 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c src/sys/i386/i386 bpf_jit_machdep.c Message-ID: <200808131952.m7DJqVo9095482@repoman.freebsd.org> jkim 2008-08-13 19:52:00 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c sys/i386/i386 bpf_jit_machdep.c Log: SVN rev 181700 on 2008-08-13 19:52:00Z by jkim Use int32_t/int16_t instead of int/short as sys/net/bpf_filter.c does. Revision Changes Path 1.10 +4 -4 src/sys/amd64/amd64/bpf_jit_machdep.c 1.10 +4 -4 src/sys/i386/i386/bpf_jit_machdep.c From marius at FreeBSD.org Wed Aug 13 20:30:48 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Wed Aug 13 20:31:43 2008 Subject: cvs commit: src/sys/sparc64/include asi.h cache.h cpufunc.h pcpu.h src/sys/sparc64/sparc64 cheetah.c clock.c exception.S locore.S machdep.c mp_locore.S mp_machdep.c pmap.c prof_machdep.c spitfire.c support.S swtch.S tick.c tlb.c trap.c Message-ID: <200808132030.m7DKUmN9099874@repoman.freebsd.org> marius 2008-08-13 20:30:28 UTC FreeBSD src repository Modified files: sys/sparc64/include asi.h cache.h cpufunc.h pcpu.h sys/sparc64/sparc64 cheetah.c clock.c exception.S locore.S machdep.c mp_locore.S mp_machdep.c pmap.c prof_machdep.c spitfire.c support.S swtch.S tick.c tlb.c trap.c Log: SVN rev 181701 on 2008-08-13 20:30:28Z by marius cosmetic changes and style fixes Revision Changes Path 1.13 +1 -1 src/sys/sparc64/include/asi.h 1.14 +10 -10 src/sys/sparc64/include/cache.h 1.22 +12 -11 src/sys/sparc64/include/cpufunc.h 1.23 +2 -2 src/sys/sparc64/include/pcpu.h 1.7 +2 -6 src/sys/sparc64/sparc64/cheetah.c 1.12 +5 -2 src/sys/sparc64/sparc64/clock.c 1.76 +78 -78 src/sys/sparc64/sparc64/exception.S 1.23 +12 -12 src/sys/sparc64/sparc64/locore.S 1.142 +18 -14 src/sys/sparc64/sparc64/machdep.c 1.9 +5 -5 src/sys/sparc64/sparc64/mp_locore.S 1.41 +3 -3 src/sys/sparc64/sparc64/mp_machdep.c 1.174 +43 -44 src/sys/sparc64/sparc64/pmap.c 1.3 +6 -4 src/sys/sparc64/sparc64/prof_machdep.c 1.7 +3 -7 src/sys/sparc64/sparc64/spitfire.c 1.33 +10 -10 src/sys/sparc64/sparc64/support.S 1.35 +7 -7 src/sys/sparc64/sparc64/swtch.S 1.23 +8 -6 src/sys/sparc64/sparc64/tick.c 1.10 +6 -6 src/sys/sparc64/sparc64/tlb.c 1.91 +24 -24 src/sys/sparc64/sparc64/trap.c From jfv at FreeBSD.org Thu Aug 14 01:02:42 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Thu Aug 14 01:02:48 2008 Subject: cvs commit: src UPDATING Message-ID: <200808140102.m7E12fqq074446@repoman.freebsd.org> jfv 2008-08-14 00:58:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: SVN rev 181703 on 2008-08-14 00:58:54Z by jfv Document the E1000 driver changes for the 7.1 RELEASE Revision Changes Path 1.507.2.10 +28 -0 src/UPDATING From des at FreeBSD.org Thu Aug 14 01:21:20 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Thu Aug 14 01:21:34 2008 Subject: cvs commit: src/usr.bin/truss syscalls.c Message-ID: <200808140121.m7E1LJ4e077096@repoman.freebsd.org> des 2008-08-14 01:20:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/truss syscalls.c Log: SVN rev 181704 on 2008-08-14 01:20:59Z by des MFH r175062 (break takes a pointer, not an int) Revision Changes Path 1.55.2.1 +1 -1 src/usr.bin/truss/syscalls.c From des at FreeBSD.org Thu Aug 14 01:37:06 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Thu Aug 14 01:37:12 2008 Subject: cvs commit: src/usr.bin/truss extern.h main.c syscall.h syscalls.c Message-ID: <200808140137.m7E1b5Gx078416@repoman.freebsd.org> des 2008-08-14 01:36:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/truss extern.h main.c syscall.h syscalls.c Log: SVN rev 181706 on 2008-08-14 01:36:47Z by des MFH r179051 (support for tracing 32-bit binaries on amd64) MFH r179059 (retire alpha support) MFH r181061 (code cleanup) Revision Changes Path 1.12.2.2 +0 -4 src/usr.bin/truss/extern.h 1.46.2.2 +0 -3 src/usr.bin/truss/main.c 1.18.2.1 +1 -1 src/usr.bin/truss/syscall.h 1.55.2.2 +676 -693 src/usr.bin/truss/syscalls.c From peter at FreeBSD.org Thu Aug 14 01:41:13 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Thu Aug 14 01:41:24 2008 Subject: cvs commit: src/sys/amd64/include atomic.h src/sys/i386/include atomic.h src/sys/ia64/include atomic.h src/sys/sparc64/include atomic.h src/sys/sun4v/include atomic.h Message-ID: <200808140141.m7E1fCHH078853@repoman.freebsd.org> peter 2008-08-14 01:40:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/include atomic.h sys/i386/include atomic.h sys/ia64/include atomic.h sys/sparc64/include atomic.h sys/sun4v/include atomic.h Log: SVN rev 181707 on 2008-08-14 01:40:12Z by peter Hoist mergeinfo for sys/powerpc/include/atomic.h up to sys. Note that some of the changes that were mfc'ed to powerpc actually affect other platforms. This hoisting brings those changes to the others. This adds atomic_fetchadd_long to the rest, and adds atomic_readandclear_ptr to ia64. While I have not compile tested this, it looks harmless. Revision Changes Path 1.44.2.1 +20 -0 src/sys/amd64/include/atomic.h 1.47.2.1 +7 -0 src/sys/i386/include/atomic.h 1.11.2.1 +12 -0 src/sys/ia64/include/atomic.h 1.10.2.1 +2 -0 src/sys/sparc64/include/atomic.h 1.1.2.1 +2 -0 src/sys/sun4v/include/atomic.h From edwin at FreeBSD.org Thu Aug 14 01:47:51 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Aug 14 01:48:03 2008 Subject: cvs commit: src/usr.bin/units units.lib Message-ID: <200808140147.m7E1lpVA079443@repoman.freebsd.org> edwin 2008-08-14 01:47:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/units units.lib Log: SVN rev 181709 on 2008-08-14 01:47:39Z by edwin MFC of r181352 Update the units library file. - Merge changes from NetBSD and OpenBSD. - Add the Euro as a primitive unit, add old converted currency and pegged currency (Obtained from Wikipedia) - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged currency and add pegged currency (Obtained from Wikipedia) - Updated the accuracy of a lot of constants (Obtained from Wikipedia) PR: bin/106545 bin/88252 Submitted by: trasz, J Vinopal Revision Changes Path 1.16.18.1 +195 -104 src/usr.bin/units/units.lib From edwin at FreeBSD.org Thu Aug 14 01:47:53 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Aug 14 01:48:13 2008 Subject: cvs commit: src/usr.bin/units units.lib Message-ID: <200808140147.m7E1lqIB079470@repoman.freebsd.org> edwin 2008-08-14 01:47:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/units units.lib Log: SVN rev 181710 on 2008-08-14 01:47:42Z by edwin MFC of r181352 Update the units library file. - Merge changes from NetBSD and OpenBSD. - Add the Euro as a primitive unit, add old converted currency and pegged currency (Obtained from Wikipedia) - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged currency and add pegged currency (Obtained from Wikipedia) - Updated the accuracy of a lot of constants (Obtained from Wikipedia) PR: bin/106545 bin/88252 Submitted by: trasz, J Vinopal Revision Changes Path 1.16.8.1 +195 -104 src/usr.bin/units/units.lib From kevlo at FreeBSD.org Thu Aug 14 02:43:24 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Thu Aug 14 02:43:31 2008 Subject: cvs commit: src/sys/dev/age if_age.c Message-ID: <200808140243.m7E2hOh6085189@repoman.freebsd.org> kevlo 2008-08-14 02:43:18 UTC FreeBSD src repository Modified files: sys/dev/age if_age.c Log: SVN rev 181717 on 2008-08-14 02:43:18Z by kevlo Fix a typo: jme -> age Revision Changes Path 1.4 +1 -1 src/sys/dev/age/if_age.c From thompsa at FreeBSD.org Thu Aug 14 03:49:27 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Thu Aug 14 03:49:38 2008 Subject: cvs commit: src/sbin/ifconfig ifieee80211.c Message-ID: <200808140349.m7E3nQiA094713@repoman.freebsd.org> thompsa 2008-08-14 03:49:14 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: SVN rev 181722 on 2008-08-14 03:49:14Z by thompsa Fix channel parsing which was broken in r179958, the channel number may be suffixed with :flag and /width. Revision Changes Path 1.57 +4 -2 src/sbin/ifconfig/ifieee80211.c From kib at FreeBSD.org Thu Aug 14 12:33:48 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Aug 14 12:33:54 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c Message-ID: <200808141233.m7ECXlWa069758@repoman.freebsd.org> kib 2008-08-14 12:33:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/msdosfs msdosfs_vfsops.c Log: SVN rev 181729 on 2008-08-14 12:33:40Z by kib MFC r176431 by marcel: 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. Tested by: Timothy Bourke Revision Changes Path 1.144.2.13 +7 -8 src/sys/fs/msdosfs/msdosfs_vfsops.c From kib at FreeBSD.org Thu Aug 14 12:40:49 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Aug 14 12:41:06 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c Message-ID: <200808141240.m7ECem2R070378@repoman.freebsd.org> kib 2008-08-14 12:40:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/msdosfs msdosfs_vnops.c Log: SVN rev 181730 on 2008-08-14 12:40:42Z by kib MFC r180252: The uniqdosname() function takes char[12] as it third argument. Revision Changes Path 1.160.2.6 +1 -1 src/sys/fs/msdosfs/msdosfs_vnops.c From kensmith at FreeBSD.org Thu Aug 14 13:35:36 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Thu Aug 14 13:35:42 2008 Subject: cvs commit: src/usr.sbin/sysinstall dist.c dist.h menus.c Message-ID: <200808141335.m7EDZZAY085346@repoman.freebsd.org> kensmith 2008-08-14 13:35:22 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall dist.c dist.h menus.c Log: SVN rev 181731 on 2008-08-14 13:35:22Z by kensmith Catch up with the removal of /usr/src/compat. MFC after: 3 days Revision Changes Path 1.255 +0 -1 src/usr.sbin/sysinstall/dist.c 1.73 +0 -1 src/usr.sbin/sysinstall/dist.h 1.432 +0 -2 src/usr.sbin/sysinstall/menus.c From jasone at FreeBSD.org Thu Aug 14 17:03:38 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Thu Aug 14 17:03:45 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200808141703.m7EH3cB6015926@repoman.freebsd.org> jasone 2008-08-14 17:03:29 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: SVN rev 181732 on 2008-08-14 17:03:29Z by jasone Re-order the terms of an expression in arena_run_reg_dalloc() to correctly detect whether the integer division table is large enough to handle the divisor. Before this change, the last two table elements were never used, thus causing the slow path to be used for those divisors. Revision Changes Path 1.175 +2 -2 src/lib/libc/stdlib/malloc.c From jasone at FreeBSD.org Thu Aug 14 17:31:54 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Thu Aug 14 17:32:08 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200808141731.m7EHVsIu018109@repoman.freebsd.org> jasone 2008-08-14 17:31:42 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: SVN rev 181733 on 2008-08-14 17:31:42Z by jasone Move CPU_SPINWAIT into the innermost spin loop, in order to allow faster preemption while busy-waiting. Submitted by: Mike Schuster Revision Changes Path 1.176 +3 -2 src/lib/libc/stdlib/malloc.c From jhb at FreeBSD.org Thu Aug 14 18:00:55 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 14 18:01:09 2008 Subject: cvs commit: src/sys/dev/nvram nvram.c Message-ID: <200808141800.m7EI0tC3020482@repoman.freebsd.org> jhb 2008-08-14 18:00:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/nvram nvram.c Log: SVN rev 181734 on 2008-08-14 18:00:37Z by jhb MFC: Use an sx lock to serialize writes and remove D_NEEDGIANT. Revision Changes Path 1.1.2.2 +14 -3 src/sys/dev/nvram/nvram.c From jhb at FreeBSD.org Thu Aug 14 18:38:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 14 18:38:06 2008 Subject: cvs commit: src/sys/dev/nvram nvram.c Message-ID: <200808141837.m7EIbuv0024714@repoman.freebsd.org> jhb 2008-08-14 18:37:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/nvram nvram.c Log: SVN rev 181735 on 2008-08-14 18:37:49Z by jhb MFC: Use an sx lock to serialize writes and remove D_NEEDGIANT. Revision Changes Path 1.3.2.2 +14 -3 src/sys/dev/nvram/nvram.c From jhb at FreeBSD.org Thu Aug 14 18:51:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 14 18:51:39 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200808141851.m7EIpRhl025909@repoman.freebsd.org> jhb 2008-08-14 18:51:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sched_4bsd.c Log: SVN rev 181736 on 2008-08-14 18:51:19Z by jhb MFC: Retire the odd ts_flags #define that caused us to often go from the thread to the td_sched back to the thread to find flags. Revision Changes Path 1.106.2.5 +11 -17 src/sys/kern/sched_4bsd.c From jhb at FreeBSD.org Thu Aug 14 19:27:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 14 19:28:10 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200808141927.m7EJRwx0029898@repoman.freebsd.org> jhb 2008-08-14 19:27:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sched_4bsd.c Log: SVN rev 181737 on 2008-08-14 19:27:47Z by jhb MFC: Various and sundry whitespace fixes. Revision Changes Path 1.106.2.6 +75 -73 src/sys/kern/sched_4bsd.c From imp at FreeBSD.org Thu Aug 14 20:03:34 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 14 20:03:40 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/tl if_tl.c if_tlreg.h src/sys/modules/tl Makefile src/sys/pci if_tl.c if_tlreg.h Message-ID: <200808142003.m7EK3X0T034038@repoman.freebsd.org> imp 2008-08-14 20:02:34 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/tl Makefile Added files: sys/dev/tl if_tl.c if_tlreg.h Removed files: sys/pci if_tl.c if_tlreg.h Log: SVN rev 181738 on 2008-08-14 20:02:34Z by imp Move the tl driver form sys/pci to sys/dev/tl. Revision Changes Path 1.1326 +1 -1 src/sys/conf/files 1.1 +2363 -0 src/sys/dev/tl/if_tl.c (new) 1.1 +592 -0 src/sys/dev/tl/if_tlreg.h (new) 1.17 +1 -1 src/sys/modules/tl/Makefile 1.112 +0 -2363 src/sys/pci/if_tl.c (dead) 1.26 +0 -592 src/sys/pci/if_tlreg.h (dead) From imp at FreeBSD.org Thu Aug 14 20:10:39 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 14 20:10:45 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/ste if_ste.c if_stereg.h src/sys/modules/ste Makefile src/sys/pci if_ste.c if_stereg.h Message-ID: <200808142010.m7EKAdpY034753@repoman.freebsd.org> imp 2008-08-14 20:09:58 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/ste Makefile Added files: sys/dev/ste if_ste.c if_stereg.h Removed files: sys/pci if_ste.c if_stereg.h Log: SVN rev 181739 on 2008-08-14 20:09:58Z by imp Move the ste driver from sys/pci to sys/dev/ste. Revision Changes Path 1.1327 +1 -1 src/sys/conf/files 1.1 +1752 -0 src/sys/dev/ste/if_ste.c (new) 1.1 +550 -0 src/sys/dev/ste/if_stereg.h (new) 1.13 +1 -1 src/sys/modules/ste/Makefile 1.101 +0 -1752 src/sys/pci/if_ste.c (dead) 1.23 +0 -550 src/sys/pci/if_stereg.h (dead) From imp at FreeBSD.org Thu Aug 14 20:35:50 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 14 20:35:57 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/pcn if_pcn.c if_pcnreg.h src/sys/modules/pcn Makefile src/sys/pci if_pcn.c if_pcnreg.h Message-ID: <200808142035.m7EKZoS1036977@repoman.freebsd.org> imp 2008-08-14 20:34:46 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/pcn Makefile Added files: sys/dev/pcn if_pcn.c if_pcnreg.h Removed files: sys/pci if_pcn.c if_pcnreg.h Log: SVN rev 181740 on 2008-08-14 20:34:46Z by imp Move pcn driver from sys/pci to sys/dev/pcn. Revision Changes Path 1.1328 +1 -1 src/sys/conf/files 1.1 +1527 -0 src/sys/dev/pcn/if_pcn.c (new) 1.1 +530 -0 src/sys/dev/pcn/if_pcnreg.h (new) 1.4 +1 -1 src/sys/modules/pcn/Makefile 1.84 +0 -1527 src/sys/pci/if_pcn.c (dead) 1.16 +0 -530 src/sys/pci/if_pcnreg.h (dead) From imp at FreeBSD.org Thu Aug 14 21:27:24 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Aug 14 21:27:36 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/wb if_wb.c if_wbreg.h src/sys/modules/wb Makefile src/sys/pci if_wb.c if_wbreg.h Message-ID: <200808142127.m7ELROOg051539@repoman.freebsd.org> imp 2008-08-14 21:26:29 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/wb Makefile Added files: sys/dev/wb if_wb.c if_wbreg.h Removed files: sys/pci if_wb.c if_wbreg.h Log: SVN rev 181741 on 2008-08-14 21:26:29Z by imp Move wb driver from sys/pci to sys/dev/wb. Revision Changes Path 1.1329 +1 -1 src/sys/conf/files 1.1 +1848 -0 src/sys/dev/wb/if_wb.c (new) 1.1 +464 -0 src/sys/dev/wb/if_wbreg.h (new) 1.14 +1 -1 src/sys/modules/wb/Makefile 1.95 +0 -1848 src/sys/pci/if_wb.c (dead) 1.18 +0 -464 src/sys/pci/if_wbreg.h (dead) From jhb at FreeBSD.org Thu Aug 14 22:05:08 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 14 22:05:24 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200808142205.m7EM58wF055699@repoman.freebsd.org> jhb 2008-08-14 22:04:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sched_4bsd.c Log: SVN rev 181742 on 2008-08-14 22:04:52Z by jhb MFC: Add support for cpusets to the 4BSD scheduler. Committed from: my iPhone Revision Changes Path 1.106.2.7 +119 -0 src/sys/kern/sched_4bsd.c From emax at FreeBSD.org Thu Aug 14 22:23:25 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Thu Aug 14 22:23:32 2008 Subject: cvs commit: src/lib/libc/uuid Makefile.inc uuid.3 uuid_stream.c Message-ID: <200808142223.m7EMNO7u057227@repoman.freebsd.org> emax 2008-08-14 22:23:16 UTC FreeBSD src repository Modified files: lib/libc/uuid Makefile.inc uuid.3 Added files: lib/libc/uuid uuid_stream.c Log: SVN rev 181743 on 2008-08-14 22:23:16Z by emax Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() and uuid_dec_be() functions. These routines are not part of the DCE RPC API. They are provided for convenience. Reviewed by: marcel Obtained from: NetBSD MFC after: 1 week Revision Changes Path 1.5 +6 -1 src/lib/libc/uuid/Makefile.inc 1.7 +29 -1 src/lib/libc/uuid/uuid.3 1.1 +113 -0 src/lib/libc/uuid/uuid_stream.c (new) From edwin at FreeBSD.org Fri Aug 15 01:12:42 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 15 01:12:54 2008 Subject: cvs commit: src/share/zoneinfo Theory africa asia australasia europe leapseconds northamerica southamerica zone.tab Message-ID: <200808150112.m7F1CgBi085381@repoman.freebsd.org> edwin 2008-08-15 01:12:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/zoneinfo africa asia australasia europe leapseconds northamerica southamerica zone.tab Removed files: (Branch: RELENG_7) share/zoneinfo Theory Log: SVN rev 181744 on 2008-08-15 01:12:28Z by edwin MFC of r180208, r181413, r181418, r181421, r181424 Set magic fbsd:nokeywords property Remove Theory, which isn't part of the zoneinfo module but came out of /head/usr.sbin/zic (and isn't installed from there neither). MFC of tzdata2008c - Africa/Morocco will have DST in 2008. - Asia/Choibalsan should be GMT+08:00. - Asia/Pakistan will have DST in 2008. MFC of tzdata2008d - Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31. - Add/Fix historical data for C-Eur, the SovietZone, Germany, Bahamas, San Luis. - Add information about West Para (America/Santarem) - America/Eirunepe and America/Rio_Branco go to UTC-4 MFC on tzdata2008e: - Fix dates in 2008/2009 for Africa/Mauritius. - Leap second notification for the end of 2008. Revision Changes Path 1.1.2.1.26.1 +0 -506 src/share/zoneinfo/Theory (dead) 1.21.2.1 +130 -3 src/share/zoneinfo/africa 1.33.2.3 +83 -2 src/share/zoneinfo/asia 1.32.2.1 +3 -3 src/share/zoneinfo/australasia 1.35.2.2 +62 -14 src/share/zoneinfo/europe 1.19.2.3 +25 -16 src/share/zoneinfo/leapseconds 1.33.2.3 +3 -3 src/share/zoneinfo/northamerica 1.31.2.4 +77 -27 src/share/zoneinfo/southamerica 1.22.2.3 +3 -2 src/share/zoneinfo/zone.tab From edwin at FreeBSD.org Fri Aug 15 01:18:14 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Fri Aug 15 01:18:25 2008 Subject: cvs commit: src/share/zoneinfo africa asia australasia europe leapseconds northamerica southamerica zone.tab Message-ID: <200808150118.m7F1IDWZ085815@repoman.freebsd.org> edwin 2008-08-15 01:18:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/zoneinfo africa asia australasia europe leapseconds northamerica southamerica zone.tab Log: SVN rev 181745 on 2008-08-15 01:18:05Z by edwin MFC of r181413, r181418, r181421, r181424 Set magic fbsd:nokeywords property Remove Theory, which isn't part of the zoneinfo module but came out of /head/usr.sbin/zic (and isn't installed from there neither). MFC of tzdata2008c - Africa/Morocco will have DST in 2008. - Asia/Choibalsan should be GMT+08:00. - Asia/Pakistan will have DST in 2008. MFC of tzdata2008d - Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31. - Add/Fix historical data for C-Eur, the SovietZone, Germany, Bahamas, San Luis. - Add information about West Para (America/Santarem) - America/Eirunepe and America/Rio_Branco go to UTC-4 MFC on tzdata2008e: - Fix dates in 2008/2009 for Africa/Mauritius. - Leap second notification for the end of 2008. Revision Changes Path 1.14.14.7 +130 -3 src/share/zoneinfo/africa 1.25.2.9 +83 -2 src/share/zoneinfo/asia 1.25.10.6 +3 -3 src/share/zoneinfo/australasia 1.29.2.7 +62 -14 src/share/zoneinfo/europe 1.13.2.7 +25 -16 src/share/zoneinfo/leapseconds 1.25.2.8 +3 -3 src/share/zoneinfo/northamerica 1.24.2.10 +77 -27 src/share/zoneinfo/southamerica 1.17.2.7 +3 -2 src/share/zoneinfo/zone.tab From kmacy at FreeBSD.org Fri Aug 15 04:02:25 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 04:02:37 2008 Subject: cvs commit: src/sys/dev/xen/console console.c xencons_ring.c src/sys/i386/include/xen xen-os.h xenpmap.h src/sys/i386/xen clock.c locore.s pmap.c xen_machdep.c src/sys/xen/evtchn evtchn.c src/sys/xen/xenbus xenbus_client.c xenbus_comms.c xenbus_dev.c ... Message-ID: <200808150402.m7F42PV5003556@repoman.freebsd.org> kmacy 2008-08-15 04:00:44 UTC FreeBSD src repository Modified files: sys/dev/xen/console console.c xencons_ring.c sys/i386/include/xen xen-os.h xenpmap.h sys/i386/xen clock.c locore.s pmap.c xen_machdep.c sys/xen/evtchn evtchn.c sys/xen/xenbus xenbus_client.c xenbus_comms.c xenbus_dev.c xenbus_probe.c xenbus_probe_backend.c xenbus_xs.c Log: SVN rev 181747 on 2008-08-15 04:00:44Z by kmacy Compile fixes for xen build. MFC after: 1 month. Revision Changes Path 1.2 +0 -3 src/sys/dev/xen/console/console.c 1.2 +0 -1 src/sys/dev/xen/console/xencons_ring.c 1.2 +20 -5 src/sys/i386/include/xen/xen-os.h 1.2 +0 -3 src/sys/i386/include/xen/xenpmap.h 1.2 +25 -107 src/sys/i386/xen/clock.c 1.2 +4 -0 src/sys/i386/xen/locore.s 1.2 +97 -18 src/sys/i386/xen/pmap.c 1.2 +69 -29 src/sys/i386/xen/xen_machdep.c 1.2 +1 -0 src/sys/xen/evtchn/evtchn.c 1.2 +2 -0 src/sys/xen/xenbus/xenbus_client.c 1.2 +1 -0 src/sys/xen/xenbus/xenbus_comms.c 1.2 +1 -0 src/sys/xen/xenbus/xenbus_dev.c 1.2 +1 -0 src/sys/xen/xenbus/xenbus_probe.c 1.2 +1 -0 src/sys/xen/xenbus/xenbus_probe_backend.c 1.2 +1 -0 src/sys/xen/xenbus/xenbus_xs.c From kmacy at FreeBSD.org Fri Aug 15 04:07:54 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 04:08:07 2008 Subject: cvs commit: src/sys/libkern strcspn.c src/sys/sys libkern.h Message-ID: <200808150407.m7F47s8S005318@repoman.freebsd.org> kmacy 2008-08-15 04:07:22 UTC FreeBSD src repository Modified files: sys/sys libkern.h Added files: sys/libkern strcspn.c Log: SVN rev 181748 on 2008-08-15 04:07:22Z by kmacy Add strcspn to libkern for use by xenbus routines. Will add to build in separate commit. Revision Changes Path 1.1 +72 -0 src/sys/libkern/strcspn.c (new) 1.58 +1 -0 src/sys/sys/libkern.h From kientzle at FreeBSD.org Fri Aug 15 05:08:40 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 15 05:08:45 2008 Subject: cvs commit: src/usr.bin/tar util.c Message-ID: <200808150508.m7F58Yq2021017@repoman.freebsd.org> kientzle 2008-08-15 05:08:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar util.c Log: SVN rev 181749 on 2008-08-15 05:08:24Z by kientzle Point merge of a fix for --strip-components. I'm going to wait a little longer before I merge the rest of r179322. PR: bin/121158 Revision Changes Path 1.13.2.7 +4 -0 src/usr.bin/tar/util.c From kientzle at FreeBSD.org Fri Aug 15 06:12:06 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 15 06:12:20 2008 Subject: cvs commit: src/usr.bin/tar/test test_copy.c test_option_T.c test_patterns.c test_patterns.tgz.err.uu test_patterns.tgz.out.uu test_patterns.tgz.uu Message-ID: <200808150612.m7F6C65a027333@repoman.freebsd.org> kientzle 2008-08-15 06:12:02 UTC FreeBSD src repository Modified files: usr.bin/tar/test test_copy.c test_option_T.c test_patterns.c Added files: usr.bin/tar/test test_patterns.tgz.err.uu test_patterns.tgz.out.uu test_patterns.tgz.uu Log: SVN rev 181750 on 2008-08-15 06:12:02Z by kientzle Test updates: Handling of patterns on command line, error messages. Revision Changes Path 1.3 +3 -0 src/usr.bin/tar/test/test_copy.c 1.3 +4 -1 src/usr.bin/tar/test/test_option_T.c 1.2 +13 -0 src/usr.bin/tar/test/test_patterns.c 1.1 +6 -0 src/usr.bin/tar/test/test_patterns.tgz.err.uu (new) 1.1 +5 -0 src/usr.bin/tar/test/test_patterns.tgz.out.uu (new) 1.1 +9 -0 src/usr.bin/tar/test/test_patterns.tgz.uu (new) From phk at FreeBSD.org Fri Aug 15 08:28:24 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Fri Aug 15 08:28:35 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808150828.m7F8SNYS040663@repoman.freebsd.org> phk 2008-08-15 08:28:15 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181751 on 2008-08-15 08:28:15Z by phk Accept tty[ud]0 for console device Revision Changes Path 1.36 +1 -1 src/tools/tools/nanobsd/nanobsd.sh From kib at FreeBSD.org Fri Aug 15 09:08:57 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 15 09:09:04 2008 Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c Message-ID: <200808150908.m7F98vk3054326@repoman.freebsd.org> kib 2008-08-15 09:08:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 cpu_switch.S genassym.c sys/amd64/ia32 ia32_signal.c sys/amd64/include pcb.h sys/amd64/linux32 linux32_machdep.c Log: SVN rev 181752 on 2008-08-15 09:08:35Z by kib MFC r177535 by peter: (Micro)optimization of cpu_switch for amd64. Because r173004 (pure kernel threads) is not MFCed to stable/7, I use P_KTHREAD flag from curthread->td_proc->p_flag instead of TDP_KTHREAD flag from curthread->td_pflags to test whether the fs/gs bases need to be restored [1]. No objections for MFC from: peter Suggested by: jhb [1] MFC r180992: Bring back the save/restore of the %ds, %es, %fs and %gs registers for the 32bit images on amd64. The end result is almost complete syncronization of the amd64/amd64/cpu_switch.S between head and stable/7, besides TDP_KTHREAD difference. Revision Changes Path 1.160.2.1 +132 -80 src/sys/amd64/amd64/cpu_switch.S 1.165.2.1 +4 -0 src/sys/amd64/amd64/genassym.c 1.15.2.2 +1 -1 src/sys/amd64/ia32/ia32_signal.c 1.63.2.1 +1 -0 src/sys/amd64/include/pcb.h 1.45.2.2 +1 -1 src/sys/amd64/linux32/linux32_machdep.c From philip at FreeBSD.org Fri Aug 15 10:55:29 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Aug 15 10:55:41 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c Message-ID: <200808151055.m7FAtTqT064094@repoman.freebsd.org> philip 2008-08-15 10:55:11 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.c ata-all.h ata-chipset.c Log: SVN rev 181753 on 2008-08-15 10:55:11Z by philip Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. This can be used to disable the 80pin cable check on systems which forget to set the bit -- such as certain laptops and Soekris boards. PR: kern/114605 (somewhat reworked) Submitted by: marck MFC after: 1 week Revision Changes Path 1.290 +5 -0 src/sys/dev/ata/ata-all.c 1.134 +2 -1 src/sys/dev/ata/ata-all.h 1.225 +6 -0 src/sys/dev/ata/ata-chipset.c From marius at FreeBSD.org Fri Aug 15 11:38:05 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Fri Aug 15 11:38:16 2008 Subject: cvs commit: src/sys/sparc64/include atomic.h src/sys/sun4v/include atomic.h Message-ID: <200808151138.m7FBc4Qm069602@repoman.freebsd.org> marius 2008-08-15 11:37:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/include atomic.h sys/sun4v/include atomic.h Log: SVN rev 181754 on 2008-08-15 11:37:29Z by marius MFC: r177373 Oops. Use atomic_add_long() for atomic_fetchadd_long() (not atomic_add_int()) for sparc64 and sun4v. Revision Changes Path 1.10.2.2 +1 -2 src/sys/sparc64/include/atomic.h 1.1.2.2 +1 -2 src/sys/sun4v/include/atomic.h From ticso at cicely7.cicely.de Fri Aug 15 11:47:11 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Fri Aug 15 11:47:23 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c In-Reply-To: <200808151055.m7FAtTqT064094@repoman.freebsd.org> References: <200808151055.m7FAtTqT064094@repoman.freebsd.org> Message-ID: <20080815114704.GF34094@cicely7.cicely.de> On Fri, Aug 15, 2008 at 10:55:11AM +0000, Philip Paeps wrote: > philip 2008-08-15 10:55:11 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-all.c ata-all.h ata-chipset.c > Log: > SVN rev 181753 on 2008-08-15 10:55:11Z by philip > > Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. > This can be used to disable the 80pin cable check on systems which forget to > set the bit -- such as certain laptops and Soekris boards. Are those bits per device? Because I see the following for a onboard controller: [...] ACPI APIC Table: [...] atapci0: port 0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f mem 0xe0100000-0xe01001ff irq 17 at device 0.0 on pci2 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] [...] ad4: DMA limited to UDMA33, device found non-ATA66 cable ad4: 117246MB at ata2-master UDMA33 ad5: 156334MB at ata2-slave UDMA133 Which is strange, since both drives are on the same cable... > PR: kern/114605 (somewhat reworked) > Submitted by: marck > MFC after: 1 week > > Revision Changes Path > 1.290 +5 -0 src/sys/dev/ata/ata-all.c > 1.134 +2 -1 src/sys/dev/ata/ata-all.h > 1.225 +6 -0 src/sys/dev/ata/ata-chipset.c -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From philip at FreeBSD.org Fri Aug 15 12:06:25 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Aug 15 12:06:32 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c In-Reply-To: <20080815114704.GF34094@cicely7.cicely.de> References: <200808151055.m7FAtTqT064094@repoman.freebsd.org> <20080815114704.GF34094@cicely7.cicely.de> Message-ID: <20080815120621.GF74590@carrot.paeps.cx> On 2008-08-15 13:47:04 (+0200), Bernd Walter wrote: > On Fri, Aug 15, 2008 at 10:55:11AM +0000, Philip Paeps wrote: > > This can be used to disable the 80pin cable check on systems which forget > > to set the bit -- such as certain laptops and Soekris boards. > > Are those bits per device? That is what it looks like, yes. The cable is detected by checking whether a certain pin is grounded. From how I read the standard, the pin should be grounded in the connector, so I can imagine a very strange cable which has 80 pins up to the first device and 40 to the second. > ad4: DMA limited to UDMA33, device found non-ATA66 cable > ad4: 117246MB at ata2-master UDMA33 > ad5: 156334MB at ata2-slave UDMA133 > Which is strange, since both drives are on the same cable... I agree that this is very strange. I haven't read the ATA standard in any kind of detail though... Does this commit fix it though? - Philip -- Philip Paeps Please don't Cc me, I am philip@freebsd.org subscribed to the list. > Is there anywhere in Canterbury that offers one hour film processing?? Yep, Superdrug does. And if you get photos developed there, my boyfriend will get to laugh at all your pictures. -- srp3 and mm3 on ukc.misc From ticso at cicely7.cicely.de Fri Aug 15 12:42:09 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Fri Aug 15 12:42:15 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c In-Reply-To: <20080815120621.GF74590@carrot.paeps.cx> References: <200808151055.m7FAtTqT064094@repoman.freebsd.org> <20080815114704.GF34094@cicely7.cicely.de> <20080815120621.GF74590@carrot.paeps.cx> Message-ID: <20080815124202.GH34094@cicely7.cicely.de> On Fri, Aug 15, 2008 at 01:06:21PM +0100, Philip Paeps wrote: > On 2008-08-15 13:47:04 (+0200), Bernd Walter wrote: > > On Fri, Aug 15, 2008 at 10:55:11AM +0000, Philip Paeps wrote: > > > This can be used to disable the 80pin cable check on systems which forget > > > to set the bit -- such as certain laptops and Soekris boards. > > > > Are those bits per device? > > That is what it looks like, yes. The cable is detected by checking whether a > certain pin is grounded. From how I read the standard, the pin should be > grounded in the connector, so I can imagine a very strange cable which has 80 > pins up to the first device and 40 to the second. I thought the cable type is read by the controller. But if it is read by the device then it sounds possible. Hadn't thought about a broken cable yet. Well - in fact I never cared much about this problem at all. > > ad4: DMA limited to UDMA33, device found non-ATA66 cable > > ad4: 117246MB at ata2-master UDMA33 > > ad5: 156334MB at ata2-slave UDMA133 > > Which is strange, since both drives are on the same cable... > > I agree that this is very strange. I haven't read the ATA standard in any > kind of detail though... > > Does this commit fix it though? A update to a more recent current failed for other reasons. But I can test your change alone. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From phk at phk.freebsd.dk Fri Aug 15 12:52:02 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Fri Aug 15 12:52:09 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c In-Reply-To: Your message of "Fri, 15 Aug 2008 14:42:02 +0200." <20080815124202.GH34094@cicely7.cicely.de> Message-ID: <3482.1218804718@critter.freebsd.dk> In message <20080815124202.GH34094@cicely7.cicely.de>, Bernd Walter writes: >I thought the cable type is read by the controller. It is read by both the controller and the device, for reasons of bugwards compatibility, read the ata-spec for gory details. -- 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 ed at FreeBSD.org Fri Aug 15 13:15:53 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Aug 15 13:15:59 2008 Subject: cvs commit: src/share/man/man4 snp.4 src/sys/dev/snp snp.c src/usr.sbin/watch watch.c Message-ID: <200808151315.m7FDFqnA090826@repoman.freebsd.org> ed 2008-08-15 13:07:07 UTC FreeBSD src repository Modified files: share/man/man4 snp.4 sys/dev/snp snp.c usr.sbin/watch watch.c Log: SVN rev 181755 on 2008-08-15 13:07:07Z by ed Convert the snp(4) driver to use cdevpriv. Now we have a single /dev/snp device node, which can be opened by watch(8) multiple times. Even though snp(4) will be dead as of next week, it's nice having this in SVN, because: - We may want to MFC it to RELENG_7. - By the time we fix snp(4) again, it's already there, existing watch(8) binaries should already work. Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary compatible. Revision Changes Path 1.28 +2 -2 src/share/man/man4/snp.4 1.109 +46 -66 src/sys/dev/snp/snp.c 1.36 +7 -16 src/usr.sbin/watch/watch.c From philip at FreeBSD.org Fri Aug 15 14:13:05 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Aug 15 14:13:17 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200808151413.m7FED5Yj096607@repoman.freebsd.org> philip 2008-08-15 14:11:30 UTC FreeBSD src repository Modified files: sys Makefile Log: SVN rev 181756 on 2008-08-15 14:11:30Z by philip Improve the glimpse target: don't index .svn and compile directories. Suggested by: brooks Revision Changes Path 1.53 +4 -0 src/sys/Makefile From jhb at FreeBSD.org Fri Aug 15 16:21:42 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 16:21:48 2008 Subject: cvs commit: src/share/zoneinfo Theory africa asia australasia europe leapseconds northamerica southamerica zone.tab Message-ID: <200808151621.m7FGLgo2010352@repoman.freebsd.org> jhb 2008-08-15 16:21:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) share/zoneinfo africa asia australasia europe leapseconds northamerica southamerica zone.tab Removed files: (Branch: RELENG_4) share/zoneinfo Theory Log: SVN rev 181757 on 2008-08-15 16:21:32Z by jhb MFC: tzdata2008[cde]. Revision Changes Path 1.1.2.1.2.2 +0 -506 src/share/zoneinfo/Theory (dead) 1.10.2.8 +130 -3 src/share/zoneinfo/africa 1.14.2.15 +83 -2 src/share/zoneinfo/asia 1.14.2.11 +3 -3 src/share/zoneinfo/australasia 1.18.2.12 +62 -14 src/share/zoneinfo/europe 1.4.2.13 +25 -16 src/share/zoneinfo/leapseconds 1.14.2.13 +3 -3 src/share/zoneinfo/northamerica 1.12.2.16 +77 -27 src/share/zoneinfo/southamerica 1.4.2.16 +3 -2 src/share/zoneinfo/zone.tab From brde at optusnet.com.au Fri Aug 15 16:29:55 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Fri Aug 15 16:30:07 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c In-Reply-To: <20080815114704.GF34094@cicely7.cicely.de> References: <200808151055.m7FAtTqT064094@repoman.freebsd.org> <20080815114704.GF34094@cicely7.cicely.de> Message-ID: <20080816020102.Q99153@delplex.bde.org> On Fri, 15 Aug 2008, Bernd Walter wrote: > On Fri, Aug 15, 2008 at 10:55:11AM +0000, Philip Paeps wrote: >> philip 2008-08-15 10:55:11 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/ata ata-all.c ata-all.h ata-chipset.c >> Log: >> SVN rev 181753 on 2008-08-15 10:55:11Z by philip >> >> Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. >> This can be used to disable the 80pin cable check on systems which forget to >> set the bit -- such as certain laptops and Soekris boards. This should be a sysctl so that it can be set at useful times (after booting, not before). Also, the sysctls for setting the mode shouldn't be subject to the cable check. Range checking in sysctls is a bug since it mainly prevents you setting known working values. > Are those bits per device? > Because I see the following for a onboard controller: > [...] > ACPI APIC Table: > [...] > atapci0: port 0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f mem 0xe0100000-0xe01001ff irq 17 at device 0.0 on pci2 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > [...] > ad4: DMA limited to UDMA33, device found non-ATA66 cable > ad4: 117246MB at ata2-master UDMA33 > ad5: 156334MB at ata2-slave UDMA133 > Which is strange, since both drives are on the same cable... I get this on an oldish VIA motherboard (Gigabyte K8 Triton) which didn't have the problem until changes in early April 2008. The bug seems to be a subtle timing one -- - the bug sometimes didn't show up when I paused ata initialization using ddb, but adding long delays at similar places to the debugging pauses didn't seem to work - the changes in early April 2008 are large but don't seem to go near either cable checking or timing. % atapci0@pci0:15:0: class=0x01018a card=0x50021458 chip=0x05711106 rev=0x06 hdr=0x00 % vendor = 'VIA Technologies Inc' % device = 'VT82xxxx EIDE Controller (All VIA Chipsets)' % class = mass storage % subclass = ATA After downgrading to a new kernel: Jul 30 23:22:00 besplex kernel: FreeBSD 8.0-CURRENT #545: Tue Jul 29 14:29:22 UTC 2008 % Jul 30 23:22:00 besplex kernel: ad0: DMA limited to UDMA33, device found non-ATA66 cable % Jul 30 23:22:00 besplex kernel: ad0: 29313MB at ata0-master UDMA33 % Jul 30 23:22:00 besplex kernel: ad1: 58644MB at ata0-slave UDMA100 % Jul 30 23:22:00 besplex kernel: ad2: DMA limited to UDMA33, device found non-ATA66 cable % Jul 30 23:22:00 besplex kernel: ad2: 58644MB at ata1-master UDMA33 % Jul 30 23:22:00 besplex kernel: acd0: DVDROM at ata1-slave UDMA33 The cable check always works correctly for ad1 (slave to ad0 master) but very rarely works correctly for ad0 or ad2 (both masters). After upgrading to an old kernel: Aug 13 21:55:52 besplex kernel: FreeBSD 8.0-CURRENT #502: Fri Apr 4 17:09:31 UTC 2008 % Jul 31 00:58:45 besplex kernel: ad0: 29313MB at ata0-master UDMA100 % Jul 31 00:58:45 besplex kernel: ad1: 58644MB at ata0-slave UDMA100 % Jul 31 00:58:45 besplex kernel: ad2: 58644MB at ata1-master UDMA100 % Jul 31 00:58:45 besplex kernel: acd0: DVDROM at ata1-slave UDMA33 For kernels built up to and including 4 April 2008 17:09:31 UTC, the cable check always worked correctly for ad0, ad1 and ad2. Bruce From antoine at FreeBSD.org Fri Aug 15 16:42:16 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Fri Aug 15 16:42:47 2008 Subject: cvs commit: src/sys/kern subr_stack.c Message-ID: <200808151642.m7FGgEjJ012120@repoman.freebsd.org> antoine 2008-08-15 16:42:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_stack.c Log: SVN rev 181758 on 2008-08-15 16:42:07Z by antoine MFC r180495 to stable/7: Staticize M_STACK. Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.3.2.4 +1 -1 src/sys/kern/subr_stack.c From jhb at FreeBSD.org Fri Aug 15 18:48:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 18:48:59 2008 Subject: cvs commit: src/etc/defaults rc.conf Message-ID: <200808151848.m7FImk7L033742@repoman.freebsd.org> jhb 2008-08-15 18:48:29 UTC FreeBSD src repository Modified files: etc/defaults rc.conf Log: SVN rev 181759 on 2008-08-15 18:48:29Z by jhb For the firewall_* variables that are specific to the "workstation" firewall type, note that property in their description. MFC after: 1 week Revision Changes Path 1.340 +9 -7 src/etc/defaults/rc.conf From jhb at FreeBSD.org Fri Aug 15 18:58:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 18:58:26 2008 Subject: cvs commit: src/etc rc.firewall Message-ID: <200808151858.m7FIwK09034583@repoman.freebsd.org> jhb 2008-08-15 18:58:15 UTC FreeBSD src repository Modified files: etc rc.firewall Log: SVN rev 181760 on 2008-08-15 18:58:15Z by jhb Use 'me' rather than explicit IP addresses for the "simple" and "client" firewall configurations. PR: bin/65258 Silence on: net@ MFC after: 1 week Revision Changes Path 1.58 +9 -12 src/etc/rc.firewall From jhb at FreeBSD.org Fri Aug 15 19:14:38 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:14:52 2008 Subject: cvs commit: src/etc rc.firewall Message-ID: <200808151914.m7FJEccq037080@repoman.freebsd.org> jhb 2008-08-15 19:14:25 UTC FreeBSD src repository Modified files: etc rc.firewall Log: SVN rev 181761 on 2008-08-15 19:14:25Z by jhb For the "client" and "simple" network types, collapse the separate "net" and "mask" variables into a single "net" variable that contains a full network address (including either a netmask or prefix length at the user's choice). Update the example settings to match. MFC after: 2 weeks Revision Changes Path 1.59 +11 -14 src/etc/rc.firewall From jhb at FreeBSD.org Fri Aug 15 19:32:43 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:32:49 2008 Subject: cvs commit: src/etc rc.firewall src/etc/defaults rc.conf Message-ID: <200808151932.m7FJWgcZ038953@repoman.freebsd.org> jhb 2008-08-15 19:20:59 UTC FreeBSD src repository Modified files: etc rc.firewall etc/defaults rc.conf Log: SVN rev 181762 on 2008-08-15 19:20:59Z by jhb Allow the network addresses and interface names for the "client" and "workstation" firewall types to be set from rc.conf so that rc.firewall no longer needs local patching to be usable for those types. For now I've set the variables in /etc/defaults/rc.conf to the previous defaults in /etc/rc.firewall. PR: bin/65258 Submitted by: Valentin Nechayev netch of netch.kiev.ua Silence from: net MFC after: 2 weeks Revision Changes Path 1.341 +9 -0 src/etc/defaults/rc.conf 1.60 +15 -6 src/etc/rc.firewall From jhb at FreeBSD.org Fri Aug 15 19:34:39 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:34:45 2008 Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200808151934.m7FJYdax039177@repoman.freebsd.org> jhb 2008-08-15 19:22:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern tty_pts.c Log: SVN rev 181763 on 2008-08-15 19:22:33Z by jhb MFC: Close a race with concurrent open's of a pts master device which could result in leaked tty structures. Revision Changes Path 1.16.2.3 +13 -7 src/sys/kern/tty_pts.c From jhb at FreeBSD.org Fri Aug 15 19:34:40 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:35:07 2008 Subject: cvs commit: src/sys/kern tty_pty.c Message-ID: <200808151934.m7FJYeCf039204@repoman.freebsd.org> jhb 2008-08-15 19:25:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern tty_pty.c Log: SVN rev 181764 on 2008-08-15 19:25:40Z by jhb MFC: Close two different races with concurrent opens of pty master devices. Revision Changes Path 1.152.2.6 +24 -5 src/sys/kern/tty_pty.c From jhb at FreeBSD.org Fri Aug 15 19:34:51 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:35:08 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c Message-ID: <200808151934.m7FJYp30039298@repoman.freebsd.org> jhb 2008-08-15 19:31:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/boot2 boot2.c sys/boot/i386/gptboot gptboot.c sys/boot/i386/loader main.c sys/boot/pc98/loader main.c Log: SVN rev 181765 on 2008-08-15 19:31:12Z by jhb MFC: Initialize the vm86 structure to a known-good state, specifically eflags. Revision Changes Path 1.83.2.5 +4 -2 src/sys/boot/i386/boot2/boot2.c 1.86.2.3 +4 -2 src/sys/boot/i386/gptboot/gptboot.c 1.40.2.2 +5 -0 src/sys/boot/i386/loader/main.c 1.24.2.2 +5 -0 src/sys/boot/pc98/loader/main.c From jhb at FreeBSD.org Fri Aug 15 19:34:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:35:28 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c Message-ID: <200808151934.m7FJYwtl039393@repoman.freebsd.org> jhb 2008-08-15 19:31:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/boot2 boot2.c sys/boot/i386/gptboot gptboot.c sys/boot/i386/loader main.c sys/boot/pc98/loader main.c Log: SVN rev 181766 on 2008-08-15 19:31:37Z by jhb MFC: Initialize the vm86 structure to a known-good state, specifically eflags. Revision Changes Path 1.72.2.10 +4 -2 src/sys/boot/i386/boot2/boot2.c 1.86.4.3 +4 -2 src/sys/boot/i386/gptboot/gptboot.c 1.31.2.5 +5 -0 src/sys/boot/i386/loader/main.c 1.20.2.4 +5 -0 src/sys/boot/pc98/loader/main.c From jhb at FreeBSD.org Fri Aug 15 19:35:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:35:29 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c Message-ID: <200808151935.m7FJZ2tL039498@repoman.freebsd.org> jhb 2008-08-15 19:34:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/boot/i386/boot2 boot2.c sys/boot/i386/loader main.c sys/boot/pc98/loader main.c Log: SVN rev 181767 on 2008-08-15 19:34:02Z by jhb MFC: Initialize the vm86 structure to a known-good state, specifically eflags. Revision Changes Path 1.28.2.8 +4 -2 src/sys/boot/i386/boot2/boot2.c 1.17.2.8 +5 -0 src/sys/boot/i386/loader/main.c 1.7.2.7 +5 -0 src/sys/boot/pc98/loader/main.c From jhb at FreeBSD.org Fri Aug 15 19:51:34 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:51:40 2008 Subject: cvs commit: src/sys/boot/i386/btx/btx btx.S Message-ID: <200808151951.m7FJpYw3040958@repoman.freebsd.org> jhb 2008-08-15 19:51:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/btx/btx btx.S Log: SVN rev 181768 on 2008-08-15 19:51:23Z by jhb MFC: Fix some of the hangs reported with the real mode BTX by disabling interrupts for software interrupts. Revision Changes Path 1.44.2.2 +22 -11 src/sys/boot/i386/btx/btx/btx.S From jhb at FreeBSD.org Fri Aug 15 19:52:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:52:25 2008 Subject: cvs commit: src/sys/boot/i386/btx/btx btx.S Message-ID: <200808151952.m7FJqJMr041031@repoman.freebsd.org> jhb 2008-08-15 19:52:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/btx/btx btx.S Log: SVN rev 181769 on 2008-08-15 19:52:09Z by jhb MFC: Fix some of the hangs reported with the real mode BTX by disabling interrupts for software interrupts. Revision Changes Path 1.38.2.4 +22 -11 src/sys/boot/i386/btx/btx/btx.S From jhb at FreeBSD.org Fri Aug 15 19:59:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 19:59:27 2008 Subject: cvs commit: src/sys/boot/i386/btx/btx btx.s Message-ID: <200808151959.m7FJxKZP041553@repoman.freebsd.org> jhb 2008-08-15 19:59:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/boot/i386/btx/btx btx.s Log: SVN rev 181770 on 2008-08-15 19:59:18Z by jhb MFC: Fix some of the hangs reported with the real mode BTX by disabling interrupts for software interrupts. Revision Changes Path 1.15.2.6 +23 -12 src/sys/boot/i386/btx/btx/btx.s From jhb at FreeBSD.org Fri Aug 15 20:16:36 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 20:16:43 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200808152016.m7FKGajT044154@repoman.freebsd.org> jhb 2008-08-15 20:16:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/pci pci.c Log: SVN rev 181771 on 2008-08-15 20:16:21Z by jhb MFC: If the kernel fails to allocate resources for the initial value of a PCI BAR, then zero the BAR and clear the resource list entry so that a new resource will be allocated by the device driver. Revision Changes Path 1.355.2.3 +16 -14 src/sys/dev/pci/pci.c From jhb at FreeBSD.org Fri Aug 15 20:17:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 20:17:28 2008 Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200808152017.m7FKHMj6044229@repoman.freebsd.org> jhb 2008-08-15 20:17:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/pci pci.c Log: SVN rev 181772 on 2008-08-15 20:17:08Z by jhb MFC: If the kernel fails to allocate resources for the initial value of a PCI BAR, then zero the BAR and clear the resource list entry so that a new resource will be allocated by the device driver. Revision Changes Path 1.292.2.26 +19 -5 src/sys/dev/pci/pci.c From jhb at FreeBSD.org Fri Aug 15 20:20:38 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 20:20:49 2008 Subject: cvs commit: src/usr.sbin/adduser rmuser.sh Message-ID: <200808152020.m7FKKcq8044539@repoman.freebsd.org> jhb 2008-08-15 20:20:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/adduser rmuser.sh Log: SVN rev 181773 on 2008-08-15 20:20:23Z by jhb MFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in the user's path. Revision Changes Path 1.9.10.2 +3 -2 src/usr.sbin/adduser/rmuser.sh From jhb at FreeBSD.org Fri Aug 15 20:20:55 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 15 20:21:01 2008 Subject: cvs commit: src/usr.sbin/adduser rmuser.sh Message-ID: <200808152020.m7FKKsOg044591@repoman.freebsd.org> jhb 2008-08-15 20:20:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/adduser rmuser.sh Log: SVN rev 181774 on 2008-08-15 20:20:36Z by jhb MFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in the user's path. Revision Changes Path 1.9.2.2 +3 -2 src/usr.sbin/adduser/rmuser.sh From kmacy at FreeBSD.org Fri Aug 15 20:51:42 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 20:51:54 2008 Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c genassym.c machdep.c support.s sys_machdep.c trap.c vm_machdep.c src/sys/i386/include asmacros.h cpufunc.h pcpu.h pmap.h segments.h trap.h vmparam.h src/sys/i386/pci pci_cfgreg.c pci_pir.c Message-ID: <200808152051.m7FKpfVL056350@repoman.freebsd.org> kmacy 2008-08-15 20:51:31 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c genassym.c machdep.c support.s sys_machdep.c trap.c vm_machdep.c sys/i386/include asmacros.h cpufunc.h pcpu.h pmap.h segments.h trap.h vmparam.h sys/i386/pci pci_cfgreg.c pci_pir.c Log: SVN rev 181775 on 2008-08-15 20:51:31Z by kmacy Integrate support for xen in to i386 common code. MFC after: 1 month Revision Changes Path 1.94 +5 -0 src/sys/i386/i386/busdma_machdep.c 1.163 +6 -0 src/sys/i386/i386/genassym.c 1.671 +307 -7 src/sys/i386/i386/machdep.c 1.121 +3 -1 src/sys/i386/i386/support.s 1.114 +96 -0 src/sys/i386/i386/sys_machdep.c 1.316 +14 -1 src/sys/i386/i386/trap.c 1.287 +22 -0 src/sys/i386/i386/vm_machdep.c 1.31 +57 -0 src/sys/i386/include/asmacros.h 1.148 +40 -4 src/sys/i386/include/cpufunc.h 1.52 +24 -0 src/sys/i386/include/pcpu.h 1.134 +69 -2 src/sys/i386/include/pmap.h 1.39 +14 -1 src/sys/i386/include/segments.h 1.16 +3 -0 src/sys/i386/include/trap.h 1.48 +9 -0 src/sys/i386/include/vmparam.h 1.127 +10 -0 src/sys/i386/pci/pci_cfgreg.c 1.122 +8 -1 src/sys/i386/pci/pci_pir.c From kmacy at FreeBSD.org Fri Aug 15 20:59:40 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 20:59:47 2008 Subject: cvs commit: src/sys/conf files files.i386 options.i386 src/sys/i386/conf DEFAULTS XEN Message-ID: <200808152059.m7FKxeQS057036@repoman.freebsd.org> kmacy 2008-08-15 20:58:57 UTC FreeBSD src repository Modified files: sys/conf files files.i386 options.i386 sys/i386/conf DEFAULTS Added files: sys/i386/conf XEN Log: SVN rev 181776 on 2008-08-15 20:58:57Z by kmacy Integrate configuration bits for compling xen. MFC after: 1 month Revision Changes Path 1.1330 +16 -0 src/sys/conf/files 1.603 +14 -9 src/sys/conf/files.i386 1.243 +3 -0 src/sys/conf/options.i386 1.14 +4 -0 src/sys/i386/conf/DEFAULTS 1.1 +149 -0 src/sys/i386/conf/XEN (new) From kmacy at FreeBSD.org Fri Aug 15 21:03:21 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 21:03:28 2008 Subject: cvs commit: src/sys/kern init_main.c Message-ID: <200808152103.m7FL3LcH058586@repoman.freebsd.org> kmacy 2008-08-15 21:03:13 UTC FreeBSD src repository Modified files: sys/kern init_main.c Log: SVN rev 181777 on 2008-08-15 21:03:13Z by kmacy Add flag to indicate to xen support code that threads are running (and thus we can block). MFC after: 1 month Revision Changes Path 1.293 +3 -0 src/sys/kern/init_main.c From kmacy at FreeBSD.org Fri Aug 15 21:09:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 21:09:14 2008 Subject: cvs commit: src/lib/librt sigev_thread.c Message-ID: <200808152109.m7FL97NQ061480@repoman.freebsd.org> kmacy 2008-08-15 21:08:48 UTC FreeBSD src repository Modified files: lib/librt sigev_thread.c Log: SVN rev 181778 on 2008-08-15 21:08:48Z by kmacy atomic_fetchadd_int works on unsigned quantities - change sigev_generation to be unsigned MFC after: 1 month Revision Changes Path 1.9 +1 -1 src/lib/librt/sigev_thread.c From kmacy at FreeBSD.org Fri Aug 15 21:20:56 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 21:21:02 2008 Subject: cvs commit: src/sys/xen features.c Message-ID: <200808152120.m7FLKsvQ062498@repoman.freebsd.org> kmacy 2008-08-15 21:20:44 UTC FreeBSD src repository Added files: sys/xen features.c Log: SVN rev 181779 on 2008-08-15 21:20:44Z by kmacy Import check for xen features. MFC after: 1 month Revision Changes Path 1.1 +24 -0 src/sys/xen/features.c (new) From kmacy at FreeBSD.org Fri Aug 15 21:43:57 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 21:44:02 2008 Subject: cvs commit: src/sys/i386/isa npx.c Message-ID: <200808152143.m7FLhujZ064418@repoman.freebsd.org> kmacy 2008-08-15 21:43:38 UTC FreeBSD src repository Modified files: sys/i386/isa npx.c Log: SVN rev 181780 on 2008-08-15 21:43:38Z by kmacy Call in to xen for fpu handling when XEN is set MFC after: 1 month Revision Changes Path 1.173 +10 -1 src/sys/i386/isa/npx.c From remko at FreeBSD.org Fri Aug 15 21:45:34 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Fri Aug 15 21:46:03 2008 Subject: cvs commit: src/sys/i386/isa npx.c In-Reply-To: <200808152143.m7FLhujZ064418@repoman.freebsd.org> References: <200808152143.m7FLhujZ064418@repoman.freebsd.org> Message-ID: <48A5F8F8.4000501@FreeBSD.org> Kip Macy wrote: > kmacy 2008-08-15 21:43:38 UTC > > FreeBSD src repository > > Modified files: > sys/i386/isa npx.c > Log: > SVN rev 181780 on 2008-08-15 21:43:38Z by kmacy > > Call in to xen for fpu handling when XEN is set > > MFC after: 1 month > > Revision Changes Path > 1.173 +10 -1 src/sys/i386/isa/npx.c Just a random reply to a random commit for xen. Thanks Kip for all the hard work on this! It's appreciated a lot (as mentioned in an earlier reply), kuddo's for the work!! 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 kmacy at FreeBSD.org Fri Aug 15 21:47:29 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 15 21:47:36 2008 Subject: cvs commit: src/sys/i386/conf XEN Message-ID: <200808152147.m7FLlRvv064905@repoman.freebsd.org> kmacy 2008-08-15 21:47:11 UTC FreeBSD src repository Modified files: sys/i386/conf XEN Log: SVN rev 181781 on 2008-08-15 21:47:11Z by kmacy disable PREEMPTION pending bug fixes to i386/xen/pmap.c MFC after: 1 month Revision Changes Path 1.2 +4 -2 src/sys/i386/conf/XEN From bz at FreeBSD.org Sat Aug 16 06:40:20 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Aug 16 06:40:26 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c src/sys/netinet6 ip6_input.c ip6_var.h Message-ID: <200808160640.m7G6eKUM048839@repoman.freebsd.org> bz 2008-08-16 06:39:18 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c sys/netinet6 ip6_input.c ip6_var.h Log: SVN rev 181782 on 2008-08-16 06:39:18Z by bz Fix a regression introduced in r179289 splitting up ip6_savecontrol() into v4-only vs. v6-only inp_flags processing. When ip6_savecontrol_v4() is called from ip6_savecontrol() we were not passing back the **mp thus the information will be missing in userland. Istead of going with a *** as suggested in the PR we are returning **mp now and passing in the v4only flag as a pointer argument. PR: kern/126349 Reviewed by: rwatson, dwmalone Revision Changes Path 1.235 +1 -1 src/sys/netinet/udp_usrreq.c 1.102 +14 -6 src/sys/netinet6/ip6_input.c 1.44 +2 -1 src/sys/netinet6/ip6_var.h From dwmalone at FreeBSD.org Sat Aug 16 11:48:26 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Sat Aug 16 11:48:38 2008 Subject: cvs commit: src/sys/net bpf.c bpf.h Message-ID: <200808161148.m7GBmQX4096212@repoman.freebsd.org> dwmalone 2008-08-16 11:48:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net bpf.c bpf.h Log: SVN rev 181783 on 2008-08-16 11:48:10Z by dwmalone MFC: Add a new ioctl for changing the read filter (BIOCSETFNR). This is just like BIOCSETF but it doesn't drop all the packets buffered on the discriptor and reset the statistics. Also, when setting the write filter, don't drop packets waiting to be read or reset the statistics. Revision Changes Path 1.181.2.9 +8 -4 src/sys/net/bpf.c 1.47.2.2 +1 -0 src/sys/net/bpf.h From dwmalone at FreeBSD.org Sat Aug 16 11:48:57 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Sat Aug 16 11:49:04 2008 Subject: cvs commit: src/share/man/man4 bpf.4 Message-ID: <200808161148.m7GBmvtI096264@repoman.freebsd.org> dwmalone 2008-08-16 11:48:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 bpf.4 Log: SVN rev 181784 on 2008-08-16 11:48:44Z by dwmalone MFC: Update man page for addition of BIOCSETFNR. Revision Changes Path 1.48.2.1 +12 -3 src/share/man/man4/bpf.4 From ache at FreeBSD.org Sat Aug 16 15:41:15 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sat Aug 16 15:41:26 2008 Subject: cvs commit: src/usr.sbin/pw pw_user.c Message-ID: <200808161541.m7GFfFdl029870@repoman.freebsd.org> ache 2008-08-16 15:41:03 UTC FreeBSD src repository Modified files: usr.sbin/pw pw_user.c Log: SVN rev 181785 on 2008-08-16 15:41:03Z by ache Use arc4random_uniform() to avoid "modulo bias" Remove pw_getrand() unneded now: arc4random_uniform() is stronger then pw_getrand()'s MD5 tricks (inactive) and its active version, mixing arc4random() bytes in one, not make things better at all. Revision Changes Path 1.63 +2 -55 src/usr.sbin/pw/pw_user.c From dwmalone at FreeBSD.org Sat Aug 16 16:27:47 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Sat Aug 16 16:27:58 2008 Subject: cvs commit: src/usr.bin/units units.c units.lib Message-ID: <200808161627.m7GGRkoD034708@repoman.freebsd.org> dwmalone 2008-08-16 16:27:41 UTC FreeBSD src repository Modified files: usr.bin/units units.c units.lib Log: SVN rev 181786 on 2008-08-16 16:27:41Z by dwmalone Add limited support for units that are related by affine rather than linear relations. We can now convert degC to degF. 586 units, 56 prefixes You have: 24 degC You want: degF 75.2 You have: degC You want: K (-> x*1 +273.15) (<- y*1 -273.15) Revision Changes Path 1.11 +58 -17 src/usr.bin/units/units.c 1.19 +5 -5 src/usr.bin/units/units.lib From yar at FreeBSD.org Sat Aug 16 19:17:49 2008 From: yar at FreeBSD.org (Yar Tikhiy) Date: Sat Aug 16 19:18:01 2008 Subject: cvs commit: src/usr.bin/make main.c make.1 Message-ID: <200808161917.m7GJHnjO061273@repoman.freebsd.org> yar 2008-08-16 19:17:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/make main.c make.1 Log: SVN rev 181787 on 2008-08-16 19:17:36Z by yar MFC r173217,176789,176792-176793,176839,176842 Don't forget to set MAKEFLAGS in the childs' environment from the .MAKEFLAGS global variable even if it's empty or unset. This means setting MAKEFLAGS to just an empty string in the latter case. The non-POSIX environment variable MAKE was superseded by MAKEFLAGS ages ago, so don't mention it in comments. Update the manpage accordingly and make the whole description of MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed brings more consistency into the reliable behaviour of make(1). Give more details in the manpage on the following topics: o How global, command-line, and environment variables relate. o What peculiarities the -f option has WRT ${MAKEFLAGS}. (.Dd in the manpage is already beyond the date of those changes in HEAD.) Revision Changes Path 1.163.2.3 +3 -1 src/usr.bin/make/main.c 1.103.2.2 +100 -22 src/usr.bin/make/make.1 From jasone at FreeBSD.org Sat Aug 16 20:14:35 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Sat Aug 16 20:14:46 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200808162014.m7GKEZij066834@repoman.freebsd.org> jasone 2008-08-16 20:14:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdlib malloc.c Log: SVN rev 181788 on 2008-08-16 20:14:21Z by jasone MFC allocator improvements and fixes: * Enhance the chunk map to support run coalescing, and substantially reduce the number of red-black tree operations performed. * Remove unused code. * Fix arena_run_reg_dalloc() to use the entire precomputed division table. * Improve lock preemption performance for hyperthreaded CPUs. Revision Changes Path 1.147.2.4 +339 -398 src/lib/libc/stdlib/malloc.c From imp at FreeBSD.org Sat Aug 16 20:18:51 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 16 20:19:03 2008 Subject: cvs commit: src/sys/dev/pci pci_pci.c pcib_private.h Message-ID: <200808162018.m7GKIp8j067172@repoman.freebsd.org> imp 2008-08-16 20:18:40 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c pcib_private.h Log: SVN rev 181789 on 2008-08-16 20:18:40Z by imp Add some sysctl reporting for most pci_pci bridges. We now report domain, pribus (the primary bus, eg the bus that this chip is on), secbus (the secondary bus, eg the bus immediately behind this chip) and subbus (the number of the highest bus behind this chip). Normally, this information is reported via bootverbose parameters, but that's hard to use for debugging in some cases. This adds reading of pribus to make this happen. In addition, change the narrow types to u_int to allow for easier reporting via sysctl for domain, secbus and subbus. This should have no effect, but if it does, please let me know. Revision Changes Path 1.52 +17 -0 src/sys/dev/pci/pci_pci.c 1.14 +4 -3 src/sys/dev/pci/pcib_private.h From rpaulo at FreeBSD.org Sat Aug 16 21:12:39 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sat Aug 16 21:12:46 2008 Subject: cvs commit: src/share/man/man4 tcp.4 Message-ID: <200808162112.m7GLCcbR083531@repoman.freebsd.org> rpaulo 2008-08-16 21:12:25 UTC FreeBSD src repository Modified files: share/man/man4 tcp.4 Log: SVN rev 181790 on 2008-08-16 21:12:25Z by rpaulo Add ECN sysctls and ECN RFC. Revision Changes Path 1.60 +16 -1 src/share/man/man4/tcp.4 From ken at FreeBSD.org Sat Aug 16 21:27:10 2008 From: ken at FreeBSD.org (Kenneth D. Merry) Date: Sat Aug 16 21:27:21 2008 Subject: cvs commit: src/sys/cam/scsi scsi_all.c Message-ID: <200808162127.m7GLR9X9084706@repoman.freebsd.org> ken 2008-08-16 21:26:58 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_all.c Log: SVN rev 181791 on 2008-08-16 21:26:58Z by ken SCSI_DELAY is specified in milliseconds, not seconds. Submitted by: Andre Albsmeier MFC after: 1 week Revision Changes Path 1.53 +1 -1 src/sys/cam/scsi/scsi_all.c From kmacy at FreeBSD.org Sat Aug 16 21:38:56 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sat Aug 16 21:39:02 2008 Subject: cvs commit: src/sys/i386/i386 swtch.s Message-ID: <200808162138.m7GLctKa085724@repoman.freebsd.org> kmacy 2008-08-16 21:38:46 UTC FreeBSD src repository Modified files: sys/i386/i386 swtch.s Log: SVN rev 181792 on 2008-08-16 21:38:46Z by kmacy Call in to xen for privileged aspects of context switching MFC after: 1 month Revision Changes Path 1.157 +18 -6 src/sys/i386/i386/swtch.s From alfred at FreeBSD.org Sat Aug 16 21:48:28 2008 From: alfred at FreeBSD.org (Alfred Perlstein) Date: Sat Aug 16 21:48:34 2008 Subject: cvs commit: src/sys/kern vfs_cache.c Message-ID: <200808162148.m7GLmRUT086587@repoman.freebsd.org> alfred 2008-08-16 21:48:10 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: SVN rev 181793 on 2008-08-16 21:48:10Z by alfred Prevent crashes due to unlocked access to hash buckets in two sysctls. Use CACHE_LOCK to prevent crashes. Sysctls fixed: debug.hashstat.nchash and debug.hashstat.rawnchash. Obtained from: Juniper Networks MFC After: 1 week Revision Changes Path 1.123 +4 -0 src/sys/kern/vfs_cache.c From imp at FreeBSD.org Sat Aug 16 21:52:13 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Aug 16 21:52:25 2008 Subject: cvs commit: src/sys/dev/pci pci_pci.c Message-ID: <200808162152.m7GLqDRR086940@repoman.freebsd.org> imp 2008-08-16 21:51:54 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c Log: SVN rev 181794 on 2008-08-16 21:51:54Z by imp Remove useless #if 1. Revision Changes Path 1.53 +0 -2 src/sys/dev/pci/pci_pci.c From wb at freebie.xs4all.nl Sat Aug 16 22:37:57 2008 From: wb at freebie.xs4all.nl (Wilko Bulte) Date: Sat Aug 16 22:38:03 2008 Subject: cvs commit: src/usr.bin/units units.c units.lib In-Reply-To: <200808161627.m7GGRkoD034708@repoman.freebsd.org> References: <200808161627.m7GGRkoD034708@repoman.freebsd.org> Message-ID: <20080816223628.GA11774@freebie.xs4all.nl> Quoting David Malone, who wrote on Sat, Aug 16, 2008 at 04:27:41PM +0000 .. > dwmalone 2008-08-16 16:27:41 UTC > > FreeBSD src repository > > Modified files: > usr.bin/units units.c units.lib > Log: > SVN rev 181786 on 2008-08-16 16:27:41Z by dwmalone > > Add limited support for units that are related by affine rather > than linear relations. We can now convert degC to degF. Jay! This is one of those silly conversions that I can never remember to do correctly. thanks! Wilko From thompsa at FreeBSD.org Sat Aug 16 23:59:31 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sat Aug 16 23:59:36 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200808162359.m7GNxUL6000668@repoman.freebsd.org> thompsa 2008-08-16 23:59:17 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 181795 on 2008-08-16 23:59:17Z by thompsa LRO combined packets can actually be bridged as long as all the interfaces also support TSO, this can always be disabled manually if undesirable. Pointed out by: gallatin Revision Changes Path 1.115 +6 -5 src/sys/net/if_bridge.c From bmah at FreeBSD.org Sun Aug 17 12:58:38 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sun Aug 17 12:58:50 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata article.sgml Message-ID: <200808171258.m7HCwcdA019765@repoman.freebsd.org> bmah 2008-08-17 12:58:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/errata article.sgml Log: SVN rev 181796 on 2008-08-17 12:58:32Z by bmah Somewhat belatedly, update for SA-08:06.bind and EN-08:02.tcp. Revision Changes Path 1.73.4.5 +12 -6 src/release/doc/en_US.ISO8859-1/errata/article.sgml From bmah at FreeBSD.org Sun Aug 17 13:01:54 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Sun Aug 17 13:02:07 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata article.sgml Message-ID: <200808171301.m7HD1scU020065@repoman.freebsd.org> bmah 2008-08-17 13:01:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/errata article.sgml Log: SVN rev 181797 on 2008-08-17 13:01:37Z by bmah Add (somewhat belatedly) mention of SA-08:06.bind. Revision Changes Path 1.73.2.59 +6 -0 src/release/doc/en_US.ISO8859-1/errata/article.sgml From imp at FreeBSD.org Sun Aug 17 17:34:28 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Aug 17 17:34:39 2008 Subject: cvs commit: src/sys/dev/pci pci_pci.c Message-ID: <200808171734.m7HHYRob059909@repoman.freebsd.org> imp 2008-08-17 17:34:07 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c Log: SVN rev 181798 on 2008-08-17 17:34:07Z by imp Update a comment about not numbering pci busses. This may soon be OBE, but was sitting around in one of my trees for a while... Revision Changes Path 1.54 +9 -7 src/sys/dev/pci/pci_pci.c From kientzle at FreeBSD.org Sun Aug 17 19:44:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Aug 17 19:44:07 2008 Subject: cvs commit: src/usr.bin/tar matching.c Message-ID: <200808171944.m7HJi1BL072213@repoman.freebsd.org> kientzle 2008-08-17 19:43:45 UTC FreeBSD src repository Modified files: usr.bin/tar matching.c Log: SVN rev 181801 on 2008-08-17 19:43:45Z by kientzle Don't strip a leading '/' from a pattern to be matched. This aligns the pattern-matching behavior with GNU tar and restores the behavior of bsdtar prior to FreeBSD 6.3. PR: bin/117909 MFC after: 3 days Revision Changes Path 1.14 +0 -2 src/usr.bin/tar/matching.c From sam at FreeBSD.org Sun Aug 17 23:01:26 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Aug 17 23:01:37 2008 Subject: cvs commit: src/sys/dev/iwi if_iwi.c src/sys/net80211 ieee80211_input.c ieee80211_input.h ieee80211_ioctl.c ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.h ieee80211_scan.h ieee80211_scan_sta.c Message-ID: <200808172301.m7HN1QMC000615@repoman.freebsd.org> sam 2008-08-17 23:00:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/iwi if_iwi.c sys/net80211 ieee80211_input.c ieee80211_ioctl.c ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.h ieee80211_scan.h ieee80211_scan_sta.c Added files: (Branch: RELENG_7) sys/net80211 ieee80211_input.h Log: SVN rev 181802 on 2008-08-17 23:00:47Z by sam MFC support to return all received information elements in scan results and station information Revision Changes Path 1.57.2.2 +1 -1 src/sys/dev/iwi/if_iwi.c 1.113.2.3 +51 -210 src/sys/net80211/ieee80211_input.c 1.1.2.1 +147 -0 src/sys/net80211/ieee80211_input.h (new) 1.57.2.2 +19 -42 src/sys/net80211/ieee80211_ioctl.c 1.88.2.4 +93 -28 src/sys/net80211/ieee80211_node.c 1.29.2.2 +27 -5 src/sys/net80211/ieee80211_node.h 1.54.2.4 +9 -7 src/sys/net80211/ieee80211_output.c 1.26.2.2 +0 -2 src/sys/net80211/ieee80211_proto.h 1.3.2.1 +4 -6 src/sys/net80211/ieee80211_scan.h 1.4.2.5 +2 -16 src/sys/net80211/ieee80211_scan_sta.c From bz at FreeBSD.org Sun Aug 17 23:28:39 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sun Aug 17 23:28:46 2008 Subject: cvs commit: src/sys/amd64/amd64 dump_machdep.c minidump_machdep.c src/sys/arm/arm dump_machdep.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_ioctl.c linux_misc.c linux_socket.c src/sys/compat/svr4 svr4_sockio.c svr4_stat.c ... Message-ID: <200808172328.m7HNSdjB004871@repoman.freebsd.org> bz 2008-08-17 23:27:27 UTC FreeBSD src repository Modified files: sys/amd64/amd64 dump_machdep.c minidump_machdep.c sys/arm/arm dump_machdep.c sys/compat/linprocfs linprocfs.c sys/compat/linux linux_ioctl.c linux_misc.c linux_socket.c sys/compat/svr4 svr4_sockio.c svr4_stat.c sys/conf options sys/contrib/altq/altq altq_subr.c sys/contrib/ipfilter/netinet fil.c ip_fil_freebsd.c sys/contrib/pf/net pf.c pf_if.c pf_ioctl.c pf_subr.c sys/contrib/rdma rdma_cma.c sys/ddb db_textdump.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/dev/firewire firewire.c sys/dev/syscons/daemon daemon_saver.c sys/fs/cd9660 cd9660_rrip.c sys/geom/vinum geom_vinum_drive.c sys/i386/i386 dump_machdep.c minidump_machdep.c sys/i386/ibcs2 ibcs2_socksys.c sys/ia64/ia64 dump_machdep.c sys/kern kern_jail.c kern_mib.c kern_poll.c kern_uuid.c kern_xxx.c sys/net bridgestp.c if.c if_bridge.c if_ef.c if_ethersubr.c if_faith.c if_gif.c if_loop.c if_mib.c if_spppsubr.c if_stf.c if_vlan.c raw_cb.c raw_usrreq.c route.c rtsock.c sys/netgraph ng_base.c ng_bridge.c ng_eiface.c ng_ether.c ng_gif.c ng_iface.c ng_source.c sys/netgraph/atm ng_atm.c sys/netinet if_ether.c igmp.c in.c in_gif.c in_mcast.c in_pcb.c in_rmx.c in_var.h ip6.h ip_carp.c ip_divert.c ip_fastfwd.c ip_fw2.c ip_fw_nat.c ip_fw_pfil.c ip_icmp.c ip_input.c ip_ipsec.c ip_mroute.c ip_options.c ip_output.c ip_var.h raw_ip.c sctp_os_bsd.h sctp_pcb.c tcp_hostcache.c tcp_input.c tcp_offload.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timewait.c tcp_usrreq.c udp_usrreq.c sys/netinet6 dest6.c frag6.c icmp6.c in6.c in6_gif.c in6_ifattach.c in6_pcb.c in6_proto.c in6_rmx.c in6_src.c ip6_forward.c ip6_input.c ip6_ipsec.c ip6_mroute.c ip6_output.c mld6.c nd6.c nd6.h nd6_nbr.c nd6_rtr.c raw_ip6.c route6.c scope6.c udp6_usrreq.c sys/netipsec ipsec.c ipsec.h ipsec_input.c ipsec_mbuf.c ipsec_output.c key.c key_debug.h keysock.c xform_ah.c xform_esp.c xform_ipcomp.c xform_ipip.c sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfs_vnops.c sys/rpc authunix_prot.c sys/sparc64/sparc64 dump_machdep.c sys/sun4v/sun4v dump_machdep.c sys/sys param.h Added files: sys/sys vimage.h Log: SVN rev 181803 on 2008-08-17 23:27:27Z by bz Commit step 1 of the vimage project, (network stack) virtualization work done by Marko Zec (zec@). This is the first in a series of commits over the course of the next few weeks. Mark all uses of global variables to be virtualized with a V_ prefix. Use macros to map them back to their global names for now, so this is a NOP change only. We hope to have caught at least 85-90% of what is needed so we do not invalidate a lot of outstanding patches again. Obtained from: //depot/projects/vimage-commit2/... Reviewed by: brooks, des, ed, mav, julian, jamie, kris, rwatson, zec, ... (various people I forgot, different versions) md5 (with a bit of help) Sponsored by: NLnet Foundation, The FreeBSD Foundation X-MFC after: never V_Commit_Message_Reviewed_By: more people than the patch Revision Changes Path 1.15 +2 -1 src/sys/amd64/amd64/dump_machdep.c 1.7 +2 -1 src/sys/amd64/amd64/minidump_machdep.c 1.4 +2 -1 src/sys/arm/arm/dump_machdep.c 1.120 +2 -1 src/sys/compat/linprocfs/linprocfs.c 1.141 +6 -4 src/sys/compat/linux/linux_ioctl.c 1.224 +2 -1 src/sys/compat/linux/linux_misc.c 1.75 +2 -1 src/sys/compat/linux/linux_socket.c 1.19 +2 -1 src/sys/compat/svr4/svr4_sockio.c 1.25 +3 -2 src/sys/compat/svr4/svr4_stat.c 1.634 +3 -0 src/sys/conf/options 1.11 +2 -1 src/sys/contrib/altq/altq/altq_subr.c 1.56 +3 -0 src/sys/contrib/ipfilter/netinet/fil.c 1.11 +10 -4 src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c 1.56 +23 -22 src/sys/contrib/pf/net/pf.c 1.16 +3 -2 src/sys/contrib/pf/net/pf_if.c 1.35 +2 -1 src/sys/contrib/pf/net/pf_ioctl.c 1.5 +15 -14 src/sys/contrib/pf/net/pf_subr.c 1.2 +9 -8 src/sys/contrib/rdma/rdma_cma.c 1.4 +2 -1 src/sys/ddb/db_textdump.c 1.18 +7 -6 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.103 +2 -1 src/sys/dev/firewire/firewire.c 1.26 +3 -2 src/sys/dev/syscons/daemon/daemon_saver.c 1.32 +5 -4 src/sys/fs/cd9660/cd9660_rrip.c 1.29 +2 -1 src/sys/geom/vinum/geom_vinum_drive.c 1.15 +2 -1 src/sys/i386/i386/dump_machdep.c 1.6 +2 -1 src/sys/i386/i386/minidump_machdep.c 1.24 +3 -2 src/sys/i386/ibcs2/ibcs2_socksys.c 1.15 +2 -1 src/sys/ia64/ia64/dump_machdep.c 1.81 +2 -1 src/sys/kern/kern_jail.c 1.90 +3 -2 src/sys/kern/kern_mib.c 1.34 +2 -1 src/sys/kern/kern_poll.c 1.14 +2 -1 src/sys/kern/kern_uuid.c 1.52 +3 -2 src/sys/kern/kern_xxx.c 1.41 +2 -1 src/sys/net/bridgestp.c 1.282 +40 -39 src/sys/net/if.c 1.116 +14 -13 src/sys/net/if_bridge.c 1.41 +2 -1 src/sys/net/if_ef.c 1.247 +4 -3 src/sys/net/if_ethersubr.c 1.43 +2 -1 src/sys/net/if_faith.c 1.70 +8 -7 src/sys/net/if_gif.c 1.119 +7 -6 src/sys/net/if_loop.c 1.19 +2 -1 src/sys/net/if_mib.c 1.128 +1 -0 src/sys/net/if_spppsubr.c 1.63 +2 -1 src/sys/net/if_stf.c 1.127 +2 -1 src/sys/net/if_vlan.c 1.40 +2 -1 src/sys/net/raw_cb.c 1.47 +3 -2 src/sys/net/raw_usrreq.c 1.133 +16 -15 src/sys/net/route.c 1.149 +5 -4 src/sys/net/rtsock.c 1.16 +3 -2 src/sys/netgraph/atm/ng_atm.c 1.161 +9 -8 src/sys/netgraph/ng_base.c 1.32 +2 -1 src/sys/netgraph/ng_bridge.c 1.40 +5 -4 src/sys/netgraph/ng_eiface.c 1.63 +2 -1 src/sys/netgraph/ng_ether.c 1.20 +2 -1 src/sys/netgraph/ng_gif.c 1.51 +5 -4 src/sys/netgraph/ng_iface.c 1.31 +2 -1 src/sys/netgraph/ng_source.c 1.173 +11 -10 src/sys/netinet/if_ether.c 1.57 +18 -17 src/sys/netinet/igmp.c 1.105 +12 -11 src/sys/netinet/in.c 1.40 +6 -5 src/sys/netinet/in_gif.c 1.6 +9 -8 src/sys/netinet/in_mcast.c 1.217 +34 -33 src/sys/netinet/in_pcb.c 1.60 +20 -19 src/sys/netinet/in_rmx.c 1.63 +3 -3 src/sys/netinet/in_var.h 1.16 +4 -4 src/sys/netinet/ip6.h 1.56 +3 -2 src/sys/netinet/ip_carp.c 1.135 +46 -45 src/sys/netinet/ip_divert.c 1.43 +20 -19 src/sys/netinet/ip_fastfwd.c 1.188 +140 -139 src/sys/netinet/ip_fw2.c 1.4 +36 -35 src/sys/netinet/ip_fw_nat.c 1.28 +3 -2 src/sys/netinet/ip_fw_pfil.c 1.125 +20 -19 src/sys/netinet/ip_icmp.c 1.339 +99 -98 src/sys/netinet/ip_input.c 1.11 +2 -1 src/sys/netinet/ip_ipsec.c 1.140 +18 -17 src/sys/netinet/ip_mroute.c 1.11 +9 -8 src/sys/netinet/ip_options.c 1.284 +18 -17 src/sys/netinet/ip_output.c 1.103 +4 -1 src/sys/netinet/ip_var.h 1.192 +55 -54 src/sys/netinet/raw_ip.c 1.39 +8 -5 src/sys/netinet/sctp_os_bsd.h 1.73 +2 -2 src/sys/netinet/sctp_pcb.c 1.18 +67 -66 src/sys/netinet/tcp_hostcache.c 1.378 +116 -115 src/sys/netinet/tcp_input.c 1.5 +7 -6 src/sys/netinet/tcp_offload.c 1.153 +28 -27 src/sys/netinet/tcp_output.c 1.355 +19 -18 src/sys/netinet/tcp_reass.c 1.42 +7 -6 src/sys/netinet/tcp_sack.c 1.309 +99 -98 src/sys/netinet/tcp_subr.c 1.151 +79 -78 src/sys/netinet/tcp_syncache.c 1.103 +33 -32 src/sys/netinet/tcp_timer.c 1.290 +22 -21 src/sys/netinet/tcp_timewait.c 1.172 +46 -45 src/sys/netinet/tcp_usrreq.c 1.236 +81 -80 src/sys/netinet/udp_usrreq.c 1.13 +2 -1 src/sys/netinet6/dest6.c 1.37 +39 -38 src/sys/netinet6/frag6.c 1.90 +55 -54 src/sys/netinet6/icmp6.c 1.81 +16 -15 src/sys/netinet6/in6.c 1.31 +5 -4 src/sys/netinet6/in6_gif.c 1.44 +18 -17 src/sys/netinet6/in6_ifattach.c 1.94 +8 -7 src/sys/netinet6/in6_pcb.c 1.50 +8 -7 src/sys/netinet6/in6_proto.c 1.24 +18 -17 src/sys/netinet6/in6_rmx.c 1.55 +32 -31 src/sys/netinet6/in6_src.c 1.43 +43 -42 src/sys/netinet6/ip6_forward.c 1.103 +77 -76 src/sys/netinet6/ip6_input.c 1.12 +2 -1 src/sys/netinet6/ip6_ipsec.c 1.49 +46 -45 src/sys/netinet6/ip6_mroute.c 1.120 +27 -26 src/sys/netinet6/ip6_output.c 1.34 +6 -5 src/sys/netinet6/mld6.c 1.89 +55 -54 src/sys/netinet6/nd6.c 1.23 +1 -1 src/sys/netinet6/nd6.h 1.51 +26 -25 src/sys/netinet6/nd6_nbr.c 1.40 +61 -60 src/sys/netinet6/nd6_rtr.c 1.85 +37 -36 src/sys/netinet6/raw_ip6.c 1.16 +10 -9 src/sys/netinet6/route6.c 1.19 +11 -10 src/sys/netinet6/scope6.c 1.92 +51 -50 src/sys/netinet6/udp6_usrreq.c 1.31 +16 -15 src/sys/netipsec/ipsec.c 1.18 +2 -2 src/sys/netipsec/ipsec.h 1.23 +58 -57 src/sys/netipsec/ipsec_input.c 1.14 +6 -5 src/sys/netipsec/ipsec_mbuf.c 1.21 +18 -17 src/sys/netipsec/ipsec_output.c 1.35 +99 -98 src/sys/netipsec/key.c 1.3 +1 -1 src/sys/netipsec/key_debug.h 1.22 +32 -31 src/sys/netipsec/keysock.c 1.17 +32 -31 src/sys/netipsec/xform_ah.c 1.22 +38 -37 src/sys/netipsec/xform_esp.c 1.13 +23 -22 src/sys/netipsec/xform_ipcomp.c 1.18 +29 -28 src/sys/netipsec/xform_ipip.c 1.74 +9 -8 src/sys/nfsclient/bootp_subr.c 1.21 +2 -1 src/sys/nfsclient/nfs_diskless.c 1.211 +4 -3 src/sys/nfsclient/nfs_vfsops.c 1.287 +3 -2 src/sys/nfsclient/nfs_vnops.c 1.5 +3 -2 src/sys/rpc/authunix_prot.c 1.10 +2 -1 src/sys/sparc64/sparc64/dump_machdep.c 1.3 +2 -1 src/sys/sun4v/sun4v/dump_machdep.c 1.362 +1 -1 src/sys/sys/param.h 1.1 +344 -0 src/sys/sys/vimage.h (new) From kmacy at FreeBSD.org Sun Aug 17 23:32:50 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:33:02 2008 Subject: cvs commit: src/sys/xen gnttab.c Message-ID: <200808172332.m7HNWoGV005372@repoman.freebsd.org> kmacy 2008-08-17 23:32:34 UTC FreeBSD src repository Modified files: sys/xen gnttab.c Log: SVN rev 181804 on 2008-08-17 23:32:34Z by kmacy Make sure we don't lose the most significant bits of the frame number on PAE or 64-bit MFC after: 1 month Revision Changes Path 1.2 +1 -1 src/sys/xen/gnttab.c From kmacy at FreeBSD.org Sun Aug 17 23:33:51 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:33:57 2008 Subject: cvs commit: src/sys/dev/xen/blkfront blkfront.c Message-ID: <200808172333.m7HNXofU005507@repoman.freebsd.org> kmacy 2008-08-17 23:33:33 UTC FreeBSD src repository Modified files: sys/dev/xen/blkfront blkfront.c Log: SVN rev 181805 on 2008-08-17 23:33:33Z by kmacy Make sure that machine addresses are vm_paddr_t MFC after: 1 month Revision Changes Path 1.2 +7 -6 src/sys/dev/xen/blkfront/blkfront.c From kmacy at FreeBSD.org Sun Aug 17 23:34:51 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:34:57 2008 Subject: cvs commit: src/sys/i386/xen xen_machdep.c Message-ID: <200808172334.m7HNYpZ8005599@repoman.freebsd.org> kmacy 2008-08-17 23:34:44 UTC FreeBSD src repository Modified files: sys/i386/xen xen_machdep.c Log: SVN rev 181806 on 2008-08-17 23:34:44Z by kmacy clean up initvalues to work correctly on PAE MFC after: 1 month Revision Changes Path 1.3 +31 -56 src/sys/i386/xen/xen_machdep.c From kmacy at FreeBSD.org Sun Aug 17 23:35:52 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:35:59 2008 Subject: cvs commit: src/sys/i386/xen exception.s Message-ID: <200808172335.m7HNZqWr005777@repoman.freebsd.org> kmacy 2008-08-17 23:35:36 UTC FreeBSD src repository Modified files: sys/i386/xen exception.s Log: SVN rev 181807 on 2008-08-17 23:35:36Z by kmacy bypass call to trap when handling hypervisor_upcall MFC after: 1 month Revision Changes Path 1.2 +34 -13 src/sys/i386/xen/exception.s From kmacy at FreeBSD.org Sun Aug 17 23:37:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:37:14 2008 Subject: cvs commit: src/sys/i386/xen pmap.c Message-ID: <200808172337.m7HNb8C3005901@repoman.freebsd.org> kmacy 2008-08-17 23:36:52 UTC FreeBSD src repository Modified files: sys/i386/xen pmap.c Log: SVN rev 181808 on 2008-08-17 23:36:52Z by kmacy translate machine addresses to physical addresses in new code in pmap_init MFC after: 1 month Revision Changes Path 1.3 +2 -3 src/sys/i386/xen/pmap.c From kmacy at FreeBSD.org Sun Aug 17 23:38:25 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:38:37 2008 Subject: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <200808172338.m7HNcOej006039@repoman.freebsd.org> kmacy 2008-08-17 23:38:14 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c Log: SVN rev 181809 on 2008-08-17 23:38:14Z by kmacy remove code in XEN version of init386 causing initialization failure MFC after: 1 month Revision Changes Path 1.672 +16 -37 src/sys/i386/i386/machdep.c From kmacy at FreeBSD.org Sun Aug 17 23:39:45 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:39:52 2008 Subject: cvs commit: src/sys/i386/include/xen xenfunc.h xenvar.h Message-ID: <200808172339.m7HNdeYF006151@repoman.freebsd.org> kmacy 2008-08-17 23:39:22 UTC FreeBSD src repository Modified files: sys/i386/include/xen xenfunc.h xenvar.h Log: SVN rev 181810 on 2008-08-17 23:39:22Z by kmacy Ensure that machine / physical addresses are treated as vm_paddr_t MFC after: 1 month Revision Changes Path 1.2 +1 -1 src/sys/i386/include/xen/xenfunc.h 1.2 +4 -4 src/sys/i386/include/xen/xenvar.h From kmacy at FreeBSD.org Sun Aug 17 23:40:46 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:40:57 2008 Subject: cvs commit: src/sys/vm vm_page.c Message-ID: <200808172340.m7HNekBN006372@repoman.freebsd.org> kmacy 2008-08-17 23:40:29 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: SVN rev 181811 on 2008-08-17 23:40:29Z by kmacy Work around differences in page allocation for initial page tables on xen MFC after: 1 month Revision Changes Path 1.372 +4 -0 src/sys/vm/vm_page.c From kmacy at FreeBSD.org Sun Aug 17 23:44:17 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Aug 17 23:44:28 2008 Subject: cvs commit: src/sys/conf files.i386 Message-ID: <200808172344.m7HNiH01006642@repoman.freebsd.org> kmacy 2008-08-17 23:44:09 UTC FreeBSD src repository Modified files: sys/conf files.i386 Log: SVN rev 181812 on 2008-08-17 23:44:09Z by kmacy disable "legacy" device on xen domU MFC after: 1 month Revision Changes Path 1.604 +1 -1 src/sys/conf/files.i386 From edwin at FreeBSD.org Sun Aug 17 23:50:03 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sun Aug 17 23:50:10 2008 Subject: cvs commit: src/share/zoneinfo Theory Message-ID: <200808172350.m7HNo3XI007120@repoman.freebsd.org> edwin 2008-08-17 23:49:46 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) share/zoneinfo Theory Log: SVN rev 181813 on 2008-08-17 23:49:46Z by edwin Remove file Theory, as a manual MFC of r180208. Revision Changes Path 1.1.2.1.16.1 +0 -506 src/share/zoneinfo/Theory (dead) From sam at FreeBSD.org Mon Aug 18 00:17:06 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 00:17:12 2008 Subject: cvs commit: src/sys/net80211 ieee80211.h Message-ID: <200808180017.m7I0H4Hf010567@repoman.freebsd.org> sam 2008-08-18 00:16:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211.h Log: SVN rev 181814 on 2008-08-18 00:16:57Z by sam MFC r181347: add WPS oui Revision Changes Path 1.15.2.4 +2 -0 src/sys/net80211/ieee80211.h From sam at FreeBSD.org Mon Aug 18 00:51:36 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 00:51:48 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 ifieee80211.c Message-ID: <200808180051.m7I0pZgx023396@repoman.freebsd.org> sam 2008-08-18 00:51:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ifconfig ifconfig.8 ifieee80211.c Log: SVN rev 181815 on 2008-08-18 00:51:19Z by sam MFC r181454: recognize WPS ie's Revision Changes Path 1.142.2.5 +2 -0 src/sbin/ifconfig/ifconfig.8 1.47.2.4 +81 -0 src/sbin/ifconfig/ifieee80211.c From sam at FreeBSD.org Mon Aug 18 00:59:22 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 00:59:34 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200808180059.m7I0xMOP023962@repoman.freebsd.org> sam 2008-08-18 00:59:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) tools/tools/nanobsd nanobsd.sh Log: SVN rev 181816 on 2008-08-18 00:59:07Z by sam MFC r181083 unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel to silence compiler complaints when cross-building Revision Changes Path 1.28.2.1 +6 -1 src/tools/tools/nanobsd/nanobsd.sh From sam at FreeBSD.org Mon Aug 18 01:05:54 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 01:06:05 2008 Subject: cvs commit: src/sys/net80211 ieee80211_input.c Message-ID: <200808180105.m7I15rI5025682@repoman.freebsd.org> sam 2008-08-18 01:05:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_input.c Log: SVN rev 181817 on 2008-08-18 01:05:46Z by sam MFC r180837: don't deauth a station because it sends a ps-poll w/ a bogus aid Revision Changes Path 1.113.2.4 +8 -2 src/sys/net80211/ieee80211_input.c From sam at FreeBSD.org Mon Aug 18 01:16:09 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 01:16:15 2008 Subject: cvs commit: src/sys/net80211 ieee80211_node.c Message-ID: <200808180116.m7I1G9dw026625@repoman.freebsd.org> sam 2008-08-18 01:16:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_node.c Log: SVN rev 181818 on 2008-08-18 01:16:04Z by sam MFC r179640: correct code returned in AsssocResp Revision Changes Path 1.88.2.5 +1 -1 src/sys/net80211/ieee80211_node.c From sam at FreeBSD.org Mon Aug 18 01:20:56 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Aug 18 01:21:03 2008 Subject: cvs commit: src/sys/dev/ath ah_osdep.h Message-ID: <200808180120.m7I1KtUR027057@repoman.freebsd.org> sam 2008-08-18 01:20:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ath ah_osdep.h Log: SVN rev 181819 on 2008-08-18 01:20:39Z by sam MFC r179467 5416 and similar chips grew another region in the pci clock domain where register accesses do not pass through the byte-lane hardware; extend the register op macros to deal with this Revision Changes Path 1.2.2.1 +6 -2 src/sys/dev/ath/ah_osdep.h From kevlo at FreeBSD.org Mon Aug 18 04:50:15 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Mon Aug 18 04:50:26 2008 Subject: cvs commit: src/sys/dev/usb ehci.c ehcireg.h ehcivar.h usb.h Message-ID: <200808180450.m7I4oEQm056564@repoman.freebsd.org> kevlo 2008-08-18 04:49:58 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c ehcireg.h ehcivar.h usb.h Log: SVN rev 181820 on 2008-08-18 04:49:58Z by kevlo Add isochronous transfer support for USB 2.0 Obtained from: NetBSD Revision Changes Path 1.65 +767 -47 src/sys/dev/usb/ehci.c 1.10 +33 -2 src/sys/dev/usb/ehcireg.h 1.19 +32 -0 src/sys/dev/usb/ehcivar.h 1.48 +2 -0 src/sys/dev/usb/usb.h From kientzle at FreeBSD.org Mon Aug 18 04:59:02 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 18 04:59:13 2008 Subject: cvs commit: src/usr.bin/tar matching.c Message-ID: <200808180459.m7I4x0BJ057217@repoman.freebsd.org> kientzle 2008-08-18 04:58:54 UTC FreeBSD src repository Modified files: usr.bin/tar matching.c Log: SVN rev 181821 on 2008-08-18 04:58:54Z by kientzle Strip leading "./" or ".//" from patterns and filenames so that "./foo" matches "foo" (and vice versa). This is related to PR bin/119141. PR: bin/119141 MFC after: 4 days Revision Changes Path 1.15 +39 -3 src/usr.bin/tar/matching.c From rwatson at FreeBSD.org Mon Aug 18 08:13:58 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Aug 18 08:14:05 2008 Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/kern subr_witness.c src/sys/netinet in_mcast.c in_pcb.c in_pcb.h ip_divert.c ip_fw2.c ip_options.c ip_output.c raw_ip.c tcp_input.c tcp_output.c tcp_reass.c ... Message-ID: <200808180813.m7I8DwoD084302@repoman.freebsd.org> rwatson 2008-08-18 08:11:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/contrib/pf/net pf.c sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c sys/kern subr_witness.c sys/netinet in_mcast.c in_pcb.c in_pcb.h ip_divert.c ip_fw2.c ip_options.c ip_output.c raw_ip.c tcp_input.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timewait.c tcp_usrreq.c udp_usrreq.c sys/netinet6 icmp6.c in6_pcb.c in6_src.c raw_ip6.c udp6_usrreq.c sys/security/audit audit_arg.c sys/security/mac mac_inet.c Log: SVN rev 181822 on 2008-08-18 08:11:48Z by rwatson Merge r178285, r178318, r178319, r178320, r178321, r178322, r178325, r178376, r178377, r178378, r178419, r179412, r179414, r180127, r180338, r180343, r180344, r180346, r180348, r180368, r180422, r180429, r180536, r180558, r180589, r181364, r181365 from head to stable/7: Introduce and use rwlocks throughout the inpcbinfo and inpcb infrastructure, and protocols that depend on that infrastructure, including UDP, TCP, and IP raw sockets. Significant parts of this work were reviewed by Bjoern Zeeb, and tested by Paul Saab, Kris Keneway, and George Neville-Neil, whose contributions to this work are greatly appreciated. Tested by: ps, kris, gnn, Mike Tancsa Reviewed by: bz, des Revision Changes Path 1.46.2.4 +4 -5 src/sys/contrib/pf/net/pf.c 1.10.2.4 +2 -2 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.236.2.4 +5 -5 src/sys/kern/subr_witness.c 1.3.2.3 +28 -28 src/sys/netinet/in_mcast.c 1.196.2.11 +38 -29 src/sys/netinet/in_pcb.c 1.100.2.7 +93 -50 src/sys/netinet/in_pcb.h 1.130.2.1 +17 -17 src/sys/netinet/ip_divert.c 1.175.2.8 +2 -2 src/sys/netinet/ip_fw2.c 1.6.2.3 +1 -1 src/sys/netinet/ip_options.c 1.276.2.3 +6 -6 src/sys/netinet/ip_output.c 1.180.2.4 +41 -38 src/sys/netinet/raw_ip.c 1.370.2.4 +20 -20 src/sys/netinet/tcp_input.c 1.141.2.7 +1 -1 src/sys/netinet/tcp_output.c 1.353.2.1 +1 -1 src/sys/netinet/tcp_reass.c 1.40.2.1 +8 -8 src/sys/netinet/tcp_sack.c 1.300.2.6 +51 -55 src/sys/netinet/tcp_subr.c 1.130.2.13 +6 -6 src/sys/netinet/tcp_syncache.c 1.99.2.2 +16 -16 src/sys/netinet/tcp_timer.c 1.287.2.1 +14 -14 src/sys/netinet/tcp_timewait.c 1.163.2.6 +68 -68 src/sys/netinet/tcp_usrreq.c 1.218.2.2 +173 -73 src/sys/netinet/udp_usrreq.c 1.80.2.1 +4 -4 src/sys/netinet6/icmp6.c 1.84.2.6 +18 -18 src/sys/netinet6/in6_pcb.c 1.46.2.4 +1 -1 src/sys/netinet6/in6_src.c 1.73.2.3 +17 -17 src/sys/netinet6/raw_ip6.c 1.81.2.3 +36 -35 src/sys/netinet6/udp6_usrreq.c 1.15.2.3 +2 -2 src/sys/security/audit/audit_arg.c 1.11.2.5 +2 -2 src/sys/security/mac/mac_inet.c From kib at FreeBSD.org Mon Aug 18 08:47:44 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Aug 18 08:48:00 2008 Subject: cvs commit: src/sys/amd64/amd64 exception.S Message-ID: <200808180847.m7I8lipW096866@repoman.freebsd.org> kib 2008-08-18 08:47:27 UTC FreeBSD src repository Modified files: sys/amd64/amd64 exception.S Log: SVN rev 181823 on 2008-08-18 08:47:27Z by kib The doreti_iret_fault code is always called with gs base MSR containing kernel gs base, because %rip is adjusted only on kernel-mode trap caused by iretq execution. On the other hand, the stack contains (hardware part of) trap frame from the usermode. As a consequence, checking for frame mode and doing swapgs causes the kernel to enter trap() with usermode gs base. Remove the check for mode and conditional swapgs, we already have right gs base in the MSR. Submitted by: Nate Eldredge MFC after: 3 days Revision Changes Path 1.133 +3 -6 src/sys/amd64/amd64/exception.S From philip at FreeBSD.org Mon Aug 18 09:06:15 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Mon Aug 18 09:06:27 2008 Subject: cvs commit: src/sys/netinet if_ether.c Message-ID: <200808180906.m7I96FIo099489@repoman.freebsd.org> philip 2008-08-18 09:06:11 UTC FreeBSD src repository Modified files: sys/netinet if_ether.c Log: SVN rev 181824 on 2008-08-18 09:06:11Z by philip Fix ARP in bridging scenarios where the bridge shares its MAC address with one of its members (see my r180140). Pointy hat to: philip Submitted by: Eygene Ryabinkin MFC after: 3 days Revision Changes Path 1.174 +24 -1 src/sys/netinet/if_ether.c From philip at FreeBSD.org Mon Aug 18 09:17:32 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Mon Aug 18 09:17:37 2008 Subject: cvs commit: src/share/man/man4 ata.4 Message-ID: <200808180917.m7I9HVb5000546@repoman.freebsd.org> philip 2008-08-18 09:17:16 UTC FreeBSD src repository Modified files: share/man/man4 ata.4 Log: SVN rev 181825 on 2008-08-18 09:17:16Z by philip Document the addition of the hw.ata.ata_dma_check_80pin tunable. Submitted by: Patrick Lamaizière MFC after: 1 week Revision Changes Path 1.75 +6 -2 src/share/man/man4/ata.4 From simon at FreeBSD.org Mon Aug 18 09:45:35 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Aug 18 09:45:43 2008 Subject: cvs commit: src/share/man/man4 ata.4 Message-ID: <200808180945.m7I9jXi4006068@repoman.freebsd.org> simon 2008-08-18 09:45:26 UTC FreeBSD src repository Modified files: share/man/man4 ata.4 Log: SVN rev 181826 on 2008-08-18 09:45:26Z by simon Fix mdoc markup in r181825. Revision Changes Path 1.76 +2 -1 src/share/man/man4/ata.4 From ed at FreeBSD.org Mon Aug 18 10:43:35 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Mon Aug 18 10:43:41 2008 Subject: cvs commit: src UPDATING Message-ID: <200808181043.m7IAhZ5C019425@repoman.freebsd.org> ed 2008-08-18 10:38:16 UTC FreeBSD src repository Modified files: . UPDATING Log: SVN rev 181827 on 2008-08-18 10:38:16Z by ed Extend the message in UPDATING on the sio(4) -> uart(4) change. It turns out I forgot to mention that people really need to make sure their hints are up to date if they are updating a system through the serial console. Requested by: gavin Reviewed by: gavin Revision Changes Path 1.538 +11 -0 src/UPDATING From kris at FreeBSD.org Mon Aug 18 10:44:49 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Aug 18 10:44:57 2008 Subject: cvs commit: src/sys/dev/usb ehci.c Message-ID: <200808181044.m7IAimND019567@repoman.freebsd.org> kris 2008-08-18 10:39:59 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c Log: SVN rev 181828 on 2008-08-18 10:39:59Z by kris Fix compile Revision Changes Path 1.66 +2 -2 src/sys/dev/usb/ehci.c From takawata at FreeBSD.org Mon Aug 18 11:56:23 2008 From: takawata at FreeBSD.org (Takanori Watanabe) Date: Mon Aug 18 11:56:30 2008 Subject: cvs commit: src/sys/dev/usb ufoma.c Message-ID: <200808181156.m7IBuKdr027510@repoman.freebsd.org> takawata 2008-08-18 11:56:13 UTC FreeBSD src repository Modified files: sys/dev/usb ufoma.c Log: SVN rev 181830 on 2008-08-18 11:56:13Z by takawata Make it easy to comment out the part that use current tty layer directly. (Handsfree interface) I'll port the part to new tty layer after it has committed and if I have spare time. Revision Changes Path 1.11 +32 -9 src/sys/dev/usb/ufoma.c From kris at FreeBSD.org Mon Aug 18 12:11:51 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Aug 18 12:12:03 2008 Subject: cvs commit: src/sys/rpc rpcclnt.c Message-ID: <200808181211.m7ICBplP029952@repoman.freebsd.org> kris 2008-08-18 12:11:47 UTC FreeBSD src repository Modified files: sys/rpc rpcclnt.c Log: SVN rev 181831 on 2008-08-18 12:11:47Z by kris Rename the static M_RPC defined here to M_RPCCLNT, since a global M_RPC now optionally exists. Reviewed by: dfr MFC after: 3 days Revision Changes Path 1.23 +6 -6 src/sys/rpc/rpcclnt.c From bz at FreeBSD.org Mon Aug 18 13:17:12 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Aug 18 13:17:19 2008 Subject: cvs commit: src/sys/netinet6 in6_rmx.c src/sys/sys vimage.h Message-ID: <200808181317.m7IDHCog046239@repoman.freebsd.org> bz 2008-08-18 13:16:19 UTC FreeBSD src repository Modified files: sys/netinet6 in6_rmx.c sys/sys vimage.h Log: SVN rev 181832 on 2008-08-18 13:16:19Z by bz As part of step 1.5 of the vimage framework resolve conflicts with file local static globals which would be folded onto the same name with the V_ macros. Reviewed by: kris, brooks, simon Revision Changes Path 1.25 +19 -19 src/sys/netinet6/in6_rmx.c 1.2 +3 -0 src/sys/sys/vimage.h From roberto at FreeBSD.org Mon Aug 18 14:37:09 2008 From: roberto at FreeBSD.org (Ollivier Robert) Date: Mon Aug 18 14:37:22 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-Xlist Message-ID: <200808181437.m7IEb8fC054028@repoman.freebsd.org> roberto 2008-08-18 14:36:57 UTC FreeBSD src repository Removed files: contrib/ntp FREEBSD-Xlist Log: SVN rev 181836 on 2008-08-18 14:36:57Z by roberto Move FREEBSD-Xlist in a more proper location. Revision Changes Path 1.4 +0 -3 src/contrib/ntp/FREEBSD-Xlist (dead) From roberto at FreeBSD.org Mon Aug 18 14:37:54 2008 From: roberto at FreeBSD.org (Ollivier Robert) Date: Mon Aug 18 14:38:06 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade Message-ID: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> roberto 2008-08-18 14:37:44 UTC FreeBSD src repository Removed files: contrib/ntp FREEBSD-upgrade Log: SVN rev 181837 on 2008-08-18 14:37:44Z by roberto Move FREEBSD-upgrade as well. Revision Changes Path 1.6 +0 -45 src/contrib/ntp/FREEBSD-upgrade (dead) From brix at FreeBSD.org Mon Aug 18 16:19:07 2008 From: brix at FreeBSD.org (Henrik Brix Andersen) Date: Mon Aug 18 16:19:18 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade In-Reply-To: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> References: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> Message-ID: <20080818155952.GA83955@tirith.brixandersen.dk> On Mon, Aug 18, 2008 at 02:37:44PM +0000, Ollivier Robert wrote: > roberto 2008-08-18 14:37:44 UTC > > FreeBSD src repository > > Removed files: > contrib/ntp FREEBSD-upgrade > Log: > SVN rev 181837 on 2008-08-18 14:37:44Z by roberto > > Move FREEBSD-upgrade as well. > > Revision Changes Path > 1.6 +0 -45 src/contrib/ntp/FREEBSD-upgrade (dead) Looks like you _re_moved these files? Was this intentional? 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/20080818/a5bbe08d/attachment.pgp From kaiw at FreeBSD.org Mon Aug 18 16:29:27 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Mon Aug 18 16:29:38 2008 Subject: cvs commit: src/sys/dev/usb ums.c Message-ID: <200808181629.m7IGTQBk070719@repoman.freebsd.org> kaiw 2008-08-18 16:29:13 UTC FreeBSD src repository Modified files: sys/dev/usb ums.c Log: SVN rev 181839 on 2008-08-18 16:29:13Z by kaiw Re-add Microsoft Intellimouse 2.0 TWHEEL quirk. Tested by: Merritt Draney, Brian Cox PR: kern/123224 PR: kern/123510 MFC after: 3 days Revision Changes Path 1.100 +3 -0 src/sys/dev/usb/ums.c From rafan at FreeBSD.org Mon Aug 18 16:45:18 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Mon Aug 18 16:45:31 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade In-Reply-To: <20080818155952.GA83955@tirith.brixandersen.dk> References: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> <20080818155952.GA83955@tirith.brixandersen.dk> Message-ID: <20080818162648.GA82035@svm.csie.ntu.edu.tw> On Mon, Aug 18, 2008 at 05:59:52PM +0200, Henrik Brix Andersen wrote: > On Mon, Aug 18, 2008 at 02:37:44PM +0000, Ollivier Robert wrote: > > roberto 2008-08-18 14:37:44 UTC > > > > FreeBSD src repository > > > > Removed files: > > contrib/ntp FREEBSD-upgrade > > Log: > > SVN rev 181837 on 2008-08-18 14:37:44Z by roberto > > > > Move FREEBSD-upgrade as well. > > > > Revision Changes Path > > 1.6 +0 -45 src/contrib/ntp/FREEBSD-upgrade (dead) > > Looks like you _re_moved these files? Was this intentional? That's how svn works :-) He moved the files to vendor area (vendor/) > > Brix > -- > Henrik Brix Andersen From roberto at keltia.freenix.fr Mon Aug 18 16:48:48 2008 From: roberto at keltia.freenix.fr (Ollivier Robert) Date: Mon Aug 18 16:48:54 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade In-Reply-To: <20080818155952.GA83955@tirith.brixandersen.dk> References: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> <20080818155952.GA83955@tirith.brixandersen.dk> Message-ID: <20080818164840.GA99944@keltia.freenix.fr> According to Henrik Brix Andersen: > Looks like you _re_moved these files? Was this intentional? Yes, like rafan said, it is an artefact of the way svn manage moved files. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; i386 From attilio at FreeBSD.org Mon Aug 18 16:48:54 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Aug 18 16:49:06 2008 Subject: cvs commit: src/sys/conf options src/sys/ddb db_output.c Message-ID: <200808181648.m7IGmsL2081778@repoman.freebsd.org> attilio 2008-08-18 16:48:09 UTC FreeBSD src repository Modified files: sys/conf options sys/ddb db_output.c Log: SVN rev 181840 on 2008-08-18 16:48:09Z by attilio Bufferize the output for DDB printouts. In order to CATER this, DDB buffered output can be choosen at compile time through the option DDB_BUFR_SIZE=nbytes where nbytes choose the size of the buffer (suggested size is 128 bytes), which should be manually specified in any interested config file. Sponsored by: Nokia Revision Changes Path 1.635 +1 -0 src/sys/conf/options 1.39 +87 -15 src/sys/ddb/db_output.c From kaiw at FreeBSD.org Mon Aug 18 16:48:56 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Mon Aug 18 16:49:16 2008 Subject: cvs commit: src/sys/dev/usb hid.c Message-ID: <200808181648.m7IGmtjM081811@repoman.freebsd.org> kaiw 2008-08-18 16:48:53 UTC FreeBSD src repository Modified files: sys/dev/usb hid.c Log: SVN rev 181841 on 2008-08-18 16:48:53Z by kaiw In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its corresponding USAGE should be skipped as well. For example, below is a report desc fragment of some mouse: COLLECTION ... USAGE TWHEEL FEATURE ... ... USAGE WHEEL INPUT ... ... END COLLECTION "USAGE TWHEEL" should be consumed after the FEATURE item is skipped, otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later, other than "USAGE WHEEL". Tested by: Grzegorz Blach PR: usb/125941 Revision Changes Path 1.30 +12 -3 src/sys/dev/usb/hid.c From attilio at FreeBSD.org Mon Aug 18 16:51:56 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Aug 18 16:52:17 2008 Subject: cvs commit: src/sys/ddb db_output.c Message-ID: <200808181651.m7IGpu8H082208@repoman.freebsd.org> attilio 2008-08-18 16:51:44 UTC FreeBSD src repository Modified files: sys/ddb db_output.c Log: SVN rev 181842 on 2008-08-18 16:51:44Z by attilio Add a missing include which was erroneusly left out from the previous commit. Sponsored by: Nokia Revision Changes Path 1.40 +2 -0 src/sys/ddb/db_output.c From kaiw at FreeBSD.org Mon Aug 18 17:06:12 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Mon Aug 18 17:06:19 2008 Subject: cvs commit: src/sys/dev/usb hid.c Message-ID: <200808181706.m7IH6Cnw094626@repoman.freebsd.org> kaiw 2008-08-18 17:05:59 UTC FreeBSD src repository Modified files: sys/dev/usb hid.c Log: SVN rev 181843 on 2008-08-18 17:05:59Z by kaiw Fix a typo: According to the hid spec, Global item #3 is Physical Minimum. MFC after: 3 days Revision Changes Path 1.31 +1 -1 src/sys/dev/usb/hid.c From kaiw at FreeBSD.org Mon Aug 18 17:13:44 2008 From: kaiw at FreeBSD.org (Kai Wang) Date: Mon Aug 18 17:13:50 2008 Subject: cvs commit: src/sys/dev/usb ums.c Message-ID: <200808181713.m7IHDhNY096541@repoman.freebsd.org> kaiw 2008-08-18 17:13:23 UTC FreeBSD src repository Modified files: sys/dev/usb ums.c Log: SVN rev 181844 on 2008-08-18 17:13:23Z by kaiw sc->sc_ibuf should be malloc'ed after quirks applied, as sc->sc_isize might have changed. MFC after: 3 days Revision Changes Path 1.101 +7 -6 src/sys/dev/usb/ums.c From richardtector at thekeelecentre.com Mon Aug 18 17:23:24 2008 From: richardtector at thekeelecentre.com (Richard Tector) Date: Mon Aug 18 17:23:31 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade In-Reply-To: <20080818164840.GA99944@keltia.freenix.fr> References: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> <20080818155952.GA83955@tirith.brixandersen.dk> <20080818164840.GA99944@keltia.freenix.fr> Message-ID: <48A9ABB5.1010702@thekeelecentre.com> Ollivier Robert wrote: > According to Henrik Brix Andersen: >> Looks like you _re_moved these files? Was this intentional? > > Yes, like rafan said, it is an artefact of the way svn manage moved files. So future versions of this file will no longer be available via CVS? Richard From roberto at keltia.freenix.fr Mon Aug 18 17:23:41 2008 From: roberto at keltia.freenix.fr (Ollivier Robert) Date: Mon Aug 18 17:23:52 2008 Subject: cvs commit: src/contrib/ntp FREEBSD-upgrade In-Reply-To: <48A9ABB5.1010702@thekeelecentre.com> References: <200808181437.m7IEbsVZ054100@repoman.freebsd.org> <20080818155952.GA83955@tirith.brixandersen.dk> <20080818164840.GA99944@keltia.freenix.fr> <48A9ABB5.1010702@thekeelecentre.com> Message-ID: <20080818172339.GA3763@keltia.freenix.fr> According to Richard Tector: > > Yes, like rafan said, it is an artefact of the way svn manage moved files. > > So future versions of this file will no longer be available via CVS? Now, thats' a very reasonable queston and I don't have an answer to it yet. It is only interesting for people wanting to upgrade it (developers) by itself so its natural place is vendor/ntp. Peter? -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; i386 From rbgarga at gmail.com Mon Aug 18 17:31:04 2008 From: rbgarga at gmail.com (Renato Botelho) Date: Mon Aug 18 17:31:10 2008 Subject: cvs commit: src/usr.bin/tar matching.c In-Reply-To: <200808180459.m7I4x0BJ057217@repoman.freebsd.org> References: <200808180459.m7I4x0BJ057217@repoman.freebsd.org> Message-ID: <747dc8f30808181005j9edccfew46e67a14b34b1003@mail.gmail.com> On Mon, Aug 18, 2008 at 1:58 AM, Tim Kientzle wrote: > kientzle 2008-08-18 04:58:54 UTC > > FreeBSD src repository > > Modified files: > usr.bin/tar matching.c > Log: > SVN rev 181821 on 2008-08-18 04:58:54Z by kientzle > > Strip leading "./" or ".//" from patterns and filenames > so that "./foo" matches "foo" (and vice versa). Hello, After this commit, i got this problem on -CURRENT root@botelhor:/usr/src/usr.bin/tar# make cc -O2 -pipe -DBSDTAR_VERSION_STRING=\"2.5.5\" -DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-pointer-sign -c /usr/src/usr.bin/tar/matching.c /usr/src/usr.bin/tar/matching.c: In function 'pathmatch': /usr/src/usr.bin/tar/matching.c:316: error: 'FNM_LEADING_DIR' undeclared (first use in this function) /usr/src/usr.bin/tar/matching.c:316: error: (Each undeclared identifier is reported only once /usr/src/usr.bin/tar/matching.c:316: error: for each function it appears in.) /usr/src/usr.bin/tar/matching.c:316: error: too many arguments to function 'bsdtar_fnmatch' *** Error code 1 -- Renato Botelho From kientzle at FreeBSD.org Mon Aug 18 18:14:00 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Mon Aug 18 18:14:06 2008 Subject: cvs commit: src/usr.bin/tar matching.c Message-ID: <200808181814.m7IIE04L002595@repoman.freebsd.org> kientzle 2008-08-18 18:13:40 UTC FreeBSD src repository Modified files: usr.bin/tar matching.c Log: SVN rev 181845 on 2008-08-18 18:13:40Z by kientzle Fix SVN r181821 by not using FNM_LEADING_DIR where it shouldn't be used. Revision Changes Path 1.16 +1 -1 src/usr.bin/tar/matching.c From jkim at FreeBSD.org Mon Aug 18 19:02:15 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 19:02:29 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c src/sys/i386/i386 bpf_jit_machdep.c src/sys/net bpf_jitter.c bpf_jitter.h Message-ID: <200808181902.m7IJ2EsE009570@repoman.freebsd.org> jkim 2008-08-18 18:59:33 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c sys/i386/i386 bpf_jit_machdep.c sys/net bpf_jitter.c bpf_jitter.h Log: SVN rev 181846 on 2008-08-18 18:59:33Z by jkim - Make these files compilable on user land. - Update copyrights and fix style(9). Revision Changes Path 1.11 +28 -4 src/sys/amd64/amd64/bpf_jit_machdep.c 1.11 +28 -4 src/sys/i386/i386/bpf_jit_machdep.c 1.4 +52 -9 src/sys/net/bpf_jitter.c 1.3 +4 -2 src/sys/net/bpf_jitter.h From jkim at FreeBSD.org Mon Aug 18 19:02:50 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 19:03:04 2008 Subject: cvs commit: src/tools/regression/bpf Makefile src/tools/regression/bpf/bpf_filter Makefile bpf_test.c src/tools/regression/bpf/bpf_filter/tests test0001.h test0002.h test0003.h test0004.h test0005.h test0006.h test0007.h test0008.h test0009.h test0010.h test0011.h test0012.h ... Message-ID: <200808181902.m7IJ2ng7010181@repoman.freebsd.org> jkim 2008-08-18 19:01:58 UTC FreeBSD src repository Added files: tools/regression/bpf Makefile tools/regression/bpf/bpf_filter Makefile bpf_test.c tools/regression/bpf/bpf_filter/tests test0001.h test0002.h test0003.h test0004.h test0005.h test0006.h test0007.h test0008.h test0009.h test0010.h test0011.h test0012.h test0013.h test0014.h test0015.h test0016.h test0017.h test0018.h test0019.h test0020.h test0021.h test0022.h test0023.h test0024.h test0025.h test0026.h test0027.h test0028.h test0029.h test0030.h test0031.h test0032.h test0033.h test0034.h test0035.h test0036.h test0037.h test0038.h test0039.h test0040.h test0041.h test0042.h test0043.h test0044.h test0045.h test0046.h test0047.h test0048.h test0049.h test0050.h test0051.h test0052.h test0053.h test0054.h test0055.h test0056.h test0057.h test0058.h test0059.h test0060.h test0061.h test0062.h test0063.h test0064.h test0065.h test0066.h test0067.h test0068.h test0069.h test0070.h test0071.h test0072.h test0073.h Log: SVN rev 181847 on 2008-08-18 19:01:58Z by jkim Add simple bpf(9) regression tests and test cases. Revision Changes Path 1.1 +5 -0 src/tools/regression/bpf/Makefile (new) 1.1 +65 -0 src/tools/regression/bpf/bpf_filter/Makefile (new) 1.1 +238 -0 src/tools/regression/bpf/bpf_filter/bpf_test.c (new) 1.1 +30 -0 src/tools/regression/bpf/bpf_filter/tests/test0001.h (new) 1.1 +30 -0 src/tools/regression/bpf/bpf_filter/tests/test0002.h (new) 1.1 +31 -0 src/tools/regression/bpf/bpf_filter/tests/test0003.h (new) 1.1 +31 -0 src/tools/regression/bpf/bpf_filter/tests/test0004.h (new) 1.1 +31 -0 src/tools/regression/bpf/bpf_filter/tests/test0005.h (new) 1.1 +31 -0 src/tools/regression/bpf/bpf_filter/tests/test0006.h (new) 1.1 +29 -0 src/tools/regression/bpf/bpf_filter/tests/test0007.h (new) 1.1 +30 -0 src/tools/regression/bpf/bpf_filter/tests/test0008.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0009.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0010.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0011.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0012.h (new) 1.1 +34 -0 src/tools/regression/bpf/bpf_filter/tests/test0013.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0014.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0015.h (new) 1.1 +37 -0 src/tools/regression/bpf/bpf_filter/tests/test0016.h (new) 1.1 +37 -0 src/tools/regression/bpf/bpf_filter/tests/test0017.h (new) 1.1 +37 -0 src/tools/regression/bpf/bpf_filter/tests/test0018.h (new) 1.1 +42 -0 src/tools/regression/bpf/bpf_filter/tests/test0019.h (new) 1.1 +40 -0 src/tools/regression/bpf/bpf_filter/tests/test0020.h (new) 1.1 +40 -0 src/tools/regression/bpf/bpf_filter/tests/test0021.h (new) 1.1 +40 -0 src/tools/regression/bpf/bpf_filter/tests/test0022.h (new) 1.1 +50 -0 src/tools/regression/bpf/bpf_filter/tests/test0023.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0024.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0025.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0026.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0027.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0028.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0029.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0030.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0031.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0032.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0033.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0034.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0035.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0036.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0037.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0038.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0039.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0040.h (new) 1.1 +34 -0 src/tools/regression/bpf/bpf_filter/tests/test0041.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0042.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0043.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0044.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0045.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0046.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0047.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0048.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0049.h (new) 1.1 +32 -0 src/tools/regression/bpf/bpf_filter/tests/test0050.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0051.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0052.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0053.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0054.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0055.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0056.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0057.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0058.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0059.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0060.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0061.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0062.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0063.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0064.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0065.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0066.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0067.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0068.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0069.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0070.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0071.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0072.h (new) 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0073.h (new) From jkim at FreeBSD.org Mon Aug 18 19:14:36 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 19:14:53 2008 Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h Message-ID: <200808181914.m7IJEZdj012642@repoman.freebsd.org> jkim 2008-08-18 19:14:26 UTC FreeBSD src repository Modified files: sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h Log: SVN rev 181848 on 2008-08-18 19:14:26Z by jkim Correctly check unsignedness of all BPF_LD|BPF_IND instructions. This is roughly from sys/net/bpf_filter.c r1.12 and r1.14. Revision Changes Path 1.12 +55 -35 src/sys/amd64/amd64/bpf_jit_machdep.c 1.9 +15 -3 src/sys/amd64/amd64/bpf_jit_machdep.h From kientzle at freebsd.org Mon Aug 18 19:32:54 2008 From: kientzle at freebsd.org (Tim Kientzle) Date: Mon Aug 18 19:33:00 2008 Subject: cvs commit: src/usr.bin/tar matching.c In-Reply-To: <747dc8f30808181005j9edccfew46e67a14b34b1003@mail.gmail.com> References: <200808180459.m7I4x0BJ057217@repoman.freebsd.org> <747dc8f30808181005j9edccfew46e67a14b34b1003@mail.gmail.com> Message-ID: <48A9C84C.1090306@freebsd.org> r181845 fixes this. Apologies. Renato Botelho wrote: > On Mon, Aug 18, 2008 at 1:58 AM, Tim Kientzle wrote: > >>kientzle 2008-08-18 04:58:54 UTC >> >> FreeBSD src repository >> >> Modified files: >> usr.bin/tar matching.c >> Log: >> SVN rev 181821 on 2008-08-18 04:58:54Z by kientzle >> >> Strip leading "./" or ".//" from patterns and filenames >> so that "./foo" matches "foo" (and vice versa). > > > Hello, > > After this commit, i got this problem on -CURRENT > > root@botelhor:/usr/src/usr.bin/tar# make > cc -O2 -pipe -DBSDTAR_VERSION_STRING=\"2.5.5\" > -DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar > -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wno-pointer-sign -c > /usr/src/usr.bin/tar/matching.c > /usr/src/usr.bin/tar/matching.c: In function 'pathmatch': > /usr/src/usr.bin/tar/matching.c:316: error: 'FNM_LEADING_DIR' > undeclared (first use in this function) > /usr/src/usr.bin/tar/matching.c:316: error: (Each undeclared > identifier is reported only once > /usr/src/usr.bin/tar/matching.c:316: error: for each function it appears in.) > /usr/src/usr.bin/tar/matching.c:316: error: too many arguments to > function 'bsdtar_fnmatch' > *** Error code 1 > From sobomax at FreeBSD.org Mon Aug 18 20:31:07 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Mon Aug 18 20:31:14 2008 Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.conf.5 Message-ID: <200808182031.m7IKV7ZO024696@repoman.freebsd.org> sobomax 2008-08-18 20:31:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/newsyslog newsyslog.conf.5 Log: SVN rev 181849 on 2008-08-18 20:31:03Z by sobomax MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not with '\\'. Revision Changes Path 1.4.2.3 +2 -2 src/usr.sbin/newsyslog/newsyslog.conf.5 From sobomax at FreeBSD.org Mon Aug 18 20:32:08 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Mon Aug 18 20:32:14 2008 Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.conf.5 Message-ID: <200808182032.m7IKW7sY024785@repoman.freebsd.org> sobomax 2008-08-18 20:31:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/newsyslog newsyslog.conf.5 Log: SVN rev 181850 on 2008-08-18 20:31:50Z by sobomax MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not with '\\'. Revision Changes Path 1.6.2.2 +2 -2 src/usr.sbin/newsyslog/newsyslog.conf.5 From sobomax at FreeBSD.org Mon Aug 18 20:34:09 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Mon Aug 18 20:34:15 2008 Subject: cvs commit: src/usr.sbin/syslogd syslog.conf.5 syslogd.c Message-ID: <200808182034.m7IKY8xj024994@repoman.freebsd.org> sobomax 2008-08-18 20:34:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/syslogd syslog.conf.5 syslogd.c Log: SVN rev 181851 on 2008-08-18 20:34:00Z by sobomax MFC: Allow comment to be placed at the end of a configuration line. Revision Changes Path 1.39.2.4 +14 -0 src/usr.sbin/syslogd/syslog.conf.5 1.144.2.4 +11 -0 src/usr.sbin/syslogd/syslogd.c From sobomax at FreeBSD.org Mon Aug 18 20:35:10 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Mon Aug 18 20:35:21 2008 Subject: cvs commit: src/usr.sbin/syslogd syslog.conf.5 syslogd.c Message-ID: <200808182035.m7IKZ9sG025121@repoman.freebsd.org> sobomax 2008-08-18 20:35:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/syslogd syslog.conf.5 syslogd.c Log: SVN rev 181852 on 2008-08-18 20:35:02Z by sobomax MFC: Allow comment to be placed at the end of a configuration line. Revision Changes Path 1.44.2.1 +14 -0 src/usr.sbin/syslogd/syslog.conf.5 1.152.2.2 +11 -0 src/usr.sbin/syslogd/syslogd.c From jkim at FreeBSD.org Mon Aug 18 21:17:56 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 21:18:02 2008 Subject: cvs commit: src/sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Message-ID: <200808182117.m7ILHtEc042937@repoman.freebsd.org> jkim 2008-08-18 21:17:47 UTC FreeBSD src repository Modified files: sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h Log: SVN rev 181853 on 2008-08-18 21:17:47Z by jkim MFamd64: Correctly check unsignedness of all registers used for load instructions with direct or indirect offsets. Revision Changes Path 1.12 +55 -35 src/sys/i386/i386/bpf_jit_machdep.c 1.9 +15 -3 src/sys/i386/i386/bpf_jit_machdep.h From kmacy at FreeBSD.org Mon Aug 18 21:35:30 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Aug 18 21:35:42 2008 Subject: cvs commit: src/sys/i386/include pmap.h Message-ID: <200808182135.m7ILZQHV044797@repoman.freebsd.org> kmacy 2008-08-18 21:35:09 UTC FreeBSD src repository Modified files: sys/i386/include pmap.h Log: SVN rev 181854 on 2008-08-18 21:35:09Z by kmacy PT_UPDATES_FLUSH() is used in common code so it needs to be defined even in the !defined(XEN) case MFC after: 1 month Revision Changes Path 1.135 +2 -0 src/sys/i386/include/pmap.h From jkim at FreeBSD.org Mon Aug 18 21:40:15 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 21:40:21 2008 Subject: cvs commit: src/tools/regression/bpf/bpf_filter/tests test0007.h test0008.h Message-ID: <200808182140.m7ILeCbj045348@repoman.freebsd.org> jkim 2008-08-18 21:40:03 UTC FreeBSD src repository Modified files: tools/regression/bpf/bpf_filter/tests test0007.h test0008.h Log: SVN rev 181855 on 2008-08-18 21:40:03Z by jkim Fix two test cases on 32-bit architectures. Revision Changes Path 1.2 +3 -1 src/tools/regression/bpf/bpf_filter/tests/test0007.h 1.2 +3 -1 src/tools/regression/bpf/bpf_filter/tests/test0008.h From bz at FreeBSD.org Mon Aug 18 23:01:24 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Aug 18 23:01:30 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c src/sys/netinet6 ip6_input.c ip6_var.h Message-ID: <200808182301.m7IN1OCp058518@repoman.freebsd.org> bz 2008-08-18 23:00:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet udp_usrreq.c sys/netinet6 ip6_input.c ip6_var.h Log: SVN rev 181856 on 2008-08-18 23:00:41Z by bz MFC: r181782, cvs 1.235 udp_usrreq.c, 1.102 ip6_input.c, 1.44 ip6_var.h Fix a regression introduced in r179289 splitting up ip6_savecontrol() into v4-only vs. v6-only inp_flags processing. When ip6_savecontrol_v4() is called from ip6_savecontrol() we were not passing back the **mp thus the information will be missing in userland. Istead of going with a *** as suggested in the PR we are returning **mp now and passing in the v4only flag as a pointer argument. PR: kern/126349 Revision Changes Path 1.218.2.3 +1 -1 src/sys/netinet/udp_usrreq.c 1.95.2.2 +14 -6 src/sys/netinet6/ip6_input.c 1.39.2.4 +2 -1 src/sys/netinet6/ip6_var.h From jkim at FreeBSD.org Mon Aug 18 23:05:28 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Aug 18 23:05:40 2008 Subject: cvs commit: src/tools/regression/bpf/bpf_filter Makefile src/tools/regression/bpf/bpf_filter/tests test0074.h Message-ID: <200808182305.m7IN5SJq059991@repoman.freebsd.org> jkim 2008-08-18 23:05:19 UTC FreeBSD src repository Modified files: tools/regression/bpf/bpf_filter Makefile Added files: tools/regression/bpf/bpf_filter/tests test0074.h Log: SVN rev 181857 on 2008-08-18 23:05:19Z by jkim Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction. Revision Changes Path 1.2 +1 -1 src/tools/regression/bpf/bpf_filter/Makefile 1.1 +33 -0 src/tools/regression/bpf/bpf_filter/tests/test0074.h (new) From kmacy at FreeBSD.org Tue Aug 19 01:17:07 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 01:17:14 2008 Subject: cvs commit: src/sys/i386/i386 pmap.c src/sys/kern kern_mbuf.c src/sys/vm uma.h uma_core.c Message-ID: <200808190117.m7J1H7FC083072@repoman.freebsd.org> kmacy 2008-08-19 01:16:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/i386 pmap.c sys/kern kern_mbuf.c sys/vm uma.h uma_core.c Log: SVN rev 181859 on 2008-08-19 01:16:12Z by kmacy In anticipation of MFCing physically contiguous jumbo frames MFC r177921: Reintroduce UMA_SLAB_KMAP; however, change its spelling to UMA_SLAB_KERNEL for consistency with its sibling UMA_SLAB_KMEM. (UMA_SLAB_KMAP met its original demise in revision 1.30 of vm/uma_core.c.) UMA_SLAB_KERNEL is now required by the jumbo frame allocators. Without it, UMA cannot correctly return pages from the jumbo frame zones to the VM system because it resets the pages' object field to NULL instead of the kernel object. In more detail, the jumbo frame zones are created with the option UMA_ZONE_REFCNT. This causes UMA to overwrite the pages' object field with the address of the slab. However, when UMA wants to release these pages, it doesn't know how to restore the object field, so it sets it to NULL. This change teaches UMA how to reset the object field to the kernel object. Crashes reported by: kris Fix tested by: kris Approved by: alc Revision Changes Path 1.594.2.8 +3 -1 src/sys/i386/i386/pmap.c 1.32.2.3 +30 -0 src/sys/kern/kern_mbuf.c 1.31.2.1 +1 -0 src/sys/vm/uma.h 1.147.2.2 +4 -0 src/sys/vm/uma_core.c From kmacy at FreeBSD.org Tue Aug 19 01:25:24 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 01:25:36 2008 Subject: cvs commit: src/sys/netinet if_ether.c Message-ID: <200808190125.m7J1PO2Y083754@repoman.freebsd.org> kmacy 2008-08-19 01:25:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet if_ether.c Log: SVN rev 181860 on 2008-08-19 01:25:08Z by kmacy Avoid possible namespace collision between function scope sin and locally sub-expression scoped sin by moving sin declaration to point of use. Revision Changes Path 1.162.2.3 +4 -4 src/sys/netinet/if_ether.c From kmacy at FreeBSD.org Tue Aug 19 01:36:55 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 01:37:11 2008 Subject: cvs commit: src/sys/kern kern_mbuf.c Message-ID: <200808190136.m7J1atqX084660@repoman.freebsd.org> kmacy 2008-08-19 01:36:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_mbuf.c Log: SVN rev 181861 on 2008-08-19 01:36:45Z by kmacy MFC 174247: Introduce an UMA backend page allocator for the jumbo frame zones that allocates physically contiguous memory. MFC after: 3 months Requested and reviewed by: Kip Macy Tested by: Andrew Gallatin and Pyun YongHyeon Approved by: alc Revision Changes Path 1.32.2.4 +6 -2 src/sys/kern/kern_mbuf.c From kevlo at FreeBSD.org Tue Aug 19 01:45:11 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Tue Aug 19 01:45:23 2008 Subject: cvs commit: src/sys/dev/usb if_rum.c usbdevs Message-ID: <200808190145.m7J1jB0t085360@repoman.freebsd.org> kevlo 2008-08-19 01:44:56 UTC FreeBSD src repository Modified files: sys/dev/usb if_rum.c usbdevs Log: SVN rev 181862 on 2008-08-19 01:44:56Z by kevlo Add the D-Link DWA-110 Tested by: Jonathan Lee Revision Changes Path 1.26 +1 -0 src/sys/dev/usb/if_rum.c 1.365 +1 -0 src/sys/dev/usb/usbdevs From kevlo at FreeBSD.org Tue Aug 19 01:51:43 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Tue Aug 19 01:51:49 2008 Subject: cvs commit: src/sys/dev/usb if_rum.c usbdevs Message-ID: <200808190151.m7J1pgTx086270@repoman.freebsd.org> kevlo 2008-08-19 01:51:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb if_rum.c usbdevs Log: SVN rev 181863 on 2008-08-19 01:51:37Z by kevlo MFC: r179773, r181862 - Add the D-Link DWA-110 Tested by: Jonathan Lee - Add the D-Link DWA-111 Revision Changes Path 1.13.2.2 +2 -0 src/sys/dev/usb/if_rum.c 1.328.2.16 +2 -0 src/sys/dev/usb/usbdevs From kmacy at FreeBSD.org Tue Aug 19 02:27:44 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 02:27:50 2008 Subject: cvs commit: src/sys/i386/include/xen xenpmap.h Message-ID: <200808190227.m7J2RhVc090284@repoman.freebsd.org> kmacy 2008-08-19 02:27:31 UTC FreeBSD src repository Modified files: sys/i386/include/xen xenpmap.h Log: SVN rev 181864 on 2008-08-19 02:27:31Z by kmacy remove redundant PT_SET_MA declaration MFC after: 1 month Revision Changes Path 1.3 +0 -12 src/sys/i386/include/xen/xenpmap.h From kmacy at FreeBSD.org Tue Aug 19 02:31:14 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 02:31:26 2008 Subject: cvs commit: src/sys/xen/evtchn evtchn_dev.c Message-ID: <200808190231.m7J2VEUq090614@repoman.freebsd.org> kmacy 2008-08-19 02:31:01 UTC FreeBSD src repository Modified files: sys/xen/evtchn evtchn_dev.c Log: SVN rev 181865 on 2008-08-19 02:31:01Z by kmacy avoid evtchn_init name collision in gdb MFC after: 1 month Revision Changes Path 1.2 +2 -2 src/sys/xen/evtchn/evtchn_dev.c From kmacy at FreeBSD.org Tue Aug 19 02:37:01 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 02:37:06 2008 Subject: cvs commit: src/sys/i386/xen xen_machdep.c Message-ID: <200808190237.m7J2b0ln091182@repoman.freebsd.org> kmacy 2008-08-19 02:36:56 UTC FreeBSD src repository Modified files: sys/i386/xen xen_machdep.c Log: SVN rev 181866 on 2008-08-19 02:36:56Z by kmacy Fix compilation without INVARIANTS MFC after: 1 month Revision Changes Path 1.4 +6 -0 src/sys/i386/xen/xen_machdep.c From kmacy at FreeBSD.org Tue Aug 19 02:39:46 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Aug 19 02:39:52 2008 Subject: cvs commit: src/sys/i386/xen xen_machdep.c Message-ID: <200808190239.m7J2dkBG091369@repoman.freebsd.org> kmacy 2008-08-19 02:39:34 UTC FreeBSD src repository Modified files: sys/i386/xen xen_machdep.c Log: SVN rev 181867 on 2008-08-19 02:39:34Z by kmacy protect queue_log not queue MFC after: 1 month Revision Changes Path 1.5 +4 -2 src/sys/i386/xen/xen_machdep.c From kib at FreeBSD.org Tue Aug 19 11:32:07 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Aug 19 11:32:18 2008 Subject: cvs commit: src/sys/kern vfs_bio.c Message-ID: <200808191132.m7JBW7Wm004031@repoman.freebsd.org> kib 2008-08-19 11:31:49 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: SVN rev 181868 on 2008-08-19 11:31:49Z by kib In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue, instead of QUEUE_DIRTY. Tested by: pho Reviewed by: attilio MFC after: 3 days Revision Changes Path 1.544 +1 -1 src/sys/kern/vfs_bio.c From kib at FreeBSD.org Tue Aug 19 12:37:34 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Aug 19 12:37:45 2008 Subject: cvs commit: src/sys/fs/devfs devfs_int.h devfs_vnops.c src/sys/kern kern_conf.c kern_descrip.c kern_thread.c src/sys/sys conf.h file.h proc.h Message-ID: <200808191237.m7JCbX5x011739@repoman.freebsd.org> kib 2008-08-19 12:36:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/devfs devfs_int.h devfs_vnops.c sys/kern kern_conf.c kern_descrip.c kern_thread.c sys/sys conf.h file.h proc.h Log: SVN rev 181869 on 2008-08-19 12:36:40Z by kib MFC r179175: Implement the per-open file data for the cdev. The td_fpop member of the struct thread is appended to the end, and cleared in the thread allocator to keep struct thread KBI-compatible on RELENG_7. MFC r181635: Remove unnecessary locking around pointer fetch. Revision Changes Path 1.4.2.1 +11 -0 src/sys/fs/devfs/devfs_int.h 1.149.2.3 +109 -2 src/sys/fs/devfs/devfs_vnops.c 1.208.2.7 +9 -2 src/sys/kern/kern_conf.c 1.313.2.9 +7 -0 src/sys/kern/kern_descrip.c 1.255.2.7 +1 -0 src/sys/kern/kern_thread.c 1.233.2.3 +6 -0 src/sys/sys/conf.h 1.73.2.1 +2 -0 src/sys/sys/file.h 1.491.2.8 +1 -0 src/sys/sys/proc.h From kensmith at FreeBSD.org Tue Aug 19 13:41:12 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Tue Aug 19 13:41:31 2008 Subject: cvs commit: src/usr.sbin/sysinstall dist.c dist.h menus.c Message-ID: <200808191341.m7JDfB8R027190@repoman.freebsd.org> kensmith 2008-08-19 13:40:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall dist.c dist.h menus.c Log: SVN rev 181870 on 2008-08-19 13:40:54Z by kensmith MFC r181731: > Catch up on removal of /usr/src/compat. Revision Changes Path 1.249.2.6 +0 -1 src/usr.sbin/sysinstall/dist.c 1.67.2.6 +0 -1 src/usr.sbin/sysinstall/dist.h 1.425.2.7 +0 -2 src/usr.sbin/sysinstall/menus.c From jhb at FreeBSD.org Tue Aug 19 14:27:16 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 14:27:21 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200808191427.m7JERF6l032100@repoman.freebsd.org> jhb 2008-08-19 14:23:26 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: SVN rev 181871 on 2008-08-19 14:23:26Z by jhb If a CPUTYPE isn't specified, then don't use -march=k8 when compiling 32-bit compat libs on amd64 since -march=k8 may generate instructions that are not implemented on Intel EM64T processors. Instead, use a simpler set of default flags that should work on all amd64-capable CPUs. PR: amd64/113111 Submitted by: NIIMI Satoshi sa2c of sa2c.net MFC after: 1 week Revision Changes Path 1.610 +3 -3 src/Makefile.inc1 From obrien at FreeBSD.org Tue Aug 19 14:30:35 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Aug 19 14:30:42 2008 Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d kernel kernel_symlink src/share/man/man5 rc.conf.5 Message-ID: <200808191430.m7JEUZWk032466@repoman.freebsd.org> obrien 2008-08-19 14:23:31 UTC FreeBSD src repository Modified files: etc/defaults rc.conf share/man/man5 rc.conf.5 Added files: etc/rc.d kernel_symlink Removed files: etc/rc.d kernel Log: SVN rev 181872 on 2008-08-19 14:23:31Z by obrien Rename the RCng 'kernel' script to 'kernel_symlink'. Requested by: many Revision Changes Path 1.342 +1 -2 src/etc/defaults/rc.conf 1.4 +0 -28 src/etc/rc.d/kernel (dead) 1.1 +28 -0 src/etc/rc.d/kernel_symlink (new) 1.345 +3 -3 src/share/man/man5/rc.conf.5 From pawel.worach at gmail.com Tue Aug 19 16:52:17 2008 From: pawel.worach at gmail.com (Pawel Worach) Date: Tue Aug 19 16:52:23 2008 Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d kernel kernel_symlink src/share/man/man5 rc.conf.5 In-Reply-To: <200808191430.m7JEUZWk032466@repoman.freebsd.org> References: <200808191430.m7JEUZWk032466@repoman.freebsd.org> Message-ID: <48AAF3CA.5010102@gmail.com> David E. O'Brien wrote: > obrien 2008-08-19 14:23:31 UTC > > FreeBSD src repository > > Modified files: > etc/defaults rc.conf > share/man/man5 rc.conf.5 > Added files: > etc/rc.d kernel_symlink > Removed files: > etc/rc.d kernel > Log: > SVN rev 181872 on 2008-08-19 14:23:31Z by obrien > > Rename the RCng 'kernel' script to 'kernel_symlink'. > Hi David, src/etc/rc.d/Makefile needs an update too. --- /tmp/Makefile 2008-08-19 18:21:19.000000000 +0200 +++ Makefile 2008-08-19 18:21:26.000000000 +0200 @@ -18,7 +18,7 @@ ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \ ipnat ipsec ipxrouted \ jail \ - kadmind kerberos kernel keyserv kldxref kpasswdd \ + kadmind kerberos kernel_symlink keyserv kldxref kpasswdd \ ldconfig local localpkg lockd lpd \ mixer motd mountcritlocal mountcritremote mountlate \ mdconfig mdconfig2 mountd moused mroute6d mrouted msgs \ -- Pawel From marius at alchemy.franken.de Tue Aug 19 18:51:13 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Tue Aug 19 18:51:25 2008 Subject: cvs commit: src/sys/kern kern_thread.c subr_witness.c src/sys/sys lock.h In-Reply-To: <200808131825.m7DIP0wi084783@repoman.freebsd.org> References: <200808131825.m7DIP0wi084783@repoman.freebsd.org> Message-ID: <20080819181551.GA18140@alchemy.franken.de> On Wed, Aug 13, 2008 at 06:24:22PM +0000, Attilio Rao wrote: > attilio 2008-08-13 18:24:22 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_thread.c subr_witness.c > sys/sys lock.h > Log: > SVN rev 181695 on 2008-08-13 18:24:22Z by attilio > > Introduce some WITNESS improvements: > - Speedup the lock orderings lookup modifying the witness graph from a > linked tree to a matrix. A table lookup caches the lock orderings in > order to make a O(1) access for them. Any witness object has an unique > index withing this lookup cache table. > - Reduce the lock contention on w_mtx acquiring it only when the LOR > actually happens and not in a sane case. In order to do this don't totally > flush lock lists (per-CPU spinlocks list and per-thread sleeplocks list) > but check for ll_count anytime we need to have to verify allocations sanity. > - Introduce the function witness_thread_exit() in the witness namespace which > should verify a thread doesn't hold any witness occurrence why exiting. > - Rename the sysctl debug.witness.graphs into debug.witness.fullgraph and > add debug.witness.badstacks which prints out stacks for LOR revealed. > This is implemented using the stack(9) support, which makes WITNESS to be > dependent by the STACK option or by the DDB (including STACK) option. > - Fix style(9) for src/sys/kern/subr_witness.c > > The hash table approach has been developed by Ilya Maykov on the behalf of > Isilon Systems which kindly released the patch. > Jeff Roberson, ported the patch to -CURRENT and fixed w_mtx contention, on the > behalf of Nokia. > > Submitted by: Ilya Maykov (Isilon Systems), jeff > Sponsored by: Nokia > > Revision Changes Path > 1.276 +5 -0 src/sys/kern/kern_thread.c > 1.251 +1061 -491 src/sys/kern/subr_witness.c > 1.74 +1 -0 src/sys/sys/lock.h Hi Attilio, this broke witness(4) on sparc64 (and probably all other platforms with strict alignment requirement): OK boot /boot/kernel/test2 /boot/kernel/test2 data=0x7cdb48+0x215c68 syms=[0x8+0x8a2b8+0x8+0x7a932] nothing to autoload yet. jumping to kernel entry at 0xc0078000. GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #1: Tue Aug 19 19:49:27 CEST 2008 marius@alchemy.franken.de:/usr/home/marius/co/build/ref/sparc64/usr/home/mar WARNING: WITNESS option enabled, expect reduced performance. panic: trap: memory address not aligned cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at 0xc0300d80: ta %xcc, 1 db> bt Tracing pid 0 tid 0 td 0xc07e9a80 (null)() at 0xc02c9208 (null)() at 0xc05e31d0 (null)() at 0xc0078ff8 (null)() at 0xc05df924 (null)() at 0xc05dfa70 (null)() at 0xc031ac98 (null)() at 0xc02b994c (null)() at 0xc0554f84 (null)() at 0xc02b4c68 (null)() at 0xc02b866c (null)() at 0xc02b86c0 (null)() at 0xc0281c8c (null)() at 0xc0078030 db> Could you please fix this? Marius From emaste at FreeBSD.org Tue Aug 19 19:32:13 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Tue Aug 19 19:32:24 2008 Subject: cvs commit: src/share/man/man9 locking.9 Message-ID: <200808191932.m7JJWCmB081706@repoman.freebsd.org> emaste 2008-08-19 19:31:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 locking.9 Log: SVN rev 181873 on 2008-08-19 19:31:58Z by emaste Update locking table, based on changes in r173444: - Have SPIN / want SPIN adds the "Recursion is defined per lock" footnote. - Have sx / want Slp & have sx / want rw changed from no to ok. Revision Changes Path 1.11.2.1 +2 -2 src/share/man/man9/locking.9 From ed at FreeBSD.org Tue Aug 19 19:45:18 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Tue Aug 19 19:45:23 2008 Subject: cvs commit: src/sys/dev/sound/midi sequencer.c src/sys/dev/sound/pcm sound.h Message-ID: <200808191945.m7JJjHrK082941@repoman.freebsd.org> ed 2008-08-19 19:45:08 UTC FreeBSD src repository Modified files: sys/dev/sound/midi sequencer.c sys/dev/sound/pcm sound.h Log: SVN rev 181874 on 2008-08-19 19:45:08Z by ed Don't include in our sound layer. It is not needed. The PCM's sound.h file only seems to include , because channel_if seems to require selinfo. Just replace it with . There's no real problem with including here, even with MPSAFE TTY, but is something that should be used by the TTY layer, its driver and code that integrated it with the process tree. Revision Changes Path 1.29 +0 -1 src/sys/dev/sound/midi/sequencer.c 1.79 +1 -1 src/sys/dev/sound/pcm/sound.h From jhb at FreeBSD.org Tue Aug 19 19:55:15 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 19:55:26 2008 Subject: cvs commit: src/sys/amd64/include pcpu.h src/sys/arm/include pcpu.h src/sys/i386/include pcpu.h src/sys/ia64/include pcpu.h src/sys/mips/include pcpu.h src/sys/powerpc/include pcpu.h src/sys/sparc64/include pcpu.h src/sys/sun4v/include pcpu.h ... Message-ID: <200808191955.m7JJtEte084123@repoman.freebsd.org> jhb 2008-08-19 19:53:52 UTC FreeBSD src repository Modified files: sys/amd64/include pcpu.h sys/arm/include pcpu.h sys/i386/include pcpu.h sys/ia64/include pcpu.h sys/mips/include pcpu.h sys/powerpc/include pcpu.h sys/sparc64/include pcpu.h sys/sun4v/include pcpu.h sys/sys pcpu.h types.h Log: SVN rev 181875 on 2008-08-19 19:53:52Z by jhb Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports already define _KERNEL to get to this and I'm about to add hooks to libkvm to access per-CPU data. MFC after: 1 week Revision Changes Path 1.50 +2 -2 src/sys/amd64/include/pcpu.h 1.7 +4 -0 src/sys/arm/include/pcpu.h 1.53 +3 -2 src/sys/i386/include/pcpu.h 1.21 +2 -2 src/sys/ia64/include/pcpu.h 1.2 +3 -2 src/sys/mips/include/pcpu.h 1.28 +2 -1 src/sys/powerpc/include/pcpu.h 1.24 +2 -2 src/sys/sparc64/include/pcpu.h 1.12 +3 -2 src/sys/sun4v/include/pcpu.h 1.27 +4 -4 src/sys/sys/pcpu.h 1.99 +1 -1 src/sys/sys/types.h From jhb at FreeBSD.org Tue Aug 19 19:55:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 19:55:59 2008 Subject: cvs commit: src/lib/libkvm Makefile kvm.h kvm_getpcpu.3 kvm_pcpu.c Message-ID: <200808191955.m7JJtllR084243@repoman.freebsd.org> jhb 2008-08-19 19:55:33 UTC FreeBSD src repository Modified files: lib/libkvm Makefile kvm.h Added files: lib/libkvm kvm_getpcpu.3 kvm_pcpu.c Log: SVN rev 181876 on 2008-08-19 19:55:33Z by jhb Add two new routines to libkvm for working with per-CPU data: kvm_getmaxcpu() and kvm_getpcpu(). MFC after: 1 week Revision Changes Path 1.18 +4 -3 src/lib/libkvm/Makefile 1.18 +2 -0 src/lib/libkvm/kvm.h 1.1 +93 -0 src/lib/libkvm/kvm_getpcpu.3 (new) 1.1 +152 -0 src/lib/libkvm/kvm_pcpu.c (new) From julian at FreeBSD.org Tue Aug 19 20:01:43 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Tue Aug 19 20:01:54 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 src/sys/netinet ip_fw2.c Message-ID: <200808192001.m7JK1hha084900@repoman.freebsd.org> julian 2008-08-19 19:58:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ipfw ipfw.8 sys/netinet ip_fw2.c Log: SVN rev 181877 on 2008-08-19 19:58:42Z by julian MFC teh ability to use tablearg with a skipto. This was already supported in userland. Revision Changes Path 1.203.2.8 +18 -2 src/sbin/ipfw/ipfw.8 1.175.2.9 +21 -8 src/sys/netinet/ip_fw2.c From jhb at FreeBSD.org Tue Aug 19 20:34:01 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 20:34:06 2008 Subject: cvs commit: src/usr.sbin/iostat iostat.c Message-ID: <200808192034.m7JKY0t8092415@repoman.freebsd.org> jhb 2008-08-19 20:33:59 UTC FreeBSD src repository Modified files: usr.sbin/iostat iostat.c Log: SVN rev 181878 on 2008-08-19 20:33:59Z by jhb Pass the right pointer to bzero() when clearing cp_time. MFC after: 1 week Revision Changes Path 1.41 +1 -1 src/usr.sbin/iostat/iostat.c From jb at FreeBSD.org Tue Aug 19 21:29:02 2008 From: jb at FreeBSD.org (John Birrell) Date: Tue Aug 19 21:29:14 2008 Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c Message-ID: <200808192129.m7JLT2Zq008617@repoman.freebsd.org> jb 2008-08-19 21:28:58 UTC FreeBSD src repository Modified files: sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c Log: SVN rev 181879 on 2008-08-19 21:28:58Z by jb Add calls to callout_drain() to ensure the callouts are flushed before we free memory from underneath them. This fixes an occasional panic I've been seeing in softclock() where a bad pointer would be encountered when pushing DTrace hard. Revision Changes Path 1.6 +2 -0 src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c From jhb at FreeBSD.org Tue Aug 19 21:30:48 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 21:30:55 2008 Subject: cvs commit: src/lib/libkvm Makefile kvm.h kvm_cptime.c kvm_getcptime.3 Message-ID: <200808192130.m7JLUlBU009582@repoman.freebsd.org> jhb 2008-08-19 21:30:36 UTC FreeBSD src repository Modified files: lib/libkvm Makefile kvm.h Added files: lib/libkvm kvm_cptime.c kvm_getcptime.3 Log: SVN rev 181880 on 2008-08-19 21:30:36Z by jhb Add a new routine kvm_getcptime(3) for fetching the equivalent of 'kern.cp_time'. For a live kernel it uses the sysctl. For a crashdump, it first checks to see if the kernel has a 'cp_time' global symbol. If it does, it uses that. If that doesn't work, when it uses the recently added kvm_getmaxcpu(3) and kvm_getpcpu(3) routines to walk all the CPUs and sum up their counters. MFC after: 1 week Revision Changes Path 1.19 +4 -3 src/lib/libkvm/Makefile 1.19 +1 -0 src/lib/libkvm/kvm.h 1.1 +132 -0 src/lib/libkvm/kvm_cptime.c (new) 1.1 +77 -0 src/lib/libkvm/kvm_getcptime.3 (new) From jhb at FreeBSD.org Tue Aug 19 21:37:38 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Aug 19 21:37:49 2008 Subject: cvs commit: src/usr.bin/vmstat vmstat.c src/usr.sbin/iostat iostat.c Message-ID: <200808192137.m7JLbc98014457@repoman.freebsd.org> jhb 2008-08-19 21:33:09 UTC FreeBSD src repository Modified files: usr.bin/vmstat vmstat.c usr.sbin/iostat iostat.c Log: SVN rev 181881 on 2008-08-19 21:33:09Z by jhb Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump since the 'cp_time' symbol doesn't exist in recent kernels. This fixes iostat and vmstat on crash dumps. MFC after: 1 week Revision Changes Path 1.102 +14 -15 src/usr.bin/vmstat/vmstat.c 1.42 +14 -8 src/usr.sbin/iostat/iostat.c From jhb at freebsd.org Tue Aug 19 22:05:05 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Aug 19 22:05:18 2008 Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c In-Reply-To: <200808192129.m7JLT2Zq008617@repoman.freebsd.org> References: <200808192129.m7JLT2Zq008617@repoman.freebsd.org> Message-ID: <200808191752.57600.jhb@freebsd.org> On Tuesday 19 August 2008 05:28:58 pm John Birrell wrote: > jb 2008-08-19 21:28:58 UTC > > FreeBSD src repository > > Modified files: > sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c > Log: > SVN rev 181879 on 2008-08-19 21:28:58Z by jb > > Add calls to callout_drain() to ensure the callouts are flushed before > we free memory from underneath them. > > This fixes an occasional panic I've been seeing in softclock() where a bad > pointer would be encountered when pushing DTrace hard. > > Revision Changes Path > 1.6 +2 -0 src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c If you aren't holding the mutex here, then just do a callout_drain() w/o a callout_stop(). If you are holding the mutex here, callout_drain() can deadlock. If you aren't using callout_init_mtx() but are acquiring your mutex in the callout handler, you will need to not reschedule yourself in your callout handlers if the associated "task" has been stopped (i.e. you'll need to check a flag after acquiring your lock and abort early if it is set, etc.) -- John Baldwin From imp at FreeBSD.org Tue Aug 19 22:15:34 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Aug 19 22:15:45 2008 Subject: cvs commit: src/sys/arm/at91 at91.c Message-ID: <200808192215.m7JMFXNG018727@repoman.freebsd.org> imp 2008-08-19 22:15:14 UTC FreeBSD src repository Modified files: sys/arm/at91 at91.c Log: SVN rev 181882 on 2008-08-19 22:15:14Z by imp Add IRQ line for usb device. I'm not 100% sure this is the right place to add this connection, since the interrupt is for a GPIO pin, but since we have no alternative at the moment... Submitted by: Hans Petter Selasky Revision Changes Path 1.17 +1 -1 src/sys/arm/at91/at91.c From imp at FreeBSD.org Tue Aug 19 22:16:19 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Aug 19 22:16:28 2008 Subject: cvs commit: src/sys/arm/at91 at91_pmc.c Message-ID: <200808192216.m7JMGJkD018803@repoman.freebsd.org> imp 2008-08-19 22:16:10 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_pmc.c Log: SVN rev 181883 on 2008-08-19 22:16:10Z by imp Use the proper clock domain for the usb host controller. Submitted by: Hans Petter Selasky Revision Changes Path 1.7 +1 -1 src/sys/arm/at91/at91_pmc.c From imp at FreeBSD.org Tue Aug 19 22:17:20 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Aug 19 22:17:31 2008 Subject: cvs commit: src/sys/arm/at91 at91_pio.c at91_piovar.h Message-ID: <200808192217.m7JMHK3a018907@repoman.freebsd.org> imp 2008-08-19 22:17:14 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_pio.c at91_piovar.h Log: SVN rev 181884 on 2008-08-19 22:17:14Z by imp Provide hooks into the GPIO lines and the ability to set/clear interrupts from them. This should be more generalized, but is sufficient for now. Submitted by: Hans Petter Selasky Revision Changes Path 1.6 +43 -0 src/sys/arm/at91/at91_pio.c 1.3 +4 -0 src/sys/arm/at91/at91_piovar.h From rpaulo at FreeBSD.org Tue Aug 19 22:28:38 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Tue Aug 19 22:29:22 2008 Subject: cvs commit: src/sys/dev/acpi_support acpi_asus.c Message-ID: <200808192228.m7JMSacH020165@repoman.freebsd.org> rpaulo 2008-08-19 22:28:24 UTC FreeBSD src repository Modified files: sys/dev/acpi_support acpi_asus.c Log: SVN rev 181885 on 2008-08-19 22:28:24Z by rpaulo Fix typo in comment. Revision Changes Path 1.38 +1 -1 src/sys/dev/acpi_support/acpi_asus.c From rpaulo at FreeBSD.org Tue Aug 19 23:06:38 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Tue Aug 19 23:06:48 2008 Subject: cvs commit: src/share/man/man4 Makefile acpi_asus.4 Message-ID: <200808192306.m7JN6cRE025319@repoman.freebsd.org> rpaulo 2008-08-19 23:06:21 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Added files: share/man/man4 acpi_asus.4 Log: SVN rev 181886 on 2008-08-19 23:06:21Z by rpaulo Add a man page for the acpi_asus(4) driver. MFC after: 1 week Revision Changes Path 1.425 +2 -0 src/share/man/man4/Makefile 1.1 +136 -0 src/share/man/man4/acpi_asus.4 (new) From julian at FreeBSD.org Wed Aug 20 01:07:18 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Wed Aug 20 01:07:24 2008 Subject: cvs commit: src/sys/net if.c src/sys/netgraph ng_base.c src/sys/netinet ip_fw2.c ip_input.c ip_mroute.c raw_ip.c tcp_hostcache.c tcp_input.c tcp_subr.c tcp_syncache.c src/sys/netinet6 in6.c in6_gif.c in6_ifattach.c in6_pcb.c nd6.c ... Message-ID: <200808200107.m7K17Hwx056818@repoman.freebsd.org> julian 2008-08-20 01:05:56 UTC FreeBSD src repository Modified files: sys/net if.c sys/netgraph ng_base.c sys/netinet ip_fw2.c ip_input.c ip_mroute.c raw_ip.c tcp_hostcache.c tcp_input.c tcp_subr.c tcp_syncache.c sys/netinet6 in6.c in6_gif.c in6_ifattach.c in6_pcb.c nd6.c nd6_rtr.c sys/sys sysctl.h sys/vm vm_meter.c Log: SVN rev 181887 on 2008-08-20 01:05:56Z by julian A bunch of formatting fixes brough to light by, or created by the Vimage commit a few days ago. Revision Changes Path 1.283 +1 -1 src/sys/net/if.c 1.162 +1 -1 src/sys/netgraph/ng_base.c 1.189 +6 -4 src/sys/netinet/ip_fw2.c 1.340 +2 -1 src/sys/netinet/ip_input.c 1.141 +1 -1 src/sys/netinet/ip_mroute.c 1.193 +4 -4 src/sys/netinet/raw_ip.c 1.19 +11 -6 src/sys/netinet/tcp_hostcache.c 1.379 +3 -3 src/sys/netinet/tcp_input.c 1.310 +9 -8 src/sys/netinet/tcp_subr.c 1.152 +4 -2 src/sys/netinet/tcp_syncache.c 1.82 +2 -1 src/sys/netinet6/in6.c 1.32 +0 -1 src/sys/netinet6/in6_gif.c 1.45 +2 -3 src/sys/netinet6/in6_ifattach.c 1.95 +1 -0 src/sys/netinet6/in6_pcb.c 1.90 +5 -4 src/sys/netinet6/nd6.c 1.41 +2 -1 src/sys/netinet6/nd6_rtr.c 1.159 +3 -3 src/sys/sys/sysctl.h 1.99 +1 -0 src/sys/vm/vm_meter.c From julian at FreeBSD.org Wed Aug 20 01:25:48 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Wed Aug 20 01:25:59 2008 Subject: cvs commit: src/sys/netinet ip_input.c tcp_hostcache.c tcp_subr.c src/sys/netinet6 in6.c in6_ifattach.c nd6.c nd6_rtr.c src/sys/sys sysctl.h Message-ID: <200808200125.m7K1PlbY058415@repoman.freebsd.org> julian 2008-08-20 01:24:55 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c tcp_hostcache.c tcp_subr.c sys/netinet6 in6.c in6_ifattach.c nd6.c nd6_rtr.c sys/sys sysctl.h Log: SVN rev 181888 on 2008-08-20 01:24:55Z by julian Fix some of the formatting fixes.. It's amazing how some thing stand out in a commit message. Revision Changes Path 1.341 +1 -1 src/sys/netinet/ip_input.c 1.20 +3 -4 src/sys/netinet/tcp_hostcache.c 1.311 +1 -1 src/sys/netinet/tcp_subr.c 1.83 +1 -1 src/sys/netinet6/in6.c 1.46 +1 -1 src/sys/netinet6/in6_ifattach.c 1.91 +1 -1 src/sys/netinet6/nd6.c 1.42 +1 -1 src/sys/netinet6/nd6_rtr.c 1.160 +1 -2 src/sys/sys/sysctl.h From kmacy at FreeBSD.org Wed Aug 20 02:42:13 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 02:42:24 2008 Subject: cvs commit: src/sys/xen/xenbus xenbus_comms.c xenbus_comms.h xenbus_dev.c xenbus_probe.c xenbus_probe_backend.c xenbus_xs.c Message-ID: <200808200242.m7K2gCVj066458@repoman.freebsd.org> kmacy 2008-08-20 02:42:08 UTC FreeBSD src repository Modified files: sys/xen/xenbus xenbus_comms.c xenbus_comms.h xenbus_dev.c xenbus_probe.c xenbus_probe_backend.c xenbus_xs.c Log: SVN rev 181889 on 2008-08-20 02:42:08Z by kmacy Xen 3.2 now interleaves watch events with regular message notifications. More graciously handle processing messages and watch events inline prior to threads being up and running. MFC after: 1 month Revision Changes Path 1.3 +1 -0 src/sys/xen/xenbus/xenbus_comms.c 1.2 +4 -3 src/sys/xen/xenbus/xenbus_comms.h 1.3 +0 -2 src/sys/xen/xenbus/xenbus_dev.c 1.3 +2 -1 src/sys/xen/xenbus/xenbus_probe.c 1.3 +0 -3 src/sys/xen/xenbus/xenbus_probe_backend.c 1.3 +72 -35 src/sys/xen/xenbus/xenbus_xs.c From julian at FreeBSD.org Wed Aug 20 02:48:44 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Wed Aug 20 02:48:55 2008 Subject: cvs commit: src/sys/sys sysctl.h Message-ID: <200808200248.m7K2mhqv067097@repoman.freebsd.org> julian 2008-08-20 02:48:33 UTC FreeBSD src repository Modified files: sys/sys sysctl.h Log: SVN rev 181890 on 2008-08-20 02:48:33Z by julian Fix wierd integration error No idea where this came from Revision Changes Path 1.161 +1 -1 src/sys/sys/sysctl.h From obrien at FreeBSD.org Wed Aug 20 03:02:14 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Wed Aug 20 03:02:21 2008 Subject: cvs commit: src/etc/rc.d Makefile Message-ID: <200808200302.m7K32E9d068865@repoman.freebsd.org> obrien 2008-08-20 03:02:06 UTC FreeBSD src repository Modified files: etc/rc.d Makefile Log: SVN rev 181891 on 2008-08-20 03:02:06Z by obrien Rename the RCng 'kernel' script to 'kernel_symlink'. Revision Changes Path 1.93 +1 -1 src/etc/rc.d/Makefile From kmacy at FreeBSD.org Wed Aug 20 03:15:01 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 03:15:07 2008 Subject: cvs commit: src/sys/net if_var.h Message-ID: <200808200315.m7K3F0nm070928@repoman.freebsd.org> kmacy 2008-08-20 03:14:48 UTC FreeBSD src repository Modified files: sys/net if_var.h Log: SVN rev 181892 on 2008-08-20 03:14:48Z by kmacy Fix build Revision Changes Path 1.120 +2 -0 src/sys/net/if_var.h From obrien at FreeBSD.org Wed Aug 20 03:16:54 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Wed Aug 20 03:17:00 2008 Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d kernel kernel_symlink src/share/man/man5 rc.conf.5 In-Reply-To: <48AAF3CA.5010102@gmail.com> References: <200808191430.m7JEUZWk032466@repoman.freebsd.org> <48AAF3CA.5010102@gmail.com> Message-ID: <20080820030221.GB38437@dragon.NUXI.org> On Tue, Aug 19, 2008 at 06:24:42PM +0200, Pawel Worach wrote: > David E. O'Brien wrote: >> obrien 2008-08-19 14:23:31 UTC >> FreeBSD src repository >> Modified files: >> etc/defaults rc.conf share/man/man5 rc.conf.5 >> Added files: >> etc/rc.d kernel_symlink Removed files: >> etc/rc.d kernel Log: >> SVN rev 181872 on 2008-08-19 14:23:31Z by obrien >> Rename the RCng 'kernel' script to 'kernel_symlink'. > > Hi David, > src/etc/rc.d/Makefile needs an update too. Thanks for catching that. -- David From kmacy at FreeBSD.org Wed Aug 20 03:27:32 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 03:27:38 2008 Subject: cvs commit: src/sys/xen/xenbus xenbus_xs.c Message-ID: <200808200327.m7K3RWAc072031@repoman.freebsd.org> kmacy 2008-08-20 03:27:12 UTC FreeBSD src repository Modified files: sys/xen/xenbus xenbus_xs.c Log: SVN rev 181893 on 2008-08-20 03:27:12Z by kmacy Check for watch events when doing inline message processing MFC after: 1 month Revision Changes Path 1.4 +39 -16 src/sys/xen/xenbus/xenbus_xs.c From kmacy at FreeBSD.org Wed Aug 20 03:28:48 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 03:29:04 2008 Subject: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <200808200328.m7K3SmYh072141@repoman.freebsd.org> kmacy 2008-08-20 03:28:32 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c Log: SVN rev 181894 on 2008-08-20 03:28:32Z by kmacy don't use cpu_idle_acpi under xen MFC after: 1 month Revision Changes Path 1.673 +9 -0 src/sys/i386/i386/machdep.c From yongari at FreeBSD.org Wed Aug 20 04:19:37 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 04:19:47 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808200419.m7K4JZou083824@repoman.freebsd.org> yongari 2008-08-20 04:19:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii brgphy.c Log: SVN rev 181895 on 2008-08-20 04:19:28Z by yongari MFC r181617-r181618: r181617: Remove whitespace at the end of line. r181618: Remove 'cr' at the end of line. Revision Changes Path 1.70.2.4 +30 -30 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Wed Aug 20 04:32:06 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 04:32:17 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808200432.m7K4W6bI086303@repoman.freebsd.org> yongari 2008-08-20 04:31:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii brgphy.c Log: SVN rev 181896 on 2008-08-20 04:31:55Z by yongari MFC r181617-r181618: r181617: Remove whitespace at the end of line. r181618: Remove 'cr' at the end of line. Revision Changes Path 1.34.2.19 +26 -26 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Wed Aug 20 04:46:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 04:47:02 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808200446.m7K4kq8G087898@repoman.freebsd.org> yongari 2008-08-20 04:46:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii brgphy.c Log: SVN rev 181897 on 2008-08-20 04:46:46Z by yongari MFC r181619: Restore link state handling which was broken in rev 1.69. Also report current link state while auto-negotiation is in progress. With this change link loss should be reported within a second and drivers that rely on link state should work. Revision Changes Path 1.70.2.5 +1 -4 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Wed Aug 20 04:51:23 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 04:51:29 2008 Subject: cvs commit: src/sys/dev/mii brgphy.c Message-ID: <200808200451.m7K4pNSL097662@repoman.freebsd.org> yongari 2008-08-20 04:51:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii brgphy.c Log: SVN rev 181898 on 2008-08-20 04:51:09Z by yongari MFC r181619: Restore link state handling which was broken in rev 1.69. Also report current link state while auto-negotiation is in progress. With this change link loss should be reported within a second and drivers that rely on link state should work. Revision Changes Path 1.34.2.20 +1 -4 src/sys/dev/mii/brgphy.c From yongari at FreeBSD.org Wed Aug 20 04:55:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 04:56:07 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200808200455.m7K4tt4B098030@repoman.freebsd.org> yongari 2008-08-20 04:55:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 181899 on 2008-08-20 04:55:40Z by yongari MFC r181655: Fix VLAN hardware tag insertion/stripping on big-endian architectures. Reported by: naddy Tested on: sparc64 Revision Changes Path 1.95.2.35 +2 -2 src/sys/dev/re/if_re.c From thompsa at FreeBSD.org Wed Aug 20 05:00:26 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Aug 20 05:00:34 2008 Subject: cvs commit: src/sys/net if.c if_var.h Message-ID: <200808200500.m7K50QM2098408@repoman.freebsd.org> thompsa 2008-08-20 05:00:18 UTC FreeBSD src repository Modified files: sys/net if.c if_var.h Log: SVN rev 181900 on 2008-08-20 05:00:18Z by thompsa ifnet_setbyindex() is only used locally, go back to being static. Revision Changes Path 1.284 +1 -1 src/sys/net/if.c 1.121 +0 -1 src/sys/net/if_var.h From yongari at FreeBSD.org Wed Aug 20 05:12:42 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 05:12:53 2008 Subject: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h if_nfevar.h Message-ID: <200808200512.m7K5CgmG000628@repoman.freebsd.org> yongari 2008-08-20 05:12:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/nfe if_nfe.c if_nfereg.h if_nfevar.h Log: SVN rev 181901 on 2008-08-20 05:12:30Z by yongari MFC r176859: Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. Also remove unneeded jlist lock which is no longer required to protect jumbo buffers. With these changes jumbo frame performance of nfe(4) was slightly increased and users should not encounter jumbo buffer allocation failure anymore. Revision Changes Path 1.21.2.6 +6 -166 src/sys/dev/nfe/if_nfe.c 1.10.2.2 +0 -9 src/sys/dev/nfe/if_nfereg.h 1.5.2.1 +0 -10 src/sys/dev/nfe/if_nfevar.h From yongari at FreeBSD.org Wed Aug 20 05:19:59 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 05:20:05 2008 Subject: cvs commit: src/sys/dev/sk if_sk.c if_skreg.h Message-ID: <200808200519.m7K5JwQB001182@repoman.freebsd.org> yongari 2008-08-20 05:19:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sk if_sk.c if_skreg.h Log: SVN rev 181902 on 2008-08-20 05:19:41Z by yongari MFC r176264: 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. Revision Changes Path 1.137.2.2 +141 -261 src/sys/dev/sk/if_sk.c 1.41.2.1 +1 -34 src/sys/dev/sk/if_skreg.h From yongari at FreeBSD.org Wed Aug 20 05:23:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Aug 20 05:23:51 2008 Subject: cvs commit: src/sys/dev/sk if_sk.c Message-ID: <200808200523.m7K5NiZP001582@repoman.freebsd.org> yongari 2008-08-20 05:23:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sk if_sk.c Log: SVN rev 181903 on 2008-08-20 05:23:31Z by yongari MFC r176265: Prefer NULL over integer 0 for pointer type. Revision Changes Path 1.137.2.3 +11 -11 src/sys/dev/sk/if_sk.c From kientzle at FreeBSD.org Wed Aug 20 06:02:01 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 20 06:02:12 2008 Subject: cvs commit: src/usr.bin/tar/test test_patterns.c test_patterns.tgz.err.uu test_patterns.tgz.out.uu test_patterns.tgz.uu test_patterns_2.tgz.err.uu test_patterns_2.tgz.out.uu test_patterns_2.tgz.uu Message-ID: <200808200602.m7K621gd005063@repoman.freebsd.org> kientzle 2008-08-20 06:01:53 UTC FreeBSD src repository Modified files: usr.bin/tar/test test_patterns.c Added files: usr.bin/tar/test test_patterns_2.tgz.err.uu test_patterns_2.tgz.out.uu test_patterns_2.tgz.uu Removed files: usr.bin/tar/test test_patterns.tgz.err.uu test_patterns.tgz.out.uu test_patterns.tgz.uu Log: SVN rev 181904 on 2008-08-20 06:01:53Z by kientzle Better comment the pattern tests; adjust the filenames for the reference files to match the corresponding source. MFC after: 3 days Revision Changes Path 1.3 +19 -9 src/usr.bin/tar/test/test_patterns.c 1.2 +0 -6 src/usr.bin/tar/test/test_patterns.tgz.err.uu (dead) 1.2 +0 -5 src/usr.bin/tar/test/test_patterns.tgz.out.uu (dead) 1.2 +0 -9 src/usr.bin/tar/test/test_patterns.tgz.uu (dead) 1.1 +6 -0 src/usr.bin/tar/test/test_patterns_2.tgz.err.uu (new) 1.1 +5 -0 src/usr.bin/tar/test/test_patterns_2.tgz.out.uu (new) 1.1 +9 -0 src/usr.bin/tar/test/test_patterns_2.tgz.uu (new) From philip at FreeBSD.org Wed Aug 20 08:32:57 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Wed Aug 20 08:33:03 2008 Subject: cvs commit: src/share/man/man4 Makefile acpi_asus.4 In-Reply-To: <200808192306.m7JN6cRE025319@repoman.freebsd.org> References: <200808192306.m7JN6cRE025319@repoman.freebsd.org> Message-ID: <20080820083254.GY13186@carrot.paeps.cx> On 2008-08-19 23:06:21 (+0000), Rui Paulo wrote: > rpaulo 2008-08-19 23:06:21 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 Makefile > Added files: > share/man/man4 acpi_asus.4 > Log: > SVN rev 181886 on 2008-08-19 23:06:21Z by rpaulo > > Add a man page for the acpi_asus(4) driver. There is already an acpi_asus(4) manual page in man4.i386... - Philip -- Philip Paeps Please don't Cc me, I am philip@freebsd.org subscribed to the list. *** Monty has joined #javahelp Hello Monty, long time no see. hrm. I'll get some protection From ed at FreeBSD.org Wed Aug 20 08:36:50 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 08:36:57 2008 Subject: cvs commit: src ObsoleteFiles.inc UPDATING src/bin/sh miscbltin.c src/etc login.conf src/etc/defaults devfs.rules src/lib/libc/stdlib Makefile.inc Symbol.map grantpt.3 ptsname.3 ptsname.c src/lib/libc/sys Makefile.inc Symbol.map getrlimit.2 ... Message-ID: <200808200836.m7K8aoi3023764@repoman.freebsd.org> ed 2008-08-20 08:31:58 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc UPDATING bin/sh miscbltin.c etc login.conf etc/defaults devfs.rules lib/libc/stdlib Makefile.inc Symbol.map lib/libc/sys Makefile.inc Symbol.map getrlimit.2 lib/libutil login.conf.5 login_class.c share/man/man4 Makefile ddb.4 pty.4 termios.4 sys/amd64/conf GENERIC sys/bsm audit_kevents.h sys/compat/freebsd32 freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c syscalls.master sys/compat/linux linux_ioctl.c linux_stats.c sys/conf NOTES files options sys/dev/dcons dcons.h dcons_os.c sys/dev/nmdm nmdm.c sys/dev/ofw ofw_console.c sys/dev/syscons schistory.c scmouse.c scterm-sc.c scvesactl.c scvidctl.c syscons.c syscons.h sysmouse.c sys/dev/uart uart_core.c uart_tty.c sys/dev/usb ucom.c ucomvar.h uftdi.c umodem.c sys/fs/devfs devfs_vnops.c sys/i386/conf GENERIC XBOX sys/i386/ibcs2 ibcs2_ioctl.c sys/ia64/conf GENERIC SKI sys/ia64/ia64 ssc.c sys/kern init_main.c init_sysent.c kern_acct.c kern_conf.c kern_descrip.c kern_exit.c kern_proc.c kern_resource.c subr_prf.c syscalls.c syscalls.master systrace_args.c tty.c tty_compat.c tty_cons.c tty_info.c tty_pts.c tty_pty.c sys/modules/nmdm Makefile sys/modules/rc Makefile sys/pc98/cbus scterm-sck.c sys/pc98/conf GENERIC NOTES sys/powerpc/conf GENERIC sys/sparc64/conf GENERIC sys/sun4v/conf GENERIC sys/sun4v/sun4v hvcons.c sys/sys conf.h file.h param.h proc.h resource.h resourcevar.h syscall.h syscall.mk sysproto.h termios.h tty.h ttycom.h ttydefaults.h user.h usr.bin/fstat fstat.c usr.bin/procstat procstat.1 procstat_files.c usr.sbin/pstat pstat.8 pstat.c Added files: lib/libc/stdlib ptsname.3 ptsname.c lib/libc/sys posix_openpt.2 share/man/man4 pts.4 sys/kern tty_inq.c tty_outq.c tty_ttydisc.c sys/sys ttydevsw.h ttydisc.h ttyqueue.h Removed files: lib/libc/stdlib grantpt.3 sys/kern tty_conf.c sys/sys linedisc.h Log: SVN rev 181905 on 2008-08-20 08:31:58Z by ed Integrate the new MPSAFE TTY layer to the FreeBSD operating system. The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan Revision Changes Path 1.155 +3 -0 src/ObsoleteFiles.inc 1.539 +19 -0 src/UPDATING 1.36 +4 -1 src/bin/sh/miscbltin.c 1.6 +2 -1 src/etc/defaults/devfs.rules 1.52 +1 -0 src/etc/login.conf 1.55 +6 -6 src/lib/libc/stdlib/Makefile.inc 1.8 +0 -1 src/lib/libc/stdlib/Symbol.map 1.4 +0 -225 src/lib/libc/stdlib/grantpt.3 (dead) 1.1 +160 -0 src/lib/libc/stdlib/ptsname.3 (new) 1.1 +95 -0 src/lib/libc/stdlib/ptsname.c (new) 1.137 +2 -2 src/lib/libc/sys/Makefile.inc 1.18 +1 -0 src/lib/libc/sys/Symbol.map 1.25 +3 -1 src/lib/libc/sys/getrlimit.2 1.1 +135 -0 src/lib/libc/sys/posix_openpt.2 (new) 1.62 +3 -2 src/lib/libutil/login.conf.5 1.27 +13 -12 src/lib/libutil/login_class.c 1.426 +1 -0 src/share/man/man4/Makefile 1.57 +7 -1 src/share/man/man4/ddb.4 1.1 +181 -0 src/share/man/man4/pts.4 (new) 1.20 +48 -201 src/share/man/man4/pty.4 1.34 +20 -4 src/share/man/man4/termios.4 1.507 +1 -1 src/sys/amd64/conf/GENERIC 1.14 +1 -0 src/sys/bsm/audit_kevents.h 1.86 +2 -1 src/sys/compat/freebsd32/freebsd32_syscall.h 1.77 +1 -0 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.87 +1 -0 src/sys/compat/freebsd32/freebsd32_sysent.c 1.102 +1 -0 src/sys/compat/freebsd32/syscalls.master 1.142 +7 -2 src/sys/compat/linux/linux_ioctl.c 1.93 +11 -1 src/sys/compat/linux/linux_stats.c 1.1504 +1 -8 src/sys/conf/NOTES 1.1331 +5 -3 src/sys/conf/files 1.636 +1 -1 src/sys/conf/options 1.7 +1 -1 src/sys/dev/dcons/dcons.h 1.23 +48 -345 src/sys/dev/dcons/dcons_os.c 1.41 +158 -252 src/sys/dev/nmdm/nmdm.c 1.40 +32 -111 src/sys/dev/ofw/ofw_console.c 1.21 +3 -4 src/sys/dev/syscons/schistory.c 1.43 +2 -3 src/sys/dev/syscons/scmouse.c 1.24 +1 -1 src/sys/dev/syscons/scterm-sc.c 1.26 +4 -8 src/sys/dev/syscons/scvesactl.c 1.40 +6 -12 src/sys/dev/syscons/scvidctl.c 1.461 +156 -171 src/sys/dev/syscons/syscons.c 1.91 +15 -9 src/sys/dev/syscons/syscons.h 1.31 +32 -103 src/sys/dev/syscons/sysmouse.c 1.25 +1 -2 src/sys/dev/uart/uart_core.c 1.30 +72 -93 src/sys/dev/uart/uart_tty.c 1.67 +131 -203 src/sys/dev/usb/ucom.c 1.11 +5 -3 src/sys/dev/usb/ucomvar.h 1.39 +16 -11 src/sys/dev/usb/uftdi.c 1.72 +2 -2 src/sys/dev/usb/umodem.c 1.165 +0 -3 src/sys/fs/devfs/devfs_vnops.c 1.497 +1 -1 src/sys/i386/conf/GENERIC 1.10 +1 -1 src/sys/i386/conf/XBOX 1.32 +17 -2 src/sys/i386/ibcs2/ibcs2_ioctl.c 1.99 +1 -1 src/sys/ia64/conf/GENERIC 1.26 +1 -1 src/sys/ia64/conf/SKI 1.31 +40 -100 src/sys/ia64/ia64/ssc.c 1.294 +1 -1 src/sys/kern/init_main.c 1.241 +2 -1 src/sys/kern/init_sysent.c 1.99 +3 -3 src/sys/kern/kern_acct.c 1.220 +0 -11 src/sys/kern/kern_conf.c 1.337 +12 -0 src/sys/kern/kern_descrip.c 1.312 +28 -34 src/sys/kern/kern_exit.c 1.266 +30 -27 src/sys/kern/kern_proc.c 1.190 +25 -0 src/sys/kern/kern_resource.c 1.131 +14 -10 src/sys/kern/subr_prf.c 1.225 +2 -1 src/sys/kern/syscalls.c 1.244 +1 -0 src/sys/kern/syscalls.master 1.25 +27 -0 src/sys/kern/systrace_args.c 1.282 +1374 -2852 src/sys/kern/tty.c 1.40 +32 -23 src/sys/kern/tty_compat.c 1.25 +0 -205 src/sys/kern/tty_conf.c (dead) 1.145 +12 -3 src/sys/kern/tty_cons.c 1.2 +4 -10 src/sys/kern/tty_info.c 1.1 +502 -0 src/sys/kern/tty_inq.c (new) 1.1 +365 -0 src/sys/kern/tty_outq.c (new) 1.19 +516 -783 src/sys/kern/tty_pts.c 1.160 +60 -752 src/sys/kern/tty_pty.c 1.1 +1131 -0 src/sys/kern/tty_ttydisc.c (new) 1.4 +0 -9 src/sys/modules/nmdm/Makefile 1.4 +1 -6 src/sys/modules/rc/Makefile 1.18 +1 -1 src/sys/pc98/cbus/scterm-sck.c 1.309 +2 -2 src/sys/pc98/conf/GENERIC 1.93 +1 -1 src/sys/pc98/conf/NOTES 1.82 +1 -1 src/sys/powerpc/conf/GENERIC 1.140 +1 -1 src/sys/sparc64/conf/GENERIC 1.21 +1 -1 src/sys/sun4v/conf/GENERIC 1.9 +49 -113 src/sys/sun4v/sun4v/hvcons.c 1.243 +0 -3 src/sys/sys/conf.h 1.81 +1 -0 src/sys/sys/file.h 1.193 +0 -141 src/sys/sys/linedisc.h (dead) 1.363 +1 -1 src/sys/sys/param.h 1.518 +4 -5 src/sys/sys/proc.h 1.33 +2 -1 src/sys/sys/resource.h 1.54 +2 -0 src/sys/sys/resourcevar.h 1.222 +3 -2 src/sys/sys/syscall.h 1.177 +3 -2 src/sys/sys/syscall.mk 1.226 +6 -1 src/sys/sys/sysproto.h 1.23 +13 -6 src/sys/sys/termios.h 1.104 +5 -18 src/sys/sys/tty.h 1.28 +2 -1 src/sys/sys/ttycom.h 1.21 +1 -0 src/sys/sys/ttydefaults.h 1.1 +158 -0 src/sys/sys/ttydevsw.h (new) 1.1 +105 -0 src/sys/sys/ttydisc.h (new) 1.1 +157 -0 src/sys/sys/ttyqueue.h (new) 1.77 +1 -0 src/sys/sys/user.h 1.70 +52 -0 src/usr.bin/fstat/fstat.c 1.6 +3 -1 src/usr.bin/procstat/procstat.1 1.7 +5 -0 src/usr.bin/procstat/procstat_files.c 1.50 +39 -76 src/usr.sbin/pstat/pstat.8 1.105 +53 -87 src/usr.sbin/pstat/pstat.c From rwatson at FreeBSD.org Wed Aug 20 08:38:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Aug 20 08:38:52 2008 Subject: cvs commit: src ObsoleteFiles.inc UPDATING src/bin/sh miscbltin.c src/etc login.conf src/etc/defaults devfs.rules src/lib/libc/stdlib Makefile.inc Symbol.map grantpt.3 ptsname.3 ptsname.c src/lib/libc/sys Makefile.inc Symbol.map getrlimit.2 ... In-Reply-To: <200808200836.m7K8aoi3023764@repoman.freebsd.org> References: <200808200836.m7K8aoi3023764@repoman.freebsd.org> Message-ID: On Wed, 20 Aug 2008, Ed Schouten wrote: > SVN rev 181905 on 2008-08-20 08:31:58Z by ed > > Integrate the new MPSAFE TTY layer to the FreeBSD operating system. > > The last half year I've been working on a replacement TTY layer for the > FreeBSD kernel. The new TTY layer was designed to improve the following: Many congratulations on a commit that was a long time in coming! We all really appreciate your picking this up and not only dealing with the long-standing problem of a lack of MPSAFE tty support, but also in adding new features such as revised pty code, etc! Now to exercise it a bit and keep you busy on bizarre tty behavior quirks for months :-). Robert N M Watson Computer Laboratory University of Cambridge > > - Improved driver model: > > The old TTY layer has a driver model that is not abstract enough to > make it friendly to use. A good example is the output path, where the > device drivers directly access the output buffers. This means that an > in-kernel PPP implementation must always convert network buffers into > TTY buffers. > > If a PPP implementation would be built on top of the new TTY layer > (still needs a hooks layer, though), it would allow the PPP > implementation to directly hand the data to the TTY driver. > > - Improved hotplugging: > > With the old TTY layer, it isn't entirely safe to destroy TTY's from > the system. This implementation has a two-step destructing design, > where the driver first abandons the TTY. After all threads have left > the TTY, the TTY layer calls a routine in the driver, which can be > used to free resources (unit numbers, etc). > > The pts(4) driver also implements this feature, which means > posix_openpt() will now return PTY's that are created on the fly. > > - Improved performance: > > One of the major improvements is the per-TTY mutex, which is expected > to improve scalability when compared to the old Giant locking. > Another change is the unbuffered copying to userspace, which is both > used on TTY device nodes and PTY masters. > > Upgrading should be quite straightforward. Unlike previous versions, > existing kernel configuration files do not need to be changed, except > when they reference device drivers that are listed in UPDATING. > > Obtained from: //depot/projects/mpsafetty/... > Approved by: philip (ex-mentor) > Discussed: on the lists, at BSDCan, at the DevSummit > Sponsored by: Snow B.V., the Netherlands > dcons(4) fixed by: kan > > Revision Changes Path > 1.155 +3 -0 src/ObsoleteFiles.inc > 1.539 +19 -0 src/UPDATING > 1.36 +4 -1 src/bin/sh/miscbltin.c > 1.6 +2 -1 src/etc/defaults/devfs.rules > 1.52 +1 -0 src/etc/login.conf > 1.55 +6 -6 src/lib/libc/stdlib/Makefile.inc > 1.8 +0 -1 src/lib/libc/stdlib/Symbol.map > 1.4 +0 -225 src/lib/libc/stdlib/grantpt.3 (dead) > 1.1 +160 -0 src/lib/libc/stdlib/ptsname.3 (new) > 1.1 +95 -0 src/lib/libc/stdlib/ptsname.c (new) > 1.137 +2 -2 src/lib/libc/sys/Makefile.inc > 1.18 +1 -0 src/lib/libc/sys/Symbol.map > 1.25 +3 -1 src/lib/libc/sys/getrlimit.2 > 1.1 +135 -0 src/lib/libc/sys/posix_openpt.2 (new) > 1.62 +3 -2 src/lib/libutil/login.conf.5 > 1.27 +13 -12 src/lib/libutil/login_class.c > 1.426 +1 -0 src/share/man/man4/Makefile > 1.57 +7 -1 src/share/man/man4/ddb.4 > 1.1 +181 -0 src/share/man/man4/pts.4 (new) > 1.20 +48 -201 src/share/man/man4/pty.4 > 1.34 +20 -4 src/share/man/man4/termios.4 > 1.507 +1 -1 src/sys/amd64/conf/GENERIC > 1.14 +1 -0 src/sys/bsm/audit_kevents.h > 1.86 +2 -1 src/sys/compat/freebsd32/freebsd32_syscall.h > 1.77 +1 -0 src/sys/compat/freebsd32/freebsd32_syscalls.c > 1.87 +1 -0 src/sys/compat/freebsd32/freebsd32_sysent.c > 1.102 +1 -0 src/sys/compat/freebsd32/syscalls.master > 1.142 +7 -2 src/sys/compat/linux/linux_ioctl.c > 1.93 +11 -1 src/sys/compat/linux/linux_stats.c > 1.1504 +1 -8 src/sys/conf/NOTES > 1.1331 +5 -3 src/sys/conf/files > 1.636 +1 -1 src/sys/conf/options > 1.7 +1 -1 src/sys/dev/dcons/dcons.h > 1.23 +48 -345 src/sys/dev/dcons/dcons_os.c > 1.41 +158 -252 src/sys/dev/nmdm/nmdm.c > 1.40 +32 -111 src/sys/dev/ofw/ofw_console.c > 1.21 +3 -4 src/sys/dev/syscons/schistory.c > 1.43 +2 -3 src/sys/dev/syscons/scmouse.c > 1.24 +1 -1 src/sys/dev/syscons/scterm-sc.c > 1.26 +4 -8 src/sys/dev/syscons/scvesactl.c > 1.40 +6 -12 src/sys/dev/syscons/scvidctl.c > 1.461 +156 -171 src/sys/dev/syscons/syscons.c > 1.91 +15 -9 src/sys/dev/syscons/syscons.h > 1.31 +32 -103 src/sys/dev/syscons/sysmouse.c > 1.25 +1 -2 src/sys/dev/uart/uart_core.c > 1.30 +72 -93 src/sys/dev/uart/uart_tty.c > 1.67 +131 -203 src/sys/dev/usb/ucom.c > 1.11 +5 -3 src/sys/dev/usb/ucomvar.h > 1.39 +16 -11 src/sys/dev/usb/uftdi.c > 1.72 +2 -2 src/sys/dev/usb/umodem.c > 1.165 +0 -3 src/sys/fs/devfs/devfs_vnops.c > 1.497 +1 -1 src/sys/i386/conf/GENERIC > 1.10 +1 -1 src/sys/i386/conf/XBOX > 1.32 +17 -2 src/sys/i386/ibcs2/ibcs2_ioctl.c > 1.99 +1 -1 src/sys/ia64/conf/GENERIC > 1.26 +1 -1 src/sys/ia64/conf/SKI > 1.31 +40 -100 src/sys/ia64/ia64/ssc.c > 1.294 +1 -1 src/sys/kern/init_main.c > 1.241 +2 -1 src/sys/kern/init_sysent.c > 1.99 +3 -3 src/sys/kern/kern_acct.c > 1.220 +0 -11 src/sys/kern/kern_conf.c > 1.337 +12 -0 src/sys/kern/kern_descrip.c > 1.312 +28 -34 src/sys/kern/kern_exit.c > 1.266 +30 -27 src/sys/kern/kern_proc.c > 1.190 +25 -0 src/sys/kern/kern_resource.c > 1.131 +14 -10 src/sys/kern/subr_prf.c > 1.225 +2 -1 src/sys/kern/syscalls.c > 1.244 +1 -0 src/sys/kern/syscalls.master > 1.25 +27 -0 src/sys/kern/systrace_args.c > 1.282 +1374 -2852 src/sys/kern/tty.c > 1.40 +32 -23 src/sys/kern/tty_compat.c > 1.25 +0 -205 src/sys/kern/tty_conf.c (dead) > 1.145 +12 -3 src/sys/kern/tty_cons.c > 1.2 +4 -10 src/sys/kern/tty_info.c > 1.1 +502 -0 src/sys/kern/tty_inq.c (new) > 1.1 +365 -0 src/sys/kern/tty_outq.c (new) > 1.19 +516 -783 src/sys/kern/tty_pts.c > 1.160 +60 -752 src/sys/kern/tty_pty.c > 1.1 +1131 -0 src/sys/kern/tty_ttydisc.c (new) > 1.4 +0 -9 src/sys/modules/nmdm/Makefile > 1.4 +1 -6 src/sys/modules/rc/Makefile > 1.18 +1 -1 src/sys/pc98/cbus/scterm-sck.c > 1.309 +2 -2 src/sys/pc98/conf/GENERIC > 1.93 +1 -1 src/sys/pc98/conf/NOTES > 1.82 +1 -1 src/sys/powerpc/conf/GENERIC > 1.140 +1 -1 src/sys/sparc64/conf/GENERIC > 1.21 +1 -1 src/sys/sun4v/conf/GENERIC > 1.9 +49 -113 src/sys/sun4v/sun4v/hvcons.c > 1.243 +0 -3 src/sys/sys/conf.h > 1.81 +1 -0 src/sys/sys/file.h > 1.193 +0 -141 src/sys/sys/linedisc.h (dead) > 1.363 +1 -1 src/sys/sys/param.h > 1.518 +4 -5 src/sys/sys/proc.h > 1.33 +2 -1 src/sys/sys/resource.h > 1.54 +2 -0 src/sys/sys/resourcevar.h > 1.222 +3 -2 src/sys/sys/syscall.h > 1.177 +3 -2 src/sys/sys/syscall.mk > 1.226 +6 -1 src/sys/sys/sysproto.h > 1.23 +13 -6 src/sys/sys/termios.h > 1.104 +5 -18 src/sys/sys/tty.h > 1.28 +2 -1 src/sys/sys/ttycom.h > 1.21 +1 -0 src/sys/sys/ttydefaults.h > 1.1 +158 -0 src/sys/sys/ttydevsw.h (new) > 1.1 +105 -0 src/sys/sys/ttydisc.h (new) > 1.1 +157 -0 src/sys/sys/ttyqueue.h (new) > 1.77 +1 -0 src/sys/sys/user.h > 1.70 +52 -0 src/usr.bin/fstat/fstat.c > 1.6 +3 -1 src/usr.bin/procstat/procstat.1 > 1.7 +5 -0 src/usr.bin/procstat/procstat_files.c > 1.50 +39 -76 src/usr.sbin/pstat/pstat.8 > 1.105 +53 -87 src/usr.sbin/pstat/pstat.c > From ed at FreeBSD.org Wed Aug 20 08:39:43 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 08:39:54 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c src/sys/kern init_sysent.c syscalls.c src/sys/sys syscall.h syscall.mk sysproto.h Message-ID: <200808200839.m7K8dgTq024171@repoman.freebsd.org> ed 2008-08-20 08:39:10 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c sys/kern init_sysent.c syscalls.c sys/sys syscall.h syscall.mk sysproto.h Log: SVN rev 181906 on 2008-08-20 08:39:10Z by ed Update system call tables. The previous commit also included changes to all the system call lists, but it is a tradition to update these lists in a second commit, so rerun make sysent to update the $FreeBSD$ tags inside these files to refer to the latest version of syscalls.master. Requested by: rwatson Revision Changes Path 1.88 +1 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.87 +1 -1 src/sys/compat/freebsd32/freebsd32_syscall.h 1.78 +1 -1 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.88 +1 -1 src/sys/compat/freebsd32/freebsd32_sysent.c 1.242 +1 -1 src/sys/kern/init_sysent.c 1.226 +1 -1 src/sys/kern/syscalls.c 1.223 +1 -1 src/sys/sys/syscall.h 1.178 +1 -1 src/sys/sys/syscall.mk 1.227 +1 -1 src/sys/sys/sysproto.h From ed at FreeBSD.org Wed Aug 20 08:45:02 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 08:45:08 2008 Subject: cvs commit: src/sys/sys tty.h Message-ID: <200808200844.m7K8ixWA027344@repoman.freebsd.org> ed 2008-08-20 08:44:52 UTC FreeBSD src repository Modified files: sys/sys tty.h Log: SVN rev 181907 on 2008-08-20 08:44:52Z by ed Correct misbehaviour of patching sys/sys/tty.h. For some reason, sys/sys/tty.h was only half patched. This went by unnoticed, because the copyright notice on the top already displayed my name, so I thought the file went in properly. Reported by: kmacy Revision Changes Path 1.105 +141 -360 src/sys/sys/tty.h From ed at FreeBSD.org Wed Aug 20 09:03:15 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 09:03:30 2008 Subject: cvs commit: src/sys/dev/xen/console console.c Message-ID: <200808200903.m7K93FAF039177@repoman.freebsd.org> ed 2008-08-20 09:03:03 UTC FreeBSD src repository Modified files: sys/dev/xen/console console.c Log: SVN rev 181908 on 2008-08-20 09:03:03Z by ed Integrate the Xen console driver. I initially didn't want to integrate the Xen console driver, because it did not receive any testing. Kip Macy suggested that I'd better check it in right now, because this is the easiest way for him to test it while he is working on the Xen import. Requested by: kmacy Revision Changes Path 1.3 +36 -165 src/sys/dev/xen/console/console.c From kmacy at FreeBSD.org Wed Aug 20 09:03:31 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:03:56 2008 Subject: cvs commit: src/sys/dev/xen/netfront netfront.c Message-ID: <200808200903.m7K93V2U039226@repoman.freebsd.org> kmacy 2008-08-20 09:03:23 UTC FreeBSD src repository Modified files: sys/dev/xen/netfront netfront.c Log: SVN rev 181909 on 2008-08-20 09:03:23Z by kmacy register netfront before xenbus does its probing MFC after: 1 month Revision Changes Path 1.2 +1 -1 src/sys/dev/xen/netfront/netfront.c From kmacy at FreeBSD.org Wed Aug 20 09:12:02 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:12:08 2008 Subject: cvs commit: src/sys/dev/xen/netfront netfront.c Message-ID: <200808200912.m7K9C2ot040143@repoman.freebsd.org> kmacy 2008-08-20 09:11:58 UTC FreeBSD src repository Modified files: sys/dev/xen/netfront netfront.c Log: SVN rev 181910 on 2008-08-20 09:11:58Z by kmacy include vmparam.h for KERNBASE and fix typo Revision Changes Path 1.3 +3 -2 src/sys/dev/xen/netfront/netfront.c From kmacy at FreeBSD.org Wed Aug 20 09:17:06 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:17:12 2008 Subject: cvs commit: src/sys/i386/i386 machdep.c vm_machdep.c src/sys/i386/include cpufunc.h src/sys/i386/xen xen_machdep.c Message-ID: <200808200917.m7K9H6eK040701@repoman.freebsd.org> kmacy 2008-08-20 09:16:46 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c vm_machdep.c sys/i386/include cpufunc.h sys/i386/xen xen_machdep.c Log: SVN rev 181911 on 2008-08-20 09:16:46Z by kmacy - clean up interrupt handling for xen a tiny bit - parse the command line in to kenv - defer shutdown watcher until later in boot MFC after: 1 month Revision Changes Path 1.674 +2 -2 src/sys/i386/i386/machdep.c 1.288 +8 -1 src/sys/i386/i386/vm_machdep.c 1.149 +3 -3 src/sys/i386/include/cpufunc.h 1.6 +11 -6 src/sys/i386/xen/xen_machdep.c From kmacy at FreeBSD.org Wed Aug 20 09:20:21 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:20:33 2008 Subject: cvs commit: src/sys/xen/xenbus xenbus_client.c xenbus_probe.c xenbus_xs.c Message-ID: <200808200920.m7K9KLYu042535@repoman.freebsd.org> kmacy 2008-08-20 09:20:12 UTC FreeBSD src repository Modified files: sys/xen/xenbus xenbus_client.c xenbus_probe.c xenbus_xs.c Log: SVN rev 181912 on 2008-08-20 09:20:12Z by kmacy - add more debug cruft to xenbus - probe backend - separate probing from initialization - add xenbus_strstate - replace pause with tsleep (which should probably be cv_wait) Revision Changes Path 1.3 +15 -0 src/sys/xen/xenbus/xenbus_client.c 1.4 +15 -5 src/sys/xen/xenbus/xenbus_probe.c 1.5 +17 -8 src/sys/xen/xenbus/xenbus_xs.c From kmacy at FreeBSD.org Wed Aug 20 09:21:37 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:21:49 2008 Subject: cvs commit: src/sys/kern init_main.c Message-ID: <200808200921.m7K9LbI0042660@repoman.freebsd.org> kmacy 2008-08-20 09:21:24 UTC FreeBSD src repository Modified files: sys/kern init_main.c Log: SVN rev 181913 on 2008-08-20 09:21:24Z by kmacy remove scheduler_running as xenbus no longer needs it MFC after: 1 month Revision Changes Path 1.295 +0 -3 src/sys/kern/init_main.c From kmacy at FreeBSD.org Wed Aug 20 09:22:53 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:23:06 2008 Subject: cvs commit: src/sys/dev/xen/blkfront blkfront.c Message-ID: <200808200922.m7K9Mrko042804@repoman.freebsd.org> kmacy 2008-08-20 09:22:37 UTC FreeBSD src repository Modified files: sys/dev/xen/blkfront blkfront.c Log: SVN rev 181914 on 2008-08-20 09:22:37Z by kmacy mark blkfront_info as ready MFC after: 1 month Revision Changes Path 1.3 +2 -1 src/sys/dev/xen/blkfront/blkfront.c From ed at FreeBSD.org Wed Aug 20 09:43:57 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 09:44:03 2008 Subject: cvs commit: src/lib/libc/stdlib grantpt.c Message-ID: <200808200943.m7K9hscU044994@repoman.freebsd.org> ed 2008-08-20 09:43:46 UTC FreeBSD src repository Removed files: lib/libc/stdlib grantpt.c Log: SVN rev 181915 on 2008-08-20 09:43:46Z by ed Remove grantpt.c, which should have been deleted in the MPSAFE TTY commit. The routines in grantpt.c have been moved to ptsname.c in the MPSAFE TTY layer, because grantpt() is now effectively a no-op. I forgot to remove the corresponding source file from libc. Revision Changes Path 1.15 +0 -286 src/lib/libc/stdlib/grantpt.c (dead) From kmacy at FreeBSD.org Wed Aug 20 09:47:56 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 09:48:02 2008 Subject: cvs commit: src/sys/dev/xen/console console.c src/sys/dev/xen/netfront netfront.c Message-ID: <200808200947.m7K9ltv4045360@repoman.freebsd.org> kmacy 2008-08-20 09:47:49 UTC FreeBSD src repository Modified files: sys/dev/xen/console console.c sys/dev/xen/netfront netfront.c Log: SVN rev 181916 on 2008-08-20 09:47:49Z by kmacy change netfront to match xen31_6 fix console locking Revision Changes Path 1.4 +1 -1 src/sys/dev/xen/console/console.c 1.4 +2 -2 src/sys/dev/xen/netfront/netfront.c From kmacy at FreeBSD.org Wed Aug 20 10:07:26 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 10:07:32 2008 Subject: cvs commit: src/sys/i386/conf XEN Message-ID: <200808201007.m7KA7Qkv048477@repoman.freebsd.org> kmacy 2008-08-20 10:07:10 UTC FreeBSD src repository Modified files: sys/i386/conf XEN Log: SVN rev 181917 on 2008-08-20 10:07:10Z by kmacy set MCLSHIFT to correspond to page size MFC after: 1 month Revision Changes Path 1.3 +1 -0 src/sys/i386/conf/XEN From des at FreeBSD.org Wed Aug 20 10:40:15 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Aug 20 10:40:29 2008 Subject: cvs commit: src/crypto/openssh readconf.c Message-ID: <200808201040.m7KAeDxX051115@repoman.freebsd.org> des 2008-08-20 10:40:07 UTC FreeBSD src repository Modified files: crypto/openssh readconf.c Log: SVN rev 181918 on 2008-08-20 10:40:07Z by des Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED. Submitted upstream, no reaction. Submitted by: delphij@ MFC after: 2 weeks Revision Changes Path 1.30 +14 -1 src/crypto/openssh/readconf.c From philip at FreeBSD.org Wed Aug 20 11:33:50 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Wed Aug 20 11:34:01 2008 Subject: cvs commit: src/sys/conf files.i386 src/sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/glxsb Makefile Message-ID: <200808201133.m7KBXo9k056948@repoman.freebsd.org> philip 2008-08-20 11:33:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files.i386 sys/i386/conf NOTES sys/modules Makefile Added files: (Branch: RELENG_7) sys/dev/glxsb glxsb.c glxsb.h glxsb_hash.c sys/modules/glxsb Makefile Log: SVN rev 181919 on 2008-08-20 11:33:13Z by philip MFC r181467, r181593: Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as found in Soekris hardware, for instance). The hardware supports acceleration of AES-128-CBC accessible through crypto(4) and supplies entropy to random(4). Revision Changes Path 1.580.2.7 +2 -0 src/sys/conf/files.i386 1.2.2.1 +941 -0 src/sys/dev/glxsb/glxsb.c (new) 1.1.2.1 +57 -0 src/sys/dev/glxsb/glxsb.h (new) 1.2.2.1 +182 -0 src/sys/dev/glxsb/glxsb_hash.c (new) 1.1244.2.5 +6 -0 src/sys/i386/conf/NOTES 1.540.2.19 +2 -0 src/sys/modules/Makefile 1.1.2.1 +9 -0 src/sys/modules/glxsb/Makefile (new) From rpaulo at FreeBSD.org Wed Aug 20 11:48:07 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Aug 20 11:48:13 2008 Subject: cvs commit: src/share/man/man4 Makefile acpi_asus.4 Message-ID: <200808201148.m7KBm66C058090@repoman.freebsd.org> rpaulo 2008-08-20 11:48:04 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Removed files: share/man/man4 acpi_asus.4 Log: SVN rev 181920 on 2008-08-20 11:48:04Z by rpaulo Revert r181886. A man page already exists in man.i386. I didn't notice it because I was on amd64. Pointy hat to: me Pointed out by: several Revision Changes Path 1.427 +0 -2 src/share/man/man4/Makefile 1.2 +0 -136 src/share/man/man4/acpi_asus.4 (dead) From ed at FreeBSD.org Wed Aug 20 12:21:26 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 12:21:38 2008 Subject: cvs commit: src/sys/kern kern_synch.c src/sys/sys kernel.h Message-ID: <200808201221.m7KCLQ9X062010@repoman.freebsd.org> ed 2008-08-20 12:20:22 UTC FreeBSD src repository Modified files: sys/kern kern_synch.c sys/sys kernel.h Log: SVN rev 181921 on 2008-08-20 12:20:22Z by ed Remove the now unused `lbolt' variable from the kernel. We used to have a single wait channel inside the kernel which could be used by threads that just wanted to sleep for some time (the next second). The old TTY layer was the only piece of code that still used lbolt, because I already removed the use of lbolt from the NFS clients and the VFS syncer. Approved by: philip Revision Changes Path 1.314 +3 -15 src/sys/kern/kern_synch.c 1.144 +0 -1 src/sys/sys/kernel.h From rwatson at FreeBSD.org Wed Aug 20 12:31:09 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Aug 20 12:31:22 2008 Subject: cvs commit: src/crypto/openssh readconf.c In-Reply-To: <200808201040.m7KAeDxX051115@repoman.freebsd.org> References: <200808201040.m7KAeDxX051115@repoman.freebsd.org> Message-ID: On Wed, 20 Aug 2008, Dag-Erling Smorgrav wrote: > des 2008-08-20 10:40:07 UTC > > FreeBSD src repository > > Modified files: > crypto/openssh readconf.c > Log: > SVN rev 181918 on 2008-08-20 10:40:07Z by des > > Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED. > Submitted upstream, no reaction. > > Submitted by: delphij@ > MFC after: 2 weeks While better than what was there before, I still think that this code is incorrect. SSH should be using the user credential to create and bind forwarding sockets, not the root credential, and should not be attempting to guess the kernel's policy, even if that guess is now a bit more informed. However, I guess that more complete and desirable fix is more complicated... Robert N M Watson Computer Laboratory University of Cambridge From ache at FreeBSD.org Wed Aug 20 12:32:22 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Wed Aug 20 12:32:38 2008 Subject: cvs commit: src/usr.bin/w pr_time.c Message-ID: <200808201232.m7KCWMKO063028@repoman.freebsd.org> ache 2008-08-20 12:32:19 UTC FreeBSD src repository Modified files: usr.bin/w pr_time.c Log: SVN rev 181922 on 2008-08-20 12:32:19Z by ache w(1) uses strftime %b with to print the abbreviated month name if a user logged in more than a week ago. This may contain multibyte characters (e.g. when using UTF-8). This string is then aligned on byte-length rathern than char-length, resulting in misalignment and unfinished multibyte characters. PR: 126657 Submitted by: Johan van Selst Revision Changes Path 1.20 +2 -1 src/usr.bin/w/pr_time.c From rpaulo at FreeBSD.org Wed Aug 20 12:37:09 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Aug 20 12:37:15 2008 Subject: cvs commit: src/share/man/man4/man4.i386 acpi_asus.4 Message-ID: <200808201237.m7KCb81D063553@repoman.freebsd.org> rpaulo 2008-08-20 12:36:53 UTC FreeBSD src repository Modified files: share/man/man4/man4.i386 acpi_asus.4 Log: SVN rev 181923 on 2008-08-20 12:36:53Z by rpaulo Add Eee PC. Revision Changes Path 1.15 +3 -1 src/share/man/man4/man4.i386/acpi_asus.4 From rpaulo at FreeBSD.org Wed Aug 20 13:04:41 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Wed Aug 20 13:05:55 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200808201304.m7KD4e9p076742@repoman.freebsd.org> rpaulo 2008-08-20 13:04:27 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Log: SVN rev 181924 on 2008-08-20 13:04:27Z by rpaulo Instal k8temp(4) man page only on amd64 and i386. MFC after: 1 week Revision Changes Path 1.428 +2 -1 src/share/man/man4/Makefile From remko at FreeBSD.org Wed Aug 20 13:15:12 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Aug 20 13:15:24 2008 Subject: cvs commit: src/sys/dev/usb ubsa.c usbdevs Message-ID: <200808201315.m7KDFBV7077672@repoman.freebsd.org> remko 2008-08-20 13:14:58 UTC FreeBSD src repository Modified files: sys/dev/usb ubsa.c usbdevs Log: SVN rev 181925 on 2008-08-20 13:14:58Z by remko Bring in support for the MC8755 Sierra UMTS card. Submitted by: Robert Blacquiere Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.39 +2 -0 src/sys/dev/usb/ubsa.c 1.366 +1 -0 src/sys/dev/usb/usbdevs From kensmith at FreeBSD.org Wed Aug 20 13:21:13 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Wed Aug 20 13:21:24 2008 Subject: cvs commit: src/usr.sbin/sysinstall install.c media.c options.c sysinstall.h tape.c Message-ID: <200808201321.m7KDLCmQ078267@repoman.freebsd.org> kensmith 2008-08-20 13:21:04 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall install.c media.c options.c sysinstall.h tape.c Log: SVN rev 181926 on 2008-08-20 13:21:04Z by kensmith Remove sysinstall's ability to adjust the tape block size. Installs from tape have been broken for quite a while, and I'll be removing the rest of sysinstall's knowledge of tapes shortly. I'm doing this piece now because I want to switch from gnu's cpio to bsdcpio being integrated into the installation environment and bsdcpio doesn't seem to handle block sizes at all. Revision Changes Path 1.374 +0 -1 src/usr.sbin/sysinstall/install.c 1.125 +4 -4 src/usr.sbin/sysinstall/media.c 1.83 +0 -3 src/usr.sbin/sysinstall/options.c 1.277 +0 -3 src/usr.sbin/sysinstall/sysinstall.h 1.25 +2 -10 src/usr.sbin/sysinstall/tape.c From kensmith at FreeBSD.org Wed Aug 20 13:35:50 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Wed Aug 20 13:35:56 2008 Subject: cvs commit: src/release/amd64 boot_crunch.conf src/release/i386 boot_crunch.conf src/release/ia64 boot_crunch.conf src/release/pc98 boot_crunch.conf src/release/powerpc boot_crunch.conf src/release/sparc64 boot_crunch.conf ... Message-ID: <200808201335.m7KDZnjY079514@repoman.freebsd.org> kensmith 2008-08-20 13:35:39 UTC FreeBSD src repository Modified files: release/amd64 boot_crunch.conf release/i386 boot_crunch.conf release/ia64 boot_crunch.conf release/pc98 boot_crunch.conf release/powerpc boot_crunch.conf release/sparc64 boot_crunch.conf release/sun4v boot_crunch.conf Log: SVN rev 181927 on 2008-08-20 13:35:39Z by kensmith Recent work on the gnu cpio seems to have introduced some bugs, it complains about "Malformed numbers" while unpacking the dists and what winds up on the disk isn't correct. Use this as an opportunity to switch over to bsdcpio since at this point we don't even build and install the gnu cpio by default. Note sysinstall needed to be tweaked a bit (dropping tape block size setting) because it seems bsdcpio doesn't do anything with block sizes, at least as far as reading from archives goes. That wasn't really a problem since installations from tape have been broken for a while and the rest of sysinstall's tape support code will be removed shortly. Revision Changes Path 1.64 +2 -4 src/release/amd64/boot_crunch.conf 1.64 +2 -4 src/release/i386/boot_crunch.conf 1.15 +2 -4 src/release/ia64/boot_crunch.conf 1.65 +2 -3 src/release/pc98/boot_crunch.conf 1.7 +2 -4 src/release/powerpc/boot_crunch.conf 1.11 +2 -3 src/release/sparc64/boot_crunch.conf 1.4 +2 -3 src/release/sun4v/boot_crunch.conf From philip at FreeBSD.org Wed Aug 20 14:16:21 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Wed Aug 20 14:16:34 2008 Subject: cvs commit: src/share/man/man4/man4.i386 Makefile glxsb.4 Message-ID: <200808201416.m7KEGLsF091596@repoman.freebsd.org> philip 2008-08-20 14:16:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4/man4.i386 Makefile Added files: (Branch: RELENG_7) share/man/man4/man4.i386 glxsb.4 Log: SVN rev 181928 on 2008-08-20 14:16:07Z by philip MFC r181468-181469,181594: Add the glxsb(4) manual page. Revision Changes Path 1.185.2.1 +1 -0 src/share/man/man4/man4.i386/Makefile 1.3.2.1 +97 -0 src/share/man/man4/man4.i386/glxsb.4 (new) From kientzle at FreeBSD.org Wed Aug 20 16:39:23 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Aug 20 16:39:35 2008 Subject: cvs commit: src/usr.bin/cpio cpio.c Message-ID: <200808201639.m7KGdMSx010987@repoman.freebsd.org> kientzle 2008-08-20 16:39:18 UTC FreeBSD src repository Modified files: usr.bin/cpio cpio.c Log: SVN rev 181929 on 2008-08-20 16:39:18Z by kientzle cpio should restore file flags and ACLs when they're available Revision Changes Path 1.11 +2 -0 src/usr.bin/cpio/cpio.c From jhb at FreeBSD.org Wed Aug 20 17:44:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 17:44:35 2008 Subject: cvs commit: src/sys/amd64/amd64 db_disasm.c src/sys/i386/i386 db_disasm.c Message-ID: <200808201744.m7KHiRrG035494@repoman.freebsd.org> jhb 2008-08-20 17:44:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 db_disasm.c sys/i386/i386 db_disasm.c Log: SVN rev 181930 on 2008-08-20 17:44:02Z by jhb MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386. Revision Changes Path 1.31.2.1 +68 -9 src/sys/amd64/amd64/db_disasm.c 1.29.10.1 +84 -10 src/sys/i386/i386/db_disasm.c From jhb at FreeBSD.org Wed Aug 20 17:51:14 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 17:51:20 2008 Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c Message-ID: <200808201751.m7KHpDNs036050@repoman.freebsd.org> jhb 2008-08-20 17:50:59 UTC FreeBSD src repository Modified files: sys/i386/pci pci_cfgreg.c Log: SVN rev 181931 on 2008-08-20 17:50:59Z by jhb Use switch statements instead of if-else for enabling PCI-express config space support. MFC after: 1 week Revision Changes Path 1.128 +9 -3 src/sys/i386/pci/pci_cfgreg.c From jhb at FreeBSD.org Wed Aug 20 18:02:52 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 18:03:06 2008 Subject: cvs commit: src/sys/amd64/amd64 db_disasm.c src/sys/i386/i386 db_disasm.c Message-ID: <200808201802.m7KI2qlr037053@repoman.freebsd.org> jhb 2008-08-20 18:01:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/amd64 db_disasm.c sys/i386/i386 db_disasm.c Log: SVN rev 181932 on 2008-08-20 18:01:59Z by jhb MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386. Revision Changes Path 1.30.2.2 +68 -9 src/sys/amd64/amd64/db_disasm.c 1.29.2.1 +84 -10 src/sys/i386/i386/db_disasm.c From jhb at FreeBSD.org Wed Aug 20 18:18:24 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 18:18:36 2008 Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c Message-ID: <200808201818.m7KIIOlW043865@repoman.freebsd.org> jhb 2008-08-20 18:18:17 UTC FreeBSD src repository Modified files: sys/i386/pci pci_cfgreg.c Log: SVN rev 181933 on 2008-08-20 18:18:17Z by jhb - Add support for memory mapped PCI config space access on Intel 915GM and 5000P/V/Z chipsets. - If the base address of the config space BAR is above 4GB for some reason and this isn't a PAE kernel, then warn about this (under bootverbose) and don't use the BAR. PR: kern/126525 Submitted by: Arthur Hartwig @ Nokia MFC after: 2 weeks Revision Changes Path 1.129 +23 -3 src/sys/i386/pci/pci_cfgreg.c From jhb at FreeBSD.org Wed Aug 20 18:30:12 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 18:30:24 2008 Subject: cvs commit: src/sys/dev/pci pci_pci.c pcireg.h Message-ID: <200808201830.m7KIU9u6044838@repoman.freebsd.org> jhb 2008-08-20 18:29:59 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c pcireg.h Log: SVN rev 181934 on 2008-08-20 18:29:59Z by jhb The config space registers holding the upper 32-bits of the prefetchable memory area's base and limit are optional. The low 4-bits of the "low" prefetchable registers indicates whether or not a 32-bit or 64-bit region is supported. The PCI-PCI driver had been assuming that all bridges supported a 64-bit region (and thus the two upper 32-bit registers). Fix the driver to only use those registers if the low 4-bits of the "low" registers indicate that a 64-bit region is supported. The PCI-PCI bridge in the XBox happens to be a bridge that only supports a 32-bit region. Reported by: rink MFC after: 1 week Revision Changes Path 1.55 +16 -4 src/sys/dev/pci/pci_pci.c 1.65 +3 -0 src/sys/dev/pci/pcireg.h From jhb at FreeBSD.org Wed Aug 20 18:33:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 18:34:15 2008 Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Message-ID: <200808201833.m7KIXrqe045207@repoman.freebsd.org> jhb 2008-08-20 18:33:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cpufreq ichss.c sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Log: SVN rev 181935 on 2008-08-20 18:33:09Z by jhb MFC: Attach the cpufreq child devices with specific orders to enforce relative priority of some of the drivers that manage the same state (e.g. ichss0 vs est0). Revision Changes Path 1.10.2.2 +1 -1 src/sys/dev/cpufreq/ichss.c 1.11.2.6 +1 -1 src/sys/i386/cpufreq/est.c 1.12.2.2 +1 -1 src/sys/i386/cpufreq/p4tcc.c 1.4.2.1 +1 -1 src/sys/i386/cpufreq/powernow.c 1.2.2.1 +1 -1 src/sys/i386/cpufreq/smist.c From jhb at FreeBSD.org Wed Aug 20 19:08:33 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Aug 20 19:08:39 2008 Subject: cvs commit: src/sys/kern kern_condvar.c kern_synch.c kern_timeout.c subr_sleepqueue.c src/sys/sys sleepqueue.h Message-ID: <200808201908.m7KJ8WS8051531@repoman.freebsd.org> jhb 2008-08-20 19:07:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_condvar.c kern_synch.c kern_timeout.c subr_sleepqueue.c sys/sys sleepqueue.h Log: SVN rev 181936 on 2008-08-20 19:07:21Z by jhb MFC: Change sleepq_add() to accept a lock_object rather than a mutex so that other lock types can be used as interlocks for sleeps. Revision Changes Path 1.52.2.3 +6 -4 src/sys/kern/kern_condvar.c 1.270.2.8 +2 -2 src/sys/kern/kern_synch.c 1.97.2.4 +3 -2 src/sys/kern/kern_timeout.c 1.18.2.9 +3 -3 src/sys/kern/subr_sleepqueue.c 1.6.2.4 +2 -2 src/sys/sys/sleepqueue.h From ghelmer at FreeBSD.org Wed Aug 20 19:58:06 2008 From: ghelmer at FreeBSD.org (Guy Helmer) Date: Wed Aug 20 19:58:13 2008 Subject: cvs commit: src/usr.bin/comm comm.c Message-ID: <200808201958.m7KJw5av056555@repoman.freebsd.org> ghelmer 2008-08-20 19:57:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/comm comm.c Log: SVN rev 181937 on 2008-08-20 19:57:58Z by ghelmer MFC r179374 Similar to changes previously made to src/usr.bin/uniq/uniq.c, fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. Revision Changes Path 1.21.18.1 +90 -22 src/usr.bin/comm/comm.c From wearabnet at yahoo.ca Wed Aug 20 21:24:07 2008 From: wearabnet at yahoo.ca (Abdullah Ibn Hamad Al-Marri) Date: Wed Aug 20 21:24:13 2008 Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Message-ID: <217379.15004.qm@web33701.mail.mud.yahoo.com> ----- Original Message ---- > From: John Baldwin > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > Sent: Wednesday, August 20, 2008 9:33:09 PM > Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > > jhb 2008-08-20 18:33:09 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/dev/cpufreq ichss.c > sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > Log: > SVN rev 181935 on 2008-08-20 18:33:09Z by jhb > > MFC: Attach the cpufreq child devices with specific orders to enforce > relative priority of some of the drivers that manage the same state (e.g. > ichss0 vs est0). > > Revision Changes Path > 1.10.2.2 +1 -1 src/sys/dev/cpufreq/ichss.c > 1.11.2.6 +1 -1 src/sys/i386/cpufreq/est.c > 1.12.2.2 +1 -1 src/sys/i386/cpufreq/p4tcc.c > 1.4.2.1 +1 -1 src/sys/i386/cpufreq/powernow.c > 1.2.2.1 +1 -1 src/sys/i386/cpufreq/smist.c > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" Hey John, I got this in AMD64. FreeBSD 7.0-STABLE #0: Wed Aug 20 20:36:51 GMT 2008 arabian@services.wearab.net:/usr/obj/usr/src/sys/SERVICES module_register: module cpu/ichss already exists! Module cpu/ichss failed to register: 17 module_register: module cpu/powernow already exists! Module cpu/powernow failed to register: 17 module_register: module cpu/est already exists! Module cpu/est failed to register: 17 module_register: module cpu/p4tcc already exists! Module cpu/p4tcc failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2397.62-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 2129907712 (2031 MB) avail memory = 2055659520 (1960 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] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From kmacy at FreeBSD.org Wed Aug 20 21:27:53 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 21:28:00 2008 Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Message-ID: <200808202127.m7KLRqOO075170@repoman.freebsd.org> kmacy 2008-08-20 21:27:48 UTC FreeBSD src repository Modified files: sys/i386/i386 vm_machdep.c Log: SVN rev 181938 on 2008-08-20 21:27:48Z by kmacy fix typo in previous commit breaking bootup pointed out by: Takahashi Yoshihiro nyan@ Revision Changes Path 1.289 +1 -1 src/sys/i386/i386/vm_machdep.c From ed at FreeBSD.org Wed Aug 20 22:09:39 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Aug 20 22:09:51 2008 Subject: cvs commit: src/usr.sbin/pstat pstat.8 Message-ID: <200808202209.m7KM9cSm080900@repoman.freebsd.org> ed 2008-08-20 22:09:33 UTC FreeBSD src repository Modified files: usr.sbin/pstat pstat.8 Log: SVN rev 181939 on 2008-08-20 22:09:33Z by ed Fix a small typo in the pstat(8) manual page. The second LOW column of the pstat(8) command refers to the low watermark of the output queue. Revision Changes Path 1.51 +1 -1 src/usr.sbin/pstat/pstat.8 From jhb at freebsd.org Wed Aug 20 22:17:22 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Aug 20 22:17:28 2008 Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c In-Reply-To: <217379.15004.qm@web33701.mail.mud.yahoo.com> References: <217379.15004.qm@web33701.mail.mud.yahoo.com> Message-ID: <200808201739.24289.jhb@freebsd.org> On Wednesday 20 August 2008 04:57:25 pm Abdullah Ibn Hamad Al-Marri wrote: > ----- Original Message ---- > > > From: John Baldwin > > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > > Sent: Wednesday, August 20, 2008 9:33:09 PM > > Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > > > > jhb 2008-08-20 18:33:09 UTC > > > > FreeBSD src repository > > > > Modified files: (Branch: RELENG_7) > > sys/dev/cpufreq ichss.c > > sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > > Log: > > SVN rev 181935 on 2008-08-20 18:33:09Z by jhb > > > > MFC: Attach the cpufreq child devices with specific orders to enforce > > relative priority of some of the drivers that manage the same state (e.g. > > ichss0 vs est0). > > > > Revision Changes Path > > 1.10.2.2 +1 -1 src/sys/dev/cpufreq/ichss.c > > 1.11.2.6 +1 -1 src/sys/i386/cpufreq/est.c > > 1.12.2.2 +1 -1 src/sys/i386/cpufreq/p4tcc.c > > 1.4.2.1 +1 -1 src/sys/i386/cpufreq/powernow.c > > 1.2.2.1 +1 -1 src/sys/i386/cpufreq/smist.c > > _______________________________________________ > > cvs-src@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/cvs-src > > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" > > Hey John, > > I got this in AMD64. > > FreeBSD 7.0-STABLE #0: Wed Aug 20 20:36:51 GMT 2008 > arabian@services.wearab.net:/usr/obj/usr/src/sys/SERVICES > module_register: module cpu/ichss already exists! > Module cpu/ichss failed to register: 17 > module_register: module cpu/powernow already exists! > Module cpu/powernow failed to register: 17 > module_register: module cpu/est already exists! > Module cpu/est failed to register: 17 > module_register: module cpu/p4tcc already exists! > Module cpu/p4tcc failed to register: 17 This looks like you have 'device cpufreq' in your kernel and you also loaded 'cpufreq.ko' from the loader. -- John Baldwin From kmacy at FreeBSD.org Wed Aug 20 22:42:25 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Aug 20 22:42:36 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200808202242.m7KMgONg083802@repoman.freebsd.org> kmacy 2008-08-20 22:42:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys param.h Log: SVN rev 181940 on 2008-08-20 22:42:20Z by kmacy Bump _FreeBSD_version for physically contiguous jumbo frame support Requested by: Andrew Gallatin (gallatin@) Revision Changes Path 1.308.2.15 +1 -1 src/sys/sys/param.h From rpaulo at FreeBSD.org Thu Aug 21 00:04:26 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Aug 21 00:04:32 2008 Subject: cvs commit: src/etc/rc.d kernel_symlink Message-ID: <200808210004.m7L04Q32093835@repoman.freebsd.org> rpaulo 2008-08-21 00:04:19 UTC FreeBSD src repository Modified files: etc/rc.d kernel_symlink Log: SVN rev 181941 on 2008-08-21 00:04:19Z by rpaulo Cope with the file rename by changing rc variables. Revision Changes Path 1.2 +4 -4 src/etc/rc.d/kernel_symlink From rpaulo at FreeBSD.org Thu Aug 21 00:41:18 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Aug 21 00:41:23 2008 Subject: cvs commit: src/share/man/man4 Makefile acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm.4 acpi_panasonic.4 acpi_sony.4 acpi_toshiba.4 io.4 linux.4 ndis.4 src/share/man/man4/man4.i386 Makefile acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm.4 ... Message-ID: <200808210041.m7L0fHtn097398@repoman.freebsd.org> rpaulo 2008-08-21 00:40:55 UTC FreeBSD src repository Modified files: share/man/man4 Makefile share/man/man4/man4.i386 Makefile Added files: share/man/man4 acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm.4 acpi_panasonic.4 acpi_sony.4 acpi_toshiba.4 io.4 linux.4 ndis.4 Removed files: share/man/man4/man4.i386 acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm.4 acpi_panasonic.4 acpi_sony.4 acpi_toshiba.4 io.4 linux.4 ndis.4 Log: SVN rev 181942 on 2008-08-21 00:40:55Z by rpaulo Move man pages out of man4.i386. Most of them are applicable to amd64 too, so, instead of descending to the i386 directory, we add some magic to the parent Makefile. These man pages refer to drivers that I'm aware that work on amd64. Most likely there are more, but I'll deal with them later. Approved by: brueffer, philip, takawata Revision Changes Path 1.429 +22 -0 src/share/man/man4/Makefile 1.1 +102 -0 src/share/man/man4/acpi_aiboost.4 (new) 1.3 +185 -0 src/share/man/man4/acpi_asus.4 (new) 1.1 +175 -0 src/share/man/man4/acpi_fujitsu.4 (new) 1.1 +461 -0 src/share/man/man4/acpi_ibm.4 (new) 1.1 +178 -0 src/share/man/man4/acpi_panasonic.4 (new) 1.1 +73 -0 src/share/man/man4/acpi_sony.4 (new) 1.1 +128 -0 src/share/man/man4/acpi_toshiba.4 (new) 1.1 +69 -0 src/share/man/man4/io.4 (new) 1.1 +140 -0 src/share/man/man4/linux.4 (new) 1.190 +1 -12 src/share/man/man4/man4.i386/Makefile 1.4 +0 -102 src/share/man/man4/man4.i386/acpi_aiboost.4 (dead) 1.16 +0 -185 src/share/man/man4/man4.i386/acpi_asus.4 (dead) 1.6 +0 -175 src/share/man/man4/man4.i386/acpi_fujitsu.4 (dead) 1.16 +0 -461 src/share/man/man4/man4.i386/acpi_ibm.4 (dead) 1.8 +0 -178 src/share/man/man4/man4.i386/acpi_panasonic.4 (dead) 1.6 +0 -73 src/share/man/man4/man4.i386/acpi_sony.4 (dead) 1.8 +0 -128 src/share/man/man4/man4.i386/acpi_toshiba.4 (dead) 1.14 +0 -69 src/share/man/man4/man4.i386/io.4 (dead) 1.14 +0 -140 src/share/man/man4/man4.i386/linux.4 (dead) 1.14 +0 -151 src/share/man/man4/man4.i386/ndis.4 (dead) 1.1 +151 -0 src/share/man/man4/ndis.4 (new) From yongari at FreeBSD.org Thu Aug 21 02:03:19 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 02:03:26 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200808210203.m7L23Jtm015339@repoman.freebsd.org> yongari 2008-08-21 02:03:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 181943 on 2008-08-21 02:03:01Z by yongari MFC r180950: s/printf/device_printf/g Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore. Revision Changes Path 1.42.2.4 +19 -22 src/sys/dev/bfe/if_bfe.c 1.10.2.2 +0 -1 src/sys/dev/bfe/if_bfereg.h From yongari at FreeBSD.org Thu Aug 21 02:35:06 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 02:35:18 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200808210235.m7L2Z5BE017984@repoman.freebsd.org> yongari 2008-08-21 02:34:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 181944 on 2008-08-21 02:34:53Z by yongari MFC r180950: s/printf/device_printf/g Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore. Also remove bfe_release_resources() in bus_setup_intr(9) failure path as bfe_release_resources() is called again at the end of bfe_attach() if any error has encountered. Revision Changes Path 1.25.2.10 +19 -23 src/sys/dev/bfe/if_bfe.c 1.7.2.3 +0 -1 src/sys/dev/bfe/if_bfereg.h From kmacy at FreeBSD.org Thu Aug 21 02:40:52 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Aug 21 02:41:04 2008 Subject: cvs commit: src/sys/dev/xen/netfront netfront.c Message-ID: <200808210240.m7L2eqL9018546@repoman.freebsd.org> kmacy 2008-08-21 02:40:26 UTC FreeBSD src repository Modified files: sys/dev/xen/netfront netfront.c Log: SVN rev 181945 on 2008-08-21 02:40:26Z by kmacy For reasons that I have not delved in to Xen 3.2 netback now does header splitting so packets > 128 bytes are now split in to multiple buffer. This fixes netfront to handle multiple buffers per rx packet. MFC after: 1 month Revision Changes Path 1.5 +38 -21 src/sys/dev/xen/netfront/netfront.c From kmacy at FreeBSD.org Thu Aug 21 02:57:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Aug 21 02:57:20 2008 Subject: cvs commit: src/sys/i386/xen pmap.c Message-ID: <200808210257.m7L2v8Yr020195@repoman.freebsd.org> kmacy 2008-08-21 02:57:02 UTC FreeBSD src repository Modified files: sys/i386/xen pmap.c Log: SVN rev 181946 on 2008-08-21 02:57:02Z by kmacy Fix boot time pmap_growkernel panic for case where vm is allocated >= 768M MFC after: 1 month Revision Changes Path 1.4 +3 -1 src/sys/i386/xen/pmap.c From yongari at FreeBSD.org Thu Aug 21 03:25:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:26:03 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210325.m7L3Psge023713@repoman.freebsd.org> yongari 2008-08-21 03:25:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bfe if_bfe.c Log: SVN rev 181947 on 2008-08-21 03:25:44Z by yongari MFC r180952, r181556: Nuke referencing softc in device probe. Revision Changes Path 1.42.2.5 +2 -7 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 03:30:56 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:31:01 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210330.m7L3Ut1M024100@repoman.freebsd.org> yongari 2008-08-21 03:30:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bfe if_bfe.c Log: SVN rev 181948 on 2008-08-21 03:30:52Z by yongari MFC r180952, r181556: Nuke referencing softc in device probe. Revision Changes Path 1.25.2.11 +2 -7 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 03:34:26 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:34:39 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210334.m7L3YQ2K024408@repoman.freebsd.org> yongari 2008-08-21 03:34:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bfe if_bfe.c Log: SVN rev 181949 on 2008-08-21 03:34:14Z by yongari MFC r180954: style(9) - space after keywords, don't indent case. Revision Changes Path 1.42.2.6 +63 -64 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 03:39:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:39:25 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210339.m7L3dCbG024789@repoman.freebsd.org> yongari 2008-08-21 03:39:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bfe if_bfe.c Log: SVN rev 181950 on 2008-08-21 03:39:03Z by yongari MFC r180954: style(9) - space after keywords, don't indent case. Revision Changes Path 1.25.2.12 +63 -64 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 03:45:59 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:46:15 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210345.m7L3jxKH025451@repoman.freebsd.org> yongari 2008-08-21 03:45:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bfe if_bfe.c Log: SVN rev 181951 on 2008-08-21 03:45:50Z by yongari MFC r181557: Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. Revision Changes Path 1.42.2.7 +1 -1 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 03:51:00 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 03:51:10 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808210350.m7L3oxdI025876@repoman.freebsd.org> yongari 2008-08-21 03:50:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bfe if_bfe.c Log: SVN rev 181952 on 2008-08-21 03:50:50Z by yongari MFC r181557: Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. Revision Changes Path 1.25.2.13 +1 -1 src/sys/dev/bfe/if_bfe.c From yongari at FreeBSD.org Thu Aug 21 04:22:07 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Aug 21 04:22:19 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200808210422.m7L4M1vc029591@repoman.freebsd.org> yongari 2008-08-21 04:21:53 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 181953 on 2008-08-21 04:21:53Z by yongari o Sort includes and add to support endianness. o Removed unneeded header files. o bus_dma(9) fix: - created parent tag with 1GB dma address limit with no alignment restrictions. - set 4096 alignment limit for Tx/Rx descriptor rings. - separate Rx buffer tag from Tx buffer tag such that Tx tag allows up-to 16 segments while Rx buffer tag only allows single segment. - it seems the controller has no alignment restrictions on Tx/Rx buffers. Remove ETHER_ALIGN alignment restriction in Tx/Rx buffers. - created a spare Rx dma map which would be used to cope with failure of loading a dma map. - make sure to load full Tx/Rx descriptor size for Tx/Rx descriptor dma maps, previously bfe(4) used to load single descriptor size for each descriptor rings. I have no idea how it could be run without problems. - don't blindly cast bus_addr_t type to 32bits in bfe_dma_map(). - created bfe_dma_free() to free allocated dma memory/tags. - make sure to invoke bus_dmamap_sync(9) before/after processing descriptor rings/buffers. Because the hardware has severe dma address space limitation, bounce-buffers would be always used on systems with more than 1GB memory during descriptors/buffers access. - added Tx descriptor ring initialization function, bfe_list_tx_init(). - moved producer/consumer index initialization to bfe_list_tx_init() and bfe_list_rx_init() from bfe_chip_reset(). - added bfe_discard_buf() which will update loaded descriptors without unloading/reloading the dma map to speed up error recovery. - implemented Tx side bus_dmamap_load_mbuf_sg(9). The number of segments allowed was chosen to be 16 which should be enough for non-TSO capable hardwares. Setting SOF bit of Tx descriptor is done in the last to avoid potential race. - don't give up sending frames in bfe_start() until the hardware lacks free descriptors. - added XXX comment to second kick command and possible workaround. - implemented Rx side bus_dmamap_load_mbuf_sg(9). - removed bfe_dma_map_desc() as it's not needed anymore after the conversion to bus_dmamap_load_mbuf_sg(9). - added endianness support. With this change bfe(4) should work on any architectures that can create bounce buffers within 1GB address range. - add missing bus_dmamap_sync() in bfe_tx_eof()/bfe_rx_eof(). o Use PCI_BAR instead of hardcoded value to set BARs. Simplified register access with bus_write_4(9)/bus_read_4(9) and removed bfe_btag, bfe_bhandle, bfe_vhandle in softc as it's not used anymore. o Reorder device detach logic such that bfe_detach() is also used for handling driver attach failure case. o Remove unnecessary KASSERT in bfe_detach(). o Remove bfe_rx_cnt, bfe_up, bfe_vpd_prodname, bfe_vpd_readonly in softc. It's not used at all. o Remove BFE_RX_RING_SIZE/BFE_RX_RING_SIZE/BFE_LINK_DOWN. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com Revision Changes Path 1.51 +474 -353 src/sys/dev/bfe/if_bfe.c 1.13 +20 -17 src/sys/dev/bfe/if_bfereg.h From weongyo at FreeBSD.org Thu Aug 21 05:14:03 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Thu Aug 21 05:14:14 2008 Subject: cvs commit: src/sys/compat/ndis subr_ntoskrnl.c Message-ID: <200808210514.m7L5E2VQ044372@repoman.freebsd.org> weongyo 2008-08-21 05:13:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/ndis subr_ntoskrnl.c Log: SVN rev 181954 on 2008-08-21 05:13:55Z by weongyo MFC r179423 Fix a panic that a priority value which is passed to cv_broadcastpri(9) can be < 0. We don't ignore a `increment' argument but at least we keep a priority value of NDIS threads over PRI_MIN_KERN. Reviewed by: thompsa Revision Changes Path 1.90.2.3 +6 -4 src/sys/compat/ndis/subr_ntoskrnl.c From weongyo at FreeBSD.org Thu Aug 21 05:30:34 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Thu Aug 21 05:30:46 2008 Subject: cvs commit: src/usr.sbin/ndiscvt inf.c Message-ID: <200808210530.m7L5UYYk045660@repoman.freebsd.org> weongyo 2008-08-21 05:30:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/ndiscvt inf.c Log: SVN rev 181955 on 2008-08-21 05:30:26Z by weongyo MFC r179855 handle .INF files for PCMCIA correctly that specify multiple entries in their [Manufacturer] sections and prevent a case that NDIS_PCI_DEV_TABLE definition was always emitted that it's only emitted once if a .INF file is for PCI. Revision Changes Path 1.16.10.1 +13 -7 src/usr.sbin/ndiscvt/inf.c From weongyo at FreeBSD.org Thu Aug 21 05:34:50 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Thu Aug 21 05:34:59 2008 Subject: cvs commit: src/usr.sbin/ndiscvt ndisgen.8 Message-ID: <200808210534.m7L5YnTp046000@repoman.freebsd.org> weongyo 2008-08-21 05:34:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/ndiscvt ndisgen.8 Log: SVN rev 181956 on 2008-08-21 05:34:37Z by weongyo MFC r180730 remove reference for unexisting ndisapi(9) Revision Changes Path 1.3.2.1 +1 -2 src/usr.sbin/ndiscvt/ndisgen.8 From weongyo at FreeBSD.org Thu Aug 21 05:40:50 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Thu Aug 21 05:41:02 2008 Subject: cvs commit: src/sys/compat/ndis kern_ndis.c Message-ID: <200808210540.m7L5eoSr046567@repoman.freebsd.org> weongyo 2008-08-21 05:40:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/ndis kern_ndis.c Log: SVN rev 181957 on 2008-08-21 05:40:38Z by weongyo MFC r180754 when NDIS framework try to query/set informations NDIS drivers can return NDIS_STATUS_PENDING. In this case, it's waiting for 5 secs to get the response from drivers now. However, some NDIS drivers can send the response before NDIS framework gets ready to receive it so we might always be blocked for 5 secs in current implementation. NDIS framework should reset the event before calling NDIS driver's callback not after. Revision Changes Path 1.96.2.1 +7 -5 src/sys/compat/ndis/kern_ndis.c From kientzle at FreeBSD.org Thu Aug 21 06:41:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Thu Aug 21 06:41:53 2008 Subject: cvs commit: src/usr.bin/tar read.c src/usr.bin/tar/test test_patterns.c test_patterns_2.tgz.err.uu test_patterns_2.tgz.out.uu Message-ID: <200808210641.m7L6fk5Z073166@repoman.freebsd.org> kientzle 2008-08-21 06:41:14 UTC FreeBSD src repository Modified files: usr.bin/tar read.c usr.bin/tar/test test_patterns.c test_patterns_2.tgz.out.uu Removed files: usr.bin/tar/test test_patterns_2.tgz.err.uu Log: SVN rev 181958 on 2008-08-21 06:41:14Z by kientzle Always display the unedited pathname in -t output. I would like to provide a way to preview the effects of pathname edits, but pattern selection has to happen against the unedited path, so it seems that we have to show people the unedited path to help in designing selection patterns. Revision Changes Path 1.40 +10 -11 src/usr.bin/tar/read.c 1.4 +1 -3 src/usr.bin/tar/test/test_patterns.c 1.2 +0 -6 src/usr.bin/tar/test/test_patterns_2.tgz.err.uu (dead) 1.2 +1 -1 src/usr.bin/tar/test/test_patterns_2.tgz.out.uu From kientzle at FreeBSD.org Thu Aug 21 07:05:08 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Thu Aug 21 07:05:20 2008 Subject: cvs commit: src/usr.bin/tar/test main.c test.h test_patterns.c test_patterns_3.tgz.uu Message-ID: <200808210705.m7L753qF076137@repoman.freebsd.org> kientzle 2008-08-21 07:04:57 UTC FreeBSD src repository Modified files: usr.bin/tar/test main.c test.h test_patterns.c Added files: usr.bin/tar/test test_patterns_3.tgz.uu Log: SVN rev 181959 on 2008-08-21 07:04:57Z by kientzle Add some more tests to verify that "./foo" matches "foo" but "/foo" does not. Revision Changes Path 1.4 +31 -0 src/usr.bin/tar/test/main.c 1.4 +4 -0 src/usr.bin/tar/test/test.h 1.5 +33 -1 src/usr.bin/tar/test/test_patterns.c 1.1 +8 -0 src/usr.bin/tar/test/test_patterns_3.tgz.uu (new) From wearabnet at yahoo.ca Thu Aug 21 07:19:00 2008 From: wearabnet at yahoo.ca (Abdullah Ibn Hamad Al-Marri) Date: Thu Aug 21 07:19:07 2008 Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c Message-ID: <475420.75508.qm@web33706.mail.mud.yahoo.com> ----- Original Message ---- > From: John Baldwin > To: Abdullah Ibn Hamad Al-Marri > Cc: src-committers@freebsd.org; cvs-src@freebsd.org > Sent: Thursday, August 21, 2008 12:39:24 AM > Subject: Re: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > > On Wednesday 20 August 2008 04:57:25 pm Abdullah Ibn Hamad Al-Marri wrote: > > ----- Original Message ---- > > > > > From: John Baldwin > > > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > > > Sent: Wednesday, August 20, 2008 9:33:09 PM > > > Subject: cvs commit: src/sys/dev/cpufreq ichss.c src/sys/i386/cpufreq > est.c p4tcc.c powernow.c smist.c > > > > > > jhb 2008-08-20 18:33:09 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: (Branch: RELENG_7) > > > sys/dev/cpufreq ichss.c > > > sys/i386/cpufreq est.c p4tcc.c powernow.c smist.c > > > Log: > > > SVN rev 181935 on 2008-08-20 18:33:09Z by jhb > > > > > > MFC: Attach the cpufreq child devices with specific orders to enforce > > > relative priority of some of the drivers that manage the same state > (e.g. > > > ichss0 vs est0). > > > > > > Revision Changes Path > > > 1.10.2.2 +1 -1 src/sys/dev/cpufreq/ichss.c > > > 1.11.2.6 +1 -1 src/sys/i386/cpufreq/est.c > > > 1.12.2.2 +1 -1 src/sys/i386/cpufreq/p4tcc.c > > > 1.4.2.1 +1 -1 src/sys/i386/cpufreq/powernow.c > > > 1.2.2.1 +1 -1 src/sys/i386/cpufreq/smist.c > > > _______________________________________________ > > > cvs-src@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/cvs-src > > > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" > > > > Hey John, > > > > I got this in AMD64. > > > > FreeBSD 7.0-STABLE #0: Wed Aug 20 20:36:51 GMT 2008 > > arabian@services.wearab.net:/usr/obj/usr/src/sys/SERVICES > > module_register: module cpu/ichss already exists! > > Module cpu/ichss failed to register: 17 > > module_register: module cpu/powernow already exists! > > Module cpu/powernow failed to register: 17 > > module_register: module cpu/est already exists! > > Module cpu/est failed to register: 17 > > module_register: module cpu/p4tcc already exists! > > Module cpu/p4tcc failed to register: 17 > > This looks like you have 'device cpufreq' in your kernel and you also > loaded 'cpufreq.ko' from the loader. > > -- > John Baldwin True, sorry for the noise. :/ Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From dwmalone at FreeBSD.org Thu Aug 21 07:36:34 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Thu Aug 21 07:36:40 2008 Subject: cvs commit: src/usr.bin/lockf lockf.1 lockf.c Message-ID: <200808210736.m7L7aXqA078941@repoman.freebsd.org> dwmalone 2008-08-21 07:36:17 UTC FreeBSD src repository Modified files: usr.bin/lockf lockf.1 lockf.c Log: SVN rev 181960 on 2008-08-21 07:36:17Z by dwmalone Lockf was exiting with status 1 if the command did not exit normally. This is easy to confuse with the actual exit status of the program. Instead exit with EX_SOFTWARE if the command doesn't exit normally. MFC after: 1 month Revision Changes Path 1.22 +5 -0 src/usr.bin/lockf/lockf.1 1.18 +1 -1 src/usr.bin/lockf/lockf.c From kib at FreeBSD.org Thu Aug 21 09:58:21 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Aug 21 09:58:27 2008 Subject: cvs commit: src/sys/amd64/amd64 exception.S Message-ID: <200808210958.m7L9wKxv002154@repoman.freebsd.org> kib 2008-08-21 09:58:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 exception.S Log: SVN rev 181961 on 2008-08-21 09:58:18Z by kib MFC r181823: Remove the check for mode and conditional swapgs in doreti_iret_fault, we already have right gs base in the MSR. Revision Changes Path 1.129.2.2 +3 -6 src/sys/amd64/amd64/exception.S From obrien at FreeBSD.org Thu Aug 21 14:12:40 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Aug 21 14:12:53 2008 Subject: cvs commit: src/usr.bin/fetch fetch.c Message-ID: <200808211412.m7LECdC4040739@repoman.freebsd.org> obrien 2008-08-21 14:12:34 UTC FreeBSD src repository Modified files: usr.bin/fetch fetch.c Log: SVN rev 181962 on 2008-08-21 14:12:34Z by obrien Use the SCHEME_ knobs rather than knowing what they expand to. Reviewed by: des Revision Changes Path 1.79 +2 -2 src/usr.bin/fetch/fetch.c From ed at FreeBSD.org Thu Aug 21 15:02:26 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Thu Aug 21 15:02:32 2008 Subject: cvs commit: src/sys/kern kern_acct.c Message-ID: <200808211502.m7LF2P1Y045269@repoman.freebsd.org> ed 2008-08-21 15:02:17 UTC FreeBSD src repository Modified files: sys/kern kern_acct.c Log: SVN rev 181963 on 2008-08-21 15:02:17Z by ed Properly lock proctree_lock before locking the process while accounting. During the import of the MPSAFE TTY layer (r181905), I changed acct_process() to lock proctree_lock instead of SESS_LOCK, because s_ttyp is now locked using proctree_lock. One of the things I forgot, was to lock it before we PROC_LOCK. Commit this patch, written by kib@. To ensure we hold proctree_lock as short as possible, obtaining `ac_tty' has now been made the first step of filling `acct'. Reported by: Kevin Solved by: kib Revision Changes Path 1.100 +15 -14 src/sys/kern/kern_acct.c From grafan at gmail.com Thu Aug 21 16:28:34 2008 From: grafan at gmail.com (Rong-en Fan) Date: Thu Aug 21 16:28:40 2008 Subject: cvs commit: src/share/man/man4 Makefile acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm.4 acpi_panasonic.4 acpi_sony.4 acpi_toshiba.4 io.4 linux.4 ndis.4 src/share/man/man4/man4.i386 Makefile acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 acpi_ibm. Message-ID: <6eb82e0808210900x3b4cd8a7n2bb1168fc89c690d@mail.gmail.com> On Thu, Aug 21, 2008 at 8:40 AM, Rui Paulo wrote: > rpaulo 2008-08-21 00:40:55 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 Makefile > share/man/man4/man4.i386 Makefile > Added files: > share/man/man4 acpi_aiboost.4 acpi_asus.4 acpi_fujitsu.4 > acpi_ibm.4 acpi_panasonic.4 acpi_sony.4 > acpi_toshiba.4 io.4 linux.4 ndis.4 > Removed files: > share/man/man4/man4.i386 acpi_aiboost.4 acpi_asus.4 > acpi_fujitsu.4 acpi_ibm.4 > acpi_panasonic.4 acpi_sony.4 > acpi_toshiba.4 io.4 linux.4 ndis.4 > Log: > SVN rev 181942 on 2008-08-21 00:40:55Z by rpaulo > > Move man pages out of man4.i386. Most of them are applicable to amd64 > too, so, instead of descending to the i386 directory, we add some magic to > the parent Makefile. > These man pages refer to drivers that I'm aware that work on amd64. Most > likely there are more, but I'll deal with them later. > > Approved by: brueffer, philip, takawata Wow, thank you! Regards, Rong-En Fan From gallatin at FreeBSD.org Thu Aug 21 16:35:42 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Thu Aug 21 16:35:54 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge_var.h Message-ID: <200808211635.m7LGZgEL055253@repoman.freebsd.org> gallatin 2008-08-21 16:35:34 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge_var.h Log: SVN rev 181964 on 2008-08-21 16:35:34Z by gallatin Adapt mxge shims to detect phys contig jumbo frames in RELENG_7 MFC after: 3 days Revision Changes Path 1.21 +2 -1 src/sys/dev/mxge/if_mxge_var.h From raj at FreeBSD.org Thu Aug 21 16:49:59 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Thu Aug 21 16:50:10 2008 Subject: cvs commit: src/tools/tools/crypto cryptotest.c Message-ID: <200808211649.m7LGnw5n065596@repoman.freebsd.org> raj 2008-08-21 16:49:57 UTC FreeBSD src repository Modified files: tools/tools/crypto cryptotest.c Log: SVN rev 181965 on 2008-08-21 16:49:57Z by raj Increase cryptotest tool initialization vector (IV) size. This fixes potential out-of-bound accesses when testing ciphers with block size greater than 8 bytes (e.g. AES). Submitted by: Bartlomiej Sieka tur ! semihalf dot com Discussed with: pjd, sam Revision Changes Path 1.11 +1 -1 src/tools/tools/crypto/cryptotest.c From rwatson at FreeBSD.org Thu Aug 21 17:25:00 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Aug 21 17:25:11 2008 Subject: cvs commit: src/sys/netinet ip_output.c Message-ID: <200808211725.m7LHP0Le069529@repoman.freebsd.org> rwatson 2008-08-21 17:24:49 UTC FreeBSD src repository Modified files: sys/netinet ip_output.c Log: SVN rev 181966 on 2008-08-21 17:24:49Z by rwatson Remove comments and #ifdef notyet'd code relating to directly dispatching the IP multicast input code from the output path; we don't allow reentrance of the input path from the IP output path, it must use the netisr due to potential lock recursion. MFC after: 3 days Revision Changes Path 1.285 +0 -17 src/sys/netinet/ip_output.c From rpaulo at FreeBSD.org Thu Aug 21 17:53:31 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Aug 21 17:53:45 2008 Subject: cvs commit: src/share/man/man4 ichwd.4 src/share/man/man4/man4.i386 Makefile ichwd.4 Message-ID: <200808211753.m7LHrVx2073625@repoman.freebsd.org> rpaulo 2008-08-21 17:53:13 UTC FreeBSD src repository Modified files: share/man/man4 ichwd.4 share/man/man4/man4.i386 Makefile Removed files: share/man/man4/man4.i386 ichwd.4 Log: SVN rev 181967 on 2008-08-21 17:53:13Z by rpaulo Merge the relevant information of man4.i386/ichwd.4 into man4/ichwd.4 and remove ichwd(4) man page from man4.i386. Submitted by: gavin Reviewed by: des, me Approved by: des Revision Changes Path 1.2 +25 -7 src/share/man/man4/ichwd.4 1.191 +0 -1 src/share/man/man4/man4.i386/Makefile 1.4 +0 -76 src/share/man/man4/man4.i386/ichwd.4 (dead) From sbruno at FreeBSD.org Thu Aug 21 18:00:33 2008 From: sbruno at FreeBSD.org (Sean Bruno) Date: Thu Aug 21 18:00:40 2008 Subject: cvs commit: src/sys/dev/mpt mpt_user.c Message-ID: <200808211800.m7LI0XM2074230@repoman.freebsd.org> sbruno 2008-08-21 18:00:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mpt mpt_user.c Log: SVN rev 181968 on 2008-08-21 18:00:15Z by sbruno Remove MPT_LOCK/UNLOCK from mpt_user_attach in RELENG_6. This was causing a panic with witness enabled. Reviewed by: scottl Revision Changes Path 1.1.4.3 +0 -2 src/sys/dev/mpt/mpt_user.c From jhb at FreeBSD.org Thu Aug 21 19:22:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Aug 21 19:22:27 2008 Subject: cvs commit: src/lib/libkvm kvm_getpcpu.3 Message-ID: <200808211922.m7LJMKTZ092701@repoman.freebsd.org> jhb 2008-08-21 19:22:13 UTC FreeBSD src repository Modified files: lib/libkvm kvm_getpcpu.3 Log: SVN rev 181969 on 2008-08-21 19:22:13Z by jhb Add a "CACHING" section regarding the internal caching of kernel variables and the ability to clear that cache. Revision Changes Path 1.2 +8 -0 src/lib/libkvm/kvm_getpcpu.3 From remko at FreeBSD.org Thu Aug 21 20:37:52 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Aug 21 20:38:03 2008 Subject: cvs commit: src/sys/dev/usb umass.c usbdevs Message-ID: <200808212037.m7LKbqeJ003642@repoman.freebsd.org> remko 2008-08-21 20:37:38 UTC FreeBSD src repository Modified files: sys/dev/usb umass.c usbdevs Log: SVN rev 181970 on 2008-08-21 20:37:38Z by remko Add support for the Alcor Card Reader (9361) PR: 124656 Submitted by: Vincent Francois Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.165 +4 -0 src/sys/dev/usb/umass.c 1.367 +1 -0 src/sys/dev/usb/usbdevs From kientzle at FreeBSD.org Thu Aug 21 22:28:08 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Thu Aug 21 22:28:20 2008 Subject: cvs commit: src/usr.bin/tar/test test_patterns.c test_patterns_2.tgz.out.uu Message-ID: <200808212228.m7LMS8pA029294@repoman.freebsd.org> kientzle 2008-08-21 22:28:00 UTC FreeBSD src repository Modified files: usr.bin/tar/test test_patterns.c Removed files: usr.bin/tar/test test_patterns_2.tgz.out.uu Log: SVN rev 181971 on 2008-08-21 22:28:00Z by kientzle The results for test 2 here are short enough to just be included inline. There's no need to go through the hassle of having a checked-in uuencoded reference file for comparison. Revision Changes Path 1.6 +3 -3 src/usr.bin/tar/test/test_patterns.c 1.3 +0 -5 src/usr.bin/tar/test/test_patterns_2.tgz.out.uu (dead) From obrien at FreeBSD.org Thu Aug 21 22:58:47 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Aug 21 22:58:53 2008 Subject: cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern syscalls.master Message-ID: <200808212258.m7LMwk7o031837@repoman.freebsd.org> obrien 2008-08-21 22:57:31 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 syscalls.master sys/kern syscalls.master Log: SVN rev 181972 on 2008-08-21 22:57:31Z by obrien Add comments on NOARGS, NODEF, and NOPROTO. Revision Changes Path 1.103 +7 -0 src/sys/compat/freebsd32/syscalls.master 1.245 +8 -0 src/sys/kern/syscalls.master From thompsa at FreeBSD.org Thu Aug 21 23:22:49 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Thu Aug 21 23:22:56 2008 Subject: cvs commit: src/sys/dev/puc pucdata.c Message-ID: <200808212322.m7LNMnfQ034949@repoman.freebsd.org> thompsa 2008-08-21 23:22:32 UTC FreeBSD src repository Modified files: sys/dev/puc pucdata.c Log: SVN rev 181973 on 2008-08-21 23:22:32Z by thompsa Add the Avlab Technology PCI IO 4S-850 4 port serial card. PR: kern/110797 Submitted by: Trevor Roydhouse Revision Changes Path 1.63 +6 -0 src/sys/dev/puc/pucdata.c From thompsa at FreeBSD.org Fri Aug 22 00:12:21 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Aug 22 00:12:33 2008 Subject: cvs commit: src/sys/dev/puc pucdata.c Message-ID: <200808220012.m7M0CLPK040096@repoman.freebsd.org> thompsa 2008-08-22 00:12:08 UTC FreeBSD src repository Modified files: sys/dev/puc pucdata.c Log: SVN rev 181974 on 2008-08-22 00:12:08Z by thompsa Add the VScom PCI-100L card. PR: kern/72352 Submitted by: Thomas Nystrom Revision Changes Path 1.64 +6 -0 src/sys/dev/puc/pucdata.c From thompsa at FreeBSD.org Fri Aug 22 00:13:22 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Aug 22 00:13:29 2008 Subject: cvs commit: src/sys/dev/puc pucdata.c Message-ID: <200808220013.m7M0DMuW040183@repoman.freebsd.org> thompsa 2008-08-22 00:13:17 UTC FreeBSD src repository Modified files: sys/dev/puc pucdata.c Log: SVN rev 181975 on 2008-08-22 00:13:17Z by thompsa Add the Decision Computer Inc, PCCOM 8-port serial card. PR: kern/69730 Submitted by: Darrin Smith Revision Changes Path 1.65 +6 -0 src/sys/dev/puc/pucdata.c From yongari at FreeBSD.org Fri Aug 22 01:06:39 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Aug 22 01:06:50 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200808220106.m7M16dYN054912@repoman.freebsd.org> yongari 2008-08-22 01:06:25 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 181976 on 2008-08-22 01:06:25Z by yongari Remove bfe_link in softc and introduce two new flags to mark link state and detach request. While I'm here make sure established link is IFM_10_T or IFM_100_TX as bfe(4) just supports 10/100Mbps media. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com Revision Changes Path 1.52 +19 -11 src/sys/dev/bfe/if_bfe.c 1.14 +2 -1 src/sys/dev/bfe/if_bfereg.h From jhb at FreeBSD.org Fri Aug 22 01:16:43 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 22 01:16:54 2008 Subject: cvs commit: src/sys/kern kern_sx.c src/sys/sys sx.h Message-ID: <200808220116.m7M1GgOm055740@repoman.freebsd.org> jhb 2008-08-22 01:16:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_sx.c sys/sys sx.h Log: SVN rev 181977 on 2008-08-22 01:16:16Z by jhb Implement sx_sleep() on 6.x. This is not an MFC as sx_sleep() in 7.0+ is implemented via _sleep() and methods in the lock class and that would be a lot to backport. Instead, sx_sleep() is a new function that is largely a copy of msleep. It has identical semantics to sx_sleep() in 7.0+. Revision Changes Path 1.25.2.10 +118 -0 src/sys/kern/kern_sx.c 1.21.2.8 +2 -3 src/sys/sys/sx.h From jhb at FreeBSD.org Fri Aug 22 01:18:14 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 22 01:18:28 2008 Subject: cvs commit: src/sys/kern kern_lockf.c Message-ID: <200808220118.m7M1IExR055863@repoman.freebsd.org> jhb 2008-08-22 01:17:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_lockf.c Log: SVN rev 181978 on 2008-08-22 01:17:56Z by jhb Use sx_sleep() when waiting for a file lock instead of explicitly dropping the sx lock and then doing a tsleep() without a timeout. The tsleep() method leads to lost wakeups that can cause processes to hang waiting for a lock on an unlocked file. The lockf code already uses sx_sleep() in 7.x+. Revision Changes Path 1.54.2.3 +1 -3 src/sys/kern/kern_lockf.c From kientzle at FreeBSD.org Fri Aug 22 01:23:47 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 01:23:59 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.c src/usr.bin/tar/test Makefile test_option_q.c Message-ID: <200808220123.m7M1Nlus056357@repoman.freebsd.org> kientzle 2008-08-22 01:22:55 UTC FreeBSD src repository Modified files: usr.bin/tar bsdtar.c usr.bin/tar/test Makefile Added files: usr.bin/tar/test test_option_q.c Log: SVN rev 181979 on 2008-08-22 01:22:55Z by kientzle Test for -q (aka --fast-read). Fix the error uncovered by this test. Revision Changes Path 1.92 +1 -1 src/usr.bin/tar/bsdtar.c 1.3 +1 -0 src/usr.bin/tar/test/Makefile 1.1 +104 -0 src/usr.bin/tar/test/test_option_q.c (new) From kmacy at FreeBSD.org Fri Aug 22 01:24:12 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 22 01:24:23 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/cxgb cxgb_adapter.h cxgb_lro.c cxgb_main.c cxgb_sge.c src/sys/modules/cxgb/cxgb Makefile Message-ID: <200808220124.m7M1OCw2056468@repoman.freebsd.org> kmacy 2008-08-22 01:23:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c sys/modules/cxgb/cxgb Makefile Removed files: (Branch: RELENG_7) sys/dev/cxgb cxgb_lro.c Log: SVN rev 181980 on 2008-08-22 01:23:39Z by kmacy MFC 181616: Remove cxgb private lro implementation and switch to using system implementation. Obtained from: Chelsio Inc. Revision Changes Path 1.1243.2.36 +0 -1 src/sys/conf/files 1.20.2.3 +3 -31 src/sys/dev/cxgb/cxgb_adapter.h 1.8.2.2 +0 -397 src/sys/dev/cxgb/cxgb_lro.c (dead) 1.36.2.4 +26 -2 src/sys/dev/cxgb/cxgb_main.c 1.30.2.3 +47 -47 src/sys/dev/cxgb/cxgb_sge.c 1.8.2.3 +1 -1 src/sys/modules/cxgb/cxgb/Makefile From kientzle at FreeBSD.org Fri Aug 22 01:26:58 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 01:27:09 2008 Subject: cvs commit: src/usr.bin/tar/test test_option_q.c Message-ID: <200808220126.m7M1QwxK056711@repoman.freebsd.org> kientzle 2008-08-22 01:26:55 UTC FreeBSD src repository Modified files: usr.bin/tar/test test_option_q.c Log: SVN rev 181981 on 2008-08-22 01:26:55Z by kientzle Explain how the test_option_q test works. Revision Changes Path 1.2 +15 -0 src/usr.bin/tar/test/test_option_q.c From kmacy at FreeBSD.org Fri Aug 22 01:29:15 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 22 01:29:23 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c Message-ID: <200808220129.m7M1TEde056891@repoman.freebsd.org> kmacy 2008-08-22 01:28:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c Log: SVN rev 181982 on 2008-08-22 01:28:57Z by kmacy MFC 181652: Add LRO and MAC statistics to exported sysctls. Obtained from: Chelsio Inc. Revision Changes Path 1.20.2.4 +7 -0 src/sys/dev/cxgb/cxgb_adapter.h 1.36.2.5 +18 -7 src/sys/dev/cxgb/cxgb_main.c 1.30.2.4 +114 -7 src/sys/dev/cxgb/cxgb_sge.c From kmacy at FreeBSD.org Fri Aug 22 01:30:46 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Aug 22 01:30:57 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <200808220130.m7M1UjQW057069@repoman.freebsd.org> kmacy 2008-08-22 01:30:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_sge.c Log: SVN rev 181983 on 2008-08-22 01:30:39Z by kmacy MFC 181653: Fix runt TSO packet issue. Obtained from: Chelsio Inc. Revision Changes Path 1.30.2.5 +23 -20 src/sys/dev/cxgb/cxgb_sge.c From kientzle at FreeBSD.org Fri Aug 22 01:31:16 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 01:31:22 2008 Subject: cvs commit: src/usr.bin/tar Makefile Message-ID: <200808220131.m7M1VGVb057146@repoman.freebsd.org> kientzle 2008-08-22 01:31:13 UTC FreeBSD src repository Modified files: usr.bin/tar Makefile Log: SVN rev 181984 on 2008-08-22 01:31:13Z by kientzle Don't clean before running tests. Revision Changes Path 1.38 +1 -1 src/usr.bin/tar/Makefile From kientzle at FreeBSD.org Fri Aug 22 01:35:18 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 01:35:29 2008 Subject: cvs commit: src/usr.bin/tar/test test_option_q.c Message-ID: <200808220135.m7M1ZHAW057525@repoman.freebsd.org> kientzle 2008-08-22 01:35:08 UTC FreeBSD src repository Modified files: usr.bin/tar/test test_option_q.c Log: SVN rev 181985 on 2008-08-22 01:35:08Z by kientzle Minor cleanup of the -q test: Assert that stdout/stderr are empty for each extraction. Revision Changes Path 1.3 +9 -3 src/usr.bin/tar/test/test_option_q.c From kientzle at FreeBSD.org Fri Aug 22 02:09:19 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 02:09:27 2008 Subject: cvs commit: src/usr.bin/cpio/test test_format_newc.c Message-ID: <200808220209.m7M29I19061331@repoman.freebsd.org> kientzle 2008-08-22 02:09:10 UTC FreeBSD src repository Modified files: usr.bin/cpio/test test_format_newc.c Log: SVN rev 181986 on 2008-08-22 02:09:10Z by kientzle The newc-format verification is now a little smarter about following the archive structure. In particular, it no longer crashes if you run it against GNU cpio 2.9 (although it does still complain a lot more than it should). Revision Changes Path 1.2 +24 -9 src/usr.bin/cpio/test/test_format_newc.c From jhb at FreeBSD.org Fri Aug 22 02:15:36 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Aug 22 02:15:47 2008 Subject: cvs commit: src/sys/amd64/include pci_cfgreg.h src/sys/amd64/pci pci_cfgreg.c src/sys/dev/acpica acpi.c src/sys/i386/include pci_cfgreg.h src/sys/i386/pci pci_cfgreg.c Message-ID: <200808220215.m7M2FZTM062079@repoman.freebsd.org> jhb 2008-08-22 02:14:23 UTC FreeBSD src repository Modified files: sys/amd64/include pci_cfgreg.h sys/amd64/pci pci_cfgreg.c sys/dev/acpica acpi.c sys/i386/include pci_cfgreg.h sys/i386/pci pci_cfgreg.c Log: SVN rev 181987 on 2008-08-22 02:14:23Z by jhb Extend the support for PCI-e memory mapped configuration space access: - Rename pciereg_cfgopen() to pcie_cfgregopen() and expose it to the rest of the kernel. It now also accepts parameters via function arguments rather than global variables. - Add a notion of minimum and maximum bus numbers and reject requests for an out of range bus. - Add more range checks on slot/func/reg/bytes parameters to the cfg reg read/write routines. Don't panic on any invalid parameters, just fail the request (writes do nothing, reads return -1). This matches the behavior of the other cfg mechanisms. - Port the memory mapped configuration space access to amd64. On amd64 we simply use the direct map (via pmap_mapdev()) for the memory mapped window. - During acpi_attach() just after loading the ACPI tables, check for a MCFG table. If it exists, call pciereg_cfgopen() on each subtable (memory mapped window). For now we only support windows for domain 0 that start with bus 0. This removes the need for more chipset-specific quirks in the MD code. - Remove the chipset-specific quirks for the Intel 5000P/V/Z chipsets since these machines should all have MCFG tables via ACPI. - Updated pci_cfgregopen() to DTRT if ACPI had invoked pcie_cfgregopen() earlier. MFC after: 2 weeks Revision Changes Path 1.15 +1 -0 src/sys/amd64/include/pci_cfgreg.h 1.111 +137 -3 src/sys/amd64/pci/pci_cfgreg.c 1.251 +41 -0 src/sys/dev/acpica/acpi.c 1.15 +1 -0 src/sys/i386/include/pci_cfgreg.h 1.130 +42 -36 src/sys/i386/pci/pci_cfgreg.c From kientzle at FreeBSD.org Fri Aug 22 02:27:17 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Fri Aug 22 02:27:29 2008 Subject: cvs commit: src/usr.bin/cpio/test test_basic.c test_gcpio_compat.c test_option_a.c Message-ID: <200808220227.m7M2RHsH062991@repoman.freebsd.org> kientzle 2008-08-22 02:27:06 UTC FreeBSD src repository Modified files: usr.bin/cpio/test test_basic.c test_gcpio_compat.c test_option_a.c Log: SVN rev 181988 on 2008-08-22 02:27:06Z by kientzle Comment a couple of places where bsdcpio and gcpio 2.9 disagree. The number of blocks read from ustar archives is just an implementation difference. The failure of bsdcpio to emit a block count to stderr in -p mode is a real bug in bsdcpio. Revision Changes Path 1.2 +7 -2 src/usr.bin/cpio/test/test_basic.c 1.2 +2 -0 src/usr.bin/cpio/test/test_gcpio_compat.c 1.2 +1 -0 src/usr.bin/cpio/test/test_option_a.c From thompsa at FreeBSD.org Fri Aug 22 03:08:49 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Aug 22 03:09:00 2008 Subject: cvs commit: src/sys/compat/ndis ntoskrnl_var.h subr_ndis.c subr_ntoskrnl.c Message-ID: <200808220308.m7M38mwE067477@repoman.freebsd.org> thompsa 2008-08-22 03:08:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/ndis ntoskrnl_var.h subr_ndis.c subr_ntoskrnl.c Log: SVN rev 181989 on 2008-08-22 03:08:31Z by thompsa MFC r174150, r174240, r179009, r179720 Sync sys/compat/ndis to HEAD. - Correct the calculation for the number of 100ns intervals since January 1, 1601. The 1601 - 1970 period was in seconds rather than 100ns units. - Remove duplication by having NdisGetCurrentSystemTime call ntoskrnl_time. - Implement functions required by some ndis drivers. - Fix a panic when it occurred during initializing the ndis driver because it try to read network address through ifnet structure which is NULL until the ndis driver's initialization is finished. - fix a page fault that it occurred during ifp is NULL. This bug happens when NDIS driver's initialization is failed and NDIS driver's trying to call NdisWriteErrorLogEntry(). Revision Changes Path 1.43.2.1 +1 -0 src/sys/compat/ndis/ntoskrnl_var.h 1.108.2.1 +17 -12 src/sys/compat/ndis/subr_ndis.c 1.90.2.4 +64 -3 src/sys/compat/ndis/subr_ntoskrnl.c From thompsa at FreeBSD.org Fri Aug 22 03:16:05 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Aug 22 03:16:17 2008 Subject: cvs commit: src/usr.sbin/ndiscvt inf.c Message-ID: <200808220316.m7M3G5VO068128@repoman.freebsd.org> thompsa 2008-08-22 03:15:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/ndiscvt inf.c Log: SVN rev 181990 on 2008-08-22 03:15:50Z by thompsa MFC r178214 If the .inf file did not have a Default entry for the registry key then write out a blank value and close the brackets on the ndis_regvals array. Revision Changes Path 1.16.10.2 +3 -1 src/usr.sbin/ndiscvt/inf.c From thompsa at FreeBSD.org Fri Aug 22 04:03:57 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Aug 22 04:04:09 2008 Subject: cvs commit: src/sbin/ifconfig Makefile ifconfig.8 ifgre.c src/share/man/man4 gre.4 src/sys/net if_gre.c if_gre.h Message-ID: <200808220403.m7M43vRr073081@repoman.freebsd.org> thompsa 2008-08-22 03:55:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ifconfig Makefile ifconfig.8 share/man/man4 gre.4 sys/net if_gre.c if_gre.h Added files: (Branch: RELENG_7) sbin/ifconfig ifgre.c Log: SVN rev 181991 on 2008-08-22 03:55:37Z by thompsa MFC r179894, r181224 Add support for the optional key in the GRE header. PR: kern/114714 Submitted by: Cristian KLEIN Revision Changes Path 1.33.2.1 +1 -0 src/sbin/ifconfig/Makefile 1.142.2.6 +11 -1 src/sbin/ifconfig/ifconfig.8 1.1.2.1 +98 -0 src/sbin/ifconfig/ifgre.c (new) 1.7.2.1 +14 -2 src/share/man/man4/gre.4 1.46.2.5 +44 -3 src/sys/net/if_gre.c 1.13.10.2 +7 -0 src/sys/net/if_gre.h From yongari at FreeBSD.org Fri Aug 22 04:52:38 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Aug 22 04:52:49 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200808220452.m7M4qbHK086299@repoman.freebsd.org> yongari 2008-08-22 04:52:21 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: SVN rev 181992 on 2008-08-22 04:52:21Z by yongari Because bfe(4) knows interrupt mask value there is no need to read interrupt mask register again. This saves one register access per each interrupt. Also don't try to process frames when driver is not running. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com Revision Changes Path 1.53 +4 -6 src/sys/dev/bfe/if_bfe.c From ed at FreeBSD.org Fri Aug 22 05:16:08 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Aug 22 05:16:15 2008 Subject: cvs commit: src/sys/kern tty.c Message-ID: <200808220516.m7M5G8jD089310@repoman.freebsd.org> ed 2008-08-22 05:15:52 UTC FreeBSD src repository Modified files: sys/kern tty.c Log: SVN rev 181993 on 2008-08-22 05:15:52Z by ed Prevent VSTART flooding when turning on software flow control. It turned out we transmitted VSTART after each successful read on a TTY when software flow control was turned on. This was because of a very evil bug where we tested the TF_HIWAT_IN flag the other way around. Reported by: Christian Weisgerber Revision Changes Path 1.283 +1 -1 src/sys/kern/tty.c From yongari at FreeBSD.org Fri Aug 22 06:47:10 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Aug 22 06:47:17 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200808220647.m7M6lAeL097786@repoman.freebsd.org> yongari 2008-08-22 06:46:55 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 181994 on 2008-08-22 06:46:55Z by yongari Add a new sysctl node 'dev.bfe.N.stats' that shows various MAC counters for Rx/Tx statistics. Various counters in ifnet is also updated with these hardware counters. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com Revision Changes Path 1.54 +201 -34 src/sys/dev/bfe/if_bfe.c 1.15 +99 -19 src/sys/dev/bfe/if_bfereg.h From philip at FreeBSD.org Fri Aug 22 08:09:27 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Fri Aug 22 08:09:33 2008 Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c Message-ID: <200808220809.m7M89R9f007508@repoman.freebsd.org> philip 2008-08-22 08:09:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-all.c ata-all.h ata-chipset.c Log: SVN rev 181995 on 2008-08-22 08:09:13Z by philip MFC r181753: Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. This can be used to disable the 80pin cable check on systems which forget to set the bit -- such as certain laptops and Soekris boards. Revision Changes Path 1.280.2.3 +5 -0 src/sys/dev/ata/ata-all.c 1.124.2.5 +2 -1 src/sys/dev/ata/ata-all.h 1.202.2.12 +6 -0 src/sys/dev/ata/ata-chipset.c From kib at FreeBSD.org Fri Aug 22 08:58:44 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 22 08:58:55 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200808220858.m7M8whH0021439@repoman.freebsd.org> kib 2008-08-22 08:58:31 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 181996 on 2008-08-22 08:58:31Z by kib Welcome Stanislav Sedov as an src committer. His work on cpuctl(4) cannot be left unpunished. Approved by: core Revision Changes Path 1.893 +1 -0 CVSROOT/access 1.17 +1 -0 CVSROOT/mentors From kib at FreeBSD.org Fri Aug 22 09:23:50 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 22 09:24:01 2008 Subject: cvs commit: src/lib/csu/amd64 Makefile Message-ID: <200808220923.m7M9NnOZ024545@repoman.freebsd.org> kib 2008-08-22 09:23:39 UTC FreeBSD src repository Modified files: lib/csu/amd64 Makefile Log: SVN rev 181997 on 2008-08-22 09:23:39Z by kib Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64. For gcc' __builtin_frame_address() to work, all call frames need to save frame pointer. In particular, this is important for the upper frame that should terminate the chain. No objections from: jhb PR: amd64/126543 MFC after: 1 week Revision Changes Path 1.19 +1 -0 src/lib/csu/amd64/Makefile From kib at FreeBSD.org Fri Aug 22 09:47:20 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 22 09:47:31 2008 Subject: cvs commit: src/sys/kern vfs_bio.c Message-ID: <200808220947.m7M9lKMT026562@repoman.freebsd.org> kib 2008-08-22 09:47:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_bio.c Log: SVN rev 181998 on 2008-08-22 09:47:01Z by kib MFC r181868: In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue, instead of QUEUE_DIRTY. Revision Changes Path 1.528.2.2 +1 -1 src/sys/kern/vfs_bio.c From kib at FreeBSD.org Fri Aug 22 09:55:10 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Aug 22 09:55:21 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_balloc.c Message-ID: <200808220955.m7M9t6cQ027163@repoman.freebsd.org> kib 2008-08-22 09:54:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ufs/ffs ffs_balloc.c Log: SVN rev 181999 on 2008-08-22 09:54:56Z by kib MFC r180758: Prevent the bdflush() activity when several buffers are locked at once by setting the TDP_INBDFUSH for the problematic code blocks. Revision Changes Path 1.50.10.4 +22 -2 src/sys/ufs/ffs/ffs_balloc.c From luigi at FreeBSD.org Fri Aug 22 10:18:23 2008 From: luigi at FreeBSD.org (Luigi Rizzo) Date: Fri Aug 22 10:18:28 2008 Subject: cvs commit: src/release/picobsd/build picobsd Message-ID: <200808221018.m7MAIMvg031636@repoman.freebsd.org> luigi 2008-08-22 10:18:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/picobsd/build picobsd Log: SVN rev 182000 on 2008-08-22 10:18:18Z by luigi MFC: sync with HEAD. BTW, the change in rev.1.42 in head is totally unrelated to the commit message: it only adds .svn to the exclude list when copying files using tar. Revision Changes Path 1.39.2.2 +35 -36 src/release/picobsd/build/picobsd From ed at FreeBSD.org Fri Aug 22 10:40:24 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Aug 22 10:40:30 2008 Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200808221040.m7MAeN4j033412@repoman.freebsd.org> ed 2008-08-22 10:40:21 UTC FreeBSD src repository Modified files: sys/kern tty_pts.c Log: SVN rev 182001 on 2008-08-22 10:40:21Z by ed Fix pts(4) error codes when slave device is closed. Unlike pre-MPSAFE TTY, the pts(4) driver always returned ENXIO when a read() or write() was performed on a pseudo-terminal master device when the slave device was not opened. The old implementation had different semantics: - When the slave device had not been opened yet, read() and write() just blocked. - When the slave device had been closed, a read() call would return 0 bytes length. - When the slave device had been closed, a write() call would return EIO. Change the new implementation to return 0 and EIO as well. We don't implement the first rule, but I suspect this is not needed, because routines like openpty() also open the slave device node. posix_openpt() users also do similar things. Reported by: rink Tested by: rink Revision Changes Path 1.20 +2 -4 src/sys/kern/tty_pts.c From rwatson at FreeBSD.org Fri Aug 22 11:17:55 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Aug 22 11:18:07 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200808221117.m7MBHsU5037536@repoman.freebsd.org> rwatson 2008-08-22 11:17:44 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 182002 on 2008-08-22 11:17:44Z by rwatson Upgrade trasz (Edward Tomasz Napierala) to a src commit bit; thanks to his GSoC 2008 NFSv4 ACLs project, he seems to have increasing numbers of kernel changes that need committing--something that he is well-equipped to do himself. I will be his mentor. Approved by: core Revision Changes Path 1.894 +1 -0 CVSROOT/access 1.18 +1 -0 CVSROOT/mentors From nyan at FreeBSD.org Fri Aug 22 12:31:27 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Aug 22 12:31:32 2008 Subject: cvs commit: src/sys/sys copyright.h Message-ID: <200808221231.m7MCVQYw045594@repoman.freebsd.org> nyan 2008-08-22 12:31:21 UTC FreeBSD src repository Modified files: sys/sys copyright.h Log: SVN rev 182003 on 2008-08-22 12:31:21Z by nyan Back FreeBSD(98)'s copyright to 2003. Revision Changes Path 1.27 +1 -1 src/sys/sys/copyright.h From nyan at FreeBSD.org Fri Aug 22 12:41:12 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Aug 22 12:41:24 2008 Subject: cvs commit: src/sys/sys copyright.h Message-ID: <200808221241.m7MCfC7g046451@repoman.freebsd.org> nyan 2008-08-22 12:40:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys copyright.h Log: SVN rev 182004 on 2008-08-22 12:40:59Z by nyan MFC: Back FreeBSD(98)'s copyright to 2003. Revision Changes Path 1.25.2.2 +1 -1 src/sys/sys/copyright.h From nyan at FreeBSD.org Fri Aug 22 12:47:58 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Aug 22 12:48:10 2008 Subject: cvs commit: src/sys/sys copyright.h Message-ID: <200808221247.m7MClwti056264@repoman.freebsd.org> nyan 2008-08-22 12:47:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sys copyright.h Log: SVN rev 182005 on 2008-08-22 12:47:53Z by nyan MFC: Back FreeBSD(98)'s copyright to 2003. Revision Changes Path 1.19.2.6 +1 -1 src/sys/sys/copyright.h From trasz at FreeBSD.org Fri Aug 22 13:29:45 2008 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Fri Aug 22 13:29:51 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200808221329.m7MDTiFh060617@repoman.freebsd.org> trasz 2008-08-22 13:29:30 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 182006 on 2008-08-22 13:29:30Z by trasz Add myself. Approved by: rwatson Revision Changes Path 1.82 +2 -0 src/share/misc/committers-src.dot From roberto at FreeBSD.org Fri Aug 22 15:58:58 2008 From: roberto at FreeBSD.org (Ollivier Robert) Date: Fri Aug 22 15:59:05 2008 Subject: cvs commit: src/contrib/ntp COPYRIGHT ChangeLog ChangeLog-4.1.0 CommitLog CommitLog-4.1.0 INSTALL Makefile.am Makefile.in NEWS README README.bk README.patches README.refclocks README.versions TODO WHERE-TO-START acinclude.m4 aclocal.m4 bincheck.mf bootstrap ... Message-ID: <200808221558.m7MFwwUu079246@repoman.freebsd.org> roberto 2008-08-22 15:58:00 UTC FreeBSD src repository Modified files: contrib/ntp COPYRIGHT ChangeLog INSTALL Makefile.am Makefile.in NEWS README README.bk README.patches README.refclocks README.versions TODO WHERE-TO-START aclocal.m4 build compile config.guess config.h.in config.sub configure depcomp flock-build install-sh missing version contrib/ntp/adjtimed Makefile.am Makefile.in contrib/ntp/arlib Makefile.in aclocal.m4 configure depcomp install-sh missing contrib/ntp/clockstuff Makefile.am Makefile.in clktest.c propdelay.c contrib/ntp/html accopt.html assoc.html audio.html authopt.html clockopt.html confopt.html copyright.html debug.html extern.html howto.html index.html kern.html keygen.html ldisc.html manyopt.html measure.html miscopt.html monopt.html msyslog.html mx4200data.html notes.html ntpd.html ntpdate.html ntpdc.html ntpdsim.html ntpq.html ntptime.html ntptrace.html parsedata.html parsenew.html pps.html prefer.html rdebug.html refclock.html release.html sntp.html tickadj.html contrib/ntp/html/drivers driver1.html driver10.html driver11.html driver12.html driver16.html driver18.html driver19.html driver2.html driver20.html driver22.html driver26.html driver27.html driver28.html driver29.html driver3.html driver30.html driver32.html driver33.html driver34.html driver35.html driver36.html driver37.html driver38.html driver39.html driver4.html driver40.html driver42.html driver43.html driver44.html driver5.html driver6.html driver7.html driver8.html driver9.html oncore-shmem.html contrib/ntp/html/scripts links11.txt links7.txt links8.txt links9.txt contrib/ntp/include Makefile.am Makefile.in adjtime.h ascii.h binio.h ieee754io.h l_stdlib.h mbg_gps166.h ntp.h ntp_config.h ntp_control.h ntp_crypto.h ntp_filegen.h ntp_fp.h ntp_machine.h ntp_refclock.h ntp_request.h ntp_rfc2553.h ntp_stdlib.h ntp_tty.h ntp_types.h ntpd.h parse.h parse_conf.h recvbuff.h trimble.h contrib/ntp/include/isc Makefile.am Makefile.in interfaceiter.h ipv6.h msgs.h net.h netaddr.h result.h sockaddr.h contrib/ntp/kernel Makefile.in chuinit.c clkinit.c contrib/ntp/kernel/sys Makefile.in parsestreams.h contrib/ntp/libisc ifiter_ioctl.c ifiter_sysctl.c interfaceiter.c net.c contrib/ntp/libntp Makefile.am Makefile.in a_md5encrypt.c adjtime.c audio.c buftvtots.c caljulian.c clocktypes.c decodenetnum.c dolfptoa.c humandate.c icom.c iosignal.c lib_strbuf.h machines.c mktime.c msyslog.c ntp_rfc2553.c numtohost.c prettydate.c recvbuff.c socktoa.c socktohost.c statestr.c systime.c contrib/ntp/libparse Makefile.am Makefile.in README clk_computime.c clk_dcf7000.c clk_hopf6021.c clk_meinberg.c clk_rawdcf.c clk_rcc8000.c clk_schmid.c clk_trimtaip.c clk_trimtsip.c clk_varitext.c clk_wharton.c data_mbg.c info_trimble.c parse.c parse_conf.c parsesolaris.c parsestreams.c trim_info.c contrib/ntp/ntpd Makefile.am Makefile.in cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c ntp_intres.c ntp_io.c ntp_loopfilter.c ntp_monitor.c ntp_peer.c ntp_proto.c ntp_refclock.c ntp_request.c ntp_restrict.c ntp_timer.c ntp_util.c ntpd.c ntpsim.c refclock_acts.c refclock_arbiter.c refclock_arc.c refclock_atom.c refclock_bancomm.c refclock_chu.c refclock_conf.c refclock_datum.c refclock_fg.c refclock_gpsvme.c refclock_heath.c refclock_hopfpci.c refclock_hopfser.c refclock_hpgps.c refclock_irig.c refclock_jjy.c refclock_jupiter.c refclock_leitch.c refclock_local.c refclock_msfees.c refclock_mx4200.c refclock_neoclock4x.c refclock_nmea.c refclock_oncore.c refclock_palisade.c refclock_palisade.h refclock_parse.c refclock_pst.c refclock_ripencc.c refclock_shm.c refclock_ulink.c refclock_wwv.c refclock_wwvb.c contrib/ntp/ntpdate Makefile.am Makefile.in ntpdate.c ntptimeset.c contrib/ntp/ntpdc Makefile.am Makefile.in layout.std nl.pl nl.pl.in ntpdc.c ntpdc.h ntpdc_ops.c contrib/ntp/ntpq Makefile.am Makefile.in ntpq.c ntpq.h contrib/ntp/parseutil Makefile.in dcfd.c testdcf.c contrib/ntp/scripts Makefile.am Makefile.in mkver.in ntpsweep.in ntptrace.in contrib/ntp/scripts/monitoring lr.pl ntploopwatch contrib/ntp/sntp Makefile.am Makefile.in README aclocal.m4 config.guess config.sub configure configure.ac depcomp header.h install-sh internet.c internet.h main.c missing socket.c timing.c contrib/ntp/util Makefile.am Makefile.in ansi2knr.c hist.c jitter.c ntp-keygen.c ntptime.c Added files: contrib/ntp CommitLog CommitLog-4.1.0 bincheck.mf bootstrap configure.ac ltmain.sh packageinfo.sh version.m4 contrib/ntp/html gadget.html groups.html ntp_conf.html ntpdsim_new.html contrib/ntp/html/build build.html config.html hints.html patches.html porting.html quick.html contrib/ntp/html/build/hints a-ux aix bsdi changes decosf1 decosf2 freebsd hpux linux mpeix netbsd notes-xntp-v3 parse refclocks rs6000 sco.html sgi solaris-dosynctodr.html solaris.html solaris.xtra.4023118 solaris.xtra.S99ntpd solaris.xtra.patchfreq sun4 svr4-dell svr4_package todo vxworks.html winnt.html contrib/ntp/html/build/scripts footer.txt links10.txt links11.txt links12.txt links7.txt links8.txt links9.txt style.css contrib/ntp/html/drivers driver31.html tf582_4.html contrib/ntp/html/drivers/scripts footer.txt style.css contrib/ntp/include autogen-version.def copyright.def debug-opt.def homerc.def ntp_debug.h ntp_random.h timepps-SCO.h timepps-Solaris.h timepps-SunOS.h version.def contrib/ntp/include/isc buffer.h netscope.h region.h contrib/ntp/libisc ifiter_getifaddrs.c inet_aton.c inet_pton.c netaddr.c netscope.c sockaddr.c contrib/ntp/libntp ntp_random.c contrib/ntp/libopts COPYING.lgpl COPYING.mbsd MakeDefs.inc Makefile.am Makefile.in README autoopts.c autoopts.h boolean.c configfile.c cook.c enumeration.c environment.c genshell.c genshell.h libopts.c load.c makeshell.c nested.c numeric.c pgusage.c proto.h putshell.c restore.c save.c sort.c stack.c streqvcmp.c text_mmap.c tokenize.c usage.c version.c contrib/ntp/libopts/autoopts options.h usage-txt.h contrib/ntp/libopts/compat compat.h pathfind.c snprintf.c strchr.c strdup.c windows-config.h contrib/ntp/libopts/m4 libopts.m4 liboptschk.m4 contrib/ntp/libparse binio.c gpstolfp.c ieee754io.c mfp_mul.c contrib/ntp/m4 define_dir.m4 hs_ulong_const.m4 os_cflags.m4 contrib/ntp/ntpd ntpd-opts.c ntpd-opts.def ntpd-opts.h ntpd-opts.menu ntpd-opts.texi ntpd.1 ntpdbase-opts.def ntpdsim-opts.c ntpdsim-opts.def ntpdsim-opts.h ntpdsim-opts.menu ntpdsim-opts.texi ntpdsim.1 ppsapi_timepps.h contrib/ntp/ntpdc ntpdc-opts.c ntpdc-opts.def ntpdc-opts.h ntpdc-opts.menu ntpdc-opts.texi ntpdc.1 contrib/ntp/ntpq ntpq-opts.c ntpq-opts.def ntpq-opts.h ntpq-opts.menu ntpq-opts.texi ntpq-subs.c ntpq.1 contrib/ntp/scripts VersionName genCommitLog genver html2man.in contrib/ntp/sntp COPYRIGHT autogen-version.def bincheck.mf compile config.h.in ltmain.sh sntp-opts.c sntp-opts.def sntp-opts.h sntp-opts.menu sntp-opts.texi sntp.1 version.def contrib/ntp/sntp/libopts COPYING.lgpl COPYING.mbsd MakeDefs.inc Makefile.am Makefile.in README autoopts.c autoopts.h boolean.c configfile.c cook.c enumeration.c environment.c genshell.c genshell.h libopts.c load.c makeshell.c nested.c numeric.c pgusage.c proto.h putshell.c restore.c save.c sort.c stack.c streqvcmp.c text_mmap.c tokenize.c usage.c version.c contrib/ntp/sntp/libopts/autoopts options.h usage-txt.h contrib/ntp/sntp/libopts/compat compat.h pathfind.c snprintf.c strchr.c strdup.c windows-config.h contrib/ntp/sntp/libopts/m4 libopts.m4 liboptschk.m4 contrib/ntp/util jitter.h ntp-keygen-opts.c ntp-keygen-opts.def ntp-keygen-opts.h ntp-keygen-opts.menu ntp-keygen-opts.texi ntp-keygen.1 tg.c Removed files: contrib/ntp ChangeLog-4.1.0 acinclude.m4 configure.in mkinstalldirs contrib/ntp/arlib mkinstalldirs contrib/ntp/html build.html config.html hints.html patches.html porting.html quick.html contrib/ntp/html/drivers driver23.html driver24.html contrib/ntp/html/hints a-ux aix bsdi changes decosf1 decosf2 freebsd hpux linux mpeix netbsd notes-xntp-v3 parse refclocks rs6000 sco.html sgi solaris-dosynctodr.html solaris.html solaris.xtra.4023118 solaris.xtra.4095849 solaris.xtra.S99ntpd solaris.xtra.patchfreq sun4 svr4-dell svr4_package todo vxworks.html winnt.html contrib/ntp/libntp binio.c calleapwhen.c gpstolfp.c ieee754io.c log.c log.h mfp_mul.c random.c ranny.c contrib/ntp/ntpd map_vme.c refclock_ptbacts.c refclock_usno.c contrib/ntp/ntpq ntpq_ops.c contrib/ntp/scripts/support README contrib/ntp/scripts/support/bin monl mvstats contrib/ntp/scripts/support/conf hp300.hp300 hp700.hp700 hp700.hp700.faui47 hp800.hp800 ntp.conf sun3.sun3 sun4.sun4.faui01 sun4.sun4.faui10 sun4.sun4.faui45 sun4.sun4c sun4.sun4c.Lucifer sun4.sun4m sun4.sun4m.faui42 sun4.sun4m.faui45m tickconf contrib/ntp/scripts/support/etc cron crontab install rc setup contrib/ntp/sntp mkinstalldirs Log: SVN rev 182007 on 2008-08-22 15:58:00Z by roberto Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit will update usr.sbin/ntp to match this. MFC after: 2 weeks Revision Changes Path 1.2 +148 -123 src/contrib/ntp/COPYRIGHT 1.2 +405 -2737 src/contrib/ntp/ChangeLog 1.2 +0 -6152 src/contrib/ntp/ChangeLog-4.1.0 (dead) 1.1 +23578 -0 src/contrib/ntp/CommitLog (new) 1.1 +6152 -0 src/contrib/ntp/CommitLog-4.1.0 (new) 1.2 +1 -1 src/contrib/ntp/INSTALL 1.2 +138 -56 src/contrib/ntp/Makefile.am 1.2 +610 -292 src/contrib/ntp/Makefile.in 1.2 +69 -83 src/contrib/ntp/NEWS 1.2 +11 -15 src/contrib/ntp/README 1.2 +4 -59 src/contrib/ntp/README.bk 1.2 +11 -1 src/contrib/ntp/README.patches 1.2 +2 -2 src/contrib/ntp/README.refclocks 1.2 +10 -18 src/contrib/ntp/README.versions 1.2 +2 -6 src/contrib/ntp/TODO 1.2 +5 -5 src/contrib/ntp/WHERE-TO-START 1.2 +0 -36 src/contrib/ntp/acinclude.m4 (dead) 1.2 +7007 -205 src/contrib/ntp/aclocal.m4 1.2 +10 -8 src/contrib/ntp/adjtimed/Makefile.am 1.2 +391 -208 src/contrib/ntp/adjtimed/Makefile.in 1.2 +151 -119 src/contrib/ntp/arlib/Makefile.in 1.2 +540 -525 src/contrib/ntp/arlib/aclocal.m4 1.2 +590 -250 src/contrib/ntp/arlib/configure 1.2 +95 -37 src/contrib/ntp/arlib/depcomp 1.2 +250 -221 src/contrib/ntp/arlib/install-sh 1.2 +86 -62 src/contrib/ntp/arlib/missing 1.2 +0 -111 src/contrib/ntp/arlib/mkinstalldirs (dead) 1.1 +15 -0 src/contrib/ntp/bincheck.mf (new) 1.1 +120 -0 src/contrib/ntp/bootstrap (new) 1.2 +51 -11 src/contrib/ntp/build 1.2 +5 -3 src/contrib/ntp/clockstuff/Makefile.am 1.2 +371 -217 src/contrib/ntp/clockstuff/Makefile.in 1.2 +31 -148 src/contrib/ntp/clockstuff/clktest.c 1.2 +6 -6 src/contrib/ntp/clockstuff/propdelay.c 1.2 +96 -53 src/contrib/ntp/compile 1.2 +888 -515 src/contrib/ntp/config.guess 1.2 +981 -534 src/contrib/ntp/config.h.in 1.2 +503 -139 src/contrib/ntp/config.sub 1.2 +51116 -6872 src/contrib/ntp/configure 1.1 +4206 -0 src/contrib/ntp/configure.ac (new) 1.2 +0 -2896 src/contrib/ntp/configure.in (dead) 1.2 +374 -113 src/contrib/ntp/depcomp 1.2 +28 -21 src/contrib/ntp/flock-build 1.2 +66 -63 src/contrib/ntp/html/accopt.html 1.2 +52 -51 src/contrib/ntp/html/assoc.html 1.2 +141 -48 src/contrib/ntp/html/audio.html 1.2 +148 -137 src/contrib/ntp/html/authopt.html 1.2 +0 -83 src/contrib/ntp/html/build.html (dead) 1.1 +83 -0 src/contrib/ntp/html/build/build.html (new) 1.1 +168 -0 src/contrib/ntp/html/build/config.html (new) 1.1 +23 -0 src/contrib/ntp/html/build/hints.html (new) 1.1 +195 -0 src/contrib/ntp/html/build/hints/a-ux (new) 1.1 +76 -0 src/contrib/ntp/html/build/hints/aix (new) 1.1 +65 -0 src/contrib/ntp/html/build/hints/bsdi (new) 1.1 +13 -0 src/contrib/ntp/html/build/hints/changes (new) 1.1 +40 -0 src/contrib/ntp/html/build/hints/decosf1 (new) 1.1 +54 -0 src/contrib/ntp/html/build/hints/decosf2 (