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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 10:42:25 2019 New Revision: 344751 URL: https://svnweb.freebsd.org/changeset/base/344751 Log: Make superblock reading logic more strict. Add more on-disk superblock consistency checks to ext2_compute_sb_data() function. It should decrease the probability of m

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 10:55:01 2019 New Revision: 344752 URL: https://svnweb.freebsd.org/changeset/base/344752 Log: Add additional on-disk inode checks. Reviewed by:pfg MFC after: 1 week Differential Revision:https://reviews.freebsd.org/D19323 Modified: head/sy

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 11:01:23 2019 New Revision: 344753 URL: https://svnweb.freebsd.org/changeset/base/344753 Log: Validate block bitmaps. Reviewed by:pfg MFC after: 1 week Differential Revision:https://reviews.freebsd.org/D19324 Modified: head/sys/fs/ext2fs/e

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 11:12:19 2019 New Revision: 344754 URL: https://svnweb.freebsd.org/changeset/base/344754 Log: Do not panic if inode bitmap is corrupted. admbug: 804 Reported by:Ilja Van Sprundel Reviewed by:pfg MFC after: 1 week Differential Rev

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 11:19:21 2019 New Revision: 344755 URL: https://svnweb.freebsd.org/changeset/base/344755 Log: Fix integer overflow possibility. Reported by:Christopher Krah Reported as:FS-2-EXT2-1: Out-of-Bounds Write in nmount (ext2_vget) Reviewed by:pfg MFC

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 11:27:47 2019 New Revision: 344756 URL: https://svnweb.freebsd.org/changeset/base/344756 Log: Do not read the on-disk inode in case of vnode allocation. Reported by:Christopher Krah Reported as:FS-6-EXT2-4: Denial Of Service in mkdir-0 (ext2_mkdir/vn_

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

2019-03-04 Thread Fedor Uporov
Author: fsu Date: Mon Mar 4 11:33:49 2019 New Revision: 344757 URL: https://svnweb.freebsd.org/changeset/base/344757 Log: Fix double free in case of mount error. Reported by:Christopher Krah Reported as:FS-9-EXT3-2: Denial Of Service in nmount-5 (vm_fault_hold) Reviewed by:

svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 4 13:02:36 2019 New Revision: 344758 URL: https://svnweb.freebsd.org/changeset/base/344758 Log: Push down td in nfsrvd_dorpc() - make it use curthread instead of it being explicitly passed as an argument. No functional changes. The big picture here is that I w

svn commit: r344759 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 4 13:12:23 2019 New Revision: 344759 URL: https://svnweb.freebsd.org/changeset/base/344759 Log: Push down the thread argument in NFS server code, using curthread instead of passing it explicitly. No functional changes Reviewed by: rmacklem (earlier version)

svn commit: r344760 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 4 13:18:04 2019 New Revision: 344760 URL: https://svnweb.freebsd.org/changeset/base/344760 Log: Don't pass td to nfsd_fhtovp(), it's unused. Reviewed by: rmacklem (earlier version) MFC after:2 weeks Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Konstantin Belousov
On Mon, Mar 04, 2019 at 01:02:36PM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Mar 4 13:02:36 2019 > New Revision: 344758 > URL: https://svnweb.freebsd.org/changeset/base/344758 > > Log: > Push down td in nfsrvd_dorpc() - make it use curthread instead > of it being expli

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Napierala
pon., 4 mar 2019 o 13:20 Konstantin Belousov napisał(a): > > On Mon, Mar 04, 2019 at 01:02:36PM +, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Mon Mar 4 13:02:36 2019 > > New Revision: 344758 > > URL: https://svnweb.freebsd.org/changeset/base/344758 > > > > Log: > > Push down

svn commit: r344761 - in head: lib/libmt usr.bin/mt

2019-03-04 Thread Kenneth D. Merry
Author: ken Date: Mon Mar 4 14:30:37 2019 New Revision: 344761 URL: https://svnweb.freebsd.org/changeset/base/344761 Log: Add IBM TS1160 density codes to libmt and the mt(1) man page. These are taken directly from the density report from a TS1160 tape drive. (Using mt getdensity) A

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Konstantin Belousov
On Mon, Mar 04, 2019 at 01:31:37PM +, Edward Napierala wrote: > pon., 4 mar 2019 o 13:20 Konstantin Belousov napisał(a): > > > + p = curthread; > > Why do you name it 'p', which is typical for process, and not 'td', you are > > changing most of the code anyway. > > To keep the diff size s

svn commit: r344762 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 4 14:30:53 2019 New Revision: 344762 URL: https://svnweb.freebsd.org/changeset/base/344762 Log: Don't pass td to nfsvno_createsub(). MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/fs/nfs/nfs_var.h head/sys/fs/nfsserver/nfs_nfsdport.c

svn commit: r344763 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 4 14:50:00 2019 New Revision: 344763 URL: https://svnweb.freebsd.org/changeset/base/344763 Log: Don't pass td to nfsvno_open(). MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/fs/nfs/nfs_var.h head/sys/fs/nfsserver/nfs_nfsdport.c head

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Napierala
pon., 4 mar 2019 o 14:30 Konstantin Belousov napisał(a): > > On Mon, Mar 04, 2019 at 01:31:37PM +, Edward Napierala wrote: > > pon., 4 mar 2019 o 13:20 Konstantin Belousov > > napisał(a): > > > > + p = curthread; > > > Why do you name it 'p', which is typical for process, and not 'td', y

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Cy Schubert
On March 4, 2019 6:30:21 AM PST, Konstantin Belousov wrote: >On Mon, Mar 04, 2019 at 01:31:37PM +, Edward Napierala wrote: >> pon., 4 mar 2019 o 13:20 Konstantin Belousov >napisał(a): >> > > + p = curthread; >> > Why do you name it 'p', which is typical for process, and not 'td', >you ar

