Re: svn commit: r285336 - in head/sys: netipsec opencrypto

2015-07-11 Thread John-Mark Gurney
Matthew D. Fuller wrote this message on Fri, Jul 10, 2015 at 23:48 -0500: > On Thu, Jul 09, 2015 at 06:16:36PM + I heard the voice of > George V. Neville-Neil, and lo! it spake thus: > > New Revision: 285336 > > URL: https://svnweb.freebsd.org/changeset/base/285336 > > > > Log: > > Add suppo

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Sat, Jul 11, 2015 at 03:12 +: > Author: jmg > Date: Sat Jul 11 03:12:34 2015 > New Revision: 285366 > URL: https://svnweb.freebsd.org/changeset/base/285366 > > Log: > Complete the move that was started w/ r263218.. For some reason I > didn't delete t

svn commit: r285384 - head/sys/kern

2015-07-11 Thread Konstantin Belousov
Author: kib Date: Sat Jul 11 11:21:56 2015 New Revision: 285384 URL: https://svnweb.freebsd.org/changeset/base/285384 Log: Do not allow creation of the dirty buffers for the dead buffer objects, i.e. for buffer objects which vnode was reclaimed. Buffer cache cannot write such buffers. Retu

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 13:07:50 2015 New Revision: 285386 URL: https://svnweb.freebsd.org/changeset/base/285386 Log: Since sh(1) now supports mulitbyte (only UTF-8) clarify the related BUGS section in wordexp(3) manual page Discussed with: jilles Modified: head/lib/libc/ge

svn commit: r285385 - head/bin/sh

2015-07-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Jul 11 13:07:26 2015 New Revision: 285385 URL: https://svnweb.freebsd.org/changeset/base/285385 Log: sh(1): libedit has supported multibyte encodings for a while. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

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

