r346000 tsoome April 7, 2019, 11:55 a.m.
free() does check for NULL argument, remove duplicate checks.

MFC after:	1w
ViewVC
r345999 tsoome April 7, 2019, 11:50 a.m.
strdup() can return NULL.

MFC after:	1w
ViewVC
r345998 tsoome April 7, 2019, 11:48 a.m.
Replace malloc+bzero in module.c with calloc.

MFC after:	1w
ViewVC
r345997 kib April 7, 2019, 8:58 a.m.
of power reset.

Noted by:	soralx@cydem.org
Sponsored by:	Mellanox Technologies
MFC after:	12 days
ViewVC
r345996 cy April 6, 2019, 11:35 p.m.
Update sqlite3-3.26.0 (3260000) --> sqlite3-3.27.1 (3270100)

MFC after:	2 weeks
ViewVC
r345995 rmacklem April 6, 2019, 10:14 p.m.
r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to
fail when jails were enabled, so delete the BUGS entry from the man page.

PR:		205193
MFC after:	2 weeks
ViewVC
r345994 rmacklem April 6, 2019, 10:05 p.m.
are enabled.

The nfsuserd(8) daemon does not function correctly when jails are enabled,
since localhost gets mapped to another IP address and, as such, the upcall
RPC fails.
This patch fixes the problem by doing a getsockname(2) of a socket mapped
to localhost to find out what the correct address is for the comparison
test with the upcall's from IP address.
This patch also adds INET6 support and the required #ifdef's for INET and
INET6. It now uses INET6 by default for the upcalls, if the kernel has
INET6 support and the daemon is also built with INET6 support.

Tested by:	freebsd@danielengel.com (earlier version)
PR:		205193
Reviewed by:	bz, rgrimes
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19218
ViewVC
r345993 cem April 6, 2019, 9:56 p.m.
'tos' is an index into an array and never holds a negative value.  Correct
its signedness to match PCTRIE_LIMIT, which it is compared to in assertions.

No functional change (kills a warning).
ViewVC
r345992 rmacklem April 6, 2019, 9:53 p.m.
The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get
updates to the username<->uid and groupname<->gid mappings.
A change to AF_LOCAL last year had to be reverted, since it could result
in vnode locking issues on the AF_LOCAL socket.
This patch adds INET6 support and the required #ifdef INET and INET6
to the code.

Requested by:	bz
PR:		205193
Reviewed by:	bz, rgrimes
MFC after:	2 weeks
Differential Revision:	http://reviews.freebsd.org/D19218
ViewVC
r345991 cem April 6, 2019, 8:38 p.m.
No functional change.
ViewVC
r345986 asomers April 6, 2019, 6:04 p.m.
Don't page fault if the file descriptor provided with "-o fd" is invalid.
This is a merge of r345419 from the projects/fuse2 branch.

Reviewed by:	ngie
Tested by:	Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after:	2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19836
ViewVC
r345985 ae April 6, 2019, 5:21 p.m.
Reported by:	Andrey Fesenko
X-MFC after:	r345450
ViewVC
r345984 oshogbo April 6, 2019, 11:24 a.m.
r345983 oshogbo April 6, 2019, 9:37 a.m.
r345982 oshogbo April 6, 2019, 9:34 a.m.
the file associated with the given file descriptor.

Reviewed by:	kib, asomers
Reviewed by:	cem, jilles, brooks (they reviewed previous version)
Discussed with:	pjd, and many others
Differential Revision:	https://reviews.freebsd.org/D14567
ViewVC