Re: svn commit: r195181 - in head/sys: nfsclient nfsserver

2009-06-30 Thread Doug Rabson
On 30 Jun 2009, at 06:17, bz0...@zabbadoz.net wrote: On Tue, 30 Jun 2009, John Baldwin wrote: Author: jhb Date: Tue Jun 30 03:18:51 2009 New Revision: 195181 URL: http://svn.freebsd.org/changeset/base/195181 Log: Fix build with NFS_LEGACYRPC enabled after the socket upcall locking changes.

svn commit: r195184 - stable/7/tools/tools/nanobsd

2009-06-30 Thread Nick Hibma
Author: n_hibma Date: Tue Jun 30 09:20:43 2009 New Revision: 195184 URL: http://svn.freebsd.org/changeset/base/195184 Log: MFC all changes up to 194958: 194288: Fix NanoBSD when the data partition size is defined as a negative number. 194431: Allow building world into a separate

svn commit: r195185 - in head: share/man/man4 sys/dev/acpi_support

2009-06-30 Thread Rui Paulo
Author: rpaulo Date: Tue Jun 30 09:51:41 2009 New Revision: 195185 URL: http://svn.freebsd.org/changeset/base/195185 Log: acpi_wmi_if: - Document different semantics for ACPI_WMI_PROVIDES_GUID_STRING_METHOD acpi_wmi.c: - Modify acpi_wmi_provides_guid_string_method to return absolut

svn commit: r195186 - head/sys/ufs/ffs

2009-06-30 Thread Konstantin Belousov
Author: kib Date: Tue Jun 30 10:07:00 2009 New Revision: 195186 URL: http://svn.freebsd.org/changeset/base/195186 Log: Softdep_fsync() may need to lock parent directory of the synced vnode. Use inlined (due to FFSV_FORCEINSMQ) version of vn_vget_ino() to prevent mountpoint from being

svn commit: r195187 - head/sys/ufs/ffs

2009-06-30 Thread Konstantin Belousov
Author: kib Date: Tue Jun 30 10:07:33 2009 New Revision: 195187 URL: http://svn.freebsd.org/changeset/base/195187 Log: For SU mounts, softdep_fsync() might drop vnode lock, allowing other threads to put dirty buffers on the vnode bufobj list. For regular files and synchronous fsync

svn commit: r195188 - head/sys/amd64/amd64

2009-06-30 Thread Andriy Gapon
Author: avg Date: Tue Jun 30 11:16:32 2009 New Revision: 195188 URL: http://svn.freebsd.org/changeset/base/195188 Log: remove unused/unneeded extern declarations This should result in no changes to compiled code. Reviewed by: alc Approved by: re (kib) MFC after:1 day

svn commit: r195189 - in head: share/man/man4 sys/dev/cpuctl sys/sys usr.sbin/cpucontrol

2009-06-30 Thread Stanislav Sedov
Author: stas Date: Tue Jun 30 12:35:47 2009 New Revision: 195189 URL: http://svn.freebsd.org/changeset/base/195189 Log: - Add support to atomically set/clear individual bits of a MSR register via cpuctl(4) driver. Two new CPUCTL_MSRSBIT and CPUCTL_MSRCBIT ioctl(2) calls treat the data

svn commit: r195191 - in head/sys: kern sys

2009-06-30 Thread Ed Maste
Author: emaste Date: Tue Jun 30 13:38:49 2009 New Revision: 195191 URL: http://svn.freebsd.org/changeset/base/195191 Log: Add FIONSPACE from NetBSD. FIONSPACE is provided so that programs may easily determine how much space is left in the send queue; they do not need to know the send queue

svn commit: r195193 - in stable/7/sys: . amd64/amd64 arm/arm contrib/pf i386/i386 ia64/ia64 sparc64/sparc64

2009-06-30 Thread Andriy Gapon
Author: avg Date: Tue Jun 30 14:11:43 2009 New Revision: 195193 URL: http://svn.freebsd.org/changeset/base/195193 Log: MFC 179229 (alc), 195188: The VM system no longer uses setPQL2(). Remove it and its helpers. Drop unused extern declarations in amd64 that seem to have been related.

svn commit: r195195 - in head/sys/geom: . journal

2009-06-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 30 14:34:06 2009 New Revision: 195195 URL: http://svn.freebsd.org/changeset/base/195195 Log: Make gjournal work with kernel compiled with options DIAGNOSTIC. Previously, it would panic immediately. Reviewed by: pjd Approved by: re (kib) Modified:

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: I've noticed the xterm entry we have in FreeBSD is somewhat inconsistent with the one from other operating systems. [...] Is this a known issue? I don't know about that one, but our xterm entry is intentionally broken in at least one area: it does not

Re: svn commit: r194681 - head/usr.sbin/wpa/ndis_events

2009-06-30 Thread Dag-Erling Smørgrav
Maxim Konovalov ma...@macomnet.ru writes: fixed, thanks. It still says static void usage() I know this is allowed by C99, but it's not allowed by style(9). DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list

Re: svn commit: r194538 - head/sys/sys

2009-06-30 Thread Dag-Erling Smørgrav
Bruce Evans b...@optusnet.com.au writes: Freestanding reserves fewer symbols for the implementation. IIRC, freestanding implementations are only required to provide iso646.h and stdint.h, and everything else is available to the application. DES -- Dag-Erling Smørgrav - d...@des.no

Re: svn commit: r195181 - in head/sys: nfsclient nfsserver

2009-06-30 Thread Steve Kargl
On Tue, Jun 30, 2009 at 05:17:48AM +, bz0...@zabbadoz.net wrote: On Tue, 30 Jun 2009, John Baldwin wrote: Author: jhb Date: Tue Jun 30 03:18:51 2009 New Revision: 195181 URL: http://svn.freebsd.org/changeset/base/195181 Log: Fix build with NFS_LEGACYRPC enabled after the socket

Re: svn commit: r195181 - in head/sys: nfsclient nfsserver

2009-06-30 Thread M. Warner Losh
In message: 20090630051641.t22...@maildrop.int.zabbadoz.net bz0...@zabbadoz.net writes: : On Tue, 30 Jun 2009, John Baldwin wrote: : : Author: jhb : Date: Tue Jun 30 03:18:51 2009 : New Revision: 195181 : URL: http://svn.freebsd.org/changeset/base/195181 : : Log: : Fix build

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread M. Warner Losh
In message: 86prcl23k8@ds4.des.no Dag-Erling_Smørgrav d...@des.no writes: : Ed Schouten e...@80386.nl writes: : I've noticed the xterm entry we have in FreeBSD is somewhat : inconsistent with the one from other operating systems. [...] Is : this a known issue? : : I don't

Re: svn commit: r194789 - head/usr.bin/usbhidctl

2009-06-30 Thread Dag-Erling Smørgrav
Bruce Evans b...@optusnet.com.au writes: Actually, it is OK to use it in FreeBSD iff the system supports the same program having different names, like reboot/halt/etc. I don't see the point - you would still need different usage messages for each version. Using your example: % reboot -h

Re: svn commit: r195026 - head/etc/rc.d

2009-06-30 Thread Dag-Erling Smørgrav
Robert Watson rwat...@freebsd.org writes: This sounds right to me, FWIW -- being able to fully configure the policy before network traffic starts is definitely right in the abstract, it's just a question of getting there... One option would be to start pf with a pre-cooked rule set that allows

svn commit: r195196 - stable/6/sys/netinet

2009-06-30 Thread Attilio Rao
Author: attilio Date: Tue Jun 30 15:23:16 2009 New Revision: 195196 URL: http://svn.freebsd.org/changeset/base/195196 Log: If the table is empty we can end up with a NULL pointer. Handle that case trying to free and re-allocate a new object for the timerqueue, managing unallocations. This

