svn commit: r212678 - stable/7/sys/dev/twa

2010-09-15 Thread Xin LI
Author: delphij Date: Wed Sep 15 17:25:51 2010 New Revision: 212678 URL: http://svn.freebsd.org/changeset/base/212678 Log: MFC r212008,212028,212210 the updated twa(4) driver minus maxio change which depends on cam(4) revision r195534. The change have been tested on stable/7 with 3ware 96

svn commit: r212764 - head/sys/dev/alc

2010-09-16 Thread Xin LI
Author: delphij Date: Thu Sep 16 21:06:23 2010 New Revision: 212764 URL: http://svn.freebsd.org/changeset/base/212764 Log: status bits should be &'ed against status to be really functional. Reported by: Jike Song Reviewed by: yongari MFC after:1 week Modified: head/sys/dev/alc/

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

2010-09-17 Thread Xin LI
Author: delphij Date: Sat Sep 18 00:44:55 2010 New Revision: 212807 URL: http://svn.freebsd.org/changeset/base/212807 Log: MFC r211475: Check return value of dup(), it could be -1 when the system is running out of file descriptors for instance. Found with: Coverity Prevent(tm) CI

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

2010-09-17 Thread Xin LI
Author: delphij Date: Sat Sep 18 00:46:05 2010 New Revision: 212808 URL: http://svn.freebsd.org/changeset/base/212808 Log: MFC r211475: Check return value of dup(), it could be -1 when the system is running out of file descriptors for instance. Found with: Coverity Prevent(tm) CI

Re: svn commit: r212517 - head/lib/libz

2010-09-19 Thread Xin LI
ly the same with libz vendor version now (except your addition of $FreeBSD$ tag). Plus: [delp...@delta] /usr/src/lib/libz> svn pl minigzip.c Properties on 'minigzip.c': fbsd:nokeywords Or, do we require $FreeBSD$ tags for every files? > Modified: > head/lib/libz/mini

svn commit: r212927 - head/usr.bin/grep/nls

2010-09-20 Thread Xin LI
Author: delphij Date: Mon Sep 20 19:42:52 2010 New Revision: 212927 URL: http://svn.freebsd.org/changeset/base/212927 Log: Add Simplified Chinese messages for BSD grep. Added: head/usr.bin/grep/nls/zh_CN.UTF-8.msg (contents, props changed) Modified: head/usr.bin/grep/nls/Makefile.inc Mod

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

2010-09-22 Thread Xin LI
Author: delphij Date: Thu Sep 23 01:24:33 2010 New Revision: 213044 URL: http://svn.freebsd.org/changeset/base/213044 Log: In the past gunzip(1) write()'s after each inflate return. This is not optimal from a performance standpoint since the write buffer is not necessarily be filled up when

svn commit: r213045 - stable/8/sys/dev/alc

2010-09-22 Thread Xin LI
Author: delphij Date: Thu Sep 23 01:30:50 2010 New Revision: 213045 URL: http://svn.freebsd.org/changeset/base/213045 Log: MFC r212764: status bits should be &'ed against status to be really functional. Reported by: Jike Song Reviewed by: yongari Modified: stable/8/sys/dev/alc/i

svn commit: r213046 - stable/7/sys/dev/alc

2010-09-22 Thread Xin LI
Author: delphij Date: Thu Sep 23 01:38:52 2010 New Revision: 213046 URL: http://svn.freebsd.org/changeset/base/213046 Log: MFC r212764: status bits should be &'ed against status to be really functional. Reported by: Jike Song Reviewed by: yongari Modified: stable/7/sys/dev/alc/i

svn commit: r213106 - stable/8/sys/fs/tmpfs

2010-09-24 Thread Xin LI
Author: delphij Date: Fri Sep 24 17:26:57 2010 New Revision: 213106 URL: http://svn.freebsd.org/changeset/base/213106 Log: MFC r197850: Add a special workaround to handle UIO_NOCOPY case. This fixes data corruption observed when sendfile() is being used. Requested by: avg PR:

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

2010-09-24 Thread Xin LI
tall the huge .symbols files? +1. Even textdump would be a huge help for the project (except it depends on KDB/DDB which should be considered more thoroughly due to security consequences). Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Liv

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

2010-09-24 Thread Xin LI
Author: delphij Date: Fri Sep 24 23:47:42 2010 New Revision: 213144 URL: http://svn.freebsd.org/changeset/base/213144 Log: MFC r211393 (des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with L

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

2010-09-24 Thread Xin LI
Author: delphij Date: Fri Sep 24 23:48:29 2010 New Revision: 213145 URL: http://svn.freebsd.org/changeset/base/213145 Log: MFC r211393 (by des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called wit

svn commit: r213146 - stable/6/lib/libutil

