diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 1106ed84e..40e2e4330 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -747,6 +747,8 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
747 | } | 747 | } |
748 | else if (strncmp(ptr, "read-only ", 10) == 0) | 748 | else if (strncmp(ptr, "read-only ", 10) == 0) |
749 | ptr += 10; | 749 | ptr += 10; |
750 | else if (strncmp(ptr, "noexec ", 7) == 0) | ||
751 | ptr += 7; | ||
750 | else if (strncmp(ptr, "tmpfs ", 6) == 0) { | 752 | else if (strncmp(ptr, "tmpfs ", 6) == 0) { |
751 | if (getuid() != 0) { | 753 | if (getuid() != 0) { |
752 | fprintf(stderr, "Error: tmpfs available only when running the sandbox as root\n"); | 754 | fprintf(stderr, "Error: tmpfs available only when running the sandbox as root\n"); |