2015-07-11 Thread Edward Tomasz NapieraƂa
On 0711T1121, Konstantin Belousov wrote: > Author: kib > Date: Sat Jul 11 11:21:56 2015 > New Revision: 285384 > URL: https://svnweb.freebsd.org/changeset/base/285384 > > Log: > Do not allow creation of the dirty buffers for the dead buffer > objects, i.e. for buffer objects which vnode was re

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread Craig Rodrigues
On Sat, Jul 11, 2015 at 4:04 AM, John-Mark Gurney wrote: > > This change breaks upgrading from 10-stable... I'm not sure why it > In my FreeBSD 10.1-RELEASE VM, I am seeing this: --- xinstall --- cc -O2 -pipe -I/builds/FreeBSD_HEAD/usr.bin/xinstall/../../contrib/mtree -I/builds/FreeBSD_HEAD/u

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
Craig Rodrigues wrote this message on Sat, Jul 11, 2015 at 10:16 -0400: > On Sat, Jul 11, 2015 at 4:04 AM, John-Mark Gurney wrote: > > > This change breaks upgrading from 10-stable... I'm not sure why it > > In my FreeBSD 10.1-RELEASE VM, I am seeing this: > > --- xinstall --- > cc -O2 -pipe

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread Craig Rodrigues
On Sat, Jul 11, 2015 at 10:29 AM, John-Mark Gurney wrote: > Craig Rodrigues wrote this message on Sat, Jul 11, 2015 at 10:16 -0400: > > > So it looks like _libmd_SHA256_File is not defined in the legacy > > library used during the bootstrap. > > The closest I can see is that sha256hl.c (from mdXh

svn commit: r285388 - in head/sys: compat/freebsd32 kern sys

2015-07-11 Thread Adrian Chadd
Author: adrian Date: Sat Jul 11 15:22:11 2015 New Revision: 285388 URL: https://svnweb.freebsd.org/changeset/base/285388 Log: Regenerate syscalls. Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/freebsd32_sys

svn commit: r285387 - in head: lib/libc/sys share/man/man4 sys/conf sys/kern sys/sys sys/vm usr.bin usr.bin/numactl

2015-07-11 Thread Adrian Chadd
Author: adrian Date: Sat Jul 11 15:21:37 2015 New Revision: 285387 URL: https://svnweb.freebsd.org/changeset/base/285387 Log: Add an initial NUMA affinity/policy configuration for threads and processes. This is based on work done by jeff@ and jhb@, as well as the numa.diff patch that has

Re: svn commit: r285387 - in head: lib/libc/sys share/man/man4 sys/conf sys/kern sys/sys sys/vm usr.bin usr.bin/numactl

2015-07-11 Thread Dmitry Morozovsky
Adrian, On Sat, 11 Jul 2015, Adrian Chadd wrote: > Author: adrian > Date: Sat Jul 11 15:21:37 2015 > New Revision: 285387 > URL: https://svnweb.freebsd.org/changeset/base/285387 > > Log: > Add an initial NUMA affinity/policy configuration for threads and processes. This is totally awesome. T

svn commit: r285389 - head/sys/arm/arm

2015-07-11 Thread Andrew Turner
Author: andrew Date: Sat Jul 11 16:02:06 2015 New Revision: 285389 URL: https://svnweb.freebsd.org/changeset/base/285389 Log: Always send a SIGSEGV on a map failure. Use the code to tell the reason for the signal. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/trap-v6.c Modi

svn commit: r285390 - in head/sys: compat/svr4 kern sys ufs/ffs

2015-07-11 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 11 16:19:11 2015 New Revision: 285390 URL: https://svnweb.freebsd.org/changeset/base/285390 Log: Move chdir/chroot-related fdp manipulation to kern_descrip.c Prefix exported functions with pwd_. Deduplicate some code by adding a helper for setting fd_cdir.

svn commit: r285391 - in head/sys: cam/ctl cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys compat/ndis dev/xen/blkback kern sys

2015-07-11 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 11 16:22:48 2015 New Revision: 285391 URL: https://svnweb.freebsd.org/changeset/base/285391 Log: Create a dedicated function for ensuring that cdir and rdir are populated. Previously several places were doing it on its own, partially incorrectly (e.g. without the

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread Warner Losh
> On Jul 11, 2015, at 8:33 AM, Craig Rodrigues wrote: > > > > On Sat, Jul 11, 2015 at 10:29 AM, John-Mark Gurney wrote: > Craig Rodrigues wrote this message on Sat, Jul 11, 2015 at 10:16 -0400: > > > So it looks like _libmd_SHA256_File is not defined in the legacy > > library used during the

svn commit: r285392 - head/sys/kern

2015-07-11 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 11 16:28:12 2015 New Revision: 285392 URL: https://svnweb.freebsd.org/changeset/base/285392 Log: vfs: move si_usecount manipulation to dedicated functions Reviewed by: kib Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c ==

svn commit: r285393 - head/sys/kern

2015-07-11 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 11 16:28:55 2015 New Revision: 285393 URL: https://svnweb.freebsd.org/changeset/base/285393 Log: vfs: always clear VI_OWEINACT in consumers bumping v_usecount Previously vputx would detect the condition and clear the flag. With this change it is invalid to hav

Re: svn commit: r285387 - in head: lib/libc/sys share/man/man4 sys/conf sys/kern sys/sys sys/vm usr.bin usr.bin/numactl

2015-07-11 Thread Alan Cox
On 07/11/2015 10:21, Adrian Chadd wrote: > Author: adrian > Date: Sat Jul 11 15:21:37 2015 > New Revision: 285387 > URL: https://svnweb.freebsd.org/changeset/base/285387 > > Log: > Add an initial NUMA affinity/policy configuration for threads and processes. > > This is based on work done by

svn commit: r285394 - head/sys/compat/linprocfs

2015-07-11 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 11 16:44:28 2015 New Revision: 285394 URL: https://svnweb.freebsd.org/changeset/base/285394 Log: linprocfs: vref the vnode passed to vn_fullpath Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c =

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 16:58:47 2015 New Revision: 285395 URL: https://svnweb.freebsd.org/changeset/base/285395 Log: Separate usernext/groupnext from the main functions Modified: head/usr.sbin/pw/pw.h head/usr.sbin/pw/pw_group.c head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/p

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 17:01:08 2015 New Revision: 285396 URL: https://svnweb.freebsd.org/changeset/base/285396 Log: Move the quiet flag into the configuration structure Modified: head/usr.sbin/pw/pw.c head/usr.sbin/pw/pw_group.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pwupd.

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread Andrew Turner
On Sat, 11 Jul 2015 07:29:20 -0700 John-Mark Gurney wrote: ... > The closest I can see is that sha256hl.c (from mdXhl.c) is including > "sha256.h" with double quotes, and getting the wrong header file.. > I concur, the following fixes libmd to use the correct header. Andrew Index: lib/libmd/M

svn commit: r285397 - head/sys/powerpc/include

2015-07-11 Thread Justin Hibbits
Author: jhibbits Date: Sat Jul 11 17:33:50 2015 New Revision: 285397 URL: https://svnweb.freebsd.org/changeset/base/285397 Log: cpu_number and cpu_swapout are never used, and only defined in powerpc. Modified: head/sys/powerpc/include/cpu.h Modified: head/sys/powerpc/include/cpu.h ==

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 18:09:27 2015 New Revision: 285398 URL: https://svnweb.freebsd.org/changeset/base/285398 Log: Make separate functions to show users and groups Modified: head/usr.sbin/pw/pw.c head/usr.sbin/pw/pw_group.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pwupd.h M

svn commit: r285399 - head/sys/compat/cloudabi

2015-07-11 Thread Ed Schouten
Author: ed Date: Sat Jul 11 18:39:16 2015 New Revision: 285399 URL: https://svnweb.freebsd.org/changeset/base/285399 Log: Add missing function parameter. A function parameter got added in r285356, meaning that the call to kern_dup() needs to be patched up. Modified: head/sys/compat/clo

svn commit: r285400 - head/sys/compat/cloudabi

2015-07-11 Thread Ed Schouten
Author: ed Date: Sat Jul 11 18:53:30 2015 New Revision: 285400 URL: https://svnweb.freebsd.org/changeset/base/285400 Log: Use FDDUP_NORMAL instead of hardcoding value 0. Proposed by: mjg Modified: head/sys/compat/cloudabi/cloudabi_fd.c Modified: head/sys/compat/cloudabi/cloudabi_fd.c =

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 19:07:47 2015 New Revision: 285401 URL: https://svnweb.freebsd.org/changeset/base/285401 Log: Make a separate groupdel/userdel from the main function Modified: head/usr.sbin/pw/pw.c head/usr.sbin/pw/pw_group.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pwu

svn commit: r285402 - in stable/10/sys: kern sys ufs/ffs

2015-07-11 Thread Konstantin Belousov
Author: kib Date: Sat Jul 11 19:11:40 2015 New Revision: 285402 URL: https://svnweb.freebsd.org/changeset/base/285402 Log: MFC r284887: Handle errors from background write of the cylinder group blocks. MFC r284927: Simplify code. Approved by: re (gjb) Modified: stable/10/sys/ke

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 19:14:09 2015 New Revision: 285403 URL: https://svnweb.freebsd.org/changeset/base/285403 Log: homedir can only be populate during useradd Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ==

svn commit: r285404 - head/sys/compat/cloudabi

2015-07-11 Thread Ed Schouten
Author: ed Date: Sat Jul 11 19:41:31 2015 New Revision: 285404 URL: https://svnweb.freebsd.org/changeset/base/285404 Log: Implement normal and abnormal process termination. CloudABI does not provide an explicit kill() system call, for the reason that there is no access to the global proce

Re: svn commit: r285404 - head/sys/compat/cloudabi

2015-07-11 Thread Konstantin Belousov
On Sat, Jul 11, 2015 at 07:41:31PM +, Ed Schouten wrote: > Author: ed > Date: Sat Jul 11 19:41:31 2015 > New Revision: 285404 > URL: https://svnweb.freebsd.org/changeset/base/285404 > > Log: > Implement normal and abnormal process termination. > > CloudABI does not provide an explicit k

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 20:10:12 2015 New Revision: 285405 URL: https://svnweb.freebsd.org/changeset/base/285405 Log: Isolate pw lock/unlock into a separate function Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ==

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 20:18:34 2015 New Revision: 285406 URL: https://svnweb.freebsd.org/changeset/base/285406 Log: Remove useless use of goto Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ===

Re: svn commit: r285404 - head/sys/compat/cloudabi

2015-07-11 Thread Ed Schouten
Hi Kostik, 2015-07-11 21:47 GMT+02:00 Konstantin Belousov : > This is very strange and unmaintanable approach. Also, you cannot handle > traps this way. Yes. That's a pretty good observation. Some time ago I thought about this and my view is that signals can be grouped in three buckets: Bucket

Re: svn commit: r285404 - head/sys/compat/cloudabi

2015-07-11 Thread Konstantin Belousov
On Sat, Jul 11, 2015 at 10:36:59PM +0200, Ed Schouten wrote: > Hi Kostik, > > 2015-07-11 21:47 GMT+02:00 Konstantin Belousov : > > This is very strange and unmaintanable approach. Also, you cannot handle > > traps this way. > > Yes. That's a pretty good observation. > > Some time ago I thought a

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 21:09:50 2015 New Revision: 285408 URL: https://svnweb.freebsd.org/changeset/base/285408 Log: check the gecos format early: at the moment the -c option is parsed Modified: head/usr.sbin/pw/pw.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pwupd.h Modified: he

svn commit: r285407 - head/sys/arm/allwinner

2015-07-11 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jul 11 21:09:43 2015 New Revision: 285407 URL: https://svnweb.freebsd.org/changeset/base/285407 Log: Return the FDT node of the GPIO controller to gpiobus. It is used by the children of gpiobus. Modified: head/sys/arm/allwinner/a10_gpio.c Modified: head/sys/arm/allw

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 21:12:28 2015 New Revision: 285409 URL: https://svnweb.freebsd.org/changeset/base/285409 Log: Remove unused argument from pm_passwd Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r285410 - stable/10/sys/ofed/include/linux

2015-07-11 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 11 21:59:15 2015 New Revision: 285410 URL: https://svnweb.freebsd.org/changeset/base/285410 Log: MFC r285088: Fix broken implementation of "kvasprintf()" function by adding missing kmalloc() call. Make function global instead of static inline to fix compiler

svn commit: r285411 - in head/usr.sbin/pw: . tests

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 22:35:07 2015 New Revision: 285411 URL: https://svnweb.freebsd.org/changeset/base/285411 Log: Rework groupmod modification: Use gr_add(3) when possible to avoid code duplication. Use a simpler logic to delete members of a group Modified: head/usr.sbin/pw/p

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 23:07:17 2015 New Revision: 285412 URL: https://svnweb.freebsd.org/changeset/base/285412 Log: Replace custom string array with stringlist(3) Deleted: head/usr.sbin/pw/fileupd.c Modified: head/usr.sbin/pw/Makefile head/usr.sbin/pw/pw_conf.c head/usr.sbin/pw/

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 23:17:13 2015 New Revision: 285413 URL: https://svnweb.freebsd.org/changeset/base/285413 Log: Remove now unused variable Modified: head/usr.sbin/pw/pw_group.c Modified: head/usr.sbin/pw/pw_group.c =

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sat Jul 11 23:56:55 2015 New Revision: 285414 URL: https://svnweb.freebsd.org/changeset/base/285414 Log: Fix regression: ensure when try to create the group and the user with the same id if possible and nothing in particular was specified Modified: head/usr.sbin/pw/pw_use

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

2015-07-11 Thread Baptiste Daroussin
Author: bapt Date: Sun Jul 12 00:02:43 2015 New Revision: 285415 URL: https://svnweb.freebsd.org/changeset/base/285415 Log: Make getarg return NULL if args is NULL Modified: head/usr.sbin/pw/pw.c head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw.c ===

svn commit: r285416 - head/sys/kern

2015-07-11 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 12 00:26:22 2015 New Revision: 285416 URL: https://svnweb.freebsd.org/changeset/base/285416 Log: Try to unbreak the build after r285390 removing the obsolete static declaration. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c =

svn commit: r285417 - head/lib/libmd

2015-07-11 Thread Craig Rodrigues
Author: rodrigc Date: Sun Jul 12 03:39:36 2015 New Revision: 285417 URL: https://svnweb.freebsd.org/changeset/base/285417 Log: Add new include path for sha256.h This fixes the bootstrap build on FreeBSD 10. Submitted by: andrew Modified: head/lib/libmd/Makefile Modified: head/lib/l

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
Andrew Turner wrote this message on Sat, Jul 11, 2015 at 18:06 +0100: > On Sat, 11 Jul 2015 07:29:20 -0700 > John-Mark Gurney wrote: > ... > > The closest I can see is that sha256hl.c (from mdXhl.c) is including > > "sha256.h" with double quotes, and getting the wrong header file.. > > I concur,