Re: svn commit: r195181 - in head/sys: nfsclient nfsserver

2009-06-30 Thread Sam Leffler
M. Warner Losh wrote: In message: 20090630051641.t22...@maildrop.int.zabbadoz.net bz0...@zabbadoz.net writes: : On Tue, 30 Jun 2009, John Baldwin wrote: : : Author: jhb : Date: Tue Jun 30 03:18:51 2009 : New Revision: 195181 : URL: http://svn.freebsd.org/changeset/base/195181 :

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread Robert Watson
On Tue, 30 Jun 2009, M. Warner Losh wrote: Last time this BBQ came up, I thought it was agreed that there would be a xterm-XXX that didn't do this behavior for those folks that think the current behavior is harmfully wrong... Whereas I think it's a bug in more(1)/less(1) that it tries to use

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread M. Warner Losh
In message: alpine.bsf.2.00.0906301631470.28...@fledge.watson.org Robert Watson rwat...@freebsd.org writes: : On Tue, 30 Jun 2009, M. Warner Losh wrote: : : Last time this BBQ came up, I thought it was agreed that there would be a : xterm-XXX that didn't do this behavior for those

Re: svn commit: r195026 - head/etc/rc.d

2009-06-30 Thread Dimitry Andric
On 2009-06-30 17:07, Dag-Erling Smørgrav wrote: One option would be to start pf with a pre-cooked rule set that allows only DHCP and nd6 / rtsol or similar, then load the user-provided rule set once all interfaces are up. Please see also the suggestion here:

svn commit: r195197 - in stable/7/sys: . amd64/amd64 amd64/include contrib/pf dev/coretemp dev/hwpmc i386/cpufreq i386/i386 i386/include

2009-06-30 Thread Andriy Gapon
Author: avg Date: Tue Jun 30 17:10:08 2009 New Revision: 195197 URL: http://svn.freebsd.org/changeset/base/195197 Log: MFC 185295, 185341, 185343: cpu identification improvements Goal of this MFC is to minimize unnecessary code differences between head and the branch, and to improve/fix

svn commit: r195198 - in stable/7/sys: . amd64/amd64 contrib/pf

2009-06-30 Thread Andriy Gapon
Author: avg Date: Tue Jun 30 17:19:11 2009 New Revision: 195198 URL: http://svn.freebsd.org/changeset/base/195198 Log: MFC 185460 (mav): improve invariant TSC detection for Intel CPUs Nod from: mav Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/amd64/identcpu.c

svn commit: r195199 - in stable/7/sys: . amd64/amd64 contrib/pf

2009-06-30 Thread Andriy Gapon
Author: avg Date: Tue Jun 30 17:27:53 2009 New Revision: 195199 URL: http://svn.freebsd.org/changeset/base/195199 Log: MFC 185561 (ganbold): Remove unused variable. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/amd64/intr_machdep.c stable/7/sys/contrib/pf/ (props

svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Martin Blapp
Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network Submitted by: Marc Balmer m...@msys.ch Reviewed by:rwatson Approved by: re

svn commit: r195202 - in head/sys: conf i386/i386 modules/nfsclient modules/nfsserver nfs nfsclient nfsserver

2009-06-30 Thread Doug Rabson
Author: dfr Date: Tue Jun 30 19:03:27 2009 New Revision: 195202 URL: http://svn.freebsd.org/changeset/base/195202 Log: Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. Approved by: re Deleted: head/sys/nfs/rpcv2.h head/sys/nfsclient/nfs_socket.c

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread M. Warner Losh
wake really is too generic a name for this. Why didn't the wol port get committed anyway, it seems to be better than this... Warner In message: 200906301851.n5uipnjq089...@svn.freebsd.org Martin Blapp m...@freebsd.org writes: : Author: mbr : Date: Tue Jun 30 18:51:22 2009 : New

svn commit: r195209 - head/sys/kern

