svn commit: r225849 - head/etc

2011-09-28 Thread Xin LI
Author: delphij Date: Wed Sep 28 19:01:15 2011 New Revision: 225849 URL: http://svn.freebsd.org/changeset/base/225849 Log: Test if the interface is afif in dhcpif() and syncdhcpif(), as done in ipv6_autoconfif. Reviewed by: hrs (freebsd-rc@) MFC after:1 week Modified: head/etc/n

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

2011-10-02 Thread Xin LI
Author: delphij Date: Sun Oct 2 09:44:28 2011 New Revision: 225916 URL: http://svn.freebsd.org/changeset/base/225916 Log: MFC r225339: Expose more variables from coretemp(4) via sysctl: - tjmax - Tj(max) value from the CPU - delta - current delta reading - resolution - sensor r

svn commit: r226026 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/tws sys/i386/conf sys/modules sys/modules/tws

2011-10-04 Thread Xin LI
, because file is newly added) +++ head/share/man/man4/tws.4 Tue Oct 4 21:40:25 2011(r226026) @@ -0,0 +1,118 @@ +.\" +.\"Copyright (c) 2010, 2011 iXsystems, Inc. +.\"All rights reserved. +.\" written by: Xin LI +.\" +.\"Redistribution and use in source and

svn commit: r226047 - head/usr.bin/grep/regex

2011-10-05 Thread Xin LI
Author: delphij Date: Thu Oct 6 04:39:18 2011 New Revision: 226047 URL: http://svn.freebsd.org/changeset/base/226047 Log: Fix build on i386 and arm. Tested with: make universe Pointy hat to:delphij Modified: head/usr.bin/grep/regex/tre-fastmatch.c Modified: head/usr.bin/grep

svn commit: r226082 - head/sys/kern

2011-10-06 Thread Xin LI
Author: delphij Date: Fri Oct 7 01:37:58 2011 New Revision: 226082 URL: http://svn.freebsd.org/changeset/base/226082 Log: Return proper errno when we hit error when doing sanity check. This fixes dtrace crashes when module is not compiled with CTF data. Submitted by: Paul Ambrose ambro

svn commit: r226115 - in stable/9: share/man/man4 sys/amd64/conf sys/conf sys/dev/tws sys/i386/conf sys/modules sys/modules/tws

2011-10-07 Thread Xin LI
@@ +.\" +.\"Copyright (c) 2010, 2011 iXsystems, Inc. +.\"All rights reserved. +.\" written by: Xin LI +.\" +.\"Redistribution and use in source and binary forms, with or without +.\"modification, are permitted provided that the following conditions +.\"are me

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

2011-10-09 Thread Xin LI
Author: delphij Date: Mon Oct 10 06:37:32 2011 New Revision: 226184 URL: http://svn.freebsd.org/changeset/base/226184 Log: Incorporate recent changes from NetBSD. Most notable change is the addition of support of decompressing xz files. Obtained from:NetBSD Added: head/usr.bin

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

2011-10-10 Thread Xin LI
On Mon, Oct 10, 2011 at 1:10 PM, Doug Barton wrote: > On 10/10/2011 13:05, Xin LI wrote: >> On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote: >>> On 10/09/2011 23:37, Xin LI wrote: >>>> Log: >>>>   Incorporate recent changes from NetBSD.  Most nota

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

2011-10-10 Thread Xin LI
On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote: > On 10/09/2011 23:37, Xin LI wrote: >> Log: >>   Incorporate recent changes from NetBSD.  Most notable change is the >> addition >>   of support of decompressing xz files. > > Why? Don't we already have x

svn commit: r226243 - in stable/8: share/man/man4 sys/amd64/conf sys/conf sys/dev/tws sys/i386/conf sys/modules sys/modules/tws

2011-10-10 Thread Xin LI
) +++ stable/8/share/man/man4/tws.4 Tue Oct 11 04:40:06 2011 (r226243, copy of r226026, head/share/man/man4/tws.4) @@ -0,0 +1,118 @@ +.\" +.\"Copyright (c) 2010, 2011 iXsystems, Inc. +.\"All rights reserved. +.\" written by: Xin LI +.\" +.\"Redistribution and

svn commit: r226274 - head/usr.bin/newgrp

2011-10-11 Thread Xin LI
Author: delphij Date: Wed Oct 12 01:19:12 2011 New Revision: 226274 URL: http://svn.freebsd.org/changeset/base/226274 Log: - Fix an off-by-one bug in addgroup(). - Fix the error message when setgid() failed. PR: bin/161509 Submitted by: Jeremy Huddleston MFC after:2 w

svn commit: r226368 - stable/9/sys/kern

2011-10-14 Thread Xin LI
Author: delphij Date: Fri Oct 14 22:33:39 2011 New Revision: 226368 URL: http://svn.freebsd.org/changeset/base/226368 Log: MFC r226082: Return proper errno when we hit error when doing sanity check. This fixes dtrace crashes when module is not compiled with CTF data. Submitted by:

svn commit: r226369 - stable/8/sys/kern

2011-10-14 Thread Xin LI
Author: delphij Date: Fri Oct 14 22:44:51 2011 New Revision: 226369 URL: http://svn.freebsd.org/changeset/base/226369 Log: MFC r226082: Return proper errno when we hit error when doing sanity check. This fixes dtrace crashes when module is not compiled with CTF data. Submitted by:

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

2011-10-14 Thread Xin LI
Author: delphij Date: Fri Oct 14 22:52:46 2011 New Revision: 226370 URL: http://svn.freebsd.org/changeset/base/226370 Log: MFC r226082: Return proper errno when we hit error when doing sanity check. This fixes dtrace crashes when module is not compiled with CTF data. Submitted by:

svn commit: r226416 - head/usr.bin/newgrp

2011-10-16 Thread Xin LI
Author: delphij Date: Sun Oct 16 07:05:43 2011 New Revision: 226416 URL: http://svn.freebsd.org/changeset/base/226416 Log: Partially revert r226274, the old code was right. Modified: head/usr.bin/newgrp/newgrp.c Modified: head/usr.bin/newgrp/newgrp.c =

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

2011-10-16 Thread Xin LI
Author: delphij Date: Sun Oct 16 07:35:26 2011 New Revision: 226418 URL: http://svn.freebsd.org/changeset/base/226418 Log: According to the NetBSD foundation [1]: Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Founda

svn commit: r226476 - head/sys/dev/tws

2011-10-17 Thread Xin LI
Author: delphij Date: Mon Oct 17 19:21:42 2011 New Revision: 226476 URL: http://svn.freebsd.org/changeset/base/226476 Log: Return BUS_PROBE_DEFAULT instead of 0 (BUS_PROBE_SPECIFIC), allowing vendor provided driver to override in kernel driver. MFC after:3 days Modified: head/sys/d

svn commit: r226483 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-10-17 Thread Xin LI
Author: delphij Date: Mon Oct 17 22:23:27 2011 New Revision: 226483 URL: http://svn.freebsd.org/changeset/base/226483 Log: Fix a bug in sa_find_sizes() which could lead to panic: When calculating space needed for SA_BONUS buffers, hdrsize is always rounded up to next 8-aligned boundary.

svn commit: r226581 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-10-20 Thread Xin LI
Author: delphij Date: Thu Oct 20 20:31:09 2011 New Revision: 226581 URL: http://svn.freebsd.org/changeset/base/226581 Log: MFC r226483: Fix a bug in sa_find_sizes() which could lead to panic: When calculating space needed for SA_BONUS buffers, hdrsize is always rounded up to next 8-alig

svn commit: r226582 - stable/9/sys/dev/tws

2011-10-20 Thread Xin LI
Author: delphij Date: Thu Oct 20 20:33:31 2011 New Revision: 226582 URL: http://svn.freebsd.org/changeset/base/226582 Log: MFC r226476: Return BUS_PROBE_DEFAULT instead of 0 (BUS_PROBE_SPECIFIC), allowing vendor provided driver to override in kernel driver. Approved by: re (kib) Mod

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

2011-10-20 Thread Xin LI
Author: delphij Date: Thu Oct 20 21:48:09 2011 New Revision: 226588 URL: http://svn.freebsd.org/changeset/base/226588 Log: MFC r226483: Fix a bug in sa_find_sizes() which could lead to panic: When calculating space needed for SA_BONUS buffers, hdrsize is always rounded up to next 8-alig

svn commit: r226589 - stable/8/sys/dev/tws

2011-10-20 Thread Xin LI
Author: delphij Date: Thu Oct 20 21:49:26 2011 New Revision: 226589 URL: http://svn.freebsd.org/changeset/base/226589 Log: MFC r226476: Return BUS_PROBE_DEFAULT instead of 0 (BUS_PROBE_SPECIFIC), allowing vendor provided driver to override in kernel driver. Modified: stable/8/sys/dev/t

svn commit: r226659 - svnadmin/conf

2011-10-23 Thread Xin LI
Author: delphij Date: Sun Oct 23 13:33:10 2011 New Revision: 226659 URL: http://svn.freebsd.org/changeset/base/226659 Log: Release gabor@ from mentorship and congratulations! Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors =

svn commit: r226708 - head/usr.sbin/pkg_install/info

2011-10-24 Thread Xin LI
Author: delphij Date: Mon Oct 24 21:38:25 2011 New Revision: 226708 URL: http://svn.freebsd.org/changeset/base/226708 Log: Staticify elide_root() for now to fix build. Modified: head/usr.sbin/pkg_install/info/show.c Modified: head/usr.sbin/pkg_install/info/show.c

svn commit: r226865 - in head/etc: defaults periodic/daily

2011-10-27 Thread Xin LI
Author: delphij Date: Thu Oct 27 21:25:41 2011 New Revision: 226865 URL: http://svn.freebsd.org/changeset/base/226865 Log: Increase default scrub threshold from 30 days to 5 weeks. Using whole weeks makes it easier to predicate when the scrub would happen. MFC after:1 week Modifie

Re: svn commit: r226436 - in head: . gnu/usr.bin/binutils/objcopy gnu/usr.bin/binutils/strip lib/libc/gen lib/libelf lib/libipsec lib/libpmc lib/msun/man libexec/rtld-elf/amd64 libexec/rtld-elf/i386 s

2011-10-27 Thread Xin LI
the way! Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOqdHaAAoJEATO+BI/yjfBTh0H/REaYYWhCKS9ayZPBLIhUcWS RW55d38d5UAFZgrcIRVLacz8uryfFyX4KF9jUz1+U82wgu

svn commit: r226887 - head/sys/dev/tws

2011-10-28 Thread Xin LI
Author: delphij Date: Fri Oct 28 17:53:34 2011 New Revision: 226887 URL: http://svn.freebsd.org/changeset/base/226887 Log: Don't expose a constant array into global namespace. Reported by: Ruslan Yakovlev via yongari MFC after:3 days Modified: head/sys/dev/tws/tws_services.c he

svn commit: r226969 - stable/9/sys/dev/tws

2011-10-31 Thread Xin LI
Author: delphij Date: Mon Oct 31 20:02:11 2011 New Revision: 226969 URL: http://svn.freebsd.org/changeset/base/226969 Log: MFC r226887: Don't expose a constant array into global namespace. Reported by: Ruslan Yakovlev via yongari Approved by: re (kib) Modified: stable/9/sys/dev

svn commit: r226970 - stable/8/sys/dev/tws

2011-10-31 Thread Xin LI
Author: delphij Date: Mon Oct 31 20:03:09 2011 New Revision: 226970 URL: http://svn.freebsd.org/changeset/base/226970 Log: MFC r226887: Don't expose a constant array into global namespace. Reported by: Ruslan Yakovlev via yongari Modified: stable/8/sys/dev/tws/tws_services.c sta

Re: svn commit: r226967 - head/sys/ufs/ufs

2011-10-31 Thread Xin LI
e at the end) svn ci (enter commit message) ^Z <-- important (revert the files to previous state) fg and save. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOr0v

Re: svn commit: r227310 - head/sys/fs/tmpfs

2011-11-07 Thread Xin LI
orks well) but I remember some complains about it... Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To un

svn commit: r227409 - head/sys/dev/mfi

2011-11-09 Thread Xin LI
Author: delphij Date: Wed Nov 9 21:53:49 2011 New Revision: 227409 URL: http://svn.freebsd.org/changeset/base/227409 Log: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases where one will see v

svn commit: r227454 - head/sbin/newfs_msdos

2011-11-11 Thread Xin LI
Author: delphij Date: Fri Nov 11 20:31:48 2011 New Revision: 227454 URL: http://svn.freebsd.org/changeset/base/227454 Log: Use __packed to prevent alignment from taking place, which otherwise may change the on-disk format in an incompatible way. Without this change, msdosfs created on FreeB

svn commit: r227533 - stable/9/sys/dev/mfi

2011-11-15 Thread Xin LI
Author: delphij Date: Tue Nov 15 17:30:03 2011 New Revision: 227533 URL: http://svn.freebsd.org/changeset/base/227533 Log: MFC r227409: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases wh

svn commit: r227534 - releng/9.0/sys/dev/mfi

2011-11-15 Thread Xin LI
Author: delphij Date: Tue Nov 15 17:42:00 2011 New Revision: 227534 URL: http://svn.freebsd.org/changeset/base/227534 Log: MFC r227409: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases wh

svn commit: r227611 - in stable: 7/sys/dev/mfi 8/sys/dev/mfi

2011-11-17 Thread Xin LI
Author: delphij Date: Thu Nov 17 11:16:56 2011 New Revision: 227611 URL: http://svn.freebsd.org/changeset/base/227611 Log: MFC r227409: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases wh

svn commit: r227611 - in stable: 7/sys/dev/mfi 8/sys/dev/mfi

2011-11-17 Thread Xin LI
Author: delphij Date: Thu Nov 17 11:16:56 2011 New Revision: 227611 URL: http://svn.freebsd.org/changeset/base/227611 Log: MFC r227409: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases wh

svn commit: r216675 - head/usr.sbin/rtadvd

2010-12-22 Thread Xin LI
Author: delphij Date: Wed Dec 22 23:58:21 2010 New Revision: 216675 URL: http://svn.freebsd.org/changeset/base/216675 Log: Allow overriding pidfile and dumpfile. PR: bin/153362 Submitted by: Joe Holden MFC after:1 month Modified: head/usr.sbin/rtadvd/Makefile head/us

svn commit: r216677 - head/usr.sbin/rtadvd

2010-12-22 Thread Xin LI
Author: delphij Date: Thu Dec 23 01:45:48 2010 New Revision: 216677 URL: http://svn.freebsd.org/changeset/base/216677 Log: style.Makefile says tab between var= and value. Modified: head/usr.sbin/rtadvd/Makefile Modified: head/usr.sbin/rtadvd/Makefile =

svn commit: r216926 - svnadmin/conf

2011-01-03 Thread Xin LI
Author: delphij Date: Mon Jan 3 18:34:28 2011 New Revision: 216926 URL: http://svn.freebsd.org/changeset/base/216926 Log: Release Martin Matuska who have done great as mentee. Good luck! Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ===

svn commit: r217140 - head/usr.sbin/ndp

2011-01-07 Thread Xin LI
Author: delphij Date: Sat Jan 8 01:57:23 2011 New Revision: 217140 URL: http://svn.freebsd.org/changeset/base/217140 Log: Use ether_ntoa instead of home-grown version. Noticed by: Boris Kochergin Modified: head/usr.sbin/ndp/ndp.c Modified: head/usr.sbin/ndp/ndp.c ===

svn commit: r218432 - head/usr.sbin/diskinfo

2011-02-08 Thread Xin LI
Author: delphij Date: Tue Feb 8 11:32:22 2011 New Revision: 218432 URL: http://svn.freebsd.org/changeset/base/218432 Log: 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 diskinfo(8) to st

svn commit: r218433 - stable/8/usr.sbin/rtadvd

2011-02-08 Thread Xin LI
Author: delphij Date: Tue Feb 8 11:48:37 2011 New Revision: 218433 URL: http://svn.freebsd.org/changeset/base/218433 Log: MFC r216675: Allow overriding pidfile and dumpfile. PR: bin/153362 Submitted by: Joe Holden Modified: stable/8/usr.sbin/rtadvd/Makefile stable/8/

svn commit: r218434 - stable/7/usr.sbin/rtadvd

2011-02-08 Thread Xin LI
Author: delphij Date: Tue Feb 8 11:48:47 2011 New Revision: 218434 URL: http://svn.freebsd.org/changeset/base/218434 Log: MFC r216675: Allow overriding pidfile and dumpfile. PR: bin/153362 Submitted by: Joe Holden Modified: stable/7/usr.sbin/rtadvd/Makefile stable/7/

svn commit: r218816 - head/tools/tools/nanobsd/Files/root

2011-02-18 Thread Xin LI
Author: delphij Date: Fri Feb 18 19:07:16 2011 New Revision: 218816 URL: http://svn.freebsd.org/changeset/base/218816 Log: Add a helper script that detects which partition we are on and update the other. MFC after:1 month Obtained from:FreeNAS Sponsored by: iXsystems, Inc.

svn commit: r222967 - head/sys/dev/atkbdc

2011-06-10 Thread Xin LI
Author: delphij Date: Sat Jun 11 01:19:19 2011 New Revision: 222967 URL: http://svn.freebsd.org/changeset/base/222967 Log: Add comments about the validation. Modified: head/sys/dev/atkbdc/atkbd.c Modified: head/sys/dev/atkbdc/atkbd.c ==

svn commit: r223026 - head/sys/dev/safe

2011-06-12 Thread Xin LI
Author: delphij Date: Sun Jun 12 23:33:08 2011 New Revision: 223026 URL: http://svn.freebsd.org/changeset/base/223026 Log: Use swap32() right. Submitted by: gcopper MFC after:2 weeks Modified: head/sys/dev/safe/safe.c Modified: head/sys/dev/safe/safe.c

svn commit: r223115 - head/usr.sbin/pw

2011-06-15 Thread Xin LI
Author: delphij Date: Wed Jun 15 19:09:58 2011 New Revision: 223115 URL: http://svn.freebsd.org/changeset/base/223115 Log: Don't attempt to create the base directory when -d is specified. MFC after:1 month Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ===

svn commit: r223134 - stable/8/sys/dev/atkbdc

2011-06-15 Thread Xin LI
Author: delphij Date: Thu Jun 16 01:52:42 2011 New Revision: 223134 URL: http://svn.freebsd.org/changeset/base/223134 Log: MFC r222795 (jkim) + 222967: Validate INT 15h and 16h vectors more strictly. Traditionally these entry points are fixed addresses and (U)EFI CSM specification also m

svn commit: r223214 - head/lib/libc/db/man

2011-06-17 Thread Xin LI
Author: delphij Date: Sat Jun 18 00:10:21 2011 New Revision: 223214 URL: http://svn.freebsd.org/changeset/base/223214 Log: The flags argument of mpool_get() is meaningful, document it. MFC after:2 weeks Modified: head/lib/libc/db/man/mpool.3 Modified: head/lib/libc/db/man/mpool.3 ==

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

2011-06-17 Thread Xin LI
Author: delphij Date: Sat Jun 18 00:29:10 2011 New Revision: 223215 URL: http://svn.freebsd.org/changeset/base/223215 Log: Sync with OpenBSD (zap rcsid). MFC after:2 weeks Modified: head/lib/libc/gen/ftw.c Modified: head/lib/libc/gen/ftw.c ===

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

2011-06-17 Thread Xin LI
Author: delphij Date: Sat Jun 18 00:33:34 2011 New Revision: 223216 URL: http://svn.freebsd.org/changeset/base/223216 Log: Sync with OpenBSD, primarily make the code easier to read, and a license change to standard OpenBSD ISC license. Obtained from:OpenBSD MFC after:2 weeks

svn commit: r223341 - head/sys/dev/atkbdc

2011-06-20 Thread Xin LI
Author: delphij Date: Mon Jun 20 16:42:20 2011 New Revision: 223341 URL: http://svn.freebsd.org/changeset/base/223341 Log: Correct a typo. Submitted by: Fabian Keil MFC after:3 days Modified: head/sys/dev/atkbdc/atkbd.c Modified: head/sys/dev/atkbdc/atkbd.c ==

svn commit: r223342 - head/contrib/top

2011-06-20 Thread Xin LI
Author: delphij Date: Mon Jun 20 16:48:00 2011 New Revision: 223342 URL: http://svn.freebsd.org/changeset/base/223342 Log: Revert r214857 pursudant to 9.0-RELEASE cycle. Requested by: jh Modified: head/contrib/top/display.c head/contrib/top/top.h Modified: head/contrib/top/display.c =

svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
Author: delphij Date: Tue Jun 21 04:46:00 2011 New Revision: 223356 URL: http://svn.freebsd.org/changeset/base/223356 Log: Mod the offset padding by alignment. Without this change we may pad too much when underlying GEOM object have a zero stripesize. MFC after:1 month Modified: h

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
vance! - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBCAAGBQJOADR5AAoJEATO+BI/yjfB0OAIAJyN4zlzEfqkQG3umeho6lqY xdPl7/+7iJGFHQABeSnZ2dCUJTl8TpVRA51Ag6070h39YP5oNiJUcPhPy3OQnBXE

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/11 22:03, Andrey V. Elsukov wrote: > On 21.06.2011 8:46, Xin LI wrote: >> Author: delphij >> Date: Tue Jun 21 04:46:00 2011 >> New Revision: 223356 >> URL: http://svn.freebsd.org/changeset/base/223356 >> &g

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/11 23:23, Andrey V. Elsukov wrote: > On 21.06.2011 10:04, Xin LI wrote: >>>> Mod the offset padding by alignment. Without this change we may >>>> pad too much when underlying GEOM object have a zero stripe

svn commit: r223374 - head/usr.bin/finger

2011-06-21 Thread Xin LI
Author: delphij Date: Tue Jun 21 20:33:55 2011 New Revision: 223374 URL: http://svn.freebsd.org/changeset/base/223374 Log: Staticify cleanup() which is not referenced in other places. MFC after:2 weeks Modified: head/usr.bin/finger/net.c Modified: head/usr.bin/finger/net.c =

svn commit: r223375 - head/usr.bin/lastcomm

2011-06-21 Thread Xin LI
Author: delphij Date: Tue Jun 21 20:36:10 2011 New Revision: 223375 URL: http://svn.freebsd.org/changeset/base/223375 Log: Remove unneeded headers. MFC after:2 weeks Modified: head/usr.bin/lastcomm/lastcomm.c head/usr.bin/lastcomm/readrec.c Modified: head/usr.bin/lastcomm/lastcomm

svn commit: r223376 - head/usr.bin/cmp

2011-06-21 Thread Xin LI
Author: delphij Date: Tue Jun 21 20:44:06 2011 New Revision: 223376 URL: http://svn.freebsd.org/changeset/base/223376 Log: Eliminate unneeded headers. Modified: head/usr.bin/cmp/regular.c head/usr.bin/cmp/special.c Modified: head/usr.bin/cmp/regular.c ==

svn commit: r223454 - stable/8/contrib/less

2011-06-22 Thread Xin LI
Author: delphij Date: Thu Jun 23 00:27:45 2011 New Revision: 223454 URL: http://svn.freebsd.org/changeset/base/223454 Log: MFC r222906: less v444. Modified: stable/8/contrib/less/NEWS stable/8/contrib/less/README stable/8/contrib/less/command.c stable/8/contrib/less/funcs.h stable/8/c

svn commit: r223455 - stable/8/sys/dev/atkbdc

2011-06-22 Thread Xin LI
Author: delphij Date: Thu Jun 23 00:29:35 2011 New Revision: 223455 URL: http://svn.freebsd.org/changeset/base/223455 Log: MFC r223341: Correct a typo. Submitted by: Fabian Keil Modified: stable/8/sys/dev/atkbdc/atkbd.c Directory Properties: stable/8/sys/ (props changed) stab

svn commit: r223456 - in stable/7: contrib/less usr.bin/less

2011-06-22 Thread Xin LI
Author: delphij Date: Thu Jun 23 00:36:49 2011 New Revision: 223456 URL: http://svn.freebsd.org/changeset/base/223456 Log: MFC less v444. Deleted: stable/7/contrib/less/COPYING Modified: stable/7/contrib/less/LICENSE stable/7/contrib/less/Makefile.aut stable/7/contrib/less/Makefile.wnm

