Commit 52475b5
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 #45541 parent 2cb7734 commit 52475b5
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5817 | 5817 | | |
5818 | 5818 | | |
5819 | 5819 | | |
5820 | | - | |
| 5820 | + | |
| 5821 | + | |
5821 | 5822 | | |
| 5823 | + | |
| 5824 | + | |
5822 | 5825 | | |
5823 | 5826 | | |
5824 | 5827 | | |
| |||
0 commit comments