2010-09-24 Thread Xin LI
Author: delphij Date: Fri Sep 24 23:51:45 2010 New Revision: 213146 URL: http://svn.freebsd.org/changeset/base/213146 Log: MFC r211393 (by des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called wit

svn commit: r213225 - in head/sys: netinet netinet6

2010-09-27 Thread Xin LI
Author: delphij Date: Mon Sep 27 19:26:56 2010 New Revision: 213225 URL: http://svn.freebsd.org/changeset/base/213225 Log: Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt. The result of

Re: svn commit: r213326 - head/lib/libc/i386/string

2010-10-01 Thread Xin LI
= By the way I have a memchr(3) implementation using the similar algorithm strlen(3) uses, and microbenchmark shows a 2x to 3x improvement but it's still in my queue and needs to do real-world testing. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live fr

svn commit: r213398 - head/bin/rm

2010-10-04 Thread Xin LI
Author: delphij Date: Mon Oct 4 06:17:45 2010 New Revision: 213398 URL: http://svn.freebsd.org/changeset/base/213398 Log: Clarify the combination effect of -P and -f to make it clear. Submitted by: arundel MFC after:2 weeks Modified: head/bin/rm/rm.1 Modified: head/bin/rm/rm.1 ==

svn commit: r213399 - stable/8/usr.bin

2010-10-04 Thread Xin LI
Author: delphij Date: Mon Oct 4 06:49:12 2010 New Revision: 213399 URL: http://svn.freebsd.org/changeset/base/213399 Log: Revision 209601 should have merged this part of r203711 to make fmt(1) build unconditional. PR: misc/151180 Modified: stable/8/usr.bin/Makefile Directory

svn commit: r213467 - in stable/8: lib/libgeom sbin/geom/class/sched sbin/geom/core sys/geom

2010-10-05 Thread Xin LI
Author: delphij Date: Wed Oct 6 00:13:55 2010 New Revision: 213467 URL: http://svn.freebsd.org/changeset/base/213467 Log: MFC r202454,202457,202458,202586,207842,207844,208099: Expose stripesize and stripeoffset via kernel sysctl as well as userland library and the geom(8) utility. Modi

svn commit: r213487 - head/gnu/usr.bin/groff/tmac

2010-10-06 Thread Xin LI
Author: delphij Date: Wed Oct 6 18:20:07 2010 New Revision: 213487 URL: http://svn.freebsd.org/changeset/base/213487 Log: Add definition for FreeBSD 7.4, which will be used in a manual page change. Reviewed by: ru MFC after:3 days Modified: head/gnu/usr.bin/groff/tmac/mdoc.local

svn commit: r213488 - head/libexec/tftpd

2010-10-06 Thread Xin LI
Author: delphij Date: Wed Oct 6 18:20:39 2010 New Revision: 213488 URL: http://svn.freebsd.org/changeset/base/213488 Log: Use a defined FreeBSD version. MFC after:3 days Modified: head/libexec/tftpd/tftpd.8 Modified: head/libexec/tftpd/tftpd.8 ==

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

2010-10-06 Thread Xin LI
Author: delphij Date: Thu Oct 7 00:29:07 2010 New Revision: 213503 URL: http://svn.freebsd.org/changeset/base/213503 Log: MFC r213044: In the past gunzip(1) write()'s after each inflate return. This is not optimal from a performance standpoint since the write buffer is not necessarily

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

2010-10-06 Thread Xin LI
Author: delphij Date: Thu Oct 7 00:30:29 2010 New Revision: 213504 URL: http://svn.freebsd.org/changeset/base/213504 Log: MFC r210344: In the past gunzip(1) write()'s after each inflate return. This is not optimal from a performance standpoint since the write buffer is not necessarily

svn commit: r213505 - stable/8/sys/netinet

2010-10-06 Thread Xin LI
Author: delphij Date: Thu Oct 7 00:36:58 2010 New Revision: 213505 URL: http://svn.freebsd.org/changeset/base/213505 Log: MFC r211059: Address an edge condition that we found at work, where the carp(4) interface goes to issue LINK_UP, then LINK_DOWN, then LINK_UP at cold boot. This be

svn commit: r213506 - stable/7/sys/netinet

2010-10-06 Thread Xin LI
Author: delphij Date: Thu Oct 7 00:37:40 2010 New Revision: 213506 URL: http://svn.freebsd.org/changeset/base/213506 Log: MFC r211059: Address an edge condition that we found at work, where the carp(4) interface goes to issue LINK_UP, then LINK_DOWN, then LINK_UP at cold boot. This be

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

2010-10-08 Thread Xin LI
Author: delphij Date: Fri Oct 8 21:29:48 2010 New Revision: 213632 URL: http://svn.freebsd.org/changeset/base/213632 Log: Document net.link.lagg.failover_rx_all. MFC after:1 week Modified: head/share/man/man4/lagg.4 Modified: head/share/man/man4/lagg.4 =

svn commit: r213640 - in stable: 7/gnu/usr.bin/groff/tmac 8/gnu/usr.bin/groff/tmac

2010-10-08 Thread Xin LI
Author: delphij Date: Sat Oct 9 00:34:58 2010 New Revision: 213640 URL: http://svn.freebsd.org/changeset/base/213640 Log: MFC r213487: Add definition for FreeBSD 7.4, which will be used in a manual page change. Modified: stable/8/gnu/usr.bin/groff/tmac/mdoc.local Directory Properties:

svn commit: r213640 - in stable: 7/gnu/usr.bin/groff/tmac 8/gnu/usr.bin/groff/tmac

2010-10-08 Thread Xin LI
Author: delphij Date: Sat Oct 9 00:34:58 2010 New Revision: 213640 URL: http://svn.freebsd.org/changeset/base/213640 Log: MFC r213487: Add definition for FreeBSD 7.4, which will be used in a manual page change. Modified: stable/7/gnu/usr.bin/groff/tmac/mdoc.local (contents, props chan

svn commit: r213641 - in stable: 7/libexec/tftpd 8/libexec/tftpd

2010-10-08 Thread Xin LI
Author: delphij Date: Sat Oct 9 00:36:32 2010 New Revision: 213641 URL: http://svn.freebsd.org/changeset/base/213641 Log: MFC r213488: Use a defined FreeBSD version. Modified: stable/8/libexec/tftpd/tftpd.8 Directory Properties: stable/8/libexec/tftpd/ (props changed) Changes in ot

svn commit: r213641 - in stable: 7/libexec/tftpd 8/libexec/tftpd

2010-10-08 Thread Xin LI
Author: delphij Date: Sat Oct 9 00:36:32 2010 New Revision: 213641 URL: http://svn.freebsd.org/changeset/base/213641 Log: MFC r213488: Use a defined FreeBSD version. Modified: stable/7/libexec/tftpd/tftpd.8 Directory Properties: stable/7/libexec/tftpd/ (props changed) Changes in ot

svn commit: r213687 - in stable: 7/sys/netinet 7/sys/netinet6 8/sys/netinet 8/sys/netinet6

2010-10-11 Thread Xin LI
Author: delphij Date: Mon Oct 11 11:25:37 2010 New Revision: 213687 URL: http://svn.freebsd.org/changeset/base/213687 Log: MFC r213225: Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt

svn commit: r213687 - in stable: 7/sys/netinet 7/sys/netinet6 8/sys/netinet 8/sys/netinet6

2010-10-11 Thread Xin LI
Author: delphij Date: Mon Oct 11 11:25:37 2010 New Revision: 213687 URL: http://svn.freebsd.org/changeset/base/213687 Log: MFC r213225: Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt

svn commit: r214028 - vendor/netcat/dist

2010-10-18 Thread Xin LI
Author: delphij Date: Mon Oct 18 19:44:45 2010 New Revision: 214028 URL: http://svn.freebsd.org/changeset/base/214028 Log: Import nc from OpenBSD's OPENBSD_4_8 as of today. Modified: vendor/netcat/dist/nc.1 vendor/netcat/dist/netcat.c vendor/netcat/dist/socks.c Modified: vendor/netcat/di

svn commit: r214029 - vendor/netcat/4.8

2010-10-18 Thread Xin LI
Author: delphij Date: Mon Oct 18 19:45:24 2010 New Revision: 214029 URL: http://svn.freebsd.org/changeset/base/214029 Log: Tag for OpenBSD 4.8's nc(1). Added: vendor/netcat/4.8/ - copied from r214028, vendor/netcat/dist/ ___ svn-src-all@freebsd

svn commit: r214047 - in head: contrib/netcat usr.bin/nc

2010-10-18 Thread Xin LI
Author: delphij Date: Tue Oct 19 00:01:53 2010 New Revision: 214047 URL: http://svn.freebsd.org/changeset/base/214047 Log: MFV: nc(1) from OpenBSD 4.8. While I'm there, bump WARNS level to 2 as the vendor have the right printf format string now. MFC after:1 month Obtained from:

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

2010-10-19 Thread Xin LI
Author: delphij Date: Tue Oct 19 17:49:55 2010 New Revision: 214066 URL: http://svn.freebsd.org/changeset/base/214066 Log: Clarify that lagg(4) sends/receives on active port, not the master port. Note that this still seems to be a little bit confusing as the concept of "master" is differe

Re: svn commit: r213784 - head/lib/libz

2010-10-19 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/13/10 09:34, Warner Losh wrote: > Author: imp > Date: Wed Oct 13 16:34:08 2010 > New Revision: 213784 > URL: http://svn.freebsd.org/changeset/base/213784 > > Log: > Revert 212517 to restore pristine state of this file

svn commit: r214111 - in stable/8: share/man/man4 sys/net

2010-10-20 Thread Xin LI
Author: delphij Date: Wed Oct 20 17:42:10 2010 New Revision: 214111 URL: http://svn.freebsd.org/changeset/base/214111 Log: MFC r212100 (emaste),213632,214066: Add a new syslog knob, net.link.lagg.failover_rx_all, to control whether to accept input packets on any link in a failover lagg,

svn commit: r214112 - in stable/7: share/man/man4 sys/net

2010-10-20 Thread Xin LI
Author: delphij Date: Wed Oct 20 17:58:12 2010 New Revision: 214112 URL: http://svn.freebsd.org/changeset/base/214112 Log: MFC r190527,190528,190531: 190527(sam): fix wired-wireless failover example and remove incorrect comment about WPA not working 190528(sam): remove bogus nwid

svn commit: r214125 - head/sys/kern

2010-10-21 Thread Xin LI
Author: delphij Date: Thu Oct 21 08:57:25 2010 New Revision: 214125 URL: http://svn.freebsd.org/changeset/base/214125 Log: In syscall_module_handler(): all switch branches return, remove unreached code as pointed out in a Chinese forum [1]. [1] http://www.freebsdchina.org/forum/viewtopic.

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

2010-10-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/21/10 04:46, John Baldwin wrote: > On Thursday, October 21, 2010 4:57:25 am Xin LI wrote: >> Author: delphij >> Date: Thu Oct 21 08:57:25 2010 >> New Revision: 214125 >> URL: http://svn.freebsd.org/changeset/bas

svn commit: r214181 - head/sys/kern

2010-10-21 Thread Xin LI
Author: delphij Date: Thu Oct 21 20:31:50 2010 New Revision: 214181 URL: http://svn.freebsd.org/changeset/base/214181 Log: Call chainevh callback when we are invoked with neither MOD_LOAD nor MOD_UNLOAD. This makes it possible to add custom hooks for other module events. Return EOPNOTS

Re: svn commit: r214431 - head/bin/rm

2010-10-27 Thread Xin LI
es file block when data is written on existing offset. Several factors including the file system and its backing store could defeat the assumption, this includes, but is not limited to file systems that uses Copy-On-Write strategy (e.g. ZFS or UFS when snapshot is being used), or backing datastore that d

svn commit: r227802 - head/sys/fs/tmpfs

2011-11-21 Thread Xin LI
Author: delphij Date: Mon Nov 21 20:26:22 2011 New Revision: 227802 URL: http://svn.freebsd.org/changeset/base/227802 Log: Improve the way to calculate available pages in tmpfs: - Don't deduct wired pages from total usable counts because it does not make any sense. To make things wor

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

2011-11-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 For the record, in our talk kib@ also suggested that it would be worthwhile to add "reserved" swap pages for tmpfs so that administrators can have guaranteed space for tmpfs as well. This is not implemented in this changeset. Cheers, -

svn commit: r227910 - releng/9.0/etc stable/9/etc

2011-11-23 Thread Xin LI
Author: delphij Date: Wed Nov 23 21:41:31 2011 New Revision: 227910 URL: http://svn.freebsd.org/changeset/base/227910 Log: MFC r225849: Test if the interface is afif in dhcpif() and syncdhcpif(), as done in ipv6_autoconfif. This fixes a regression that causes e.g. ifconfig_DEFAULT="D

svn commit: r227910 - releng/9.0/etc stable/9/etc

2011-11-23 Thread Xin LI
Author: delphij Date: Wed Nov 23 21:41:31 2011 New Revision: 227910 URL: http://svn.freebsd.org/changeset/base/227910 Log: MFC r225849: Test if the interface is afif in dhcpif() and syncdhcpif(), as done in ipv6_autoconfif. This fixes a regression that causes e.g. ifconfig_DEFAULT="D

svn commit: r227963 - head/sbin/camcontrol

2011-11-24 Thread Xin LI
Author: delphij Date: Fri Nov 25 07:11:02 2011 New Revision: 227963 URL: http://svn.freebsd.org/changeset/base/227963 Log: Fix build. Modified: head/sbin/camcontrol/util.c Modified: head/sbin/camcontrol/util.c == ---

Re: svn commit: r228099 - head/usr.bin/grep

2011-11-28 Thread Xin LI
r this as well. 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) iQEcBAEBCAAGBQJO0+2DAAoJEATO+BI/yjfBdY8H/j06mWzfsQYqXLLTA8T2G7kj fo9VqE3FrdZ43kuaSV+IsZOuXGJHA9ttSCuvbByq9

Re: svn commit: r228099 - head/usr.bin/grep

2011-11-28 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/28/11 15:58, Gábor Kövesdán wrote: > On 2011.11.28. 21:22, Xin LI wrote: >> This is useful but could be confusing since xzgrep's behavior >> could be different from zgrep. > What do you refer to exactly? That zgrep is

