HomeFreeBSD

Enable PF_FSTRANS for ioctl secpolicy callbacks (#4571)

Description

Enable PF_FSTRANS for ioctl secpolicy callbacks (#4571)

At the very least, the zfs_secpolicy_write_perms ioctl security policy
callback, which calls dsl_dataset_hold(), can require freeing memory and,
therefore, re-enter ZFS. This patch enables PF_FSTRANS for all of the
security policy callbacks similarly to the manner in which it's enabled
for the actual ioctl callback.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4554

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on May 2 2016, 5:00 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 2 2016, 5:00 PM
Parents
rGef1c27117bea: module/.gitignore: Add *.dwo (#4580)
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGddab862d4cb8: Enable PF_FSTRANS for ioctl secpolicy callbacks (#4571) (authored by Tim Chase <tim@chase2k.com>).May 2 2016, 5:00 PM