svn commit: r194807 - head/usr.sbin/sysinstall

2009-06-23 Thread Colin Percival
Author: cperciva Date: Wed Jun 24 04:56:13 2009 New Revision: 194807 URL: http://svn.freebsd.org/changeset/base/194807 Log: Add detection of UFS filesystems. PR: bin/135565 Submitted by: Daniel O'Connor Reviewed by: randi MFC after:1 month Modified:

svn commit: r194808 - in releng/7.2: . lib/libc/stdlib sys/conf sys/dev/bce sys/dev/fxp

2009-06-23 Thread Colin Percival
Author: cperciva Date: Wed Jun 24 05:28:09 2009 New Revision: 194808 URL: http://svn.freebsd.org/changeset/base/194808 Log: MFS r192477: Fix packet length calculation in bce(4). [EN-09:02] MFS r191867: Correctly set IP packet length for TSO in fxp(4). [EN-09:03] MFS r191767: Fix a

svn commit: r194931 - head/usr.sbin/sysinstall

2009-06-24 Thread Colin Percival
Author: cperciva Date: Wed Jun 24 23:17:00 2009 New Revision: 194931 URL: http://svn.freebsd.org/changeset/base/194931 Log: Make sysinstall search for /dev/daXa and register such devices as USB disks. This covers the common case of unsliced USB drives, and makes it possible to select them

svn commit: r195441 - head/usr.sbin/sysinstall

2009-07-08 Thread Colin Percival
Author: cperciva Date: Wed Jul 8 06:07:23 2009 New Revision: 195441 URL: http://svn.freebsd.org/changeset/base/195441 Log: Refactor code from installFixitCDROM into a new function, fixit_livefs_common. While doing so, improve style and reword some comments. This should not result in any

svn commit: r195621 - head/contrib/netcat

2009-07-11 Thread Colin Percival
Author: cperciva Date: Sat Jul 11 17:35:55 2009 New Revision: 195621 URL: http://svn.freebsd.org/changeset/base/195621 Log: Fix .Dd value -- our mdoc macros don't know how to parse the $Mdocdate$ tag, so the file was being treated as having no date (i.e., the current date was being

svn commit: r195622 - head/share/man/man9

2009-07-11 Thread Colin Percival
Author: cperciva Date: Sat Jul 11 17:36:59 2009 New Revision: 195622 URL: http://svn.freebsd.org/changeset/base/195622 Log: Fix typo: kproc_resume,.9 - kproc_resume.9. Approved by: re (kib) Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

svn commit: r195626 - in head: contrib/amd/amd contrib/ntp/scripts contrib/sendmail/cf/sh secure/lib/libcrypto sys/contrib/dev/acpica/compiler sys/dev/hptrr

2009-07-11 Thread Colin Percival
Author: cperciva Date: Sat Jul 11 22:30:37 2009 New Revision: 195626 URL: http://svn.freebsd.org/changeset/base/195626 Log: Remove build timestamps from the following files: /boot/kernel/hptrr.ko /etc/mail/*.cf /lib/libcrypto.so.5 /usr/bin/ntpq /usr/sbin/amd /usr/sbin/iasl

Re: svn commit: r195626 - in head: contrib/amd/amd contrib/ntp/scripts contrib/sendmail/cf/sh secure/lib/libcrypto sys/contrib/dev/acpica/compiler sys/dev/hptrr

2009-07-12 Thread Colin Percival
Brian Somers wrote: On Sat, 11 Jul 2009 22:30:37 + (UTC) Colin Percival cperc...@freebsd.org wrote: Remove build timestamps from the following files: [...] After this commit, the only remaining build timestamps are in the kernel, the boot loaders, /usr/include/osreldate.h

svn commit: r195817 - head/usr.sbin/sysinstall

2009-07-21 Thread Colin Percival
Author: cperciva Date: Wed Jul 22 03:50:54 2009 New Revision: 195817 URL: http://svn.freebsd.org/changeset/base/195817 Log: Remove the dedicated disk mode partitioning option from sysinstall, in both the disk partitioning screen (the 'F' key) and via install.cfg (the VAR_DEDICATED_DISK

svn commit: r195917 - head/etc

2009-07-27 Thread Colin Percival
Author: cperciva Date: Mon Jul 27 20:24:00 2009 New Revision: 195917 URL: http://svn.freebsd.org/changeset/base/195917 Log: Add INDEX-8 to the default portsnap configuration file, and remove INDEX-5. The Portsnap buildbox now generates teh bits needed for portsnap to produce INDEX-8; and it

svn commit: r196128 - head/usr.sbin/ntp/scripts

