aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/file_immutable
blob: 8c22eb85784acf7cb69262f914a28278d13d81d3 (plain)
1
2
3
4
5
6
7
# This creates an immutable file, which we previously failed to clean up.
# Note: the ioctl only works on ext4 but not on tmpfs, so it will fail with namespace sandbox.
# It also requires root, so will fail with setuid.
# requires: -sandbox=namespace -sandbox=setuid

r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x26e1, 0x0)
ioctl$FS_IOC_FSSETXATTR(r0, 0x40086602, &(0x7f0000000100)={0x17e})