diff options
author | 2020-11-24 18:32:15 +0100 | |
---|---|---|
committer | 2020-11-24 18:32:15 +0100 | |
commit | 9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62 (patch) | |
tree | 5672b9501bd80e8a491c6d95eacdd0c0b70dd539 /src | |
parent | fix hidepid mount detection (diff) | |
download | firejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.tar.gz firejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.tar.zst firejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.zip |
join-or-start hidepid fix
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 5ddf6fdbb..dc37a2820 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -1497,7 +1497,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
1497 | if (checkcfg(CFG_JOIN) || getuid() == 0) { | 1497 | if (checkcfg(CFG_JOIN) || getuid() == 0) { |
1498 | // try to join by name only | 1498 | // try to join by name only |
1499 | pid_t pid; | 1499 | pid_t pid; |
1500 | if (!name2pid(ptr + 14, &pid)) { | 1500 | if (!read_pid(ptr + 14, &pid)) { |
1501 | if (!cfg.shell && !arg_shell_none) | 1501 | if (!cfg.shell && !arg_shell_none) |
1502 | cfg.shell = guess_shell(); | 1502 | cfg.shell = guess_shell(); |
1503 | 1503 | ||