mirror_zfs/tests/zfs-tests/tests/functional/acl/posix
Ryan Moeller b7ab7ae241
Linux: Initialize zp in zfs_setattr_dir
The value of zp is used without having been initialized under some
conditions.  Initialize the pointer to NULL.

Add a regression test case using chown in acl/posix.  However, this is
not enough because the setup sets xattr=sa, which means zfs_setattr_dir
will not be called.  Create a second group of acl tests in acl/posix-sa
duplicating the acl/posix tests with symlinks, and remove xattr=sa from
the original acl/posix tests.  This provides more coverage for the
default xattr=on code.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10043
Closes #11025
2020-10-09 09:27:14 -07:00
..
cleanup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
Makefile.am Linux: Initialize zp in zfs_setattr_dir 2020-10-09 09:27:14 -07:00
posix_001_pos.ksh Rename acltype=posixacl to acltype=posix 2020-09-16 12:26:06 -07:00
posix_002_pos.ksh Rename acltype=posixacl to acltype=posix 2020-09-16 12:26:06 -07:00
posix_003_pos.ksh Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
posix_004_pos.ksh Linux: Initialize zp in zfs_setattr_dir 2020-10-09 09:27:14 -07:00
setup.ksh Linux: Initialize zp in zfs_setattr_dir 2020-10-09 09:27:14 -07:00