enable_no_fs(): Fix corresponding test by adding missing default policy
This commit is contained in:
szülő
411e00715d
commit
215032f32c
6
qssb.h
6
qssb.h
@ -1018,7 +1018,11 @@ static int enable_no_fs(struct qssb_policy *policy)
|
||||
QSSB_LOG_ERROR("Failed to add system calls to policy\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(qssb_append_syscall_default_policy(policy, QSSB_SYSCALL_ALLOW) != 0)
|
||||
{
|
||||
QSSB_LOG_ERROR("Failed to add default policy when adding denied filesystem-related system calls\n");
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Betöltés…
Reference in New Issue
Block a user