Compare commits

...

2 Commits

Author SHA1 Message Date
57238b535c Expand disallowed system calls
Relevant: #8
2021-08-10 16:57:44 +02:00
b4e8116c20 seccomp_enable_whitelist(): Fix comment 2021-08-10 16:55:58 +02:00

5
qssb.h
View File

@ -152,6 +152,9 @@ static int default_blacklisted_syscals[] = {
QSSB_SYS(process_vm_readv),
QSSB_SYS(process_vm_writev),
QSSB_SYS(userfaultfd),
QSSB_SYS(init_module),
QSSB_SYS(finit_module),
QSSB_SYS(delete_module),
-1
};
@ -577,7 +580,7 @@ static int seccomp_enable_blacklist(int *syscalls)
}
/*
* Blacklists the specified systemcalls.
* Whitelists the specified systemcalls.
*
* syscalls: array of system calls numbers. -1 must be the last entry.
*/