mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sys: specify context for syscall filter
Specify a context to enable different processes using different (more restrictive) syscall filters.
This commit is contained in:
@@ -474,7 +474,7 @@ void check_seccomp_applicability(void)
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
SYS_Linux_EnableSystemCallFilter(int level)
|
||||
SYS_Linux_EnableSystemCallFilter(int level, SYS_SystemCallContext context)
|
||||
{
|
||||
const int syscalls[] = {
|
||||
/* Clock */
|
||||
|
||||
Reference in New Issue
Block a user