Home | History | Annotate | Download | only in test
      1 # This creates an immutable file, which we previously failed to clean up.
      2 # Note: the ioctl only works on ext4 but not on tmpfs, so it will fail with namespace sandbox.
      3 # It also requires root, so will fail with setuid.
      4 # requires: -sandbox=namespace -sandbox=setuid
      5 
      6 r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x26e1, 0x0)
      7 ioctl$FS_IOC_FSSETXATTR(r0, 0x40086602, &(0x7f0000000100)={0x17e})
      8 mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./file1\x00', 0x1ff)
      9 r1 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./file1\x00', 0x0, 0x0)
     10 ioctl$FS_IOC_FSSETXATTR(r1, 0x40086602, &(0x7f0000000100)={0x17e})
     11