HomeFreeBSD

Don't allow accessing XATTR via export handle

Description

Don't allow accessing XATTR via export handle

Allow accessing XATTR through export handle is a very bad idea. It
would allow user to write whatever they want in fields where they
otherwise could not.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4828

Details

Provenance
Chunwei Chen <david.chen@osnexus.com>Authored on Jul 6 2016, 11:54 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 12 2016, 8:34 PM
Parents
rG061460dfe222: Fix get_zfs_sb race with concurrent umount
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG7938c2aca741: Don't allow accessing XATTR via export handle (authored by Chunwei Chen <david.chen@osnexus.com>).Jul 12 2016, 8:34 PM