svn commit: r318982 - head/lib/libstand

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 10:50:35 2017 New Revision: 318982 URL: https://svnweb.freebsd.org/changeset/base/318982 Log: Pass a "FREEBSD" user-class in PXE dhcp request rfc3004 allows to pass multiple user classes on dhcp requests this is used by dhcp servers to differentiate the calle

svn commit: r318986 - head/lib/libstand

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 11:41:54 2017 New Revision: 318986 URL: https://svnweb.freebsd.org/changeset/base/318986 Log: add a comment on vendor index 19 and 20 to avoid confusion Suggested by: tsoome Modified: head/lib/libstand/bootp.c Modified: head/lib/libstand/bootp.c ===

svn commit: r318987 - head/sys/boot/common

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 12:06:52 2017 New Revision: 318987 URL: https://svnweb.freebsd.org/changeset/base/318987 Log: Support URI scheme for root-path in netbooting Rather that previous attempts to add tftpfs support at the same time as NFS support. This time decide on a proper URI

svn commit: r318988 - head/sys/boot/i386/loader

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 12:20:13 2017 New Revision: 318988 URL: https://svnweb.freebsd.org/changeset/base/318988 Log: Always build tftpfs support along with nfs for pxeboot This change was already done for loader.efi Modified: head/sys/boot/i386/loader/Makefile Modified: head/sys/

svn commit: r318989 - in head: lib/libstand sys/boot/common

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 12:35:01 2017 New Revision: 318989 URL: https://svnweb.freebsd.org/changeset/base/318989 Log: Always issue the pxe request All the code are now only issueing one single dhcp request at startup of the loader meaning we can always request a the PXE informations

svn commit: r318990 - head/sys/boot/common

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 12:46:46 2017 New Revision: 318990 URL: https://svnweb.freebsd.org/changeset/base/318990 Log: Partially revert r314948 While it sounds like a good idea to extract the RFC1048 data from PXE, in the end it is not and it is causing lots of issues. Our pxeloader

svn commit: r318991 - head/sys/boot/i386/pxeldr

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 13:26:18 2017 New Revision: 318991 URL: https://svnweb.freebsd.org/changeset/base/318991 Log: Document recent changes on pxeboot Modified: head/sys/boot/i386/pxeldr/pxeboot.8 Modified: head/sys/boot/i386/pxeldr/pxeboot.8 =

Re: svn commit: r318991 - head/sys/boot/i386/pxeldr

2017-05-27 Thread Alexey Dokuchaev
On Sat, May 27, 2017 at 01:26:18PM +, Baptiste Daroussin wrote: > New Revision: 318991 > URL: https://svnweb.freebsd.org/changeset/base/318991 > > Log: > Document recent changes on pxeboot > > Modified: > head/sys/boot/i386/pxeldr/pxeboot.8 > ... > @@ -39,6 +39,11 @@ configured to run und

svn commit: r318992 - head/sys/boot/i386/pxeldr

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 13:55:20 2017 New Revision: 318992 URL: https://svnweb.freebsd.org/changeset/base/318992 Log: Capitalize DHCP Reported by: danfe Modified: head/sys/boot/i386/pxeldr/pxeboot.8 Modified: head/sys/boot/i386/pxeldr/pxeboot.8 ===

Re: svn commit: r318992 - head/sys/boot/i386/pxeldr

2017-05-27 Thread Alexey Dokuchaev
On Sat, May 27, 2017 at 01:55:20PM +, Baptiste Daroussin wrote: > New Revision: 318992 > URL: https://svnweb.freebsd.org/changeset/base/318992 > > Log: > Capitalize DHCP Thank you. ./danfe ___ svn-src-head@freebsd.org mailing list https://lists.f

svn commit: r318993 - head/lib/libstand

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 14:06:57 2017 New Revision: 318993 URL: https://svnweb.freebsd.org/changeset/base/318993 Log: Use the usual FreeBSD spelling for the DHCP user class Reported by: lidl Modified: head/lib/libstand/bootp.c Modified: head/lib/libstand/bootp.c =

