From 507ed33fbf576d99310b16d07ffc58cab120f162 Mon Sep 17 00:00:00 2001 From: Pimyn Girgis Date: Mon, 9 Sep 2024 09:50:36 +0000 Subject: pkg/mgrconfig, prog, sys/linux: add automatic_helper attribute Add automatic_helper attribute and enable it for system calls that are required to properly run automatically generated descriptions. Enable these system calls when descriptions_mode = `Auto`. --- sys/linux/namespaces.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/namespaces.txt') diff --git a/sys/linux/namespaces.txt b/sys/linux/namespaces.txt index 63ded0e2c..52bc768ff 100644 --- a/sys/linux/namespaces.txt +++ b/sys/linux/namespaces.txt @@ -8,13 +8,13 @@ resource fd_namespace[fd] resource fd_userns[fd_namespace] unshare(flags flags[unshare_flags]) -setns(fd fd_namespace, type flags[ns_type]) +setns(fd fd_namespace, type flags[ns_type]) (automatic_helper) -syz_open_procfs$namespace(pid pid, file ptr[in, string[procfs_namespace_file]]) fd_namespace +syz_open_procfs$namespace(pid pid, file ptr[in, string[procfs_namespace_file]]) fd_namespace (automatic_helper) 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 +ioctl$NS_GET_PARENT(fd fd_namespace, cmd const[NS_GET_PARENT], arg const[0]) fd_namespace (automatic_helper) ioctl$NS_GET_NSTYPE(fd fd_namespace, cmd const[NS_GET_NSTYPE], arg const[0]) ioctl$NS_GET_OWNER_UID(fd fd_namespace, cmd const[NS_GET_OWNER_UID], arg ptr[out, uid]) -- cgit mrf-deployment