Re: svn commit: r334928 - head/lib/libc/stdlib

2018-06-10 Thread Bruce Evans
On Sun, 10 Jun 2018, Konstantin Belousov wrote: Log: libc qsort(3): stop aliasing. Qsort swap code aliases the sorted array elements to ints and longs in order to do swap by machine words. Unfortunately this breaks with the full code optimization, e.g. LTO. See https://gcc.gnu.org/bugzil

svn commit: r334944 - in head/usr.bin/indent: . tests

2018-06-10 Thread Piotr Pawel Stefaniak
Author: pstef Date: Mon Jun 11 05:35:57 2018 New Revision: 334944 URL: https://svnweb.freebsd.org/changeset/base/334944 Log: indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs Also update tests and the manpage. GNU indent had the option earlier as -cs, let's not diverge unne

svn commit: r334943 - head/sys/dev/usb

2018-06-10 Thread Eitan Adler
Author: eadler Date: Mon Jun 11 05:28:00 2018 New Revision: 334943 URL: https://svnweb.freebsd.org/changeset/base/334943 Log: usbdevs: sort my prior commit Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs ==

svn commit: r334942 - head/sys/dev/usb

2018-06-10 Thread Eitan Adler
Author: eadler Date: Mon Jun 11 05:27:07 2018 New Revision: 334942 URL: https://svnweb.freebsd.org/changeset/base/334942 Log: usbdevs: adding vendor PR: 228856 Reported by: hrs, ys-h@imail.earth Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs =

svn commit: r334941 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
Author: eadler Date: Mon Jun 11 05:05:20 2018 New Revision: 334941 URL: https://svnweb.freebsd.org/changeset/base/334941 Log: top(1): handle 0 in "digits" functions Modified: head/usr.bin/top/Makefile head/usr.bin/top/utils.c Modified: head/usr.bin/top/Makefile

Re: svn commit: r334940 - head/usr.sbin/bhyve

2018-06-10 Thread Pedro Giffuni
On 10/06/2018 21:41, Marcelo Araujo wrote: 2018-06-11 10:25 GMT+08:00 Pedro Giffuni >: On 10/06/2018 21:09, Marcelo Araujo wrote: Author: araujo Date: Mon Jun 11 02:09:20 2018 New Revision: 334940 URL: https://svnweb.freebsd.or

Re: svn commit: r334940 - head/usr.sbin/bhyve

2018-06-10 Thread Marcelo Araujo
2018-06-11 10:25 GMT+08:00 Pedro Giffuni : > > > On 10/06/2018 21:09, Marcelo Araujo wrote: > >> Author: araujo >> Date: Mon Jun 11 02:09:20 2018 >> New Revision: 334940 >> URL: https://svnweb.freebsd.org/changeset/base/334940 >> >> Log: >>- Add bhyve virtio-scsi storage backend support. >>

Re: svn commit: r334940 - head/usr.sbin/bhyve

2018-06-10 Thread Pedro Giffuni
On 10/06/2018 21:09, Marcelo Araujo wrote: Author: araujo Date: Mon Jun 11 02:09:20 2018 New Revision: 334940 URL: https://svnweb.freebsd.org/changeset/base/334940 Log: - Add bhyve virtio-scsi storage backend support. Example of configuration: ctl.conf: portal-group pg0 {

svn commit: r334940 - head/usr.sbin/bhyve

2018-06-10 Thread Marcelo Araujo
Author: araujo Date: Mon Jun 11 02:09:20 2018 New Revision: 334940 URL: https://svnweb.freebsd.org/changeset/base/334940 Log: - Add bhyve virtio-scsi storage backend support. Example of configuration: ctl.conf: portal-group pg0 { discovery-auth-group no-authentication

svn commit: r334939 - head/stand/lua

2018-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 11 01:32:18 2018 New Revision: 334939 URL: https://svnweb.freebsd.org/changeset/base/334939 Log: lualoader: Allow brand-*.lua for adding new brands dteske@, I believe, had originally pointed out that lualoader failed to allow logo-*.lua for new logos to be add

svn commit: r334935 - in stable/11/stand: common i386/libi386 libsa uboot/lib userboot/userboot zfs

2018-06-10 Thread Ian Lepore
Author: ian Date: Sun Jun 10 22:26:15 2018 New Revision: 334935 URL: https://svnweb.freebsd.org/changeset/base/334935 Log: MFC r334656, r334665, r334695 r334656: Add vsnprintf() to libsa. Alpha-sort the printf prototypes in stand.h. r334665: Make the v*printf() functions in libsa

svn commit: r334933 - head/tests/sys/audit

2018-06-10 Thread Alan Somers
Author: asomers Date: Sun Jun 10 21:36:29 2018 New Revision: 334933 URL: https://svnweb.freebsd.org/changeset/base/334933 Log: audit(4): add tests for stat(2) and friends This revision adds auditability tests for stat, lstat, fstat, and fstatat, all from the fa audit class. More tests fr

Re: svn commit: r334931 - in head: . sys/sys

2018-06-10 Thread Oliver Pinter
On 6/10/18, Jonathan Anderson wrote: > On 10 Jun 2018, at 16:49, Antoine Brodin wrote: > >> On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler >> wrote: >>> Author: eadler >>> Date: Sun Jun 10 19:15:38 2018 >>> New Revision: 334931 >>> URL: https://svnweb.freebsd.org/changeset/base/334931 >>> >>> Log:

svn commit: r334932 - in head/sys: arm64/arm64 arm64/conf conf

2018-06-10 Thread Andrew Turner
Author: andrew Date: Sun Jun 10 19:42:44 2018 New Revision: 334932 URL: https://svnweb.freebsd.org/changeset/base/334932 Log: Remove the psci option from arm64. It is now a standard option as it is required to boot correctly. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/arm64/cpu

Re: svn commit: r334931 - in head: . sys/sys

2018-06-10 Thread Jonathan Anderson
On 10 Jun 2018, at 16:49, Antoine Brodin wrote: On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler wrote: Author: eadler Date: Sun Jun 10 19:15:38 2018 New Revision: 334931 URL: https://svnweb.freebsd.org/changeset/base/334931 Log: Revert r334929 Apparently some software might depend on a head

Re: svn commit: r334929 - in head: . sys/sys

2018-06-10 Thread Eitan Adler
On 10 June 2018 at 11:53, Antoine Brodin wrote: > On Sun, Jun 10, 2018 at 8:43 PM, Mark Johnston wrote: >> On Sun, Jun 10, 2018 at 06:38:48PM +, Eitan Adler wrote: >>> Author: eadler >>> Date: Sun Jun 10 18:38:48 2018 >>> New Revision: 334929 >>> URL: https://svnweb.freebsd.org/changeset/base

Re: svn commit: r334931 - in head: . sys/sys

2018-06-10 Thread Antoine Brodin
On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler wrote: > Author: eadler > Date: Sun Jun 10 19:15:38 2018 > New Revision: 334931 > URL: https://svnweb.freebsd.org/changeset/base/334931 > > Log: > Revert r334929 > > Apparently some software might depend on a header whose sole contents is > a `#wa

svn commit: r334931 - in head: . sys/sys

2018-06-10 Thread Eitan Adler
) +++ head/ObsoleteFiles.inc Sun Jun 10 19:15:38 2018(r334931) @@ -38,8 +38,6 @@ # xargs -n1 | sort | uniq -d; # done -# 20180610: Remove sys/capability.h -OLD_FILES+=usr/include/sys/capability.h # 20180609: obsolete libc++ files missed from the 5.0.0 import OLD_FILES+=usr/include

svn commit: r334930 - head/sys/fs/nfsclient

2018-06-10 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 10 19:03:21 2018 New Revision: 334930 URL: https://svnweb.freebsd.org/changeset/base/334930 Log: Add checks for the Flexible File layout to LayoutRecall callbacks. The Flexible File layout case wasn't handled by LayoutRecall callbacks because it just checked

Re: svn commit: r334929 - in head: . sys/sys

2018-06-10 Thread Antoine Brodin
On Sun, Jun 10, 2018 at 8:43 PM, Mark Johnston wrote: > On Sun, Jun 10, 2018 at 06:38:48PM +, Eitan Adler wrote: >> Author: eadler >> Date: Sun Jun 10 18:38:48 2018 >> New Revision: 334929 >> URL: https://svnweb.freebsd.org/changeset/base/334929 >> >> Log: >> include: remove sys/capability.h

Re: svn commit: r334929 - in head: . sys/sys

2018-06-10 Thread Mark Johnston
On Sun, Jun 10, 2018 at 06:38:48PM +, Eitan Adler wrote: > Author: eadler > Date: Sun Jun 10 18:38:48 2018 > New Revision: 334929 > URL: https://svnweb.freebsd.org/changeset/base/334929 > > Log: > include: remove sys/capability.h > > This file has only generated a warning for the last 1

svn commit: r334929 - in head: . sys/sys

2018-06-10 Thread Eitan Adler
2018(r334928) +++ head/ObsoleteFiles.inc Sun Jun 10 18:38:48 2018(r334929) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20180610: Remove sys/capability.h +OLD_FILES+=usr/include/sys/capability.h # 20180609: obsolete libc++ files missed from the 5.0.0 import

svn commit: r334928 - head/lib/libc/stdlib

2018-06-10 Thread Konstantin Belousov
Author: kib Date: Sun Jun 10 17:54:44 2018 New Revision: 334928 URL: https://svnweb.freebsd.org/changeset/base/334928 Log: libc qsort(3): stop aliasing. Qsort swap code aliases the sorted array elements to ints and longs in order to do swap by machine words. Unfortunately this breaks wit

svn commit: r334927 - head/usr.bin/indent

2018-06-10 Thread Piotr Pawel Stefaniak
Author: pstef Date: Sun Jun 10 16:44:18 2018 New Revision: 334927 URL: https://svnweb.freebsd.org/changeset/base/334927 Log: indent(1): group global option variables into an options structure It's clearer now when a variable represents a toggable command line option. Many options were

Re: svn commit: r333945 - head/usr.bin/top

2018-06-10 Thread Alexey Dokuchaev
On Sun, Jun 10, 2018 at 08:56:24AM -0700, Eitan Adler wrote: > On 10 June 2018 at 05:28, Alexey Dokuchaev wrote: > > I've just tried the latest top(1). Now it's even worse: > > ... > > Also, it is COMMA now. Can we please do something about this? I am not > > calling for "USER PRI" as Bruce had

svn commit: r334926 - head/sys/arm64/arm64

2018-06-10 Thread Andrew Turner
Author: andrew Date: Sun Jun 10 16:21:21 2018 New Revision: 334926 URL: https://svnweb.freebsd.org/changeset/base/334926 Log: Clean up handling of unexpected exceptions. Previously we would issue a breakpoint instruction, however this would lose information that may be useful for debugging.

Re: svn commit: r333945 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
On 10 June 2018 at 05:28, Alexey Dokuchaev wrote: > On Mon, May 21, 2018 at 06:39:53AM +, Alexey Dokuchaev wrote: >> I [...] have to patch top(1) locally to use namelength = 8 and header >> format so it neatly looks like this: >> >> PID USERNAME THR PRI NICE SIZERES STATE C TIME

svn commit: r334925 - in head/sys: amd64/amd64 x86/x86

2018-06-10 Thread Bruce Evans
Author: bde Date: Sun Jun 10 14:49:13 2018 New Revision: 334925 URL: https://svnweb.freebsd.org/changeset/base/334925 Log: Untangle configuration ifdefs a little. On x86, msi is optional on pci, and also on apic in common and i386 files (except for xen it is optional only on xenhvm), but it

svn commit: r334924 - head/sys/i386/i386

2018-06-10 Thread Bruce Evans
Author: bde Date: Sun Jun 10 14:21:01 2018 New Revision: 334924 URL: https://svnweb.freebsd.org/changeset/base/334924 Log: Fix panics in potentially all x86bios calls on i386 since r332489. A call to npxsave() in the exception trampolines was not relocated. This call to a garbage address

Re: svn commit: r333945 - head/usr.bin/top

2018-06-10 Thread Alexey Dokuchaev
On Mon, May 21, 2018 at 06:39:53AM +, Alexey Dokuchaev wrote: > I [...] have to patch top(1) locally to use namelength = 8 and header > format so it neatly looks like this: > > PID USERNAME THR PRI NICE SIZERES STATE C TIMEWCPU COMMAND > 844 danfe 2 210 114M 38836

svn commit: r334923 - in head: share/man/man4 share/man/man4/man4.i386 sys/dev/atkbdc sys/dev/mse sys/dev/syscons sys/sys

2018-06-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jun 10 10:23:31 2018 New Revision: 334923 URL: https://svnweb.freebsd.org/changeset/base/334923 Log: Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support. These ioctls are not documented and only stubbed in a few drivers: mse(4), psm(4) and syscon's sysmouse(4). The

svn commit: r334922 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
Author: eadler Date: Sun Jun 10 09:15:13 2018 New Revision: 334922 URL: https://svnweb.freebsd.org/changeset/base/334922 Log: top(1): use modern interfaces for nice and related - attempt and fail, rather than check for permission. - use macro rather than explicit "-20" Modified: head/u

svn commit: r334921 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
Author: eadler Date: Sun Jun 10 09:04:56 2018 New Revision: 334921 URL: https://svnweb.freebsd.org/changeset/base/334921 Log: top(1): add command aliases; correct dumb support Modified: head/usr.bin/top/commands.c Modified: head/usr.bin/top/commands.c

svn commit: r334920 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
Author: eadler Date: Sun Jun 10 09:00:01 2018 New Revision: 334920 URL: https://svnweb.freebsd.org/changeset/base/334920 Log: top(1): use sys_signame instead of hard coding signals This enables the removal of the signal.h awk script. Shamelessly stolen from kill(1). Deleted: head/usr.b

svn commit: r334919 - head/usr.bin/top

2018-06-10 Thread Eitan Adler
Author: eadler Date: Sun Jun 10 08:59:57 2018 New Revision: 334919 URL: https://svnweb.freebsd.org/changeset/base/334919 Log: top(1): bring some structure to commands Right now this is only used for help text but it'll eventually be used to build up long options array, dispatch commands,