Re: svn commit: r186504 - head/sbin/mount

2009-01-10 Thread Christoph Mallon
David O'Brien schrieb: On Sun, Jan 04, 2009 at 07:06:18PM +0100, Christoph Mallon wrote: I'm pretty sure $SUPERNATURAL_BEING_OF_YOUR_CHOICE killed a kitten for the ugly hack you added to mount. The moment you overflow a buffer, you are in no man's land and there's no escape. I appended a patch,

svn commit: r187044 - stable/7/usr.sbin/pkg_install/add

2009-01-10 Thread Chin-San Huang
Author: chinsan (doc,ports committer) Date: Sun Jan 11 05:59:39 2009 New Revision: 187044 URL: http://svn.freebsd.org/changeset/base/187044 Log: Synchronize pkg_install(1) with HEAD: fix typo Modified: stable/7/usr.sbin/pkg_install/add/pkg_add.1 Modified: stable/7/usr.sbin/pkg_install/add/pk

svn commit: r187043 - stable/6/usr.sbin/pkg_install/add

2009-01-10 Thread Chin-San Huang
Author: chinsan (doc,ports committer) Date: Sun Jan 11 05:59:27 2009 New Revision: 187043 URL: http://svn.freebsd.org/changeset/base/187043 Log: Synchronize pkg_install(1) with HEAD: fix typo Modified: stable/6/usr.sbin/pkg_install/add/pkg_add.1 Modified: stable/6/usr.sbin/pkg_install/add/pk

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Julian Elischer
Robert Watson wrote: On Sat, 10 Jan 2009, Adrian Chadd wrote: 2009/1/10 Robert Watson : I think Julian's analysis, that this is more of an inet option than a socket-layer option, seems more appropriate to me, the benefits of portability in adopting the API used by OpenBSD/BSDI/etc seem more

Re: svn commit: r186504 - head/sbin/mount

2009-01-10 Thread David O'Brien
On Sun, Jan 04, 2009 at 07:06:18PM +0100, Christoph Mallon wrote: > I'm pretty sure $SUPERNATURAL_BEING_OF_YOUR_CHOICE killed a kitten for the > ugly hack you added to mount. The moment you overflow a buffer, you are in > no man's land and there's no escape. I appended a patch, which solves this

svn commit: r187039 - head/sys/net

2009-01-10 Thread Robert Watson
Author: rwatson Date: Sat Jan 10 23:50:23 2009 New Revision: 187039 URL: http://svn.freebsd.org/changeset/base/187039 Log: Do invoke mac_ifnet_check_transmit() and mac_ifnet_create_mbuf() in the loopback and synthetic loopback code so that packets are access control checked and relabeled. P

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Adrian Chadd
2009/1/10 Robert Watson : > If the API turns out to be effectly semantically the same, or better, then I > think the suggestion is to entirely replace, rather than supplement, the > socket option you just added with it. There's no point in having > pointlessly divergent APIs where it can be avoid

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Robert Watson
On Sat, 10 Jan 2009, Adrian Chadd wrote: 2009/1/10 Robert Watson : I think Julian's analysis, that this is more of an inet option than a socket-layer option, seems more appropriate to me, the benefits of portability in adopting the API used by OpenBSD/BSDI/etc seem more compelling. We shou

svn commit: r187038 - head/usr.bin/netstat

2009-01-10 Thread Ruslan Ermilov
Author: ru Date: Sat Jan 10 22:49:02 2009 New Revision: 187038 URL: http://svn.freebsd.org/changeset/base/187038 Log: Fix usage() with SYNOPSIS. Modified: head/usr.bin/netstat/main.c Modified: head/usr.bin/netstat/main.c ===

svn commit: r187037 - head/usr.bin/netstat

2009-01-10 Thread Ruslan Ermilov
Author: ru Date: Sat Jan 10 22:48:12 2009 New Revision: 187037 URL: http://svn.freebsd.org/changeset/base/187037 Log: Fix markup and spelling. Modified: head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/netstat.1 ===

Re: svn commit: r187024 - head/share/misc

2009-01-10 Thread Alexander Motin
Kostik Belousov wrote: On Sat, Jan 10, 2009 at 09:07:29PM +, Jo?o Barros wrote: Could you please do the same for the 6121? Please see http://svn.freebsd.org/viewvc/base?view=revision&revision=185268 If you provide the patch for the pci_vendors, I will commit it. I have no idea what is the

Re: svn commit: r187024 - head/share/misc

2009-01-10 Thread Kostik Belousov
On Sat, Jan 10, 2009 at 09:07:29PM +, Jo?o Barros wrote: > Could you please do the same for the 6121? > Please see http://svn.freebsd.org/viewvc/base?view=revision&revision=185268 If you provide the patch for the pci_vendors, I will commit it. I have no idea what is the proper descriptive line

svn commit: r187036 - head/sys/dev/sound/pcm

2009-01-10 Thread Alexander Motin
Author: mav Date: Sat Jan 10 21:38:37 2009 New Revision: 187036 URL: http://svn.freebsd.org/changeset/base/187036 Log: OSS tools expect EINVAL for unsupported ioctls, but not ENXIO. Modified: head/sys/dev/sound/pcm/mixer.c Modified: head/sys/dev/sound/pcm/mixer.c

Re: svn commit: r187024 - head/share/misc

2009-01-10 Thread João Barros
On Sat, Jan 10, 2009 at 4:24 PM, Konstantin Belousov wrote: > Author: kib > Date: Sat Jan 10 16:24:58 2009 > New Revision: 187024 > URL: http://svn.freebsd.org/changeset/base/187024 > > Log: > Correct description for the Marvell 88SE6101. > > Submitted by: Andriy Gapon > MFC after:3 days >

svn commit: r187035 - head/sbin/mount

2009-01-10 Thread David E. O'Brien
Author: obrien Date: Sat Jan 10 20:54:47 2009 New Revision: 187035 URL: http://svn.freebsd.org/changeset/base/187035 Log: Explicitly check each mount argv building assignment for buffer over flowing. Reviewed by: imp (earlier version of patch) Modified: head/sbin/mount/mount.c Modified

svn commit: r187034 - head/sys/dev/sound/pcm

2009-01-10 Thread Alexander Motin
Author: mav Date: Sat Jan 10 20:49:15 2009 New Revision: 187034 URL: http://svn.freebsd.org/changeset/base/187034 Log: Make devnode include full device path. This makes OSSv4 osstest tool work. Modified: head/sys/dev/sound/pcm/dsp.c Modified: head/sys/dev/sound/pcm/dsp.c ==

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Julian Elischer
Adrian Chadd wrote: 2009/1/10 Attila Nagy : BTW, I'm eagerly waiting for somebody to implement this transparency into nginx, which can act as a reverse proxy with built-in perl logic. :) That way FreeBSD could be used as a highly flexible transparent reverse HTTP proxy. Do you know anything e

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Adrian Chadd
2009/1/10 Attila Nagy : > BTW, I'm eagerly waiting for somebody to implement this transparency into > nginx, which can act as a reverse proxy with built-in perl logic. :) > That way FreeBSD could be used as a highly flexible transparent reverse HTTP > proxy. > > Do you know anything else which ca

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Julian Elischer
Adrian Chadd wrote: 2009/1/10 Robert Watson : I think Julian's analysis, that this is more of an inet option than a socket-layer option, seems more appropriate to me, the benefits of portability in adopting the API used by OpenBSD/BSDI/etc seem more compelling. We should make sure that, if we

svn commit: r187033 - in stable/6/etc: . periodic/security

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 19:03:35 2009 New Revision: 187033 URL: http://svn.freebsd.org/changeset/base/187033 Log: MFC r181531 to stable/6: 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 lo

svn commit: r187032 - head/sys/dev/sound/pcm

2009-01-10 Thread Alexander Motin
Author: mav Date: Sat Jan 10 19:01:29 2009 New Revision: 187032 URL: http://svn.freebsd.org/changeset/base/187032 Log: Remove debug slipped with the previous commit. Modified: head/sys/dev/sound/pcm/dsp.c Modified: head/sys/dev/sound/pcm/dsp.c

svn commit: r187031 - in stable/7/etc: . periodic/security

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 19:00:17 2009 New Revision: 187031 URL: http://svn.freebsd.org/changeset/base/187031 Log: MFC r181531 to stable/7: 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 lo

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Garrett Cooper
On Jan 10, 2009, at 10:28, Attila Nagy wrote: Adrian Chadd wrote: 2009/1/10 Robert Watson : I think Julian's analysis, that this is more of an inet option than a socket-layer option, seems more appropriate to me, the benefits of portability in adopting the API used by OpenBSD/BSDI/etc see

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Attila Nagy
Adrian Chadd wrote: 2009/1/10 Robert Watson : I think Julian's analysis, that this is more of an inet option than a socket-layer option, seems more appropriate to me, the benefits of portability in adopting the API used by OpenBSD/BSDI/etc seem more compelling. We should make sure that, if