2009-06-30 Thread Alan Cox
Author: alc Date: Tue Jun 30 19:39:17 2009 New Revision: 195209 URL: http://svn.freebsd.org/changeset/base/195209 Log: Remove a stale comment. The very same revision (r85511) that introduced this comment also implemented the proposed change to the code. Approved by: re (kib) Modified:

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 21:36 schrieb M. Warner Losh: wake really is too generic a name for this. Why didn't the wol port get committed anyway, it seems to be better than this... wake is a short, mnemonic and imperative name that describes what the command does. It is exactly the same command as

Re: svn commit: r195202 - in head/sys: conf i386/i386 modules/nfsclient modules/nfsserver nfs nfsclient nfsserver

2009-06-30 Thread Ed Schouten
Hi Doug, * Doug Rabson d...@freebsd.org wrote: Log: Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. Approved by: re It seems /sys/amd64/amd64/genassym.c doesn't build anymore, because it includes nfs/rpcv2.h. It seems removing the #include fixes the build.

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 21:07 schrieb Sam Leffler: Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network Submitted by: Marc

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread M. Warner Losh
In message: 0e6d4fb2-a485-40ed-a856-acc311a90...@msys.ch Marc Balmer m...@msys.ch writes: : : Am 30.06.2009 um 21:36 schrieb M. Warner Losh: : : wake really is too generic a name for this. Why didn't the wol port : get committed anyway, it seems to be better than this... : : wake

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 22:13 schrieb M. Warner Losh: In message: 0e6d4fb2-a485-40ed-a856-acc311a90...@msys.ch Marc Balmer m...@msys.ch writes: : : Am 30.06.2009 um 21:36 schrieb M. Warner Losh: : : wake really is too generic a name for this. Why didn't the wol port : get committed

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 22:02 schrieb Thomas Backman: On Jun 30, 2009, at 08:51 PM, Martin Blapp wrote: +void +usage(void) +{ + (void)fprintf(stderr, usage: wake interface lladdr\n); + exit(0); +} [...] + for (n = 2; n argc; n++) + if (wake(argv[1], argv[n])) +

Re: svn commit: r195202 - in head/sys: conf i386/i386 modules/nfsclient modules/nfsserver nfs nfsclient nfsserver

2009-06-30 Thread pluknet
2009/7/1 Ed Schouten e...@80386.nl: Hi Doug, * Doug Rabson d...@freebsd.org wrote: Log: Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. Approved by: re It seems /sys/amd64/amd64/genassym.c doesn't build anymore, because it includes nfs/rpcv2.h. It seems

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread M. Warner Losh
In message: 7b9c309f-63e3-4cb8-9871-de2dee010...@msys.ch Marc Balmer m...@msys.ch writes: : : Am 30.06.2009 um 22:13 schrieb M. Warner Losh: : : In message: 0e6d4fb2-a485-40ed-a856-acc311a90...@msys.ch : Marc Balmer m...@msys.ch writes: : : : : Am 30.06.2009 um 21:36

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread Max Laier
On Tuesday 30 June 2009 21:37:12 Ulrich Spörlein wrote: On Tue, 30.06.2009 at 09:46:32 -0600, M. Warner Losh wrote: In message: alpine.bsf.2.00.0906301631470.28...@fledge.watson.org Robert Watson rwat...@freebsd.org writes: : On Tue, 30 Jun 2009, M. Warner Losh wrote: :

svn commit: r195211 - head/lib/libc/sys

2009-06-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 30 20:53:56 2009 New Revision: 195211 URL: http://svn.freebsd.org/changeset/base/195211 Log: Make it clear where to look for for protocol-specific socket options. Reviewed by: rwatson Approved by: re (kib) Modified: head/lib/libc/sys/getsockopt.2

svn commit: r195212 - head/usr.sbin/pkg_install/lib