svn commit: r344764 - in head/tests/sys: . common netipsec/tunnel netpfil/pf

2019-03-04 Thread Kristof Provost
Author: kp Date: Mon Mar 4 18:15:06 2019 New Revision: 344764 URL: https://svnweb.freebsd.org/changeset/base/344764 Log: tests: Move common (vnet) test functions into a common file The netipsec and pf tests have a number of common test functions. These used to be duplicated, but it makes

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Edward Napierala
pon., 4 mar 2019 o 15:17 Cy Schubert napisał(a): > > On March 4, 2019 6:30:21 AM PST, Konstantin Belousov > wrote: > >On Mon, Mar 04, 2019 at 01:31:37PM +, Edward Napierala wrote: > >> pon., 4 mar 2019 o 13:20 Konstantin Belousov > >napisał(a): > >> > > + p = curthread; > >> > Why do yo

svn commit: r344780 - head/stand/common

2019-03-04 Thread Simon J. Gerraty
Author: sjg Date: Mon Mar 4 19:50:59 2019 New Revision: 344780 URL: https://svnweb.freebsd.org/changeset/base/344780 Log: Add -d flag to load command When doing load -t manifest -d increments debug level Reviewed by: stevek Modified: head/stand/common/module.c Modified: head/stan

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Cy Schubert
In message , Edward Napierala writes: > pon., 4 mar 2019 o 15:17 Cy Schubert napisał(a): > > > > On March 4, 2019 6:30:21 AM PST, Konstantin Belousov > wrote: > > >On Mon, Mar 04, 2019 at 01:31:37PM +, Edward Napierala wrote: > > >> pon., 4 mar 2019 o 13:20 Konstantin Belousov > > >napisa

svn commit: r344782 - head/sys/net

2019-03-04 Thread Alexander Motin
Author: mav Date: Mon Mar 4 22:01:09 2019 New Revision: 344782 URL: https://svnweb.freebsd.org/changeset/base/344782 Log: bridge: Fix spurious warnings about capabilities Mask off the bits we don't care about when checking that capabilities of the member interfaces have been disabled as

svn commit: r344784 - in head/lib/libsecureboot: . tests

2019-03-04 Thread Simon J. Gerraty
Author: sjg Date: Mon Mar 4 22:04:21 2019 New Revision: 344784 URL: https://svnweb.freebsd.org/changeset/base/344784 Log: Allow for reproducible build Use SOURCE_DATE_EPOCH for BUILD_UTC if MK_REPRODUCIBLE_BUILD is yes. Default SOURCE_DATE_EPOCH to 2019-01-01 Reviewed by: emaste

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Rick Macklem
Cy Schubert wrote: >Sent: Monday, March 4, 2019 3:25 PM >To: Edward Napierala >Cc: Cy Schubert; Konstantin Belousov; src-committers; svn-src-...@freebsd.org; >svn-src->h...@freebsd.org >Subject: Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver > >In message , Edward Napierala writes: >> po

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Cy Schubert
On March 4, 2019 3:13:05 PM PST, Rick Macklem wrote: >Cy Schubert wrote: >>Sent: Monday, March 4, 2019 3:25 PM >>To: Edward Napierala >>Cc: Cy Schubert; Konstantin Belousov; src-committers; >svn-src-...@freebsd.org; svn-src->h...@freebsd.org >>Subject: Re: svn commit: r344758 - in head/sys/fs: nfs

svn commit: r344788 - head/usr.sbin/rtadvctl

2019-03-04 Thread Hiroki Sato
Author: hrs Date: Tue Mar 5 02:53:41 2019 New Revision: 344788 URL: https://svnweb.freebsd.org/changeset/base/344788 Log: Fix grammar. Submitted by: Massimiliano Stucchi Modified: head/usr.sbin/rtadvctl/rtadvctl.8 Modified: head/usr.sbin/rtadvctl/rtadvctl.8

svn commit: r344790 - head/sys/geom/part

2019-03-04 Thread Marcel Moolenaar
Author: marcel Date: Tue Mar 5 04:15:34 2019 New Revision: 344790 URL: https://svnweb.freebsd.org/changeset/base/344790 Log: Revert revision 254095 In revision 254095, gpt_entries is not set to match the on-disk hdr_entries, but rather is computed based on available space. There are 2

svn commit: r344791 - head/contrib/binutils/opcodes

2019-03-04 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 5 04:16:50 2019 New Revision: 344791 URL: https://svnweb.freebsd.org/changeset/base/344791 Log: Fix binutils compilation error with Clang 8 Summary: This change fixes the following compilation error when using clang 8 to cross compile base to powerpc64:

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-03-04 Thread Matthew Macy
World? It looks like there's a version mismatch between the kernel and modules. -M On Thu, Feb 28, 2019 at 7:11 PM Alan Somers wrote: > > On Thu, Feb 28, 2019 at 6:40 PM Matthew Macy wrote: > > > > to config add: > > options LINDEBUGFS > > options GCOV > > > > compile kernel with gcc (otherwise