blob: 61ad6b36aa1412b0baea1e56eab37e47a3e22c56 [file] [log] [blame]
# 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, &AUTO='./file0\x00', 0x26e1, 0x0)
ioctl$FS_IOC_FSSETXATTR(r0, 0x40086602, &AUTO={0x17e, 0x0, 0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffffffffffff9c, &AUTO='./file1\x00', 0x1ff)
r1 = openat(0xffffffffffffff9c, &AUTO='./file1\x00', 0x0, 0x0)
ioctl$FS_IOC_FSSETXATTR(r1, 0x40086602, &AUTO={0x17e, 0x0, 0x0, 0x0, 0x0, 0x0})