svn commit: r223560 - stable/8/sys/dev/safe

2011-06-26 Thread Xin LI
Author: delphij Date: Sun Jun 26 07:12:48 2011 New Revision: 223560 URL: http://svn.freebsd.org/changeset/base/223560 Log: Use swap32() right. Submitted by: gcopper Modified: stable/8/sys/dev/safe/safe.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include

svn commit: r223616 - head/contrib/libpcap/bpf/net

2011-06-27 Thread Xin LI
Author: delphij Date: Tue Jun 28 00:58:12 2011 New Revision: 223616 URL: http://svn.freebsd.org/changeset/base/223616 Log: Incorporate vendor commit ecdc5c0a7f7591a7cd4a: In userland, sign extend the offset for JA instructions. We currently use that to implement "ip6 protochain", and "

svn commit: r223716 - stable/8/lib/libc/db/man

2011-07-01 Thread Xin LI
Author: delphij Date: Sat Jul 2 00:34:02 2011 New Revision: 223716 URL: http://svn.freebsd.org/changeset/base/223716 Log: MFC r223214: The flags argument of mpool_get() is meaningful, document it. Modified: stable/8/lib/libc/db/man/mpool.3 Directory Properties: stable/8/lib/libc/ (p

svn commit: r223717 - stable/8/lib/libc/gen

2011-07-01 Thread Xin LI
Author: delphij Date: Sat Jul 2 00:38:10 2011 New Revision: 223717 URL: http://svn.freebsd.org/changeset/base/223717 Log: MFC r223216: Sync with OpenBSD (zap rcsid). Modified: stable/8/lib/libc/gen/ftw.c Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/libc/st

svn commit: r223777 - stable/8/usr.sbin/ndp

2011-07-04 Thread Xin LI
Author: delphij Date: Tue Jul 5 02:49:29 2011 New Revision: 223777 URL: http://svn.freebsd.org/changeset/base/223777 Log: MFC r217140: Use ether_ntoa instead of home-grown version. Noticed by: Boris Kochergin Modified: stable/8/usr.sbin/ndp/ndp.c Directory Properties: stable/8

svn commit: r223778 - stable/8/usr.bin/finger

2011-07-04 Thread Xin LI
Author: delphij Date: Tue Jul 5 02:50:27 2011 New Revision: 223778 URL: http://svn.freebsd.org/changeset/base/223778 Log: MFC r223374: Staticify cleanup() which is not referenced in other places. Modified: stable/8/usr.bin/finger/net.c Directory Properties: stable/8/usr.bin/finger/

svn commit: r223779 - stable/8/usr.bin/lastcomm

2011-07-04 Thread Xin LI
Author: delphij Date: Tue Jul 5 02:51:27 2011 New Revision: 223779 URL: http://svn.freebsd.org/changeset/base/223779 Log: MFC r223375: Remove unneeded headers. Modified: stable/8/usr.bin/lastcomm/lastcomm.c stable/8/usr.bin/lastcomm/readrec.c Directory Properties: stable/8/usr.bin/l

svn commit: r223850 - in stable/8: sbin/mount share/man/man5

2011-07-07 Thread Xin LI
Author: delphij Date: Thu Jul 7 23:26:28 2011 New Revision: 223850 URL: http://svn.freebsd.org/changeset/base/223850 Log: MFC r222832: 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, e

svn commit: r223922 - head/usr.bin/rpcgen

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:31:52 2011 New Revision: 223922 URL: http://svn.freebsd.org/changeset/base/223922 Log: Use strlcpy(). MFC after:1 month Modified: head/usr.bin/rpcgen/rpc_scan.c Modified: head/usr.bin/rpcgen/rpc_scan.c =

svn commit: r223923 - head/usr.bin/calendar

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:40:46 2011 New Revision: 223923 URL: http://svn.freebsd.org/changeset/base/223923 Log: Use a pair of parentheses to ensure right evaluation order. Modified: head/usr.bin/calendar/pom.c Modified: head/usr.bin/calendar/pom.c =

svn commit: r223924 - head/usr.bin/gcore

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:46:15 2011 New Revision: 223924 URL: http://svn.freebsd.org/changeset/base/223924 Log: Match size_t and ssize_t by using %zu and %zd instead of %d. MFC after:1 month Modified: head/usr.bin/gcore/elfcore.c Modified: head/usr.bin/gcore/elfcore.c ===

svn commit: r223925 - head/usr.bin/ipcs

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:50:24 2011 New Revision: 223925 URL: http://svn.freebsd.org/changeset/base/223925 Log: Use %zu when printing size_t. MFC after:1 month Modified: head/usr.bin/ipcs/ipc.c Modified: head/usr.bin/ipcs/ipc.c

svn commit: r223926 - head/usr.bin/tftp

2011-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:57:49 2011 New Revision: 223926 URL: http://svn.freebsd.org/changeset/base/223926 Log: peeraddr is only used in sizeof() evaluations, so instead of declaring it a variable, use typedef. MFC after:1 month Modified: head/usr.bin/tftp/main.c Modifi

svn commit: r223941 - stable/8/contrib/libpcap/bpf/net

2011-07-11 Thread Xin LI
Author: delphij Date: Tue Jul 12 01:16:43 2011 New Revision: 223941 URL: http://svn.freebsd.org/changeset/base/223941 Log: MFC r223616: Incorporate vendor commit ecdc5c0a7f7591a7cd4a: In userland, sign extend the offset for JA instructions. We currently use that to implement "ip6

svn commit: r224001 - head/usr.sbin/rpcbind

2011-07-14 Thread Xin LI
Author: delphij Date: Thu Jul 14 07:28:49 2011 New Revision: 224001 URL: http://svn.freebsd.org/changeset/base/224001 Log: Use prototype. While I'm there, add a pair of parenthesis to mark an if statment's border. MFC after:1 month Modified: head/usr.sbin/rpcbind/rpcb_stat.c hea

svn commit: r224002 - head/usr.sbin/syslogd

2011-07-14 Thread Xin LI
Author: delphij Date: Thu Jul 14 07:33:53 2011 New Revision: 224002 URL: http://svn.freebsd.org/changeset/base/224002 Log: Add a new option, -N to disable the default and recommended syslogd(8) behavior, which binds to the well known UDP port. This option implies -s. MFC after:2

svn commit: r224003 - head/usr.sbin/mountd

2011-07-14 Thread Xin LI
Author: delphij Date: Thu Jul 14 07:35:28 2011 New Revision: 224003 URL: http://svn.freebsd.org/changeset/base/224003 Log: Use calloc() instead of an explicit memset. MFC after:2 weeks Modified: head/usr.sbin/mountd/mountd.c Modified: head/usr.sbin/mountd/mountd.c ==

svn commit: r224004 - head/sbin/dumpfs

2011-07-14 Thread Xin LI
Author: delphij Date: Thu Jul 14 08:06:03 2011 New Revision: 224004 URL: http://svn.freebsd.org/changeset/base/224004 Log: Add a -l option to show file system's corresponding /dev/ufsid path. This is useful for scripts that converts existing system's fstab to use their /dev/ufsid devices.

svn commit: r224025 - head/sbin/dumpfs

2011-07-14 Thread Xin LI
Author: delphij Date: Thu Jul 14 17:43:23 2011 New Revision: 224025 URL: http://svn.freebsd.org/changeset/base/224025 Log: Use _PATH_DEV and make the format more consistent with GEOM_LABEL. Submitted by: ivoras Modified: head/sbin/dumpfs/dumpfs.c Modified: head/sbin/dumpfs/dumpfs.c

svn commit: r224065 - stable/8/usr.sbin/pw

2011-07-15 Thread Xin LI
Author: delphij Date: Fri Jul 15 18:10:59 2011 New Revision: 224065 URL: http://svn.freebsd.org/changeset/base/224065 Log: MFC r223115: Don't attempt to create the base directory when -d is specified. Modified: stable/8/usr.sbin/pw/pw_user.c Directory Properties: stable/8/usr.sbin/pw/

svn commit: r224196 - head/lib/libz

2011-07-18 Thread Xin LI
Author: delphij Date: Mon Jul 18 19:23:50 2011 New Revision: 224196 URL: http://svn.freebsd.org/changeset/base/224196 Log: Disable gvmat64.S, the assembler version of longest_match for now. PR: kern/154073 MFC after:3 days Approved by: re (kib) Modified: head/lib/libz/

svn commit: r224231 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2011-07-20 Thread Xin LI
Author: delphij Date: Wed Jul 20 16:53:32 2011 New Revision: 224231 URL: http://svn.freebsd.org/changeset/base/224231 Log: Add a new field to in-core znode, z_rdev, to represent device nodes. PR: kern/159010 Reviewed by: mm@ Approved by: re (kib) MFC after:2 weeks Mod

svn commit: r224238 - stable/8/lib/libz

2011-07-20 Thread Xin LI
Author: delphij Date: Thu Jul 21 00:37:32 2011 New Revision: 224238 URL: http://svn.freebsd.org/changeset/base/224238 Log: MFC r224196: Disable gvmat64.S, the assembler version of longest_match for now. PR: kern/154073 Modified: stable/8/lib/libz/Makefile Directory Propert

svn commit: r224251 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2011-07-21 Thread Xin LI
Author: delphij Date: Thu Jul 21 20:01:51 2011 New Revision: 224251 URL: http://svn.freebsd.org/changeset/base/224251 Log: A different implementation of r224231 proposed by pjd@, which does not require change in the znode structure. Specifically, it queries rdev from the znode in the same

svn commit: r224252 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-07-21 Thread Xin LI
Author: delphij Date: Thu Jul 21 20:02:22 2011 New Revision: 224252 URL: http://svn.freebsd.org/changeset/base/224252 Log: Bring the code more in-line with OpenSolaris source to ease future port. Reviewed by: pjd, mm Approved by: re (kib) Modified: head/sys/cddl/contrib/opensolaris

