add new renameat2 syscall
[trinity.git] / syscalls / getsockopt.c
blob31f15e83b6bb511a0d54ce34b05548db4d42be6d
1 /*
2 * SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, char __user *, optval, int __user *, optlen)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_getsockopt = {
7 .name = "getsockopt",
8 .num_args = 5,
9 .arg1name = "fd",
10 .arg1type = ARG_FD,
11 .arg2name = "level",
12 .arg3name = "optname",
13 .arg4name = "optval",
14 .arg4type = ARG_ADDRESS,
15 .arg5name = "optlen",
16 .arg5type = ARG_LEN,
17 .flags = NEED_ALARM,