aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/namespaces.txt
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-01-28 11:39:42 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-03-01 21:17:58 +0100
commit92ead2966b78ac6b2d6a0a464cc15c6ee6f853c6 (patch)
tree8941ee9691649995ce5ba7ca4cf4f741d8cd7442 /sys/linux/namespaces.txt
parent1cdecf8be3c8e4ddfae9982ea63e3ace43fc253b (diff)
sys/linux/filesystem: add mount_setattr() coverage
I've moved the idmapped mount patchset into my for-next branch and plan to send it for the v5.12 merge window in ~2.5 weeks. It comes with a large xfstest but I would also like to get some syzkaller coverage. With-help-from: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'sys/linux/namespaces.txt')
-rw-r--r--sys/linux/namespaces.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/namespaces.txt b/sys/linux/namespaces.txt
index 5ae862c8f..63ded0e2c 100644
--- a/sys/linux/namespaces.txt
+++ b/sys/linux/namespaces.txt
@@ -5,11 +5,13 @@ include <uapi/linux/sched.h>
include <uapi/linux/nsfs.h>
resource fd_namespace[fd]
+resource fd_userns[fd_namespace]
unshare(flags flags[unshare_flags])
setns(fd fd_namespace, type flags[ns_type])
syz_open_procfs$namespace(pid pid, file ptr[in, string[procfs_namespace_file]]) fd_namespace
+syz_open_procfs$userns(pid pid, file ptr[in, string["ns/user"]]) fd_userns
ioctl$NS_GET_USERNS(fd fd_namespace, cmd const[NS_GET_USERNS], arg const[0])
ioctl$NS_GET_PARENT(fd fd_namespace, cmd const[NS_GET_PARENT], arg const[0]) fd_namespace