2009-08-12 Thread Colin Percival
Author: cperciva Date: Wed Aug 12 11:55:26 2009 New Revision: 196128 URL: http://svn.freebsd.org/changeset/base/196128 Log: Apply the ntp-related part of r195626 to the correct part of the tree -- the mkver which is used in builds is the one in usr.sbin/ntp/scripts, not the one in

svn commit: r196214 - stable/8/usr.sbin/sysinstall

2009-08-14 Thread Colin Percival
Author: cperciva Date: Fri Aug 14 13:26:50 2009 New Revision: 196214 URL: http://svn.freebsd.org/changeset/base/196214 Log: Merge r196213 to stable/8. Approved by: re (rwatson) Modified: stable/8/usr.sbin/sysinstall/ (props changed) stable/8/usr.sbin/sysinstall/devices.c Modified:

Re: svn commit: r196213 - head/usr.sbin/sysinstall

2009-08-14 Thread Colin Percival
Scott Long wrote: Colin Percival wrote: Log: Make sysinstall recognize /dev/ada* disk devices. The description string SATA disk device reflects the current state of /dev/ada*; this may be changed in the future if other drive types start appearing as /dev/ada*. Submitted

svn commit: r196558 - head/usr.bin/look

2009-08-25 Thread Colin Percival
Author: cperciva Date: Wed Aug 26 03:30:06 2009 New Revision: 196558 URL: http://svn.freebsd.org/changeset/base/196558 Log: Don't try to mmap the contents of empty files. This behaviour was harmless prior to r195693, since historical behaviour of mmap(2) was to silently ignore length-zero

svn commit: r197552 - in head/etc/periodic: daily security

2009-09-27 Thread Colin Percival
Author: cperciva Date: Mon Sep 28 03:32:35 2009 New Revision: 197552 URL: http://svn.freebsd.org/changeset/base/197552 Log: Silence warning printed by getfsspec(3) when /etc/fstab does not exist fstab: /etc/fstab:0: No such file or directory and from dump(8) when setfsent(3) fails due to

svn commit: r197618 - head/usr.sbin/freebsd-update

2009-09-29 Thread Colin Percival
Author: cperciva Date: Tue Sep 29 16:26:09 2009 New Revision: 197618 URL: http://svn.freebsd.org/changeset/base/197618 Log: Special-case -r X where X is [0-9.]+ to mean -r X-RELEASE. Tripped over by: too many people to count MFC after:1 month Modified:

svn commit: r198477 - head/usr.sbin/sysinstall

2009-10-26 Thread Colin Percival
Author: cperciva Date: Mon Oct 26 06:51:20 2009 New Revision: 198477 URL: http://svn.freebsd.org/changeset/base/198477 Log: Eject CDROM after installation if used as source media. Submitted by: randi MFC after:1 month Modified: head/usr.sbin/sysinstall/cdrom.c Modified:

svn commit: r198503 - head/usr.sbin/sysinstall

2009-10-26 Thread Colin Percival
Author: cperciva Date: Mon Oct 26 23:24:59 2009 New Revision: 198503 URL: http://svn.freebsd.org/changeset/base/198503 Log: Don't leak a file descriptor when ejecting a CDROM. Submitted by: Ronald Klop, trhodes Note to self: don't do commits while half-asleep Modified:

svn commit: r198671 - in head/usr.bin/bsdiff: bsdiff bspatch

2009-10-30 Thread Colin Percival
newfile +and compare against them before and after applying +.Ar patchfile . .Sh AUTHORS .An Colin Percival Aq cperc...@freebsd.org Modified: head/usr.bin/bsdiff/bspatch/bspatch.1 == --- head/usr.bin/bsdiff/bspatch/bspatch

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

2009-11-01 Thread Colin Percival
Author: cperciva Date: Mon Nov 2 07:21:13 2009 New Revision: 198781 URL: http://svn.freebsd.org/changeset/base/198781 Log: Attempt to reduce accidental foot-shooting by pointing out that accept(2)ed sockets do not necessarily inherit O_NONBLOCK from listening sockets on non-FreeBSD

Re: svn commit: r198781 - head/lib/libc/sys

2009-11-02 Thread Colin Percival
Robert Watson wrote: On Mon, 2 Nov 2009, Colin Percival wrote: Attempt to reduce accidental foot-shooting by pointing out that accept(2)ed sockets do not necessarily inherit O_NONBLOCK from listening sockets on non-FreeBSD platforms. I wonder how much trouble we should go to to document

svn commit: r199265 - head/usr.bin/kdump

2009-11-14 Thread Colin Percival
Author: cperciva Date: Sat Nov 14 09:33:51 2009 New Revision: 199265 URL: http://svn.freebsd.org/changeset/base/199265 Log: Update malloc utrace structure parsing to reflect the change (r199265) in how malloc_init is logged from (0, 0, 0) to (-1, 0, 0). While we're here, simplify the

