mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
seccomp: more filtered syscalls
This commit is contained in:
parent
0770dee8d5
commit
2dc13abb5d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21
nfq/sec.c
21
nfq/sec.c
@ -50,6 +50,9 @@ SYS_fork,
|
||||
#ifdef SYS_vfork
|
||||
SYS_vfork,
|
||||
#endif
|
||||
#ifdef SYS_uselib
|
||||
SYS_uselib,
|
||||
#endif
|
||||
#ifdef SYS_unlink
|
||||
SYS_unlink,
|
||||
#endif
|
||||
@ -112,7 +115,23 @@ SYS_rename,
|
||||
#ifdef SYS_renameat2
|
||||
SYS_renameat2,
|
||||
#endif
|
||||
SYS_renameat
|
||||
SYS_renameat,
|
||||
#ifdef SYS_process_vm_readv
|
||||
SYS_process_vm_readv,
|
||||
#endif
|
||||
#ifdef SYS_process_vm_writev
|
||||
SYS_process_vm_writev,
|
||||
#endif
|
||||
#ifdef SYS_process_vm_madvise
|
||||
SYS_process_madvise,
|
||||
#endif
|
||||
#ifdef SYS_tkill
|
||||
SYS_tkill,
|
||||
#endif
|
||||
#ifdef SYS_tgkill
|
||||
SYS_tgkill,
|
||||
#endif
|
||||
SYS_kill, SYS_ptrace
|
||||
};
|
||||
#define BLOCKED_SYSCALL_COUNT (sizeof(blocked_syscalls)/sizeof(*blocked_syscalls))
|
||||
|
||||
|
21
tpws/sec.c
21
tpws/sec.c
@ -50,6 +50,9 @@ SYS_fork,
|
||||
#ifdef SYS_vfork
|
||||
SYS_vfork,
|
||||
#endif
|
||||
#ifdef SYS_uselib
|
||||
SYS_uselib,
|
||||
#endif
|
||||
#ifdef SYS_unlink
|
||||
SYS_unlink,
|
||||
#endif
|
||||
@ -112,7 +115,23 @@ SYS_rename,
|
||||
#ifdef SYS_renameat2
|
||||
SYS_renameat2,
|
||||
#endif
|
||||
SYS_renameat
|
||||
SYS_renameat,
|
||||
#ifdef SYS_process_vm_readv
|
||||
SYS_process_vm_readv,
|
||||
#endif
|
||||
#ifdef SYS_process_vm_writev
|
||||
SYS_process_vm_writev,
|
||||
#endif
|
||||
#ifdef SYS_process_vm_madvise
|
||||
SYS_process_madvise,
|
||||
#endif
|
||||
#ifdef SYS_tkill
|
||||
SYS_tkill,
|
||||
#endif
|
||||
#ifdef SYS_tgkill
|
||||
SYS_tgkill,
|
||||
#endif
|
||||
SYS_kill, SYS_ptrace
|
||||
};
|
||||
#define BLOCKED_SYSCALL_COUNT (sizeof(blocked_syscalls)/sizeof(*blocked_syscalls))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user