svn commit: r318994 - head/sys/boot/i386/pxeldr

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 14:07:46 2017 New Revision: 318994 URL: https://svnweb.freebsd.org/changeset/base/318994 Log: Catch with the change in the user class Modified: head/sys/boot/i386/pxeldr/pxeboot.8 Modified: head/sys/boot/i386/pxeldr/pxeboot.8

svn commit: r318995 - head/sys/vm

2017-05-27 Thread Alan Cox
Author: alc Date: Sat May 27 16:40:00 2017 New Revision: 318995 URL: https://svnweb.freebsd.org/changeset/base/318995 Log: In r118390, the swap pager's approach to striping swap allocation over multiple devices was changed. However, swapoff_one() was not fully and correctly converted. In p

svn commit: r318996 - head/usr.bin/netstat

2017-05-27 Thread John Baldwin
Author: jhb Date: Sat May 27 16:53:39 2017 New Revision: 318996 URL: https://svnweb.freebsd.org/changeset/base/318996 Log: Add descriptions for AES-GCM IPSec authentication (AH) counters. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/usr.bin/netstat/ipsec.c

svn commit: r318997 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nfsclient kern sys

2017-05-27 Thread Konstantin Belousov
Author: kib Date: Sat May 27 17:00:30 2017 New Revision: 318997 URL: https://svnweb.freebsd.org/changeset/base/318997 Log: Use whole mnt_stat.f_fsid bits for st_dev. Since ino64 expanded dev_t to 64bit, make VOP_GETATTR(9) provide all bits of mnt_stat.f_fsid as va_fsid for vnodes on files

svn commit: r318998 - head/sys/contrib/ipfilter/netinet

2017-05-27 Thread Cy Schubert
Author: cy Date: Sat May 27 18:01:14 2017 New Revision: 318998 URL: https://svnweb.freebsd.org/changeset/base/318998 Log: Fix return value of ip_sync_nat. Previously, regardless of error it always returned a return code of 0. Obtained from:NetBSD ip_sync.c r1.5 MFC after:1 w

svn commit: r318999 - head/sys/boot/common

2017-05-27 Thread Baptiste Daroussin
Author: bapt Date: Sat May 27 18:46:00 2017 New Revision: 318999 URL: https://svnweb.freebsd.org/changeset/base/318999 Log: Update the comments concerning net_parse_rootpath to reflect what it is now really doing Reported by: rgrimes Reviewed by: rgrimes Differential Revision:

svn commit: r319000 - head/contrib/binutils/ld

2017-05-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 27 20:01:50 2017 New Revision: 319000 URL: https://svnweb.freebsd.org/changeset/base/319000 Log: Align text correctly by using tabs instead of spaces. The text was copy-pasted from the lines that carry the bogus spaces. This is a non-functional change. Modified:

svn commit: r319001 - head/sys/vm

2017-05-27 Thread Alan Cox
Author: alc Date: Sat May 27 21:46:00 2017 New Revision: 319001 URL: https://svnweb.freebsd.org/changeset/base/319001 Log: After r118390, the variable "dmmax" was neither the correct strip size nor the correct maximum block size. Moreover, after r318995, it serves no purpose except to provi

svn commit: r319002 - head/usr.bin/grep/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 22:40:20 2017 New Revision: 319002 URL: https://svnweb.freebsd.org/changeset/base/319002 Log: :rgrep : use atf-check to check the exit code/save the output of grep -r instead of calling grep -r without it, and saving the output to a file This ensures that an

svn commit: r319008 - head/lib/libkvm/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:19:32 2017 New Revision: 319008 URL: https://svnweb.freebsd.org/changeset/base/319008 Log: kvm_geterr_test: Compile out the portions that require kvm_open2(3) on systems that lack the libcall, based on __FreeBSD_version. kvm_open2(3) wasn't made available

svn commit: r319010 - head/lib/libkvm/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:23:22 2017 New Revision: 319010 URL: https://svnweb.freebsd.org/changeset/base/319010 Log: Fix #if conditional added in r319008 I committed an earlier version of the file by accident This is a no-op on ^/head and ^/stable/11. MFC after:now Sp

svn commit: r319015 - head/tools/regression/geom_gpt

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:57:09 2017 New Revision: 319015 URL: https://svnweb.freebsd.org/changeset/base/319015 Log: Use calloc instead of malloc + memset MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tools/regression/geom_gpt/gctl_test_helper.c Modified: he

svn commit: r319019 - head/lib/libgeom

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 00:28:11 2017 New Revision: 319019 URL: https://svnweb.freebsd.org/changeset/base/319019 Log: Remove getpagesize(3) error checking added in r317312 getpagesize(3) no longer fails as of r317436. MFC after:3 days Sponsored by: Dell EMC Isilon Modified

svn commit: r319020 - head/share/mk

2017-05-27 Thread Eric van Gyzen
Author: vangyzen Date: Sun May 28 00:43:12 2017 New Revision: 319020 URL: https://svnweb.freebsd.org/changeset/base/319020 Log: Fix INSTALL_AS_USER Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that it has final authority over fooOWN and fooGRP. Reviewed by: sjg MFC

svn commit: r319022 - head/share/mk

2017-05-27 Thread Eric van Gyzen
Author: vangyzen Date: Sun May 28 00:45:28 2017 New Revision: 319022 URL: https://svnweb.freebsd.org/changeset/base/319022 Log: Fix INSTALL_AS_USER with external nsswitch databases The INSTALL_AS_USER option tells "install" to use the current user name as the owner of the installed file.

svn commit: r319026 - head/usr.sbin/pw/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 02:15:57 2017 New Revision: 319026 URL: https://svnweb.freebsd.org/changeset/base/319026 Log: pw: add some basic testcases for groupshow and usershow - groupshow: test out -a/-g/-n . - usershow: test out -a/-n/-u . MFC after:1 week Sponsored by: De

svn commit: r319027 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 02:55:04 2017 New Revision: 319027 URL: https://svnweb.freebsd.org/changeset/base/319027 Log: lib/libc/tests/nss: use calloc appropriately The pattern used prior to this commit was `calloc(1, n * sizeof(type))`; the pattern that should be used however is `cal

svn commit: r319028 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:39:24 2017 New Revision: 319028 URL: https://svnweb.freebsd.org/changeset/base/319028 Log: Sort make variables to suit style.Makefile(5) This is being done prior to functional changes. MFC after:3 days Sponsored by: Dell EMC Isilon Modified: he

svn commit: r319029 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:42:49 2017 New Revision: 319029 URL: https://svnweb.freebsd.org/changeset/base/319029 Log: Staticize functions and remove unused variables to aid with bumping WARNS MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/get

svn commit: r319030 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:47:58 2017 New Revision: 319030 URL: https://svnweb.freebsd.org/changeset/base/319030 Log: Fix -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getgr_test.c Modified: head/lib/libc/tests/nss/g

svn commit: r319031 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:58:36 2017 New Revision: 319031 URL: https://svnweb.freebsd.org/changeset/base/319031 Log: getusershell_test: staticize run_tests(..) to fix warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getusershell_test.

svn commit: r319034 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:03:45 2017 New Revision: 319034 URL: https://svnweb.freebsd.org/changeset/base/319034 Log: getaddrinfo_test: fix -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getaddrinfo_test.c Modified: h

svn commit: r319033 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:03:06 2017 New Revision: 319033 URL: https://svnweb.freebsd.org/changeset/base/319033 Log: getserv_test: fix -Wsign-compare and -Wmissing-prototypes warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getserv_te

svn commit: r319035 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:04:32 2017 New Revision: 319035 URL: https://svnweb.freebsd.org/changeset/base/319035 Log: getrpc_test: fix -Wmissing-prototypes and -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getrpc_test

svn commit: r319036 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:05:19 2017 New Revision: 319036 URL: https://svnweb.freebsd.org/changeset/base/319036 Log: getproto_test: fix -Wmissing-prototypes and -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getproto_

svn commit: r319037 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:11:04 2017 New Revision: 319037 URL: https://svnweb.freebsd.org/changeset/base/319037 Log: getaddrinfo_test: mark unused function parameters __unused to fix -Wunused warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/t

svn commit: r319038 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:12:02 2017 New Revision: 319038 URL: https://svnweb.freebsd.org/changeset/base/319038 Log: getusershell_test: mark mdata parameter in compare_usershell __unused MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getuser

svn commit: r319039 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:12:52 2017 New Revision: 319039 URL: https://svnweb.freebsd.org/changeset/base/319039 Log: getserv_test: mark unused parameters __unused to fix corresponding warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss

svn commit: r319040 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:15:05 2017 New Revision: 319040 URL: https://svnweb.freebsd.org/changeset/base/319040 Log: getrpc_test: fix -Wunused warnings - Mark unused function parameters unused. - Remove an unused function prototype. MFC after:3 days Sponsored by: Dell EM

svn commit: r319041 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:15:57 2017 New Revision: 319041 URL: https://svnweb.freebsd.org/changeset/base/319041 Log: getproto_test: fix -Wunused warnings Mark unused parameters __unused in functions. MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc

svn commit: r319042 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:34:57 2017 New Revision: 319042 URL: https://svnweb.freebsd.org/changeset/base/319042 Log: gethostby_test: fix multiple warning types - Fix -Wmissing-declaration warning by staticizing run_tests. - Fix -Wsign-compare warnings by casting size_t types to int

svn commit: r319043 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:41:06 2017 New Revision: 319043 URL: https://svnweb.freebsd.org/changeset/base/319043 Log: getpw_test: fix -Wunused warnings - Mark unused parameters __unused. - Put dump_passwd under DEBUG as it's only used in that case. MFC after:3 days Sponso

svn commit: r319044 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:43:02 2017 New Revision: 319044 URL: https://svnweb.freebsd.org/changeset/base/319044 Log: getgr_test: fix -Wunused warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getgr_test.c Modified: head/lib/libc/tests

svn commit: r319045 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 05:26:45 2017 New Revision: 319045 URL: https://svnweb.freebsd.org/changeset/base/319045 Log: Fix -Wunused and -Wshadow warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/gethostby_test.c Modified: head/lib/libc/

svn commit: r319046 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 05:31:18 2017 New Revision: 319046 URL: https://svnweb.freebsd.org/changeset/base/319046 Log: Fix a -Wunused-but-set-variable warning reported by gcc 6.3.0 MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getaddrinfo_tes

svn commit: r319047 - in head/lib/msun: . man src

2017-05-27 Thread Michal Meloun
Author: mmel Date: Sun May 28 06:13:38 2017 New Revision: 319047 URL: https://svnweb.freebsd.org/changeset/base/319047 Log: Implement sincos, sincosf, and sincosl. The primary benefit of these functions is that argument reduction is done once instead of twice in independent calls to sin()

svn commit: r319048 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 06:26:43 2017 New Revision: 319048 URL: https://svnweb.freebsd.org/changeset/base/319048 Log: Push `snapshot_file` copying down into run_tests function, and mark snapshot_file const char *. This fixes a bogus set of errors from gcc about strdup not being all

svn commit: r319049 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 06:29:01 2017 New Revision: 319049 URL: https://svnweb.freebsd.org/changeset/base/319049 Log: Bump WARNS from 1 to 3 after recent commits to fix warnings in the directory. Tested with: clang 4.0, gcc 4.2.1, gcc 6.3.0 MFC after:1 week Sponsored by: De