Re: svn commit: r199265 - head/usr.bin/kdump

2009-11-14 Thread Colin Percival
Colin Percival wrote: New Revision: 199265 ^^ Log: Update malloc utrace structure parsing to reflect the change (r199265) ^^^ No, this wasn't deliberately self-referential. The above should read

svn commit: r206396 - head

2010-04-08 Thread Colin Percival
Author: cperciva Date: Thu Apr 8 09:01:20 2010 New Revision: 206396 URL: http://svn.freebsd.org/changeset/base/206396 Log: People working on sysinstall are encouraged to contact randi to coordinate major changes. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

Re: svn commit: r206687 - head/usr.bin/indent

2010-04-16 Thread Colin Percival
symbols which might legitimately be defined in headers; but as long as we're concerned with one specific system which happens to not define the symbol _t in any header, this is a non-issue. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap

svn commit: r206930 - svnadmin/conf

2010-04-20 Thread Colin Percival
Author: cperciva Date: Tue Apr 20 21:34:35 2010 New Revision: 206930 URL: http://svn.freebsd.org/changeset/base/206930 Log: Welcome Randi Harper (randi@) as a new src committer. I will be her mentor. Randi comes to src via FreeBSD marketing, where she is sometimes known as FreeBSDGirl.

svn commit: r208586 - head/contrib/opie/libopie head/lib/libc/sys head/sys/nfsclient head/usr.sbin/jail releng/6.4 releng/6.4/contrib/opie/libopie releng/6.4/sys/conf releng/7.1 releng/7.1/contrib/...

2010-05-26 Thread Colin Percival
Author: cperciva Date: Thu May 27 03:15:04 2010 New Revision: 208586 URL: http://svn.freebsd.org/changeset/base/208586 Log: Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05]

svn commit: r208586 - head/contrib/opie/libopie head/lib/libc/sys head/sys/nfsclient head/usr.sbin/jail releng/6.4 releng/6.4/contrib/opie/libopie releng/6.4/sys/conf releng/7.1 releng/7.1/contrib/...

2010-05-26 Thread Colin Percival
Author: cperciva Date: Thu May 27 03:15:04 2010 New Revision: 208586 URL: http://svn.freebsd.org/changeset/base/208586 Log: Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05]

svn commit: r208586 - head/contrib/opie/libopie head/lib/libc/sys head/sys/nfsclient head/usr.sbin/jail releng/6.4 releng/6.4/contrib/opie/libopie releng/6.4/sys/conf releng/7.1 releng/7.1/contrib/...

2010-05-26 Thread Colin Percival
Author: cperciva Date: Thu May 27 03:15:04 2010 New Revision: 208586 URL: http://svn.freebsd.org/changeset/base/208586 Log: Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05]

svn commit: r208586 - head/contrib/opie/libopie head/lib/libc/sys head/sys/nfsclient head/usr.sbin/jail releng/6.4 releng/6.4/contrib/opie/libopie releng/6.4/sys/conf releng/7.1 releng/7.1/contrib/...

2010-05-26 Thread Colin Percival
Author: cperciva Date: Thu May 27 03:15:04 2010 New Revision: 208586 URL: http://svn.freebsd.org/changeset/base/208586 Log: Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05]

svn commit: r208606 - head/crypto/openssh

2010-05-27 Thread Colin Percival
Author: cperciva Date: Fri May 28 01:06:40 2010 New Revision: 208606 URL: http://svn.freebsd.org/changeset/base/208606 Log: Fix .Dd line: FreeBSD's mdoc code doesn't understand OpenBSD's $Mdocdate$. MFC after:3 days Modified: head/crypto/openssh/ssh-pkcs11-helper.8 Modified:

svn commit: r208668 - stable/8/crypto/openssh

2010-05-31 Thread Colin Percival
Author: cperciva Date: Mon May 31 07:14:40 2010 New Revision: 208668 URL: http://svn.freebsd.org/changeset/base/208668 Log: MFC r208606: Remove $Mdocdate$ from man page imported from OpenBSD; their mdoc supports it, but ours doesn't. Approved by: re (hrs) Modified:

svn commit: r208803 - head/sys/kern

2010-06-04 Thread Colin Percival
Author: cperciva Date: Fri Jun 4 14:38:24 2010 New Revision: 208803 URL: http://svn.freebsd.org/changeset/base/208803 Log: Declare ip6 as (struct in6_addr *) instead of (struct in_addr *). This is a harmless bug since we never actually use ip6 as anything other than an opaque pointer.

svn commit: r209072 - head/usr.sbin/sysinstall

2010-06-11 Thread Colin Percival
Author: cperciva Date: Fri Jun 11 21:46:45 2010 New Revision: 209072 URL: http://svn.freebsd.org/changeset/base/209072 Log: Clean up code by removing pre-C99 struct hack preprocessor magic. Approved by: randi (maintainer) Modified: head/usr.sbin/sysinstall/sysinstall.h Modified:

svn commit: r209117 - head/lib/libc/stdlib

2010-06-12 Thread Colin Percival
Author: cperciva Date: Sun Jun 13 01:13:36 2010 New Revision: 209117 URL: http://svn.freebsd.org/changeset/base/209117 Log: In threaded processes, destroy the mutex atexit_mutex when we've finished using it. This allows the mutex's allocated memory to be freed. This is one sense a

Re: svn commit: r209221 - head/bin/sh

2010-06-15 Thread Colin Percival
instead. For what it's worth, I find that having tab completion disabled is very useful when I paste pieces of shell script into consoles. If other people also do this, it might be an argument in favour of providing a more user-friendly way to disable tab completion. -- Colin Percival Security

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-08 Thread Colin Percival
, BETAs, and RCs). But a more *sensual* message is probably not necessary. :-) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ svn-src-all

svn commit: r209964 - head/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern releng/7.3 releng/7.3/sys/conf releng/7.3/sys/kern releng/8.0 releng/8.0/sys/conf releng/8.0/sys/kern releng/8...

2010-07-12 Thread Colin Percival
Author: cperciva Date: Tue Jul 13 02:45:17 2010 New Revision: 209964 URL: http://svn.freebsd.org/changeset/base/209964 Log: Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r209964 - head/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern releng/7.3 releng/7.3/sys/conf releng/7.3/sys/kern releng/8.0 releng/8.0/sys/conf releng/8.0/sys/kern releng/8...

2010-07-12 Thread Colin Percival
Author: cperciva Date: Tue Jul 13 02:45:17 2010 New Revision: 209964 URL: http://svn.freebsd.org/changeset/base/209964 Log: Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r209964 - head/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern releng/7.3 releng/7.3/sys/conf releng/7.3/sys/kern releng/8.0 releng/8.0/sys/conf releng/8.0/sys/kern releng/8...

2010-07-12 Thread Colin Percival
Author: cperciva Date: Tue Jul 13 02:45:17 2010 New Revision: 209964 URL: http://svn.freebsd.org/changeset/base/209964 Log: Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r209964 - head/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern releng/7.3 releng/7.3/sys/conf releng/7.3/sys/kern releng/8.0 releng/8.0/sys/conf releng/8.0/sys/kern releng/8...

2010-07-12 Thread Colin Percival
Author: cperciva Date: Tue Jul 13 02:45:17 2010 New Revision: 209964 URL: http://svn.freebsd.org/changeset/base/209964 Log: Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security:

Re: svn commit: r210225 - in head/sys: kern sys