svn commit: r228119 - head/usr.sbin/mfiutil

2011-11-29 Thread Xin LI
Author: delphij Date: Tue Nov 29 08:16:14 2011 New Revision: 228119 URL: http://svn.freebsd.org/changeset/base/228119 Log: In build_volume(), check if arrays is allocated before traversing its items. While parsing the arrays input, it's possible that we reach the error path before initializ

svn commit: r228511 - head

2011-12-14 Thread Xin LI
Author: delphij Date: Wed Dec 14 23:22:40 2011 New Revision: 228511 URL: http://svn.freebsd.org/changeset/base/228511 Log: Reflect the move of eventtimers(7) to eventtimers(4). Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r228520 - head/sys/nfsserver

2011-12-14 Thread Xin LI
Author: delphij Date: Thu Dec 15 02:26:53 2011 New Revision: 228520 URL: http://svn.freebsd.org/changeset/base/228520 Log: Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, the full length from offset is being flushed. Note that for now VOP_FSYNC does not support off

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

2011-12-19 Thread Xin LI
Author: delphij Date: Tue Dec 20 00:16:52 2011 New Revision: 228724 URL: http://svn.freebsd.org/changeset/base/228724 Log: Add comments in NOTES to say what viawd is. Modified: head/sys/amd64/conf/NOTES head/sys/i386/conf/NOTES Modified: head/sys/amd64/conf/NOTES ==

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-23 Thread Xin Li
a wrapper around chroot(2) and contain everything in it, or check permissions on certain "important" files, etc. These would require changes to chroot(2) semantics which could break existing installations and the outcome could be quite silent which eventually results in this. Cheers,

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-23 Thread Xin LI
gt;> >>>> Putting symbol into official namespace implies that we are willing >>>> to provide and maintain it forever, which I do not think was the >>>> intent for the function in question. FBSD_PRIVATE says nothing >>>> about who should and

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-24 Thread Xin LI
st be no ugly intents and names. This whole idea just proves yet > one our @secteam ugliness. > > There must be ischroot(2) the same way we already have issetugid(2). chroot(2) can create legitimate and secure environment where dlopen(2) is safe and necessary. Cheers, -- Xin LI https://

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-24 Thread Xin LI
On Sat, Dec 24, 2011 at 2:39 AM, Andrey Chernov wrote: > On Sat, Dec 24, 2011 at 02:26:20AM -0800, Xin LI wrote: >> chroot(2) can create legitimate and secure environment where dlopen(2) >> is safe and necessary. > > Yes, so ischroot() check can be used only into tha

Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexe

2011-12-24 Thread Xin LI
2011/12/24 Edward Tomasz Napierała : > Wiadomość napisana przez Andrey Chernov w dniu 24 gru 2011, o godz. 11:50: >> On Sat, Dec 24, 2011 at 02:45:21AM -0800, Xin LI wrote: >>> On Sat, Dec 24, 2011 at 2:39 AM, Andrey Chernov wrote: >>>> On Sat, Dec 24, 2011 at

svn commit: r228894 - vendor/netcat/dist

2011-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 08:59:17 2011 New Revision: 228894 URL: http://svn.freebsd.org/changeset/base/228894 Log: Import nc from OpenBSD 5.0. Modified: vendor/netcat/dist/netcat.c Modified: vendor/netcat/dist/netcat.c =

svn commit: r228895 - vendor/netcat/5.0

2011-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 09:03:28 2011 New Revision: 228895 URL: http://svn.freebsd.org/changeset/base/228895 Log: Tag nc from OpenBSD 5.0. Added: vendor/netcat/5.0/ - copied from r228894, vendor/netcat/dist/ ___ svn-src-all@freebsd.org

svn commit: r228896 - head/contrib/netcat

2011-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 09:07:08 2011 New Revision: 228896 URL: http://svn.freebsd.org/changeset/base/228896 Log: Merge from OpenBSD 5.0 (this is a dummy change, the vendor change does not apply to us). Modified: head/contrib/netcat/netcat.c Directory Properties: head/contrib/net

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

2011-12-27 Thread Xin LI
RWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. +.\"- +.\" Copyright (c) 2011 Xin LI +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" m

svn commit: r228917 - head/usr.sbin/rtprio

2011-12-27 Thread Xin LI
Author: delphij Date: Tue Dec 27 20:03:57 2011 New Revision: 228917 URL: http://svn.freebsd.org/changeset/base/228917 Log: - Fail when the utility is not invoked as rtprio nor idprio. - use warnx() to tell the user whether a process is running in normal, idle or realtime priority. with

svn commit: r228924 - head/include

