svn commit: r298531 - head/usr.bin/patch

2016-04-23 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 24 04:28:04 2016 New Revision: 298531 URL: https://svnweb.freebsd.org/changeset/base/298531 Log: Adjust a type from r267490. Independent of the maximum length, the return type for strnlen(3) is always size_t. Modified: head/usr.bin/patch/patch.c Modified:

svn commit: r298530 - head/usr.bin/patch

2016-04-23 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 24 04:08:36 2016 New Revision: 298530 URL: https://svnweb.freebsd.org/changeset/base/298530 Log: patch(1): avoid signed integer overflow when debugging. Integer i is used to index p_end of type LINENUM (actually long). Match the types. MFC after:5

svn commit: r298526 - head/sys/contrib/ncsw/user/env

2016-04-23 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 24 01:38:45 2016 New Revision: 298526 URL: https://svnweb.freebsd.org/changeset/base/298526 Log: Zero the newly allocated spinlock. Not sure how this worked testing with DIAGNOSTIC set, but with it disabled this fails due to the spinlock being

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

2016-04-23 Thread Warren Block
Author: wblock (doc committer) Date: Sat Apr 23 22:57:54 2016 New Revision: 298525 URL: https://svnweb.freebsd.org/changeset/base/298525 Log: Add a single example of adding a user that roughly corresponds with the adduser example in the Handbook. MFC after:1 week Modified:

svn commit: r298524 - head/usr.sbin/jexec

2016-04-23 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Apr 23 22:31:58 2016 New Revision: 298524 URL: https://svnweb.freebsd.org/changeset/base/298524 Log: Define which of the username options (-u/-U) to jexec(8) is the default. Bump Dd. PR: 207587 Submitted by:

svn commit: r298523 - head/sys/fs/nfsserver

2016-04-23 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 23 21:18:45 2016 New Revision: 298523 URL: https://svnweb.freebsd.org/changeset/base/298523 Log: Allow the NFSv4 server to reply NFSERR_WRONGSEC for the SetClientID operation. It was reported via email that a Linux client couldn't do a Kerberized NFS mount

Re: svn commit: r298482 - in head/sys: amd64/amd64 amd64/linux amd64/linux32 compat/linux dev/cxgbe/tom i386/linux vm

2016-04-23 Thread Pedro Giffuni
On 04/23/16 15:47, Chagin Dmitry wrote: On Fri, Apr 22, 2016 at 04:57:42PM +, Pedro F. Giffuni wrote: Author: pfg Date: Fri Apr 22 16:57:42 2016 New Revision: 298482 URL: https://svnweb.freebsd.org/changeset/base/298482 Log: Cleanup redundant parenthesis from existing

Re: svn commit: r298482 - in head/sys: amd64/amd64 amd64/linux amd64/linux32 compat/linux dev/cxgbe/tom i386/linux vm

2016-04-23 Thread Chagin Dmitry
On Fri, Apr 22, 2016 at 04:57:42PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Apr 22 16:57:42 2016 > New Revision: 298482 > URL: https://svnweb.freebsd.org/changeset/base/298482 > > Log: > Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. > > Modified: >

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

2016-04-23 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Apr 23 20:45:52 2016 New Revision: 298522 URL: https://svnweb.freebsd.org/changeset/base/298522 Log: The default value of MINFREE is defined to be 8% in ufs/ffs/fs.h and not 10%. The newfs(8) and tunefs(8) man pages had this change already, but fs(5)

svn commit: r298521 - head/lib/libc/regex

2016-04-23 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 23 20:45:09 2016 New Revision: 298521 URL: https://svnweb.freebsd.org/changeset/base/298521 Log: regex: prevent two improbable signed integer overflows. In matcher() we used an integer to index nsub of type size_t. In print() we used an integer to index nstates

svn commit: r298520 - head/sys/compat/svr4

2016-04-23 Thread Dmitry Chagin
Author: dchagin Date: Sat Apr 23 20:31:18 2016 New Revision: 298520 URL: https://svnweb.freebsd.org/changeset/base/298520 Log: Allow to build svr4 module with SYSV support separatelly from the kernel build. PR: 208464 Reported by: Kristoffer Eriksson MFC after:2 week

svn commit: r298519 - in head/sys: compat/svr4 dev/streams modules/streams modules/svr4

2016-04-23 Thread Dmitry Chagin
Author: dchagin Date: Sat Apr 23 20:29:55 2016 New Revision: 298519 URL: https://svnweb.freebsd.org/changeset/base/298519 Log: Fix streams and svr4 module dependency. Both modules are complaining about undefined symbol svr4_delete_socket which was moved from streams to the svr4 module in

svn commit: r298518 - head/sys/fs/ext2fs

2016-04-23 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 23 18:28:59 2016 New Revision: 298518 URL: https://svnweb.freebsd.org/changeset/base/298518 Log: ext2_htree_release(): prevent signed integer overflow in a loop. h_levels_num, as most data structs in ext2fs, is unsigned so the index that addresses it has to be

svn commit: r298517 - head/share/man/man8

2016-04-23 Thread Baptiste Daroussin
Author: bapt Date: Sat Apr 23 17:09:40 2016 New Revision: 298517 URL: https://svnweb.freebsd.org/changeset/base/298517 Log: Bump the date of the manpage after r298515 Sponsored by: Essen Hackathon 2016 Modified: head/share/man/man8/rc.8 Modified: head/share/man/man8/rc.8

