mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 14:56:05 -06:00
Merge branch 'master' of https://github.com/netblue30/firejail
This commit is contained in:
commit
f8600a2fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ char *seccomp_check_list(const char *str) {
|
|||
const char *ptr1 = str;
|
||||
char *ptr2 = rv;
|
||||
while (*ptr1 != '\0') {
|
||||
if (isalnum(*ptr1) || *ptr1 == '_' || *ptr1 == ',' || *ptr1 == ':' || *ptr1 == '@')
|
||||
if (isalnum(*ptr1) || *ptr1 == '_' || *ptr1 == ',' || *ptr1 == ':' || *ptr1 == '@' || *ptr1 == '-')
|
||||
*ptr2++ = *ptr1++;
|
||||
else {
|
||||
fprintf(stderr, "Error: invalid syscall list\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue