]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply default security flavor in vfs_export
authorRyan Moeller <freqlabs@FreeBSD.org>
Tue, 16 Jun 2020 21:30:30 +0000 (21:30 +0000)
committerRyan Moeller <freqlabs@FreeBSD.org>
Tue, 16 Jun 2020 21:30:30 +0000 (21:30 +0000)
commit33b39b66158902ee1ed41c686ad6ae7b33bc7bd7
treeb581feeb73b5235a5ab92242c82dea2c5e85657d
parent512baba6a5c060c8a0eca291e0d0a379c1e784f9
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