aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/nonexec0
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/nonexec0
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/nonexec0')
-rw-r--r--sys/linux/test/nonexec08
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/linux/test/nonexec0 b/sys/linux/test/nonexec0
deleted file mode 100644
index d4ce3ba4f..000000000
--- a/sys/linux/test/nonexec0
+++ /dev/null
@@ -1,8 +0,0 @@
-# This makes syz-executor non-executable.
-# Does not work with repeat because on the second iteration the executor is still non-executable.
-# setuid does not have permissions to set extended acl.
-# FS_IOC_FSSETXATTR fails with EOPNOTSUPP, but it still changes the attrs.
-# requires: -repeat -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