mirror_zfs/tests/zfs-tests/tests/functional/acl
Ameer Hamza e3785718ba
Skip permission checks for extended attributes
zfs_zaccess_trivial() calls the generic_permission() to read
xattr attributes. This causes deadlock if called from
zpl_xattr_set_dir() context as xattr and the dent locks are
already held in this scenario. This commit skips the permissions
checks for extended attributes since the Linux VFS stack already
checks it before passing us the control.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Youzhong Yang <yyang@mathworks.com>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #14220
2022-12-12 10:21:37 -08:00
..
off Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
posix Skip permission checks for extended attributes 2022-12-12 10:21:37 -08:00
posix-sa Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
acl_common.kshlib Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
acl.cfg Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00