svn commit: r224809 - stable/8/usr.sbin/rpcbind

2011-08-12 Thread Xin LI
Author: delphij Date: Sat Aug 13 00:56:42 2011 New Revision: 224809 URL: http://svn.freebsd.org/changeset/base/224809 Log: MFC r224001: Use prototype. While I'm there, add a pair of parenthesis to mark an if statment's border. Modified: stable/8/usr.sbin/rpcbind/rpcb_stat.c stable/8

svn commit: r219084 - in head: bin/test tools/regression/bin/test

2011-02-27 Thread Xin LI
Author: delphij Date: Sun Feb 27 12:28:06 2011 New Revision: 219084 URL: http://svn.freebsd.org/changeset/base/219084 Log: Accept == as an alias of = which is a popular GNU extension. This is intentionally undocumented for now since it's not part of any standard. MFC after:1 mont

svn commit: r219158 - head/usr.sbin/faithd

2011-03-01 Thread Xin LI
Author: delphij Date: Wed Mar 2 00:29:14 2011 New Revision: 219158 URL: http://svn.freebsd.org/changeset/base/219158 Log: Correct a typo. PR: bin/155175 Submitted by: Peter J. Philipp MFC after:3 days Modified: head/usr.sbin/faithd/faithd.c Modified: head/usr.sbin/fa

svn commit: r219367 - in stable: 7/usr.sbin/faithd 8/usr.sbin/faithd

2011-03-07 Thread Xin LI
Author: delphij Date: Mon Mar 7 09:04:06 2011 New Revision: 219367 URL: http://svn.freebsd.org/changeset/base/219367 Log: MFC r219158: Correct a typo. PR: bin/155175 Submitted by: Peter J. Philipp Modified: stable/8/usr.sbin/faithd/faithd.c Directory Properties: stab

svn commit: r219367 - in stable: 7/usr.sbin/faithd 8/usr.sbin/faithd

2011-03-07 Thread Xin LI
Author: delphij Date: Mon Mar 7 09:04:06 2011 New Revision: 219367 URL: http://svn.freebsd.org/changeset/base/219367 Log: MFC r219158: Correct a typo. PR: bin/155175 Submitted by: Peter J. Philipp Modified: stable/7/usr.sbin/faithd/faithd.c Directory Properties: stab

Re: svn commit: r219084 - in head: bin/test tools/regression/bin/test

2011-03-09 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/09/11 12:56, Ulrich Spörlein wrote: > On Sun, 27.02.2011 at 12:28:06 +0000, Xin LI wrote: >> Author: delphij >> Date: Sun Feb 27 12:28:06 2011 >> New Revision: 219084 >> URL: http://svn.freebsd.org/changeset/base/21

svn commit: r219440 - in stable: 7/usr.sbin/diskinfo 8/usr.sbin/diskinfo

2011-03-09 Thread Xin LI
Author: delphij Date: Thu Mar 10 01:02:53 2011 New Revision: 219440 URL: http://svn.freebsd.org/changeset/base/219440 Log: MFC r218432: Don't consider ioctl returning error as a fatal error and move on to next disk. When multiple devices are specified, a non-supporting ioctl will cause

svn commit: r219440 - in stable: 7/usr.sbin/diskinfo 8/usr.sbin/diskinfo

2011-03-09 Thread Xin LI
Author: delphij Date: Thu Mar 10 01:02:53 2011 New Revision: 219440 URL: http://svn.freebsd.org/changeset/base/219440 Log: MFC r218432: Don't consider ioctl returning error as a fatal error and move on to next disk. When multiple devices are specified, a non-supporting ioctl will cause

svn commit: r219472 - head/contrib/libpcap

2011-03-10 Thread Xin LI
Author: delphij Date: Fri Mar 11 00:38:07 2011 New Revision: 219472 URL: http://svn.freebsd.org/changeset/base/219472 Log: Merge my change against libpcap trunk revision c65292b04b98d6a76d58c5a54ca8f81463bf24de to support new SIOCGIFDESCR ioctl interface which was too late for libpcap 1.1.1.

svn commit: r219812 - in stable: 7/tools/tools/nanobsd 7/tools/tools/nanobsd/Files/root 8/tools/tools/nanobsd/Files/root

2011-03-20 Thread Xin LI
Author: delphij Date: Mon Mar 21 06:18:26 2011 New Revision: 219812 URL: http://svn.freebsd.org/changeset/base/219812 Log: MFC r218816: Add a helper script that detects which partition we are on and update the other. Obtained from:FreeNAS Sponsored by: iXsystems, Inc. Adde

svn commit: r219812 - in stable: 7/tools/tools/nanobsd 7/tools/tools/nanobsd/Files/root 8/tools/tools/nanobsd/Files/root

2011-03-20 Thread Xin LI
Author: delphij Date: Mon Mar 21 06:18:26 2011 New Revision: 219812 URL: http://svn.freebsd.org/changeset/base/219812 Log: MFC r218816: Add a helper script that detects which partition we are on and update the other. Obtained from:FreeNAS Sponsored by: iXsystems, Inc. Adde

