Assign default security flavor when converting old export args
authorfreqlabs <freqlabs@FreeBSD.org>
Mon, 1 Jun 2020 18:43:51 +0000 (18:43 +0000)
committerfreqlabs <freqlabs@FreeBSD.org>
Mon, 1 Jun 2020 18:43:51 +0000 (18:43 +0000)
commitc29622aa8dbb0389979532416c3eace48eee02d4
treeda1efbb8478c891808c196cf61953a51ba536ec9
parent6f03286739833299d722122e4a4c362d841a25f0
Assign default security flavor when converting old export args

vfs_export requires security flavors be explicitly listed when
exporting as of r360900.

Use the default AUTH_SYS flavor when converting old export args to
ensure compatibility with the legacy mount syscall.

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