This commit is contained in:
netblue30 2017-08-12 09:33:43 -04:00
commit f8600a2fc5

View file

@ -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");