Re: svn commit: r298515 - in head: etc share/examples/csh share/man/man8

2016-04-23 Thread NGie Cooper
> On Apr 23, 2016, at 09:19, Lars Engels wrote: > > Author: lme (ports committer) > Date: Sat Apr 23 16:19:34 2016 > New Revision: 298515 > URL: https://svnweb.freebsd.org/changeset/base/298515 > > Log: > - Add two new subcommands to rc.subr: >"describe" shows an rc

Re: svn commit: r298443 - head/usr.bin/stat

2016-04-23 Thread NGie Cooper
> On Apr 23, 2016, at 02:23, luke wrote: ... > Hi, > > Should this be MIN() ? > > (void)snprintf(tmp, sizeof(tmp), "%dld", MIN(prec, 9)); Yes. ___ svn-src-head@freebsd.org mailing list

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

2016-04-23 Thread Jamie Gritton
Author: jamie Date: Sat Apr 23 16:23:01 2016 New Revision: 298516 URL: https://svnweb.freebsd.org/changeset/base/298516 Log: Don't remove the /var/run/jail_name.id file if a jail fails to start. This messes up ezjail (and possibly others), when attempting to start a jail that already

svn commit: r298515 - in head: etc share/examples/csh share/man/man8

2016-04-23 Thread Lars Engels
Author: lme (ports committer) Date: Sat Apr 23 16:19:34 2016 New Revision: 298515 URL: https://svnweb.freebsd.org/changeset/base/298515 Log: - Add two new subcommands to rc.subr: "describe" shows an rc script's description "extracommands" shows an rc script's non-standard commands like

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

2016-04-23 Thread Lars Engels
Author: lme (ports committer) Date: Sat Apr 23 16:10:54 2016 New Revision: 298514 URL: https://svnweb.freebsd.org/changeset/base/298514 Log: - Add descriptions to most of the rc scripts. Those are mostly taken from their daemon's manpage and probably improved. - Consistently use

svn commit: r298513 - in head/sys/arm/allwinner: . a31

2016-04-23 Thread Jared McNeill
Author: jmcneill Date: Sat Apr 23 13:59:18 2016 New Revision: 298513 URL: https://svnweb.freebsd.org/changeset/base/298513 Log: Add support for Allwinner A31/A31S R-GPIO (CPUs-PORT) controller. Submitted by: Emmanuel Vadot Reviewed by: jmcneill

svn commit: r298512 - in head: . etc/rc.d

2016-04-23 Thread Baptiste Daroussin
(r298511) +++ head/ObsoleteFiles.inc Sat Apr 23 13:24:45 2016(r298512) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20160423: remove mroute6d +OLD_FILES+=etc/rc.d/mroute6d # 20160419: rename units.lib -> definitions.units OLD_FILES+=usr/share/misc/units.

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

2016-04-23 Thread Christian Brueffer
Author: brueffer Date: Sat Apr 23 11:04:45 2016 New Revision: 298511 URL: https://svnweb.freebsd.org/changeset/base/298511 Log: Improve upon r296618 to keep lines < 80 characters. Pointed out by: jhb Sponsored by: Essen Hackathon 2016 Modified:

Re: svn commit: r298443 - head/usr.bin/stat

2016-04-23 Thread luke
On Fri, Apr 22, 2016 at 11:43 AM, Marcelo Araujo wrote: > Author: araujo > Date: Fri Apr 22 03:43:06 2016 > New Revision: 298443 > URL: https://svnweb.freebsd.org/changeset/base/298443 > > Log: > Use macro MAX() from sys/param.h. > > MFC after:2 weeks. > > Modified: >

svn commit: r298508 - head/sys/netinet

2016-04-23 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 23 09:15:58 2016 New Revision: 298508 URL: https://svnweb.freebsd.org/changeset/base/298508 Log: Remove a function, which is not used anymore. Modified: head/sys/netinet/sctputil.c head/sys/netinet/sctputil.h Modified: head/sys/netinet/sctputil.c

svn commit: r298507 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-04-23 Thread Garrett Cooper
Author: ngie Date: Sat Apr 23 08:10:04 2016 New Revision: 298507 URL: https://svnweb.freebsd.org/changeset/base/298507 Log: Fix looking for "UTC" at start of ptr by using strnmp instead of improperly unrolled equivalent CID: 1347118 MFC after: 1 week Reported by: Coverity Sponsored

svn commit: r298505 - head/usr.bin/mkuzip

2016-04-23 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 07:28:32 2016 New Revision: 298505 URL: https://svnweb.freebsd.org/changeset/base/298505 Log: GC duplicate define. Modified: head/usr.bin/mkuzip/mkuz_format.h Modified: head/usr.bin/mkuzip/mkuz_format.h

svn commit: r298504 - head/usr.bin/mkuzip

2016-04-23 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 07:23:43 2016 New Revision: 298504 URL: https://svnweb.freebsd.org/changeset/base/298504 Log: Improve performance in a few key areas: o Split the compression across several worker threads. By default, "several" matches number of CPUs, capped at 24 for

svn commit: r298502 - head/sys/geom/uzip

2016-04-23 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 06:31:46 2016 New Revision: 298502 URL: https://svnweb.freebsd.org/changeset/base/298502 Log: o Fix handling of images with compression block sizes comparable to MAXPHYS. o Improve debug somewhat; o Convert "BUG BUG BUG message" into a proper