svn commit: r224488 - stable/8/sbin/dumpfs

2011-07-28 Thread Xin LI
Author: delphij Date: Fri Jul 29 06:15:18 2011 New Revision: 224488 URL: http://svn.freebsd.org/changeset/base/224488 Log: MFC rr224004,224025: Add a -l option to show file system's corresponding /dev/ufsid path. This is useful for scripts that converts existing system's fstab to use th

svn commit: r224489 - stable/8/usr.sbin/mountd

2011-07-28 Thread Xin LI
Author: delphij Date: Fri Jul 29 06:16:16 2011 New Revision: 224489 URL: http://svn.freebsd.org/changeset/base/224489 Log: Use calloc() instead of an explicit memset. Modified: stable/8/usr.sbin/mountd/mountd.c Directory Properties: stable/8/usr.sbin/mountd/ (props changed) Modified: sta

svn commit: r224535 - head/usr.sbin/pw

2011-07-30 Thread Xin LI
Author: delphij Date: Sun Jul 31 03:00:00 2011 New Revision: 224535 URL: http://svn.freebsd.org/changeset/base/224535 Log: Backout r223115 which potentially caused a POLA violation, by restoring historic behavior (create the default base directory in pw.conf) before I came up with a better f

svn commit: r224583 - in head: share/man/man4 sys/dev/hptiop

2011-08-01 Thread Xin LI
Author: delphij Date: Mon Aug 1 21:12:41 2011 New Revision: 224583 URL: http://svn.freebsd.org/changeset/base/224583 Log: Add PCI ID for RocketRAID 4321 and 4322. A FreeNAS user have tested the change on RocketRAID 4322. Sponsored by: iXsystems, Inc. MFC after:3 days Approved by

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

2011-08-03 Thread Xin LI
Author: delphij Date: Wed Aug 3 18:11:53 2011 New Revision: 224636 URL: http://svn.freebsd.org/changeset/base/224636 Log: MFC r224231,224251-224252: Make ZFS work better with respect to device nodes. PR: kern/159010 Modified: stable/8/sys/cddl/contrib/opensolaris/uts/comm

svn commit: r224645 - in stable/8: share/man/man4 sys/dev/hptiop

2011-08-03 Thread Xin LI
Author: delphij Date: Thu Aug 4 03:04:05 2011 New Revision: 224645 URL: http://svn.freebsd.org/changeset/base/224645 Log: MFC r224583: Add PCI ID for RocketRAID 4321 and 4322. A FreeNAS user have tested the change on RocketRAID 4322. Sponsored by: iXsystems, Inc. Modified: stabl

Re: svn commit: r224614 - head/sys/kern

2011-08-04 Thread Xin LI
; path from supplied path argument. This fixes unmount in jail. > > It seems fdescfs(5) hangs after this commit if the mount point is > /dev/fd. Please find attached kib@'s patch that fixes this issue (david wolfskill and I have both tested individually). Cheers, - -- Xin LI https:

svn commit: r224753 - stable/8/usr.bin/rpcgen

2011-08-10 Thread Xin LI
Author: delphij Date: Wed Aug 10 08:52:27 2011 New Revision: 224753 URL: http://svn.freebsd.org/changeset/base/224753 Log: MFC r223922: Use strlcpy(). Modified: stable/8/usr.bin/rpcgen/rpc_scan.c Directory Properties: stable/8/usr.bin/rpcgen/ (props changed) Modified: stable/8/usr.b

svn commit: r224754 - stable/8/usr.bin/gcore

2011-08-10 Thread Xin LI
Author: delphij Date: Wed Aug 10 08:53:33 2011 New Revision: 224754 URL: http://svn.freebsd.org/changeset/base/224754 Log: MFC r223924: Match size_t and ssize_t by using %zu and %zd instead of %d. Modified: stable/8/usr.bin/gcore/elfcore.c Directory Properties: stable/8/usr.bin/gcore/

svn commit: r224755 - stable/8/usr.bin/ipcs

2011-08-10 Thread Xin LI
Author: delphij Date: Wed Aug 10 08:54:35 2011 New Revision: 224755 URL: http://svn.freebsd.org/changeset/base/224755 Log: MFC r223925: Use %zu when printing size_t. Modified: stable/8/usr.bin/ipcs/ipc.c Directory Properties: stable/8/usr.bin/ipcs/ (props changed) Modified: stable/8

svn commit: r224756 - stable/8/usr.bin/tftp

2011-08-10 Thread Xin LI
Author: delphij Date: Wed Aug 10 08:55:46 2011 New Revision: 224756 URL: http://svn.freebsd.org/changeset/base/224756 Log: MFC r223926: peeraddr is only used in sizeof() evaluations, so instead of declaring it a variable, use typedef. Modified: stable/8/usr.bin/tftp/main.c Directory Pr

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