mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
654a7814ad
This is a flavor of test generic/545 with FS_IOC_FSSETXATTR ioctl instead of FS_IOC_SETFLAGS ioctl. Overlayfs gained support for FS_IOC_FSSETXATTR ioctl in v5.2-rc4 with buggy capability check. This change fixed the problem: ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
10 lines
339 B
Plaintext
10 lines
339 B
Plaintext
QA output created by 555
|
|
Create the original files
|
|
Try to xfs_io chattr +ia with capabilities CAP_LINUX_IMMUTABLE
|
|
Try to xfs_io chattr +ia/-ia without capability CAP_LINUX_IMMUTABLE
|
|
Operation not permitted
|
|
Operation not permitted
|
|
Operation not permitted
|
|
Operation not permitted
|
|
Try to xfs_io chattr -ia with capability CAP_LINUX_IMMUTABLE
|