From d646e21ff436cd2a40b23314436cd53f21ae9500 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 5 Jan 2020 12:44:49 +0100 Subject: 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. --- sys/linux/test/nonexec0 | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 sys/linux/test/nonexec0 (limited to 'sys/linux/test/nonexec0') 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 -- cgit mrf-deployment