2011-12-27 Thread Xin LI
Author: delphij Date: Wed Dec 28 05:35:33 2011 New Revision: 228924 URL: http://svn.freebsd.org/changeset/base/228924 Log: In POSIX.1-2008: P_tmpdir [OB XSI] Default directory prefix for tempnam(). This macro is used in a lot of places in legacy applications, and is why we see a lot

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

2011-12-28 Thread Xin LI
from the manufacturer which they only supply for these platforms. +The +.Nm +driver does +.Em not +work on i386 with +.Xr pae 4 +enabled. +.Sh SEE ALSO +.Xr kld 4 , +.Xr kldload 8 , +.Xr loader 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 10.0 . +.Sh AUTHORS +.An -nosplit +

svn commit: r229381 - in stable: 8/etc/defaults 8/etc/periodic/daily 9/etc/defaults 9/etc/periodic/daily

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 10:22:09 2012 New Revision: 229381 URL: http://svn.freebsd.org/changeset/base/229381 Log: MFC r226471 (se): Add missing default values for daily/800.scrub-zfs for documentation purposes. No functional change, since all parameters are set to their default

svn commit: r229381 - in stable: 8/etc/defaults 8/etc/periodic/daily 9/etc/defaults 9/etc/periodic/daily

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 10:22:09 2012 New Revision: 229381 URL: http://svn.freebsd.org/changeset/base/229381 Log: MFC r226471 (se): Add missing default values for daily/800.scrub-zfs for documentation purposes. No functional change, since all parameters are set to their default

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

2012-01-03 Thread Xin LI
Author: delphij Date: Tue Jan 3 20:17:35 2012 New Revision: 229416 URL: http://svn.freebsd.org/changeset/base/229416 Log: Don't forget to release queue lock when allocation of memory failed. Submitted by: Sascha Wildner Obtained from:DragonFly MFC after:2 weeks Modified:

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

2012-01-03 Thread Xin LI
Author: delphij Date: Wed Jan 4 02:04:20 2012 New Revision: 229459 URL: http://svn.freebsd.org/changeset/base/229459 Log: Document the fact that chroot(2) is no longer part of POSIX since SUSv3 and add a SECURITY CONSIDERATIONS section for recommended practices. Modified: head/lib/libc/sys

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

2010-11-05 Thread Xin LI
Author: delphij Date: Fri Nov 5 22:18:09 2010 New Revision: 214854 URL: http://svn.freebsd.org/changeset/base/214854 Log: Validate whether the zfs_cmd_t submitted from userland is not smaller than what we have. Without the check the kernel could accessing memory that does not belong to the

svn commit: r214857 - head/contrib/top

2010-11-05 Thread Xin LI
Author: delphij Date: Sat Nov 6 03:59:21 2010 New Revision: 214857 URL: http://svn.freebsd.org/changeset/base/214857 Log: Inverse display of top(1)'s table header when running in inactive mode. MFC after:2 weeks Modified: head/contrib/top/display.c head/contrib/top/top.h Modified

svn commit: r214911 - stable/8/etc/periodic/security

2010-11-07 Thread Xin LI
Author: delphij Date: Sun Nov 7 11:39:48 2010 New Revision: 214911 URL: http://svn.freebsd.org/changeset/base/214911 Log: Revert r214897 in order to finish the merge properly without stopping svn2cvs. Pointy hat to:delphij Deleted: stable/8/etc/periodic/security/460.chkportsum

svn commit: r214912 - in stable/8/etc: defaults periodic/security

2010-11-07 Thread Xin LI
Author: delphij Date: Sun Nov 7 11:51:57 2010 New Revision: 214912 URL: http://svn.freebsd.org/changeset/base/214912 Log: Redo r214897: MFC r211141 (gabor) - Fixes to the chkportsum script to handle better some special cases, like spaces in filename Submitted by: Alex Kozlo

svn commit: r215045 - in head: etc/periodic/security tools/build/mk

2010-11-09 Thread Xin LI
Author: delphij Date: Tue Nov 9 18:46:44 2010 New Revision: 215045 URL: http://svn.freebsd.org/changeset/base/215045 Log: Hide 460.chkportsum in MK_PKGTOOLS != no case. Submitted by: Alex Kozlov MFC after:2 weeks Modified: head/etc/periodic/security/Makefile head/tools/build/mk

svn commit: r215155 - in stable: 7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-11-11 Thread Xin LI
Author: delphij Date: Fri Nov 12 01:45:29 2010 New Revision: 215155 URL: http://svn.freebsd.org/changeset/base/215155 Log: MFC r214854: Validate whether the zfs_cmd_t submitted from userland is not smaller than what we have. Without the check the kernel could accessing memory that does

svn commit: r215155 - in stable: 7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-11-11 Thread Xin LI
Author: delphij Date: Fri Nov 12 01:45:29 2010 New Revision: 215155 URL: http://svn.freebsd.org/changeset/base/215155 Log: MFC r214854: Validate whether the zfs_cmd_t submitted from userland is not smaller than what we have. Without the check the kernel could accessing memory that does

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

