aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
diff options
context:
space:
mode:
authorPimyn Girgis <bemenboshra2001@gmail.com>2024-09-09 09:50:36 +0000
committerAleksandr Nogikh <nogikh@google.com>2024-09-09 13:14:54 +0000
commit507ed33fbf576d99310b16d07ffc58cab120f162 (patch)
tree905350940b3e80f8a668a11f81a169e88f3d284e /sys/linux/socket.txt
parenteb78580fab6646a3bf394e62bf0b20444bbf207f (diff)
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`.
Diffstat (limited to 'sys/linux/socket.txt')
-rw-r--r--sys/linux/socket.txt4
1 files changed, 2 insertions, 2 deletions
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])