]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply default security flavor in vfs_export
authorfreqlabs <freqlabs@FreeBSD.org>
Tue, 16 Jun 2020 21:30:30 +0000 (21:30 +0000)
committerfreqlabs <freqlabs@FreeBSD.org>
Tue, 16 Jun 2020 21:30:30 +0000 (21:30 +0000)
commit589bc61c670e65eb4dafc2d35b2fce958317869a
treeb581feeb73b5235a5ab92242c82dea2c5e85657d
parent964866bc619181b21957446931549c5d3091f9e5
Apply default security flavor in vfs_export

There may be some version of mountd out there that does not supply a default
security flavor when none is given for an export.

Set the default security flavor in vfs_export if none is given, and remove the
workaround for oexport compat.

Reported by: npn
Reviewed by: rmacklem
Approved by: mav (mentor)
MFC after: 3 days
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25300
sys/kern/vfs_export.c
sys/kern/vfs_mount.c