svn commit: r219939 - head/lib/libutil

2011-03-23 Thread Xin LI
Author: delphij Date: Wed Mar 23 22:08:01 2011 New Revision: 219939 URL: http://svn.freebsd.org/changeset/base/219939 Log: humanize_number(3) multiply the input number by 100, which could cause an integer overflow when the input is very large (for example, 100 Pi would become about 10 Ei whi

Re: svn commit: r219939 - head/lib/libutil

2011-03-23 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 03/23/11 17:29, Alexander Best wrote: > On Wed Mar 23 11, Xin LI wrote: >> Author: delphij >> Date: Wed Mar 23 22:08:01 2011 >> New Revision: 219939 >> URL: http://svn.freebsd.org/changeset/base/219939 >&g

svn commit: r220250 - in stable/8: bin/test tools/regression/bin/test

2011-04-01 Thread Xin LI
Author: delphij Date: Fri Apr 1 18:23:44 2011 New Revision: 220250 URL: http://svn.freebsd.org/changeset/base/220250 Log: MFC r219084: Accept == as an alias of = which is a popular GNU extension. This is intentionally undocumented for now since it's not part of any standard. Modifi

Re: svn commit: r220250 - in stable/8: bin/test tools/regression/bin/test

2011-04-02 Thread Xin LI
2011/4/1 Alexey Dokuchaev : > On Fri, Apr 01, 2011 at 06:23:44PM +0000, Xin LI wrote: >>   Accept == as an alias of = which is a popular GNU extension. >> >>   This is intentionally undocumented for now since it's not part >>   of any standard. > > I thou

svn commit: r220403 - head/sys/dev/arcmsr

2011-04-06 Thread Xin LI
Author: delphij Date: Wed Apr 6 20:54:26 2011 New Revision: 220403 URL: http://svn.freebsd.org/changeset/base/220403 Log: Update arcmsr(4) to vendor version 1.20.00.21. This release primarily improves command timeout handling. Many thanks to Areca for continuing to support FreeBSD.

svn commit: r220582 - head/lib/libutil

2011-04-12 Thread Xin LI
Author: delphij Date: Tue Apr 12 22:48:03 2011 New Revision: 220582 URL: http://svn.freebsd.org/changeset/base/220582 Log: Add support for IEE/IEC (and now also SI) power of two notions of prefixes (Ki, Mi, Gi...) for humanize_number(3). Note that applications has to pass HN_IEC_PREFIXES

svn commit: r220933 - stable/8/lib/libutil

2011-04-21 Thread Xin LI
Author: delphij Date: Fri Apr 22 00:31:07 2011 New Revision: 220933 URL: http://svn.freebsd.org/changeset/base/220933 Log: MFC r219939: humanize_number(3) multiply the input number by 100, which could cause an integer overflow when the input is very large (for example, 100 Pi would beco

svn commit: r220934 - stable/7/lib/libutil

2011-04-21 Thread Xin LI
Author: delphij Date: Fri Apr 22 00:32:16 2011 New Revision: 220934 URL: http://svn.freebsd.org/changeset/base/220934 Log: MFC r219939: humanize_number(3) multiply the input number by 100, which could cause an integer overflow when the input is very large (for example, 100 Pi would beco

svn commit: r221193 - stable/8/lib/libutil

2011-04-28 Thread Xin LI
Author: delphij Date: Fri Apr 29 00:40:00 2011 New Revision: 221193 URL: http://svn.freebsd.org/changeset/base/221193 Log: MFC r220582: Add support for IEE/IEC (and now also SI) power of two notions of prefixes (Ki, Mi, Gi...) for humanize_number(3). Note that applications has to pas

svn commit: r221335 - head/sys/dev/coretemp

2011-05-02 Thread Xin LI
Author: delphij Date: Mon May 2 18:41:54 2011 New Revision: 221335 URL: http://svn.freebsd.org/changeset/base/221335 Log: Correct a typo. According to Intel document 318914, the Tj(max) for Core 2 Duo Mobile CPUs should be 105. Noticed by: Mark Johnston MFC after:3 days Modifi

svn commit: r221401 - head/lib/libc/string

2011-05-03 Thread Xin LI
Author: delphij Date: Tue May 3 19:33:06 2011 New Revision: 221401 URL: http://svn.freebsd.org/changeset/base/221401 Log: Fix prototype for ffsll(3) and fls(3). PR: docs/156796 Submitted by: Jean-Yves Migeon MFC after:3 days Modified: head/lib/libc/string/ffs.3 Modif

svn commit: r221493 - stable/8/sys/dev/coretemp

2011-05-05 Thread Xin LI
Author: delphij Date: Thu May 5 12:52:05 2011 New Revision: 221493 URL: http://svn.freebsd.org/changeset/base/221493 Log: MFC r221335: Correct a typo. According to Intel document 318914, the Tj(max) for Core 2 Duo Mobile CPUs should be 105. Noticed by: Mark Johnston Modified:

svn commit: r221509 - head/sys/dev/coretemp

2011-05-05 Thread Xin LI
Author: delphij Date: Thu May 5 19:15:15 2011 New Revision: 221509 URL: http://svn.freebsd.org/changeset/base/221509 Log: Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400 series. MFC after:2 weeks Modified: head/sys/dev/coretemp/coretemp.c Modified: head/sy

svn commit: r221538 - in stable: 7/lib/libc/string 8/lib/libc/string

2011-05-06 Thread Xin LI
Author: delphij Date: Fri May 6 18:40:51 2011 New Revision: 221538 URL: http://svn.freebsd.org/changeset/base/221538 Log: MFC r221401: Fix prototype for ffsll(3) and fls(3). PR: docs/156796 Submitted by: Jean-Yves Migeon Modified: stable/8/lib/libc/string/ffs.3 Directo

svn commit: r221538 - in stable: 7/lib/libc/string 8/lib/libc/string

2011-05-06 Thread Xin LI
Author: delphij Date: Fri May 6 18:40:51 2011 New Revision: 221538 URL: http://svn.freebsd.org/changeset/base/221538 Log: MFC r221401: Fix prototype for ffsll(3) and fls(3). PR: docs/156796 Submitted by: Jean-Yves Migeon Modified: stable/7/lib/libc/string/ffs.3 Directo

svn commit: r221706 - vendor/less/dist

2011-05-09 Thread Xin LI
Author: delphij Date: Mon May 9 18:30:23 2011 New Revision: 221706 URL: http://svn.freebsd.org/changeset/base/221706 Log: Vendor import of less v443. Modified: vendor/less/dist/LICENSE vendor/less/dist/Makefile.aut vendor/less/dist/Makefile.wnm vendor/less/dist/NEWS vendor/less/dist/

svn commit: r221707 - vendor/less/v443

2011-05-09 Thread Xin LI
Author: delphij Date: Mon May 9 18:31:26 2011 New Revision: 221707 URL: http://svn.freebsd.org/changeset/base/221707 Log: Tag for less v443. Added: vendor/less/v443/ - copied from r221706, vendor/less/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r221715 - head/contrib/less

2011-05-09 Thread Xin LI
Author: delphij Date: Mon May 9 21:51:59 2011 New Revision: 221715 URL: http://svn.freebsd.org/changeset/base/221715 Log: MFV: Update to less v443. MFC after:1 month Modified: head/contrib/less/LICENSE head/contrib/less/Makefile.aut head/contrib/less/Makefile.wnm head/contrib/

svn commit: r221718 - head/usr.bin/less

2011-05-09 Thread Xin LI
Author: delphij Date: Tue May 10 01:05:41 2011 New Revision: 221718 URL: http://svn.freebsd.org/changeset/base/221718 Log: Regenerated with latest configure script. MFC after:1 month Modified: head/usr.bin/less/defines.h Modified: head/usr.bin/less/defines.h

svn commit: r221785 - vendor/netcat/dist

2011-05-11 Thread Xin LI
Author: delphij Date: Wed May 11 18:57:17 2011 New Revision: 221785 URL: http://svn.freebsd.org/changeset/base/221785 Log: Import nc from OpenBSD 4.9. Modified: vendor/netcat/dist/atomicio.c vendor/netcat/dist/nc.1 vendor/netcat/dist/netcat.c vendor/netcat/dist/socks.c Modified: vendor

svn commit: r221786 - vendor/netcat/4.9

2011-05-11 Thread Xin LI
Author: delphij Date: Wed May 11 18:58:56 2011 New Revision: 221786 URL: http://svn.freebsd.org/changeset/base/221786 Log: Tag for nc from OpenBSD 4.9. Added: vendor/netcat/4.9/ - copied from r221785, vendor/netcat/dist/ ___ svn-src-all@freebsd

svn commit: r221793 - head/contrib/netcat

2011-05-11 Thread Xin LI
Author: delphij Date: Wed May 11 21:52:26 2011 New Revision: 221793 URL: http://svn.freebsd.org/changeset/base/221793 Log: MFV: nc(1) from OpenBSD 4.9. MFC after:1 month Obtained from:OpenBSD Modified: head/contrib/netcat/atomicio.c head/contrib/netcat/nc.1 head/contrib

svn commit: r221860 - head/usr.bin/rpcinfo

2011-05-13 Thread Xin LI
Author: delphij Date: Fri May 13 22:35:06 2011 New Revision: 221860 URL: http://svn.freebsd.org/changeset/base/221860 Log: Constify a few string variables. While I'm there, also convert usage() to use a prototype. MFC after:2 weeks Modified: head/usr.bin/rpcinfo/rpcinfo.c Modifie

svn commit: r221999 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-05-16 Thread Xin LI
Author: delphij Date: Mon May 16 18:12:32 2011 New Revision: 221999 URL: http://svn.freebsd.org/changeset/base/221999 Log: MFC r217588+218386 (trasz): Add MNT_NFS4ACLS to ZFS mount flags and make it impossible to clear the flag by using 'mount -uw'. It's not conditional, since there is

svn commit: r222101 - stable/8/sys/dev/coretemp

2011-05-19 Thread Xin LI
Author: delphij Date: Thu May 19 17:24:53 2011 New Revision: 222101 URL: http://svn.freebsd.org/changeset/base/222101 Log: MFC r221509: Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400 series. Modified: stable/8/sys/dev/coretemp/coretemp.c Directory Properties:

svn commit: r222152 - in head: share/man/man4 sys/dev/atkbdc

2011-05-20 Thread Xin LI
Author: delphij Date: Fri May 20 22:36:17 2011 New Revision: 222152 URL: http://svn.freebsd.org/changeset/base/222152 Log: Add a new knob to atkbd(4) to enable typematic rate detection on boot, which is now disabled by default. The detection is known to cause hangs on boot with some new Len

svn commit: r222210 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
Author: delphij Date: Mon May 23 09:02:44 2011 New Revision: 10 URL: http://svn.freebsd.org/changeset/base/10 Log: Diff reduction against NetBSD. The most notable change is to zdiff(1) to handle more file formats including bzip2 and xz. MFC after:2 weeks Modified: head/usr

svn commit: r222211 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
Author: delphij Date: Mon May 23 09:40:21 2011 New Revision: 11 URL: http://svn.freebsd.org/changeset/base/11 Log: Match symbolic link handling behavior with GNU gzip, bzip2 and xz: When we are operating on a symbolic link pointing to an existing file, bail out by default, but go

Re: svn commit: r222211 - head/usr.bin/gzip

2011-05-25 Thread Xin LI
e fixed. However, that might indicate a different bug (thankfully it revealed the gzip(1) one) in the TIFF port :) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (FreeBS

svn commit: r222287 - head/usr.bin/gzip

2011-05-25 Thread Xin LI
Author: delphij Date: Wed May 25 18:04:11 2011 New Revision: 87 URL: http://svn.freebsd.org/changeset/base/87 Log: Fix a regression introduced with previous changeset: if output is stdout, do not check for symbolic link. Modified: head/usr.bin/gzip/gzip.c Modified: head/usr.bin/gzi

Re: svn commit: r222211 - head/usr.bin/gzip

2011-05-25 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/25/11 10:46, Pan Tsu wrote: > Xin LI writes: > >> On 05/25/11 10:03, Pan Tsu wrote: >>>> Match symbolic link handling behavior with GNU gzip, bzip2 and xz: >>> >>> After this change zcat(1

Re: svn commit: r222211 - head/usr.bin/gzip

2011-05-25 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/25/11 10:38, Xin LI wrote: [...] > However, that might indicate a different bug Correction: I was wrong here, the MLINKS just behave this way. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live f

svn commit: r222330 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2011-05-26 Thread Xin LI
Author: delphij Date: Thu May 26 22:29:43 2011 New Revision: 222330 URL: http://svn.freebsd.org/changeset/base/222330 Log: In ipoib_cm_handle_rx_wc(): Count incoming packets and bytes toward incoming counters. Reviewed by: jeff Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoi

svn commit: r222335 - stable/8/usr.bin/rpcinfo

2011-05-26 Thread Xin LI
Author: delphij Date: Fri May 27 00:23:44 2011 New Revision: 222335 URL: http://svn.freebsd.org/changeset/base/222335 Log: MFC r221860: Constify a few string variables. While I'm there, also convert usage() to use a prototype. Modified: stable/8/usr.bin/rpcinfo/rpcinfo.c Directory Pro

svn commit: r222735 - stable/8/usr.bin/gzip

2011-06-05 Thread Xin LI
Author: delphij Date: Mon Jun 6 05:40:52 2011 New Revision: 222735 URL: http://svn.freebsd.org/changeset/base/222735 Log: MFC r10, 11, 87: - Diff reduction against NetBSD. The most notable change is to zdiff(1) to handle more file formats including bzip2 and xz. - Mat

svn commit: r222736 - stable/7/usr.bin/gzip

2011-06-05 Thread Xin LI
Author: delphij Date: Mon Jun 6 05:48:25 2011 New Revision: 222736 URL: http://svn.freebsd.org/changeset/base/222736 Log: MFC r10, 11, 87: - Diff reduction against NetBSD. The most notable change is to zdiff(1) to handle more file formats including bzip2 and xz. - Mat

svn commit: r222737 - stable/8/sys/dev/arcmsr

2011-06-05 Thread Xin LI
Author: delphij Date: Mon Jun 6 06:47:11 2011 New Revision: 222737 URL: http://svn.freebsd.org/changeset/base/222737 Log: MFC r220403: Update arcmsr(4) to vendor version 1.20.00.21. This release primarily improves command timeout handling. Many thanks to Areca for continuing to sup

svn commit: r222832 - in head: sbin/mount share/man/man5

2011-06-07 Thread Xin LI
Author: delphij Date: Tue Jun 7 18:48:49 2011 New Revision: 222832 URL: http://svn.freebsd.org/changeset/base/222832 Log: Add a special mount option "failok" to indicate that the administrator wants the system to proceed to boot without bailing out into single user mode, even when the file

svn commit: r222841 - head/share/man/man5

2011-06-07 Thread Xin LI
Author: delphij Date: Wed Jun 8 00:31:10 2011 New Revision: 222841 URL: http://svn.freebsd.org/changeset/base/222841 Log: Use .Dq instead of hardcoding `` and ''. Suggested by: gjb Modified: head/share/man/man5/fstab.5 Modified: head/share/man/man5/fstab.5 =

svn commit: r222843 - in stable/8: contrib/less usr.bin/less

2011-06-07 Thread Xin LI
Author: delphij Date: Wed Jun 8 01:18:47 2011 New Revision: 222843 URL: http://svn.freebsd.org/changeset/base/222843 Log: MFC less v443. Deleted: stable/8/contrib/less/COPYING Modified: stable/8/contrib/less/LICENSE stable/8/contrib/less/Makefile.aut stable/8/contrib/less/Makefile.wnm

svn commit: r222904 - vendor/less/dist

2011-06-09 Thread Xin LI
Author: delphij Date: Thu Jun 9 22:50:10 2011 New Revision: 222904 URL: http://svn.freebsd.org/changeset/base/222904 Log: Vendor import of less v444. Modified: vendor/less/dist/NEWS vendor/less/dist/README vendor/less/dist/command.c vendor/less/dist/funcs.h vendor/less/dist/less.man

svn commit: r222905 - vendor/less/v444

2011-06-09 Thread Xin LI
Author: delphij Date: Thu Jun 9 22:51:05 2011 New Revision: 222905 URL: http://svn.freebsd.org/changeset/base/222905 Log: Tag for less v444. Added: vendor/less/v444/ - copied from r222904, vendor/less/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r222906 - head/contrib/less

2011-06-09 Thread Xin LI
Author: delphij Date: Thu Jun 9 22:52:57 2011 New Revision: 222906 URL: http://svn.freebsd.org/changeset/base/222906 Log: MFV: Update to less v444. MFC after:2 weeks Modified: head/contrib/less/NEWS head/contrib/less/README head/contrib/less/command.c head/contrib/less/funcs.h

svn commit: r222909 - stable/8/contrib/netcat

2011-06-09 Thread Xin LI
Author: delphij Date: Fri Jun 10 01:15:23 2011 New Revision: 222909 URL: http://svn.freebsd.org/changeset/base/222909 Log: MFC r221793: nc(1) from OpenBSD 4.9. Modified: stable/8/contrib/netcat/atomicio.c stable/8/contrib/netcat/nc.1 stable/8/contrib/netcat/netcat.c stable/8/contrib/net

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

2009-03-20 Thread Xin LI
Author: delphij Date: Fri Mar 20 18:29:52 2009 New Revision: 190168 URL: http://svn.freebsd.org/changeset/base/190168 Log: Add two missing include files and prototype for sockfamilyname() which is generated by mksubr. Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.

svn commit: r190324 - head/libexec/rtld-elf

2009-03-23 Thread Xin LI
Author: delphij Date: Mon Mar 23 16:49:00 2009 New Revision: 190324 URL: http://svn.freebsd.org/changeset/base/190324 Log: Support for a new environment variable, LD_ELF_HINTS_PATH for overriding the rtld hints file. This environment variable would be unset if the process is considered as t

svn commit: r190342 - in head/lib/libc/db: btree mpool

2009-03-23 Thread Xin LI
Author: delphij Date: Mon Mar 23 23:22:09 2009 New Revision: 190342 URL: http://svn.freebsd.org/changeset/base/190342 Log: use more proper format string. Obtained from:NetBSD via OpenBSD Modified: head/lib/libc/db/btree/bt_debug.c head/lib/libc/db/mpool/mpool.c Modified: head/

svn commit: r190344 - head/lib/libc/db/btree

2009-03-23 Thread Xin LI
Author: delphij Date: Mon Mar 23 23:43:07 2009 New Revision: 190344 URL: http://svn.freebsd.org/changeset/base/190344 Log: Save errno before calling _close(), which may clear it. Obtained from:OpenBSD Modified: head/lib/libc/db/btree/bt_open.c Modified: head/lib/libc/db/btree/bt

svn commit: r190398 - head/sys/dev/hptiop

2009-03-24 Thread Xin LI
Author: delphij Date: Wed Mar 25 00:57:09 2009 New Revision: 190398 URL: http://svn.freebsd.org/changeset/base/190398 Log: Use __attribute__((packed)) for the structure so that hptiop management utility would work. Submitted by: Shaowei WANG MFC after:2 weeks Modified: head/sys/

svn commit: r190405 - head/sys/dev/hptiop

2009-03-24 Thread Xin LI
Author: delphij Date: Wed Mar 25 06:27:56 2009 New Revision: 190405 URL: http://svn.freebsd.org/changeset/base/190405 Log: Use __packed from cdefs.h Submitted by: pyunyh Reviewed by: Shaowei WANG MFC after:2 weeks Modified: head/sys/dev/hptiop/hptiop.h Modified: head/sys/dev/h

svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 04:00:46 2009 New Revision: 190482 URL: http://svn.freebsd.org/changeset/base/190482 Log: When allocating memory, zero out them if we don't intend to overwrite them all; before freeing memory, zero out them before we release it as free heap. This will elimin

svn commit: r190484 - in head/lib/libc/db: btree hash recno

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 05:45:29 2009 New Revision: 190484 URL: http://svn.freebsd.org/changeset/base/190484 Log: Several signed/unsigned warning fixes. Modified: head/lib/libc/db/btree/bt_put.c head/lib/libc/db/btree/bt_split.c head/lib/libc/db/hash/hash.c head/lib/libc/db/has

svn commit: r190485 - in head/lib/libc/db: btree hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 05:57:27 2009 New Revision: 190485 URL: http://svn.freebsd.org/changeset/base/190485 Log: db/btree/bt_open.c: check return value of snprintf() and return value if the result is truncated. db/hash/hash_page.c: use the same way to create temporary file as

svn commit: r190486 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:05:53 2009 New Revision: 190486 URL: http://svn.freebsd.org/changeset/base/190486 Log: Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2). Obtained from:NetBSD via OpenBSD Modified: head/lib/libc/db/hash/hash.c head/lib/libc/

svn commit: r190487 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:12:39 2009 New Revision: 190487 URL: http://svn.freebsd.org/changeset/base/190487 Log: Return meaningful errno in overflow case; print error message to stderr in one more case. Obtained from:NetBSD via OpenBSD Modified: head/lib/libc/db/hash/

svn commit: r190489 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:23:10 2009 New Revision: 190489 URL: http://svn.freebsd.org/changeset/base/190489 Log: Diff reduce against OpenBSD, no functional change. Modified: head/lib/libc/db/hash/hash.c head/lib/libc/db/hash/hash_page.c Modified: head/lib/libc/db/hash/hash.c

svn commit: r190490 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:25:33 2009 New Revision: 190490 URL: http://svn.freebsd.org/changeset/base/190490 Log: Only squeeze a short key/value pair onto a page with other complete key/value pairs, not onto a page containing the end of a big pair. Obtained from:NetBSD vi

svn commit: r190491 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:30:43 2009 New Revision: 190491 URL: http://svn.freebsd.org/changeset/base/190491 Log: Fix a crash when iterating over a hash and removing its elements. Obtained from:OpenBSD Modified: head/lib/libc/db/hash/hash.c head/lib/libc/db/hash/hash_p

svn commit: r190492 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:38:31 2009 New Revision: 190492 URL: http://svn.freebsd.org/changeset/base/190492 Log: - Avoid overwriting the cursor page when the cursor page becomes the LRU page. - Fix for sequential retrieval failure when using large key/data pairs. Obtained fr

svn commit: r190493 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:40:48 2009 New Revision: 190493 URL: http://svn.freebsd.org/changeset/base/190493 Log: Avoid NULL deference which causes DEBUG1 to crash, not to print useful information. Obtained from:OpenBSD Modified: head/lib/libc/db/hash/hash_buf.c Modif

svn commit: r190494 - head/lib/libc/db/hash

2009-03-27 Thread Xin LI
Author: delphij Date: Sat Mar 28 06:47:05 2009 New Revision: 190494 URL: http://svn.freebsd.org/changeset/base/190494 Log: - If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would cause an invariant (actually, an ugly hack) to fail, and all Hell would break loose.

svn commit: r190495 - head/lib/libc/db/hash

2009-03-28 Thread Xin LI
Author: delphij Date: Sat Mar 28 07:09:51 2009 New Revision: 190495 URL: http://svn.freebsd.org/changeset/base/190495 Log: Simplify the logic when determining whether to zero out a db file to after open(). The previous logic only initializes the database when O_CREAT is set, but as long as

svn commit: r190496 - head/lib/libc/db/hash

2009-03-28 Thread Xin LI
Author: delphij Date: Sat Mar 28 07:20:39 2009 New Revision: 190496 URL: http://svn.freebsd.org/changeset/base/190496 Log: Plug memory leaks and a potential NULL dereference. Obtained from:OpenBSD Modified: head/lib/libc/db/hash/hash.c Modified: head/lib/libc/db/hash/hash.c

svn commit: r190497 - head/lib/libc/db/db

2009-03-28 Thread Xin LI
Author: delphij Date: Sat Mar 28 07:26:00 2009 New Revision: 190497 URL: http://svn.freebsd.org/changeset/base/190497 Log: Allow O_SYNC and O_NOFOLLOW flags in dbopen(). Obtained from:OpenBSD Modified: head/lib/libc/db/db/db.c Modified: head/lib/libc/db/db/db.c =

svn commit: r190498 - in head: include lib/libc/db lib/libc/db/btree lib/libc/db/hash lib/libc/db/man lib/libc/db/mpool

2009-03-28 Thread Xin LI
bc/db/mpool/Makefile.inc Sat Mar 28 07:31:02 2009 (r190498) @@ -3,4 +3,4 @@ .PATH: ${.CURDIR}/db/mpool -SRCS+= mpool.c +SRCS+= mpool.c mpool-compat.c Added: head/lib/libc/db/mpool/mpool-compat.c == --- /dev/nu

svn commit: r190500 - in head/lib/libc/db: hash mpool

2009-03-28 Thread Xin LI
Author: delphij Date: Sat Mar 28 07:44:08 2009 New Revision: 190500 URL: http://svn.freebsd.org/changeset/base/190500 Log: Add some casts to silence compiler warning about signedness. Modified: head/lib/libc/db/hash/hash_page.c head/lib/libc/db/mpool/mpool.c Modified: head/lib/libc/db/hash

Re: svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-30 Thread Xin LI
by non privileged process. It's known in kern/123529 where spwd.db contents could be leaked into aliases.db, for instance. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknQ78EAC

svn commit: r190582 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/bce dev/cxgb

2009-03-30 Thread Xin LI
Author: delphij Date: Tue Mar 31 01:01:01 2009 New Revision: 190582 URL: http://svn.freebsd.org/changeset/base/190582 Log: Update bce(4) to latest -CURRENT version: - Add several HP OEM parts' PCI IDs (187133+187317) - Remove intermediate variable busaddr and have bus_* operate dir

svn commit: r190594 - stable/7/share/man/man4

2009-03-31 Thread Xin LI
Author: delphij Date: Tue Mar 31 16:44:07 2009 New Revision: 190594 URL: http://svn.freebsd.org/changeset/base/190594 Log: MFC r187318: Reflect PCI ID changes for bce(4). Approved by: re (kensmith) Modified: stable/7/share/man/man4/ (props changed) stable/7/share/man/man4/bce.4

svn commit: r190646 - head/lib/libufs

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 17:16:39 2009 New Revision: 190646 URL: http://svn.freebsd.org/changeset/base/190646 Log: Bail out when memory allocation is failed, rather than referencing a NULL pointer. PR: kern/94480 Submitted by: Michiel Pelt Modified: head/lib/libufs

svn commit: r190656 - head/usr.bin/locate/locate

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 21:23:04 2009 New Revision: 190656 URL: http://svn.freebsd.org/changeset/base/190656 Log: Don't crash when we have an invalid count number. PR: bin/32686 Submitted by: Jaakko Heinonen MFC after:1 week Modified: head/usr.bin/locate/locat

svn commit: r190657 - head/usr.bin/locate/locate

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 21:44:55 2009 New Revision: 190657 URL: http://svn.freebsd.org/changeset/base/190657 Log: Signed/unsigned fixes, should be WARNS=2 clean now. Modified: head/usr.bin/locate/locate/util.c Modified: head/usr.bin/locate/locate/util.c =

svn commit: r190658 - head/lib/libc/rpc

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 21:51:54 2009 New Revision: 190658 URL: http://svn.freebsd.org/changeset/base/190658 Log: Remove a warning which is supposed to have been removed on 20030301. Modified: head/lib/libc/rpc/getnetconfig.c Modified: head/lib/libc/rpc/getnetconfig.c ==

svn commit: r190659 - in stable/6/lib/libc: . gen inet rpc sys

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 21:58:34 2009 New Revision: 190659 URL: http://svn.freebsd.org/changeset/base/190659 Log: MFC revisions 162191, 166134, and 172259: Avoid memory leaks, properly handle malloc/realloc failures, and remove duplicate includes. Modified: stable/6/lib/libc/

svn commit: r190661 - head/lib/libc/gen

2009-04-02 Thread Xin LI
Author: delphij Date: Thu Apr 2 22:17:02 2009 New Revision: 190661 URL: http://svn.freebsd.org/changeset/base/190661 Log: Properly handle malloc() failures. PR: bin/83338 Modified: head/lib/libc/gen/getcap.c Modified: head/lib/libc/gen/getcap.c ===

svn commit: r190810 - head/sys/dev/hptmv

2009-04-07 Thread Xin LI
Author: delphij Date: Tue Apr 7 16:40:31 2009 New Revision: 190810 URL: http://svn.freebsd.org/changeset/base/190810 Log: When multiple cards are present, register a shutdown handler for each card instead of just register one for the first adapter. Without doing this there would be some da

Re: svn commit: r190810 - head/sys/dev/hptmv

2009-04-07 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Baldwin wrote: > On Tuesday 07 April 2009 12:40:32 pm Xin LI wrote: >> Author: delphij >> Date: Tue Apr 7 16:40:31 2009 >> New Revision: 190810 >> URL: http://svn.freebsd.org/changeset/base/190810 >> >> Lo

svn commit: r190832 - head/share/man/man4

2009-04-07 Thread Xin LI
Author: delphij Date: Tue Apr 7 22:23:48 2009 New Revision: 190832 URL: http://svn.freebsd.org/changeset/base/190832 Log: Add the following media types as supported by bce(4): - 1000BaseSX - 2500BaseSX While I'm there, correct 1000BaseTX as more standard 1000BaseT. MFC after:

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

2009-04-07 Thread Xin LI
Author: delphij Date: Wed Apr 8 02:04:07 2009 New Revision: 190835 URL: http://svn.freebsd.org/changeset/base/190835 Log: MFC 190398 + 190405: Use __packed for ioctl structure to make High Point management tool work. Approved by: re (kensmith) Modified: stable/7/sys/ (props chan

svn commit: r190863 - head/sys/dev/hptmv

2009-04-09 Thread Xin LI
Author: delphij Date: Thu Apr 9 07:45:23 2009 New Revision: 190863 URL: http://svn.freebsd.org/changeset/base/190863 Log: Use DEVICE_SHUTDOWN(9) mechanism for shutdown handler. Suggested by: jhb Modified: head/sys/dev/hptmv/entry.c Modified: head/sys/dev/hptmv/entry.c =

svn commit: r190920 - in stable/7/usr.bin/locate: . locate

2009-04-11 Thread Xin LI
Author: delphij Date: Sat Apr 11 14:10:42 2009 New Revision: 190920 URL: http://svn.freebsd.org/changeset/base/190920 Log: MFC r190656: Fix a crash when corrupted data file is found. PR: bin/32686 Approved by: re (kib) Modified: stable/7/usr.bin/locate/ (props changed

svn commit: r190922 - in stable/6/usr.bin/locate: . locate

2009-04-11 Thread Xin LI
Author: delphij Date: Sat Apr 11 14:13:39 2009 New Revision: 190922 URL: http://svn.freebsd.org/changeset/base/190922 Log: MFC r190656: Fix a crash when corrupted data file is found. PR: bin/32686 Modified: stable/6/usr.bin/locate/ (props changed) stable/6/usr.bin/lo

svn commit: r190934 - stable/7/share/man/man4

2009-04-11 Thread Xin LI
Author: delphij Date: Sat Apr 11 15:04:51 2009 New Revision: 190934 URL: http://svn.freebsd.org/changeset/base/190934 Log: MFC r190832: Mention support of 1000baseSX and 2500baseSX. Approved by: re (kensmith) Modified: stable/7/share/man/man4/ (props changed) stable/7/share/man/man4

svn commit: r190939 - in stable/7/lib/libc: . db db/btree db/hash db/mpool string

2009-04-11 Thread Xin LI
Author: delphij Date: Sat Apr 11 15:19:26 2009 New Revision: 190939 URL: http://svn.freebsd.org/changeset/base/190939 Log: MFC r190482: zero out memory before use and free. Approved by: re (kib) Security: Potential Information Leak Modified: stable/7/lib/libc/ (props changed)

svn commit: r190940 - in stable/6/lib/libc: . db db/btree db/hash db/mpool inet sys

2009-04-11 Thread Xin LI
Author: delphij Date: Sat Apr 11 15:21:11 2009 New Revision: 190940 URL: http://svn.freebsd.org/changeset/base/190940 Log: MFC r190482: zero out memory before use and free. Security: Potential Information Leak Modified: stable/6/lib/libc/ (props changed) stable/6/lib/libc/db/RE

svn commit: r191004 - head/usr.bin/truss

2009-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 16:22:38 2009 New Revision: 191004 URL: http://svn.freebsd.org/changeset/base/191004 Log: Correct a bug where pr_data should have been assigned. Modified: head/usr.bin/truss/setup.c Modified: head/usr.bin/truss/setup.c

svn commit: r191005 - head/usr.bin/truss

2009-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 16:23:32 2009 New Revision: 191005 URL: http://svn.freebsd.org/changeset/base/191005 Log: Don't exit until all truss children were exit. Modified: head/usr.bin/truss/main.c Modified: head/usr.bin/truss/main.c ==

svn commit: r191467 - head

2009-04-24 Thread Xin LI
Author: delphij Date: Fri Apr 24 15:38:13 2009 New Revision: 191467 URL: http://svn.freebsd.org/changeset/base/191467 Log: Some minor formatting changes to make new text match old style. Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r191587 - stable/7/sbin/fsck_ffs

2009-04-27 Thread Xin LI
Author: delphij Date: Mon Apr 27 19:15:14 2009 New Revision: 191587 URL: http://svn.freebsd.org/changeset/base/191587 Log: Add -C back. Approved by: re (kensmith) Modified: stable/7/sbin/fsck_ffs/fsck.h stable/7/sbin/fsck_ffs/fsck_ffs.8 stable/7/sbin/fsck_ffs/main.c stable/7/sbin/

<    1   2   3   4   5   6   7   8   9   10   >