mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* lib-src/seccomp-filter.c (main): Also allow O_NOFOLLOW.
This commit is contained in:
parent
9a57897ea1
commit
cf0701eff0
@ -241,12 +241,12 @@ main (int argc, char **argv)
|
||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (open),
|
||||
SCMP_A1_32 (SCMP_CMP_MASKED_EQ,
|
||||
~(O_RDONLY | O_BINARY | O_CLOEXEC | O_PATH
|
||||
| O_DIRECTORY),
|
||||
| O_DIRECTORY | O_NOFOLLOW),
|
||||
0));
|
||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (openat),
|
||||
SCMP_A2_32 (SCMP_CMP_MASKED_EQ,
|
||||
~(O_RDONLY | O_BINARY | O_CLOEXEC | O_PATH
|
||||
| O_DIRECTORY),
|
||||
| O_DIRECTORY | O_NOFOLLOW),
|
||||
0));
|
||||
|
||||
/* Allow `tcgetpgrp'. */
|
||||
|
Loading…
Reference in New Issue
Block a user