diff options
author | 2019-07-15 13:19:51 +0200 | |
---|---|---|
committer | 2019-07-15 11:19:51 +0000 | |
commit | 429b7f89458059216a76f88bdeaa4fdead4636b3 (patch) | |
tree | f0033b71e79ffa48549c81329847b51d7e40ad89 | |
parent | apparmor: allow writing to /proc/@{PID}/comm (diff) | |
download | firejail-429b7f89458059216a76f88bdeaa4fdead4636b3.tar.gz firejail-429b7f89458059216a76f88bdeaa4fdead4636b3.tar.zst firejail-429b7f89458059216a76f88bdeaa4fdead4636b3.zip |
profile support for allow-debuggers (#2856)
-rw-r--r-- | src/firejail/profile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 99d83c16a..7303d30f8 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -941,6 +941,11 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
941 | return 0; | 941 | return 0; |
942 | } | 942 | } |
943 | 943 | ||
944 | if (strcmp(ptr, "allow-debuggers") == 0) { | ||
945 | arg_allow_debuggers = 1; | ||
946 | return 0; | ||
947 | } | ||
948 | |||
944 | if (strcmp(ptr, "x11 none") == 0) { | 949 | if (strcmp(ptr, "x11 none") == 0) { |
945 | arg_x11_block = 1; | 950 | arg_x11_block = 1; |
946 | return 0; | 951 | return 0; |