From 8257de047b6ceb09374e04e44eb9be489aff2d8a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 27 Nov 2017 09:08:59 +0100 Subject: sys/linux: open files from /proc --- sys/linux/sys.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/linux/sys.txt') diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index dc1a48215..a1c83496e 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -429,6 +429,10 @@ getrandom(buf buffer[out], len len[buf], flags flags[getrandom_flags]) # Do only MEMBARRIER_CMD_SHARED membarrier(cmd const[1], flags const[0]) +syz_open_procfs(pid pid, file ptr[in, string[procfs_file]]) fd + +procfs_file = "auxv", "cmdline", "environ", "autogroup", "cgroup", "clear_refs", "comm", "coredump_filter", "cpuset", "gid_map", "io", "limits", "loginuid", "maps", "mountinfo", "mounts", "mountstats", "numa_maps", "oom_adj", "oom_score", "oom_score_adj", "pagemap", "personality", "projid_map", "sched", "schedstat", "sessionid", "setgroups", "smaps", "stack", "stat", "statm", "status", "syscall", "timers", "uid_map", "wchan", "map_files", "attr", "attr/current", "attr/exec", "attr/fscreate", "attr/keycreate", "attr/prev", "attr/sockcreate", "ns", "ns/cgroup", "ns/ipc", "ns/mnt", "ns/net", "ns/pid", "ns/user", "ns/uts", "children", "task", "fdinfo", "net" + # Uncomment on your own account. #syz_open_dev$char(dev const[0xc], major intptr, minor intptr) fd #syz_open_dev$block(dev const[0xb], major intptr, minor intptr) fd -- cgit mrf-deployment