aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/nonexec1
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-05 12:44:49 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-05 12:50:29 +0100
commitd646e21ff436cd2a40b23314436cd53f21ae9500 (patch)
treec6a58928ecfbef09b335d19a6d8c20884203b688 /sys/linux/test/nonexec1
parentc5f5069930ee90925617ded2e413bc99716eb559 (diff)
prog: fix tests for string enforcement
String value enforcement broke a number of tests where we use different values. Be more string as to what string values we use in tests. Required to add tmpfs descriptions to test syz_mount_image. Also special-casing AF_ALG algorithms as these are auto-generated.
Diffstat (limited to 'sys/linux/test/nonexec1')
-rw-r--r--sys/linux/test/nonexec17
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/linux/test/nonexec1 b/sys/linux/test/nonexec1
deleted file mode 100644
index 324e704b5..000000000
--- a/sys/linux/test/nonexec1
+++ /dev/null
@@ -1,7 +0,0 @@
-# This makes syz-executor non-executable.
-# sandbox=namespace does not have permissions for FS_IOC_FSSETXATTR.
-# requires: -repeat -sandbox=namespace -sandbox=setuid
-
-r0 = syz_open_procfs(0x0, &AUTO='exe\x00')
-fsetxattr$system_posix_acl(r0, &AUTO='system.posix_acl_access\x00', &AUTO={{AUTO}, {0x1, 0x2, AUTO}, [{AUTO, 0x0, 0x0}, {0x2, 0x4, 0x0}], {AUTO, 0x0, AUTO}, [], {0x10, 0x2, AUTO}, {AUTO, 0x0, AUTO}}, 0x34, 0x0) # EOPNOTSUPP
-ioctl$FS_IOC_FSSETXATTR(r0, 0x40086602, &AUTO={0x17e, 0x0, 0x0, 0x0, 0x0, [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]}) # ENOTTY