diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2017-08-10 23:30:14 +0300 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2017-08-10 23:30:14 +0300 |
commit | c8e07a6e2dcde0baf4d15e32c244e2f8c3c2da20 (patch) | |
tree | 6efdf53f35afc89b5cbb75ef676b099a209620ad /src | |
parent | fix mate-calculator profile (diff) | |
download | firejail-c8e07a6e2dcde0baf4d15e32c244e2f8c3c2da20.tar.gz firejail-c8e07a6e2dcde0baf4d15e32c244e2f8c3c2da20.tar.zst firejail-c8e07a6e2dcde0baf4d15e32c244e2f8c3c2da20.zip |
Enable syscall groups for non-internal use
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/seccomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/seccomp.c b/src/firejail/seccomp.c index 13d8d44fa..8314a6bc9 100644 --- a/src/firejail/seccomp.c +++ b/src/firejail/seccomp.c | |||
@@ -41,7 +41,7 @@ char *seccomp_check_list(const char *str) { | |||
41 | const char *ptr1 = str; | 41 | const char *ptr1 = str; |
42 | char *ptr2 = rv; | 42 | char *ptr2 = rv; |
43 | while (*ptr1 != '\0') { | 43 | while (*ptr1 != '\0') { |
44 | if (isalnum(*ptr1) || *ptr1 == '_' || *ptr1 == ',' || *ptr1 == ':') | 44 | if (isalnum(*ptr1) || *ptr1 == '_' || *ptr1 == ',' || *ptr1 == ':' || *ptr1 == '@') |
45 | *ptr2++ = *ptr1++; | 45 | *ptr2++ = *ptr1++; |
46 | else { | 46 | else { |
47 | fprintf(stderr, "Error: invalid syscall list\n"); | 47 | fprintf(stderr, "Error: invalid syscall list\n"); |