2010-07-18 Thread Colin Percival
/*- for these, please change them instead to /**, since that is an alternative box comment marker. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ svn-src

svn commit: r201999 - head/lib/libc/stdio

2010-01-10 Thread Colin Percival
Author: cperciva Date: Sun Jan 10 14:30:30 2010 New Revision: 201999 URL: http://svn.freebsd.org/changeset/base/201999 Log: Give a less silly response to a silly request. Prior to this commit, fread/fwrite calls with size * nmemb SIZE_MAX were handled by reading or writing (size_t)(size

Re: svn commit: r201999 - head/lib/libc/stdio

2010-01-10 Thread Colin Percival
Andrey Chernov wrote: On Sun, Jan 10, 2010 at 02:30:30PM +, Colin Percival wrote: +if (((count | size) 0x) +(count SIZE_MAX / size)) { +errno = EINVAL; +fp-_flags |= __SERR; +return (0); +} 1) I don't think that this is good

Re: svn commit: r202805 - stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-01-22 Thread Colin Percival
to look for extended attributes end up looking for files in .) but I have a patch which I expect to commit RSN (just waiting for review). -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

svn commit: r202994 - stable/7/sys/kern

2010-01-25 Thread Colin Percival
Author: cperciva Date: Mon Jan 25 23:48:47 2010 New Revision: 202994 URL: http://svn.freebsd.org/changeset/base/202994 Log: Add support for at vp lookups to namei. This functionality was added to HEAD in r185029; but this is an inspired by commit rather than a literal merge, since this

svn commit: r184881 - head/sys/dev/usb

2008-11-12 Thread Colin Percival
Author: cperciva Date: Wed Nov 12 13:32:19 2008 New Revision: 184881 URL: http://svn.freebsd.org/changeset/base/184881 Log: Add support for the Microsoft Comfort Optical Mouse 3000 (model 1043). PR: usb/128760 Submitted by: Arjan de Vet Modified:

svn commit: r185254 - head/sys/dev/random releng/6.3 releng/6.3/sys/conf releng/6.3/sys/dev/random releng/6.4 releng/6.4/sys/dev/random releng/7.0 releng/7.0/sys/conf releng/7.0/sys/dev/random stab...

2008-11-24 Thread Colin Percival
Author: cperciva Date: Mon Nov 24 17:39:39 2008 New Revision: 185254 URL: http://svn.freebsd.org/changeset/base/185254 Log: Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r185254 - head/sys/dev/random releng/6.3 releng/6.3/sys/conf releng/6.3/sys/dev/random releng/6.4 releng/6.4/sys/dev/random releng/7.0 releng/7.0/sys/conf releng/7.0/sys/dev/random stab...

2008-11-24 Thread Colin Percival
Author: cperciva Date: Mon Nov 24 17:39:39 2008 New Revision: 185254 URL: http://svn.freebsd.org/changeset/base/185254 Log: Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r185254 - head/sys/dev/random releng/6.3 releng/6.3/sys/conf releng/6.3/sys/dev/random releng/6.4 releng/6.4/sys/dev/random releng/7.0 releng/7.0/sys/conf releng/7.0/sys/dev/random stab...

2008-11-24 Thread Colin Percival
Author: cperciva Date: Mon Nov 24 17:39:39 2008 New Revision: 185254 URL: http://svn.freebsd.org/changeset/base/185254 Log: Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r185254 - head/sys/dev/random releng/6.3 releng/6.3/sys/conf releng/6.3/sys/dev/random releng/6.4 releng/6.4/sys/dev/random releng/7.0 releng/7.0/sys/conf releng/7.0/sys/dev/random stab...

2008-11-24 Thread Colin Percival
Author: cperciva Date: Mon Nov 24 17:39:39 2008 New Revision: 185254 URL: http://svn.freebsd.org/changeset/base/185254 Log: Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns. Approved by: so (cperciva) Approved by: re (kensmith) Security:

svn commit: r192602 - stable/7/usr.sbin/sysinstall

2009-05-22 Thread Colin Percival
Author: cperciva Date: Fri May 22 21:26:34 2009 New Revision: 192602 URL: http://svn.freebsd.org/changeset/base/192602 Log: MFC r192130: Allow a comma-separated list of network interfaces to be specified via the netDev option in install.cfg. Modified: stable/7/usr.sbin/sysinstall/

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6

Re: svn commit: r194262 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern tools/regression/file/closefrom

2009-06-15 Thread Colin Percival
returned is always zero? Otherwise people who want to write code which works on all BSDs end up having to do something like #ifdef __FreeBSD__ closefrom(x); #else while (closefrom(x)) continue; #endif -- Colin Percival Security Officer, FreeBSD | freebsd.org

Re: svn commit: r190098 - in head/sys/sparc64: fhc sparc64

2009-03-22 Thread Colin Percival
just to make it fit into an 80 character width -- it's just that I often don't notice how complex a routine is getting while I'm writing it, unless I have some external prompt; and finding that I'm wrapping lots of lines provides exactly the sort of reminder I need. -- Colin Percival Security

svn commit: r190301 - head/sys/kern releng/7.0 releng/7.0/sys/conf releng/7.0/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern stable/7/sys/kern

2009-03-22 Thread Colin Percival
Author: cperciva Date: Mon Mar 23 00:00:50 2009 New Revision: 190301 URL: http://svn.freebsd.org/changeset/base/190301 Log: Correctly sanity-check timer IDs. [SA-09:06] Limit the size of malloced buffer when dumping environment variables. [EN-09:01] Approved by: so (cperciva)

svn commit: r190301 - head/sys/kern releng/7.0 releng/7.0/sys/conf releng/7.0/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern stable/7/sys/kern

2009-03-22 Thread Colin Percival
Author: cperciva Date: Mon Mar 23 00:00:50 2009 New Revision: 190301 URL: http://svn.freebsd.org/changeset/base/190301 Log: Correctly sanity-check timer IDs. [SA-09:06] Limit the size of malloced buffer when dumping environment variables. [EN-09:01] Approved by: so (cperciva)

svn commit: r190301 - head/sys/kern releng/7.0 releng/7.0/sys/conf releng/7.0/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern stable/7/sys/kern

2009-03-22 Thread Colin Percival
Author: cperciva Date: Mon Mar 23 00:00:50 2009 New Revision: 190301 URL: http://svn.freebsd.org/changeset/base/190301 Log: Correctly sanity-check timer IDs. [SA-09:06] Limit the size of malloced buffer when dumping environment variables. [EN-09:01] Approved by: so (cperciva)

svn commit: r190679 - head/usr.sbin/portsnap/phttpget

2009-04-03 Thread Colin Percival
Author: cperciva Date: Fri Apr 3 21:13:18 2009 New Revision: 190679 URL: http://svn.freebsd.org/changeset/base/190679 Log: Set SO_NOSIGPIPE on sockets used by phttpget. Without this, if (1) phttpget is attempting to download enough files that it can't send all the requests at once, and

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

2009-04-17 Thread Colin Percival
of Britain.. If that's what ISO decided to call it, then that's what I'd expect a file named iso3166 to call it. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

svn commit: r191351 - in stable/7/contrib/ntp: . ntpq

2009-04-21 Thread Colin Percival
Author: cperciva Date: Tue Apr 21 10:49:40 2009 New Revision: 191351 URL: http://svn.freebsd.org/changeset/base/191351 Log: MFH r191302: Fix a buffer overflow. For reasons of stack alignment, it does not appear that this is exploitable on any systems FreeBSD runs on, so this will not be

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt

svn commit: r192130 - head/usr.sbin/sysinstall

2009-05-14 Thread Colin Percival
Author: cperciva Date: Fri May 15 00:18:31 2009 New Revision: 192130 URL: http://svn.freebsd.org/changeset/base/192130 Log: Allow a comma-separated list of network interfaces to be specified via the netDev option in install.cfg. Submitted by: randi MFC after:1 week Modified:

svn commit: r204409 - in releng: 7.1 7.1/sys/conf 7.1/sys/kern 7.2 7.2/sys/conf 7.2/sys/kern

2010-02-27 Thread Colin Percival
Author: cperciva Date: Sat Feb 27 10:55:43 2010 New Revision: 204409 URL: http://svn.freebsd.org/changeset/base/204409 Log: MFC r197223: Fix a deadlock in the ULE scheduler. Approved by: so (cperciva) Errata: FreeBSD-EN-10:02.sched_ule Modified: releng/7.1/UPDATING

svn commit: r186405 - head/libexec/ftpd head/sys/kern releng/6.3 releng/6.3/libexec/ftpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.4 releng/6.4/libexec/ftpd releng/6.4/sys/conf releng/6.4/sy...

2008-12-22 Thread Colin Percival
Author: cperciva Date: Tue Dec 23 01:23:09 2008 New Revision: 186405 URL: http://svn.freebsd.org/changeset/base/186405 Log: Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in

svn commit: r186405 - head/libexec/ftpd head/sys/kern releng/6.3 releng/6.3/libexec/ftpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.4 releng/6.4/libexec/ftpd releng/6.4/sys/conf releng/6.4/sy...

2008-12-22 Thread Colin Percival
Author: cperciva Date: Tue Dec 23 01:23:09 2008 New Revision: 186405 URL: http://svn.freebsd.org/changeset/base/186405 Log: Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in

svn commit: r186405 - head/libexec/ftpd head/sys/kern releng/6.3 releng/6.3/libexec/ftpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.4 releng/6.4/libexec/ftpd releng/6.4/sys/conf releng/6.4/sy...

2008-12-22 Thread Colin Percival
Author: cperciva Date: Tue Dec 23 01:23:09 2008 New Revision: 186405 URL: http://svn.freebsd.org/changeset/base/186405 Log: Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in

svn commit: r187558 - releng/6.4

2009-01-21 Thread Colin Percival
Author: cperciva Date: Wed Jan 21 18:47:52 2009 New Revision: 187558 URL: http://svn.freebsd.org/changeset/base/187558 Log: Fix typo: FreeBSD 6.4 is at -p3, not at -p9. Approved by: so (cperciva) Modified: releng/6.4/UPDATING Modified: releng/6.4/UPDATING

Re: svn commit: r237286 - head/lib/libc/gen

2012-06-20 Thread Colin Percival
behind Logfile has a parity error or another memory error or was clobbered by a buffer overrun), this assert() doesn't break the library but just wastes space. I asked eadler to include that on the basis that it made the code easier to understand. -- Colin Percival Security Officer Emeritus, FreeBSD

svn commit: r235240 - svnadmin/conf

2012-05-10 Thread Colin Percival
Author: cperciva Date: Thu May 10 20:13:24 2012 New Revision: 235240 URL: http://svn.freebsd.org/changeset/base/235240 Log: Take randi's commit bit into safe keeping until she has more time to work on FreeBSD src, per her request. With hat: mentor Approved by: core (implicit)

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Colin Percival
on the disk as the consequence. I just tested this hypothesis, and found no change in binary size using either clang or gcc46. Presumably they're smart enough to ignore explicit (and unnecessary) initializations of statics to zero. -- Colin Percival Security Officer, FreeBSD | freebsd.org

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Colin Percival
On 05/11/12 13:08, Warner Losh wrote: On May 11, 2012, at 9:02 AM, Colin Percival wrote: On 05/11/12 05:48, Konstantin Belousov wrote: On Fri, May 11, 2012 at 12:37:16PM +, Gabor Kovesdan wrote: +bool byte_sort = false; + +static wchar_t **wmonths = NULL; +static unsigned char **cmonths

svn commit: r243419 - in head: contrib/wpa/src/eap_server sys/compat/linux

2012-11-22 Thread Colin Percival
Author: cperciva Date: Fri Nov 23 01:48:31 2012 New Revision: 243419 URL: http://svnweb.freebsd.org/changeset/base/243419 Log: MFS security patches which seem to have accidentally not reached HEAD: Fix insufficient message length validation for EAP-TLS messages. Fix Linux

Re: svn commit: r251297 - head/sys/dev/xen/netfront

2013-06-05 Thread Colin Percival
of fragments). -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-06 Thread Colin Percival
be working in Z(2^16), where subtraction is normal subtraction mod 65536. Given that there's no such thing as GF(216) due to 216 = 2^3 * 3^3 not being a prime power, the comment is definitely wrong. ;-) -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap

svn commit: r247940 - head/etc

2013-03-07 Thread Colin Percival
Author: cperciva Date: Thu Mar 7 20:48:36 2013 New Revision: 247940 URL: http://svnweb.freebsd.org/changeset/base/247940 Log: Now that stable/7 is EOL, stop building INDEX-7. MFC after:1 week Modified: head/etc/portsnap.conf Modified: head/etc/portsnap.conf

svn commit: r248487 - head/etc/rc.d

2013-03-18 Thread Colin Percival
Author: cperciva Date: Tue Mar 19 04:42:04 2013 New Revision: 248487 URL: http://svnweb.freebsd.org/changeset/base/248487 Log: If dumpdev is AUTO but no dump device has been set -- i.e., there is no swap space configured for rc.d/dumpon to designate for dumping -- then exit silently rather

svn commit: r248488 - head/etc/rc.d

2013-03-18 Thread Colin Percival
Author: cperciva Date: Tue Mar 19 05:08:25 2013 New Revision: 248488 URL: http://svnweb.freebsd.org/changeset/base/248488 Log: Fix typo in previous commit: Exit if */dev/dumpdev* does not exist, not if */bin/realpath* does not exist... Submitted by: markj Pointy hat to:cperciva

Re: svn commit: r249355 - head/lib/libkvm

2013-04-11 Thread Colin Percival
that people will be able to use it on any POSIX-compliant system, and I've lost count of the number of times I've been hit by this won't build on OS X or Linux because you forgot to #include stdint.h. Namespace pollution has a very real cost in wasted developer time. -- Colin Percival Security

svn commit: r249792 - svnadmin/conf

2013-04-23 Thread Colin Percival
Author: cperciva Date: Tue Apr 23 10:23:04 2013 New Revision: 249792 URL: http://svnweb.freebsd.org/changeset/base/249792 Log: Release eadler from mentorship. He's doing great work and all I've been doing lately is slowing him down. Modified: svnadmin/conf/mentors Modified:

svn commit: r250000 - head/sys/netinet

2013-04-27 Thread Colin Percival
Author: cperciva Date: Sat Apr 27 23:36:01 2013 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE = 201112 since POSIX 2001 states that it shall be defined. Reported by: sbruno Reviewed by:

svn commit: r250228 - stable/9/sys/netinet

2013-05-03 Thread Colin Percival
Author: cperciva Date: Sat May 4 00:31:41 2013 New Revision: 250228 URL: http://svnweb.freebsd.org/changeset/base/250228 Log: MFC r25: Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE = 201112 since POSIX 2001 states that it shall be defined. Modified:

Re: svn commit: r238118 - head/lib/libc/gen

2012-07-04 Thread Colin Percival
it into an entropy pool which is *occasionally* reseeded later. If even a very slow /dev/random becomes a scalability problem, an application is doing something very very wrong. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups

Re: svn commit: r237847 - head/usr.bin/killall

2012-07-16 Thread Colin Percival
that this was indeed the bug I was running into. Hopefully everybody else is sending signals to specific pids rather than using killall during log rotation like I am. :-) -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups

svn commit: r239228 - in head/sys: amd64/conf i386/conf

2012-08-13 Thread Colin Percival
Author: cperciva Date: Mon Aug 13 07:36:57 2012 New Revision: 239228 URL: http://svn.freebsd.org/changeset/base/239228 Log: Build modules along with the XENHVM kernels. No objections from: freebsd-xen mailing list MFC after:1 week Modified: head/sys/amd64/conf/XENHVM

svn commit: r239412 - in stable/9/sys: amd64/conf i386/conf

2012-08-20 Thread Colin Percival
Author: cperciva Date: Mon Aug 20 11:34:49 2012 New Revision: 239412 URL: http://svn.freebsd.org/changeset/base/239412 Log: MFC r239228: Build modules along with the XENHVM kernels. Modified: stable/9/sys/amd64/conf/XENHVM stable/9/sys/i386/conf/XENHVM Directory Properties: stable/9/sys/

svn commit: r239639 - in releng/9.1/sys: amd64/conf i386/conf

2012-08-23 Thread Colin Percival
Author: cperciva Date: Fri Aug 24 05:36:37 2012 New Revision: 239639 URL: http://svn.freebsd.org/changeset/base/239639 Log: MFC r239228: Build modules along with the XENHVM kernels. Approved by: re (kib) Modified: releng/9.1/sys/amd64/conf/XENHVM releng/9.1/sys/i386/conf/XENHVM

svn commit: r246016 - head/sys/dev/uart

2013-01-27 Thread Colin Percival
Author: cperciva Date: Sun Jan 27 23:33:42 2013 New Revision: 246016 URL: http://svnweb.freebsd.org/changeset/base/246016 Log: Add a loader tunable hw.broken_txfifo which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code). On those buggy

svn commit: r246625 - stable/9/sys/dev/uart

2013-02-10 Thread Colin Percival
Author: cperciva Date: Sun Feb 10 17:48:46 2013 New Revision: 246625 URL: http://svnweb.freebsd.org/changeset/base/246625 Log: MFC r246016: Add a loader tunable hw.broken_txfifo which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code).

svn commit: r246626 - stable/8/sys/dev/uart

2013-02-10 Thread Colin Percival
Author: cperciva Date: Sun Feb 10 17:50:56 2013 New Revision: 246626 URL: http://svnweb.freebsd.org/changeset/base/246626 Log: MFC r246016: Add a loader tunable hw.broken_txfifo which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code).

svn commit: r246627 - head/usr.sbin/named

2013-02-10 Thread Colin Percival
Author: cperciva Date: Sun Feb 10 17:58:44 2013 New Revision: 246627 URL: http://svnweb.freebsd.org/changeset/base/246627 Log: Don't try to suppress the inclusion of the build date in named's version string by undefining __DATE__, since (unlike gcc) clang doesn't allow us to do that.

svn commit: r188699 - head/contrib/telnet/telnetd releng/7.0 releng/7.0/contrib/telnet/telnetd releng/7.0/sys/conf releng/7.1 releng/7.1/contrib/telnet/telnetd releng/7.1/sys/conf stable/7/contrib/...

2009-02-16 Thread Colin Percival
Author: cperciva Date: Mon Feb 16 21:56:17 2009 New Revision: 188699 URL: http://svn.freebsd.org/changeset/base/188699 Log: Correctly scrub telnetd's environment. Approved by: so (cperciva) Security: FreeBSD-SA-09:05.telnetd Modified: stable/7/contrib/telnet/telnetd/sys_term.c

svn commit: r188699 - head/contrib/telnet/telnetd releng/7.0 releng/7.0/contrib/telnet/telnetd releng/7.0/sys/conf releng/7.1 releng/7.1/contrib/telnet/telnetd releng/7.1/sys/conf stable/7/contrib/...

2009-02-16 Thread Colin Percival
Author: cperciva Date: Mon Feb 16 21:56:17 2009 New Revision: 188699 URL: http://svn.freebsd.org/changeset/base/188699 Log: Correctly scrub telnetd's environment. Approved by: so (cperciva) Security: FreeBSD-SA-09:05.telnetd Modified: head/contrib/telnet/telnetd/sys_term.c

svn commit: r188699 - head/contrib/telnet/telnetd releng/7.0 releng/7.0/contrib/telnet/telnetd releng/7.0/sys/conf releng/7.1 releng/7.1/contrib/telnet/telnetd releng/7.1/sys/conf stable/7/contrib/...

2009-02-16 Thread Colin Percival
Author: cperciva Date: Mon Feb 16 21:56:17 2009 New Revision: 188699 URL: http://svn.freebsd.org/changeset/base/188699 Log: Correctly scrub telnetd's environment. Approved by: so (cperciva) Security: FreeBSD-SA-09:05.telnetd Modified: releng/7.0/UPDATING

  1   2   3   4   5   6   >