aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2019-05-30 14:24:26 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2019-05-30 14:24:26 +0000
commitc5afec6e895a11c64f58eb99e493adb8ad5dc361 (patch)
tree76a184c2ed5a4763917ede32840013f6ea1c85ef /usr.sbin/mountd
parent1410bfe1423048af030a0bde5e01c3e5555dbd1e (diff)
Complete LOCAL_PEERCRED support. Cache pid of the remote process in the
struct xucred. Do not bump XUCRED_VERSION as struct layout is not changed. PR: 215202 Reviewed by: tijl MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20415
Notes
Notes: svn path=/head/; revision=348419
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/mountd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index ae143ade5ae4..933bbf342010 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -244,7 +244,7 @@ static struct xucred def_anon = {
(uid_t)65534,
1,
{ (gid_t)65533 },
- NULL
+ { NULL }
};
static int force_v2 = 0;
static int resvport_only = 1;