2010-11-13 Thread Xin LI
Author: delphij Date: Sat Nov 13 08:58:36 2010 New Revision: 215234 URL: http://svn.freebsd.org/changeset/base/215234 Log: Update to vendor release 1.20.00.19. Bug fixes: * Fixed "inquiry data fails comparion at DV1 step" * Fixed bad range input in bus_alloc_resource for ADAPTER_TYP

svn commit: r215236 - in head: include lib/libc/gen

2010-11-13 Thread Xin LI
Author: delphij Date: Sat Nov 13 10:38:06 2010 New Revision: 215236 URL: http://svn.freebsd.org/changeset/base/215236 Log: Sync with OpenBSD, primarily better signal and terminal handling. Obtained from:OpenBSD MFC after:2 weeks Modified: head/include/readpassphrase.h hea

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

2010-11-13 Thread Xin LI
Author: delphij Date: Sun Nov 14 05:05:41 2010 New Revision: 215280 URL: http://svn.freebsd.org/changeset/base/215280 Log: Workaround build for PAE case for now - revert the PHYS case to previous panic behavior. I have a real fix that changes the sg dma tag allocation to be limited to t

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

2010-11-17 Thread Xin LI
Author: delphij Date: Thu Nov 18 01:14:18 2010 New Revision: 215445 URL: http://svn.freebsd.org/changeset/base/215445 Log: MFC through r214047: nc from OpenBSD 4.8. Modified: stable/8/contrib/netcat/nc.1 stable/8/contrib/netcat/netcat.c stable/8/contrib/netcat/socks.c Directory Properties

svn commit: r215446 - stable/7/contrib/netcat

2010-11-17 Thread Xin LI
Author: delphij Date: Thu Nov 18 01:21:55 2010 New Revision: 215446 URL: http://svn.freebsd.org/changeset/base/215446 Log: MFC through r214047: nc from OpenBSD 4.8. Modified: stable/7/contrib/netcat/nc.1 stable/7/contrib/netcat/netcat.c stable/7/contrib/netcat/socks.c Directory Properties

svn commit: r215514 - stable/7/contrib/netcat

2010-11-19 Thread Xin LI
Author: delphij Date: Fri Nov 19 09:59:41 2010 New Revision: 215514 URL: http://svn.freebsd.org/changeset/base/215514 Log: RELENG_7 does not have IP_BINDANY yet so hide it under ifdef. Reported by: tinderbox Modified: stable/7/contrib/netcat/netcat.c Modified: stable/7/contrib/netcat/n

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

2010-11-21 Thread Xin LI
Author: delphij Date: Sun Nov 21 12:40:16 2010 New Revision: 215628 URL: http://svn.freebsd.org/changeset/base/215628 Log: MFC r214125: In syscall_module_handler(): all switch branches return, remove unreached code as pointed out in a Chinese forum [1]. [1] http://www.freebsdchina.or

Re: svn commit: r215708 - head/sys/compat/ndis

2010-11-22 Thread Xin LI
lout may > be added to update data in periodic intervals. > - On amd64 we need to allocate "shadow space" on stack before calling any > function. > > Submitted by: Paul B Mahol Will this be MFC'ed? Cheers, - -- Xin LI http://www.delph

svn commit: r215730 - in stable/8: etc/periodic/security tools/build/mk

2010-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 23 01:39:30 2010 New Revision: 215730 URL: http://svn.freebsd.org/changeset/base/215730 Log: MFC r204459 (antonie): Add files to remove when MK_PKGTOOLS=no. MFC r215045 [1]: Hide 460.chkportsum in MK_PKGTOOLS != no case. Submitted by: Alex Kozlov

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

2010-11-25 Thread Xin LI
Author: delphij Date: Thu Nov 25 18:21:08 2010 New Revision: 215825 URL: http://svn.freebsd.org/changeset/base/215825 Log: MFC r215234: Update to vendor release 1.20.00.19. Bug fixes: * Fixed "inquiry data fails comparion at DV1 step" * Fixed bad range input in bus_alloc_resour

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

2010-11-25 Thread Xin LI
Author: delphij Date: Thu Nov 25 19:05:17 2010 New Revision: 215835 URL: http://svn.freebsd.org/changeset/base/215835 Log: Add a HARDWARE section. MFC after:2 weeks Modified: head/share/man/man4/et.4 Modified: head/share/man/man4/et.4

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

2010-11-25 Thread Xin LI
Author: delphij Date: Thu Nov 25 19:33:39 2010 New Revision: 215837 URL: http://svn.freebsd.org/changeset/base/215837 Log: Update manual page with respect to latest driver. While I'm there remove ARC-1180 which doesn't seem to exist. Modified: head/share/man/man4/arcmsr.4 Modified: head