2009-06-30 Thread Brian Somers
Author: brian Date: Tue Jun 30 20:53:57 2009 New Revision: 195212 URL: http://svn.freebsd.org/changeset/base/195212 Log: Don't imply that only FTP urls are supported when we can't fetch a package. Approved by: re (kib) MFC after:3 weeks Modified:

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread M. Warner Losh
In message: 200906302252.53894@love2party.net Max Laier m...@love2party.net writes: : On Tuesday 30 June 2009 21:37:12 Ulrich Spörlein wrote: : On Tue, 30.06.2009 at 09:46:32 -0600, M. Warner Losh wrote: : In message: alpine.bsf.2.00.0906301631470.28...@fledge.watson.org : :

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Sam Leffler
Marc Balmer wrote: Am 30.06.2009 um 21:07 schrieb Sam Leffler: Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Sam Leffler
Marc Balmer wrote: Am 30.06.2009 um 21:36 schrieb M. Warner Losh: wake really is too generic a name for this. Why didn't the wol port get committed anyway, it seems to be better than this... wake is a short, mnemonic and imperative name that describes what the command does. It is exactly

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 23:09 schrieb Sam Leffler: Marc Balmer wrote: Am 30.06.2009 um 21:07 schrieb Sam Leffler: Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Ivan Voras
2009/6/30 Marc Balmer m...@msys.ch: Am 30.06.2009 um 21:36 schrieb M. Warner Losh: wake really is too generic a name for this.  Why didn't the wol port get committed anyway, it seems to be better than this... wake is a short, mnemonic and imperative name that describes what the command

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Kostik Belousov
On Tue, Jun 30, 2009 at 11:25:56PM +0200, Marc Balmer wrote: Am 30.06.2009 um 23:09 schrieb Sam Leffler: Marc Balmer wrote: Am 30.06.2009 um 21:07 schrieb Sam Leffler: Martin Blapp wrote: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL:

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 23:29 schrieb Kostik Belousov: [...] a compelling argument could be that wake(8) is BSD licensed while wol found in ports/net/wol is GPL licensed and brings in a whole lot of a whole lot of a whole lot of a whole lot of a stuff with it, when actually, to send out Wake on LAN

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Kostik Belousov
On Tue, Jun 30, 2009 at 11:34:36PM +0200, Marc Balmer wrote: Am 30.06.2009 um 23:29 schrieb Kostik Belousov: Then, add the wake program to ports. My opinion is that this better be kept in ports. I find it a rather basic operation to be able to wake up remote systems from a central

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Stanislav Sedov
On Tue, 30 Jun 2009 18:51:23 + (UTC) Martin Blapp m...@freebsd.org mentioned: Author: mbr Date: Tue Jun 30 18:51:22 2009 New Revision: 195200 URL: http://svn.freebsd.org/changeset/base/195200 Log: Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread Marc Balmer
Am 30.06.2009 um 23:43 schrieb Kostik Belousov: On Tue, Jun 30, 2009 at 11:34:36PM +0200, Marc Balmer wrote: Am 30.06.2009 um 23:29 schrieb Kostik Belousov: Then, add the wake program to ports. My opinion is that this better be kept in ports. I find it a rather basic operation to be able

svn commit: r195213 - head/usr.sbin/wake

2009-06-30 Thread Martin Blapp
Author: mbr Date: Tue Jun 30 22:09:47 2009 New Revision: 195213 URL: http://svn.freebsd.org/changeset/base/195213 Log: Compiles without higher warn level Mwake/Makefile Approved by: re (previous commit) Modified: head/usr.sbin/wake/Makefile Modified:

Re: svn commit: r195200 - in head/usr.sbin: . wake

2009-06-30 Thread M. Warner Losh
In message: 7b9c309f-63e3-4cb8-9871-de2dee010...@msys.ch Marc Balmer m...@msys.ch writes: : : Am 30.06.2009 um 22:13 schrieb M. Warner Losh: : : In message: 0e6d4fb2-a485-40ed-a856-acc311a90...@msys.ch : Marc Balmer m...@msys.ch writes: : : : : Am 30.06.2009 um 21:36