HomeFreeBSD

Fix ACL checks for NFS kernel server

Description

Fix ACL checks for NFS kernel server

This PR changes ZFS ACL checks to evaluate
fsuid / fsgid rather than euid / egid to avoid
accidentally granting elevated permissions to
NFS clients.

Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Andrew Walker <awalker@ixsystems.com>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #13221

Details

Provenance
freqlabsAuthored on Mar 18 2022, 12:47 PM
GitHub <noreply@github.com>Committed on Mar 18 2022, 12:47 PM
Parents
rGa5920d24c04b: FreeBSD: add missing replay check to an assert in zfs_xvattr_set
Branches
Unknown
Tags
Unknown