svn commit: r187030 - in head/sys: dev/sound/pcm sys

2009-01-10 Thread Alexander Motin
Author: mav Date: Sat Jan 10 18:19:22 2009 New Revision: 187030 URL: http://svn.freebsd.org/changeset/base/187030 Log: Import some new constants and structures fields from OSSv4. Implement some OSSv4 ioctls to make ossinfo tool work and print something reasonable. Modified: head/sys/dev/s

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Adrian Chadd
2009/1/10 Robert Watson : > I think Julian's analysis, that this is more of an inet option than a > socket-layer option, seems more appropriate to me, the benefits of > portability in adopting the API used by OpenBSD/BSDI/etc seem more > compelling. We should make sure that, if we move to the soc

svn commit: r187029 - in stable/7/sys: . conf contrib/pf dev/ath/ath_hal dev/cxgb dev/hptiop

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 17:56:50 2009 New Revision: 187029 URL: http://svn.freebsd.org/changeset/base/187029 Log: MFC r183590 to stable/7: - Spell cam correctly (scbus), this makes it possible to compile hptiop in GENERIC and LINT. [1] - Rename hpt_dbg_level to hpt_iop_dbg_l

svn commit: r187028 - head/sys/cam/scsi

2009-01-10 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 10 17:22:49 2009 New Revision: 187028 URL: http://svn.freebsd.org/changeset/base/187028 Log: Don't call destroy_dev(9) with a mutex held. While here, shuffle things around so the periph destructors look alike. Based on a patch by Jaakko Heinonen. Submitted

svn commit: r187027 - in head: sbin/mdconfig sys/dev/md

2009-01-10 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 10 17:17:18 2009 New Revision: 187027 URL: http://svn.freebsd.org/changeset/base/187027 Log: Add the possibility to specify "-o force" with "mdconfig -du". Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Modified: head/

svn commit: r187026 - in stable/6: contrib/telnet contrib/telnet/arpa include include/arpa

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 16:57:22 2009 New Revision: 187026 URL: http://svn.freebsd.org/changeset/base/187026 Log: MFC r183004 to stable/6: Fix TELOPT(opt) when opt > TELOPT_TN3270E. PR: 127194 Submitted by: Joost Bekkers MFC after: 1 month Modified:

svn commit: r187025 - in stable/7/sys: . contrib/pf dev/cxgb dev/drm

2009-01-10 Thread Robert Noland
Author: rnoland Date: Sat Jan 10 16:42:13 2009 New Revision: 187025 URL: http://svn.freebsd.org/changeset/base/187025 Log: MFC - Sync drm to HEAD Merged /head/sys:r186295,186299-186300,186386,186465 This brings 7 up to date with HEAD. - Use bus_dma to allocate scatt

svn commit: r187024 - head/share/misc

2009-01-10 Thread Konstantin Belousov
Author: kib Date: Sat Jan 10 16:24:58 2009 New Revision: 187024 URL: http://svn.freebsd.org/changeset/base/187024 Log: Correct description for the Marvell 88SE6101. Submitted by: Andriy Gapon MFC after:3 days Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_ven

svn commit: r187023 - stable/7/sys/sys

2009-01-10 Thread Konstantin Belousov
Author: kib Date: Sat Jan 10 16:19:38 2009 New Revision: 187023 URL: http://svn.freebsd.org/changeset/base/187023 Log: Bump __FreeBSD_version after the strndup() merge to stable/7. Requested by: Florian Smeets Modified: stable/7/sys/sys/param.h Modified: stable/7/sys/sys/param.h ==

svn commit: r187022 - in stable/7: bin bin/chio bin/cp bin/sh bin/test sbin sbin/atacontrol sbin/ddb sbin/devfs sbin/dhclient sbin/fdisk sbin/fsck_ffs sbin/geom sbin/geom/class/part sbin/geom/misc ...

2009-01-10 Thread Daniel Gerzo
Author: danger (doc committer) Date: Sat Jan 10 16:01:20 2009 New Revision: 187022 URL: http://svn.freebsd.org/changeset/base/187022 Log: MFC r186843 - r186849 - rename the RETURN VALUES section to EXIT STATUS - convert to .Ex macro Modified: stable/7/bin/ (props changed) stable/7/

svn commit: r187021 - in stable/7/sys: . conf dev/drm modules/drm/i915

2009-01-10 Thread Robert Noland
Author: rnoland Date: Sat Jan 10 14:53:47 2009 New Revision: 187021 URL: http://svn.freebsd.org/changeset/base/187021 Log: MFC most all of drm from HEAD. This brings in the following: Merged /head/sys:r182080,182467-182469,182883-182884,183573, 183603-183605,183828,183830-18383

svn commit: r187020 - head/sys/dev/sound/pci/hda

2009-01-10 Thread Alexander Motin
Author: mav Date: Sat Jan 10 14:14:00 2009 New Revision: 187020 URL: http://svn.freebsd.org/changeset/base/187020 Log: Add one more bunch of controller and codec IDs. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c =

svn commit: r187019 - head/usr.bin/csplit

2009-01-10 Thread Tom Rhodes
Author: trhodes Date: Sat Jan 10 12:47:22 2009 New Revision: 187019 URL: http://svn.freebsd.org/changeset/base/187019 Log: A bit of rewording for clarity, taken from OpenBSD. Submitted by: j...@openbsd.org Modified: head/usr.bin/csplit/csplit.1 Modified: head/usr.bin/csplit/csplit.1 ===

svn commit: r187018 - head/usr.bin/netstat

2009-01-10 Thread Ruslan Ermilov
Author: ru Date: Sat Jan 10 12:39:12 2009 New Revision: 187018 URL: http://svn.freebsd.org/changeset/base/187018 Log: Fix crash with "netstat -m -N foo". PR: bin/124724 MFC after:3 days Modified: head/usr.bin/netstat/main.c Modified: head/usr.bin/netstat/main.c =

svn commit: r187017 - in stable/7: contrib/telnet contrib/telnet/arpa include include/arpa

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 11:45:47 2009 New Revision: 187017 URL: http://svn.freebsd.org/changeset/base/187017 Log: MFC r183004 to stable/7: Fix TELOPT(opt) when opt > TELOPT_TN3270E. PR: 127194 Submitted by: Joost Bekkers MFC after: 1 month Modified:

svn commit: r187016 - in head/sys/security: mac mac_biba mac_bsdextended mac_ifoff mac_lomac mac_mls mac_none mac_partition mac_portacl mac_seeotheruids mac_stub mac_test

2009-01-10 Thread Robert Watson
Author: rwatson Date: Sat Jan 10 10:58:41 2009 New Revision: 187016 URL: http://svn.freebsd.org/changeset/base/187016 Log: Rather than having MAC policies explicitly declare what object types they label, derive that information implicitly from the set of label initializers in their policy op

Re: svn commit: r186991 - stable/7/usr.sbin/powerd

2009-01-10 Thread Robert Watson
On Sat, 10 Jan 2009, Alexander Motin wrote: Author: mav Date: Sat Jan 10 00:41:30 2009 New Revision: 186991 URL: http://svn.freebsd.org/changeset/base/186991 Log: Mark that powerd is completely merged. Thanks! This does make it a lot easier to inspect the merge history and look for missin

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Robert Watson
On Sat, 10 Jan 2009, Attila Nagy wrote: Well, they can be used mostly interchangably - they socket option is just implemented at a different layer. Porting should be a case of a simple #ifdef. :) I wonder what pf changes are needed.. I think Julian's analysis, that this is more of an inet

svn commit: r187015 - in stable/7: . tools/build/mk

2009-01-10 Thread Antoine Brodin
Author: antoine Date: Sat Jan 10 10:25:25 2009 New Revision: 187015 URL: http://svn.freebsd.org/changeset/base/187015 Log: MFC r183002 to stable/7: Add files to remove when WITHOUT_HESIOD is set. This fixes "make check-old" when WITH_HESIOD is set. PR: 122406 MFC after

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-10 Thread Attila Nagy
Hello, pf and relayd changes... http://marc.info/?l=openbsd-cvs&m=121030115209292&w=2 http://marc.info/?l=openbsd-cvs&m=121320866832670&w=2 (sorry, I don't know a better way to link to these changes, the commit logs contain the affected files and their log message, so they can be looked up in t

svn commit: r187014 - in head/sys/security: mac mac_biba mac_lomac mac_mls mac_stub mac_test

2009-01-10 Thread Robert Watson
Author: rwatson Date: Sat Jan 10 09:17:16 2009 New Revision: 187014 URL: http://svn.freebsd.org/changeset/base/187014 Log: Use MPC_OBJECT_IP6Q to indicate labeling of struct ip6q rather than MPC_OBJECT_IPQ; it was already defined, just not used. Obtained from:TrustedBSD Project