svn commit: r215839 - stable/7/sys/dev/arcmsr

2010-11-25 Thread Xin LI
Author: delphij Date: Thu Nov 25 20:09:56 2010 New Revision: 215839 URL: http://svn.freebsd.org/changeset/base/215839 Log: MFC r215234: Update to vendor release 1.20.00.19. Bug fixes: * Fixed "inquiry data fails comparion at DV1 step" * Fixed bad range input in bus_alloc_resour

svn commit: r215851 - in stable/8/release: . picobsd/floppy.tree/sbin

2010-11-25 Thread Xin LI
Author: delphij Date: Fri Nov 26 02:15:39 2010 New Revision: 215851 URL: http://svn.freebsd.org/changeset/base/215851 Log: MFC r214426: Add a short note about kernel modules in FIXIT mode. Modified: stable/8/release/fixit.profile Directory Properties: stable/8/release/ (props changed) s

svn commit: r215852 - stable/7/release

2010-11-25 Thread Xin LI
Author: delphij Date: Fri Nov 26 02:18:52 2010 New Revision: 215852 URL: http://svn.freebsd.org/changeset/base/215852 Log: MFC r214426: Add a short note about kernel modules in FIXIT mode. Modified: stable/7/release/fixit.profile Directory Properties: stable/7/release/ (props changed) s

svn commit: r215934 - in stable/8: include lib/libc/gen

2010-11-26 Thread Xin LI
Author: delphij Date: Sat Nov 27 06:33:53 2010 New Revision: 215934 URL: http://svn.freebsd.org/changeset/base/215934 Log: MFC r215236: Sync with OpenBSD, primarily better signal and terminal handling. Obtained from:OpenBSD Modified: stable/8/include/readpassphrase.h stabl

svn commit: r215935 - in stable/7: include lib/libc/gen

2010-11-26 Thread Xin LI
Author: delphij Date: Sat Nov 27 06:35:15 2010 New Revision: 215935 URL: http://svn.freebsd.org/changeset/base/215935 Log: MFC r215236: Sync with OpenBSD, primarily better signal and terminal handling. Obtained from:OpenBSD Modified: stable/7/include/readpassphrase.h stabl

svn commit: r215991 - head/share/syscons/fonts

2010-11-28 Thread Xin LI
Author: delphij Date: Sun Nov 28 09:35:56 2010 New Revision: 215991 URL: http://svn.freebsd.org/changeset/base/215991 Log: Add a manual shrinked version of swiss-8x16 as swiss-8x14. MFC after:2 months Added: head/share/syscons/fonts/swiss-8x14.fnt (contents, props changed) Modified

svn commit: r216040 - head/share/syscons/fonts

2010-11-28 Thread Xin LI
Author: delphij Date: Mon Nov 29 05:50:20 2010 New Revision: 216040 URL: http://svn.freebsd.org/changeset/base/216040 Log: Make German formal clause to be consistent with the keymap counterpart. Submitted by: arundel MFC after:1 week Modified: head/share/syscons/fonts/INDEX.fonts

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

2010-12-02 Thread Xin LI
Author: delphij Date: Thu Dec 2 18:24:22 2010 New Revision: 216130 URL: http://svn.freebsd.org/changeset/base/216130 Log: Decode IPC_CREAT and IPC_EXCL for semget(2). PR: bin/152781 Submitted by: Anton Yuzhaninov MFC after:2 weeks Modified: head/usr.bin/kdump/mksubr

svn commit: r216147 - head/sbin/geom/class/eli

2010-12-03 Thread Xin LI
Author: delphij Date: Fri Dec 3 10:06:19 2010 New Revision: 216147 URL: http://svn.freebsd.org/changeset/base/216147 Log: * Recommend a overwrite of whole geli provider before use. * Correct a typo while I'm there. Reviewed by: pjd MFC after:2 weeks Modified: head/sbin/geom/c

Re: svn commit: r216147 - head/sbin/geom/class/eli

2010-12-03 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/03/10 09:15, Ulrich Spörlein wrote: > On Fri, 03.12.2010 at 10:06:19 +0000, Xin LI wrote: >> Author: delphij >> Date: Fri Dec 3 10:06:19 2010 >> New Revision: 216147 >> URL: http://svn.freebsd.org/chan

svn commit: r216344 - stable/8/share/syscons/fonts

2010-12-09 Thread Xin LI
Author: delphij Date: Fri Dec 10 00:52:54 2010 New Revision: 216344 URL: http://svn.freebsd.org/changeset/base/216344 Log: MFC r216040: Make German formal clause to be consistent with the keymap counterpart. Submitted by: arundel Approved by: re (kensmith, bz) Modified: stable/8/

  1   2   3   4   5   6   7   8   9   10   >