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/socket.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/socket.txt') diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index e5fbc52c3..e8994fb4e 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -19,7 +19,7 @@ type sock_port int16be[20000:20004] # TODO: describe socketcall syscall -socket(domain flags[socket_domain], type flags[socket_type], proto int32) sock +socket(domain flags[socket_domain], type flags[socket_type], proto int32) sock (automatic_helper) socketpair(domain flags[socket_domain], type flags[socket_type], proto int32, fds ptr[out, sock_pair]) bind(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr]) connect(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr]) @@ -283,7 +283,7 @@ ifreq_ioctls = SIOCGIFNAME, SIOCSIFLINK, SIOCGIFFLAGS, SIOCSIFFLAGS, SIOCGIFADDR ioctl$sock_ifreq(fd sock, cmd flags[ifreq_ioctls], arg ptr[inout, ifreq]) -ioctl$sock_SIOCGIFINDEX(fd sock, cmd const[SIOCGIFINDEX], arg ptr[out, ifreq_t[ifindex]]) +ioctl$sock_SIOCGIFINDEX(fd sock, cmd const[SIOCGIFINDEX], arg ptr[out, ifreq_t[ifindex]]) (automatic_helper) ioctl$sock_SIOCGIFBR(fd sock, cmd const[SIOCGIFBR], arg ptr[inout, brctl_arg]) ioctl$sock_SIOCSIFBR(fd sock, cmd const[SIOCSIFBR], arg ptr[inout, brctl_arg]) -- cgit mrf-deployment