mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 05:56:01 +01:00
move syscall to X11 only
This commit is contained in:
parent
193bfd3081
commit
0fb627916b
1 changed files with 2 additions and 1 deletions
|
@ -217,7 +217,7 @@ seccomp_enable_strict_filter(zathura_t* zathura)
|
||||||
/* ALLOW_RULE(pwrite64); equals pwrite */
|
/* ALLOW_RULE(pwrite64); equals pwrite */
|
||||||
ALLOW_RULE(read);
|
ALLOW_RULE(read);
|
||||||
ALLOW_RULE(readlink); /* readlinkat */
|
ALLOW_RULE(readlink); /* readlinkat */
|
||||||
/* ALLOW_RULE(recvfrom); */
|
/* ALLOW_RULE(recvfrom); X11 only */
|
||||||
ALLOW_RULE(recvmsg);
|
ALLOW_RULE(recvmsg);
|
||||||
/* ALLOW_RULE(restart_syscall); used by the kernel only */
|
/* ALLOW_RULE(restart_syscall); used by the kernel only */
|
||||||
ALLOW_RULE(rseq);
|
ALLOW_RULE(rseq);
|
||||||
|
@ -274,6 +274,7 @@ seccomp_enable_strict_filter(zathura_t* zathura)
|
||||||
ALLOW_RULE(shmctl);
|
ALLOW_RULE(shmctl);
|
||||||
ALLOW_RULE(shmdt);
|
ALLOW_RULE(shmdt);
|
||||||
ALLOW_RULE(shmget);
|
ALLOW_RULE(shmget);
|
||||||
|
ALLOW_RULE(recvfrom);
|
||||||
ALLOW_RULE(writev); /* pwritev, pwritev2 */
|
ALLOW_RULE(writev); /* pwritev, pwritev2 */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue