svn commit: r211410 - head/tools/regression/pjdfstest/tests/chown

2010-08-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Aug 17 06:08:09 2010 New Revision: 211410 URL: http://svn.freebsd.org/changeset/base/211410 Log: More tests, especially for lchown(2). Modified: head/tools/regression/pjdfstest/tests/chown/01.t head/tools/regression/pjdfstest/tests/chown/04.t head/tools/regression/pj

svn commit: r211409 - head/lib/libthr/thread

2010-08-16 Thread David Xu
Author: davidxu Date: Tue Aug 17 02:50:12 2010 New Revision: 211409 URL: http://svn.freebsd.org/changeset/base/211409 Log: Tweak code a bit to be POSIX compatible, when a cancellation request is acted upon, or when a thread calls pthread_exit(), the thread first disables cancellation by sett

Re: svn commit: r211396 - head/sys/vm

2010-08-16 Thread Lawrence Stewart
On 08/17/10 00:24, Andre Oppermann wrote: > Author: andre > Date: Mon Aug 16 14:24:00 2010 > New Revision: 211396 > URL: http://svn.freebsd.org/changeset/base/211396 > > Log: > Add uma_zone_get_max() to obtain the effective limit after a call > to uma_zone_set_max(). > > The UMA zone limi

svn commit: r211408 - in head/tools/regression/bin/sh: builtins execution

2010-08-16 Thread Jilles Tjoelker
Author: jilles Date: Mon Aug 16 22:23:19 2010 New Revision: 211408 URL: http://svn.freebsd.org/changeset/base/211408 Log: sh: Reduce unnecessary testsuite failures with other shells. Modified: head/tools/regression/bin/sh/builtins/fc1.0 head/tools/regression/bin/sh/builtins/fc2.0 head/too

svn commit: r211407 - head/sbin/hastd

2010-08-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 16 21:59:56 2010 New Revision: 211407 URL: http://svn.freebsd.org/changeset/base/211407 Log: The 'size' variable is there to limit how many bytes we want to copy from 'addr'. It is very likely that size of 'addr' is larger than 'size', so checking strlcpy() return

Re: svn commit: r211406 - head/share/man/man4

2010-08-16 Thread Joel Dahl
On 16-08-2010 21:26, Joel Dahl wrote: > Author: joel (doc committer) > Date: Mon Aug 16 21:26:47 2010 > New Revision: 211406 > URL: http://svn.freebsd.org/changeset/base/211406 > > Log: > Put parentheses around a few macros to prevent mdoc warnings. Rule number one: Don't commit when you're abo

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

2010-08-16 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Aug 16 21:26:47 2010 New Revision: 211406 URL: http://svn.freebsd.org/changeset/base/211406 Log: Put parentheses around a few macros to prevent mdoc warnings. Modified: head/share/man/man4/enc.4 head/share/man/man4/ipsec.4 Modified: head/share/man/man

svn commit: r211405 - head/tools/regression/bin/sh/parser

2010-08-16 Thread Jilles Tjoelker
Author: jilles Date: Mon Aug 16 21:14:49 2010 New Revision: 211405 URL: http://svn.freebsd.org/changeset/base/211405 Log: sh: Split off a more dubious test from parser/heredoc2.0. Added: head/tools/regression/bin/sh/parser/heredoc8.0 (contents, props changed) Modified: head/tools/regressi

svn commit: r211404 - head/contrib/bsnmp/snmpd

2010-08-16 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Aug 16 21:12:26 2010 New Revision: 211404 URL: http://svn.freebsd.org/changeset/base/211404 Log: Fix two minor typos. Modified: head/contrib/bsnmp/snmpd/snmpmod.3 Modified: head/contrib/bsnmp/snmpd/snmpmod.3 =

svn commit: r211402 - head/contrib/bsnmp/snmpd

2010-08-16 Thread Ulrich Spoerlein
Author: uqs Date: Mon Aug 16 19:05:10 2010 New Revision: 211402 URL: http://svn.freebsd.org/changeset/base/211402 Log: Bump document date after content changes. Pointy hat to:uqs Modified: head/contrib/bsnmp/snmpd/bsnmpd.1 Modified: head/contrib/bsnmp/snmpd/bsnmpd.1

svn commit: r211401 - head/contrib/bsnmp/snmpd

2010-08-16 Thread Ulrich Spoerlein
Author: uqs Date: Mon Aug 16 18:47:35 2010 New Revision: 211401 URL: http://svn.freebsd.org/changeset/base/211401 Log: Wordsmithing of bsnmpd.1 PR: docs/149157 Submitted by: Warren Block MFC after:1 week Modified: head/contrib/bsnmp/snmpd/bsnmpd.1 Modified: head/contr

svn commit: r211400 - in head/sys/modules: em igb ixgbe

2010-08-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 16 17:48:55 2010 New Revision: 211400 URL: http://svn.freebsd.org/changeset/base/211400 Log: Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4). Reviewed by: jfv Modified: head/sys/modules/em/Makefil

svn commit: r211399 - in head/tools/regression/bin/sh: builtins execution set-e

2010-08-16 Thread Jilles Tjoelker
Author: jilles Date: Mon Aug 16 17:18:08 2010 New Revision: 211399 URL: http://svn.freebsd.org/changeset/base/211399 Log: sh: Get rid of unnecessary non-standard empty lists. POSIX does not allow constructs like: if cmd; then fi { } Add a colon dummy command, except in a test that

svn commit: r211397 - in head: lib/libbluetooth lib/libc/gen lib/libc/net lib/libc/stdlib lib/libc/sys lib/libedit lib/libelf lib/libgeom lib/libgpib lib/libgssapi lib/libpmc lib/libradius lib/libr...

2010-08-16 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Aug 16 15:18:30 2010 New Revision: 211397 URL: http://svn.freebsd.org/changeset/base/211397 Log: Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while translating these manual pages. Minor corrections by me. Submitted by: Nobuyuk

svn commit: r211396 - head/sys/vm

2010-08-16 Thread Andre Oppermann
Author: andre Date: Mon Aug 16 14:24:00 2010 New Revision: 211396 URL: http://svn.freebsd.org/changeset/base/211396 Log: Add uma_zone_get_max() to obtain the effective limit after a call to uma_zone_set_max(). The UMA zone limit is not exactly set to the value supplied but rounded up to

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

2010-08-16 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Aug 16 12:37:17 2010 New Revision: 211395 URL: http://svn.freebsd.org/changeset/base/211395 Log: Fix .Dd from last commit. Submitted by Nobuyuki Koganemaru Modified: head/share/man/man4/bwi.4 Modified: head/share/man/man4/bwi.4 ==

svn commit: r211394 - head/usr.bin/script

2010-08-16 Thread Ed Schouten
Author: ed Date: Mon Aug 16 12:19:36 2010 New Revision: 211394 URL: http://svn.freebsd.org/changeset/base/211394 Log: Mark functions and variables as static. All these functions and variables are local to this compilation unit, so there is no reason why we shouldn't mark them static. This

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

2010-08-16 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > Note that this commit semi-intentionally introduces another bug: in some > cases, the user's limits will not be applied at all. This is by far the > lesser of two evils, and is easy (albeit time-consuming) to fix. Specifically, each of the files listed below needs t

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

2010-08-16 Thread Dag-Erling Smørgrav
Dag-Erling Smorgrav writes: > Log: > In setusercontext(), do not apply user settings unless running as the > user in question (usually but not necessarily because we were called > with LOGIN_SETUSER). This plugs a hole where users could raise their > resource limits and expand their CPU m

svn commit: r211393 - head/lib/libutil

2010-08-16 Thread Dag-Erling Smorgrav
Author: des Date: Mon Aug 16 11:32:20 2010 New Revision: 211393 URL: http://svn.freebsd.org/changeset/base/211393 Log: In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with LOGIN_SETUSER). This plugs a

svn commit: r211392 - head/lib/libutil

2010-08-16 Thread Dag-Erling Smorgrav
Author: des Date: Mon Aug 16 11:22:12 2010 New Revision: 211392 URL: http://svn.freebsd.org/changeset/base/211392 Log: Old patch I had lying around: clean up and use stpcpy(3) instead of sprintf(3). Modified: head/lib/libutil/pw_util.c Modified: head/lib/libutil/pw_util.c =

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

2010-08-16 Thread Dag-Erling Smørgrav
Bruce Cran writes: > Somewhat related, there are overflow bugs in humanize_number - for > example df(1) fails to display space from a 100PB filesystem > correctly. Patch? :) DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailin