diff options
Diffstat (limited to 'src/firejail/fs_whitelist.c')
-rw-r--r-- | src/firejail/fs_whitelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index 5f8c734bc..af1993457 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -582,7 +582,7 @@ void fs_whitelist(void) { | |||
582 | // on some platforms (Debian wheezy, Ubuntu 14.04), it is a symlink to /run/shm | 582 | // on some platforms (Debian wheezy, Ubuntu 14.04), it is a symlink to /run/shm |
583 | if (strcmp(new_name, "/dev/shm") == 0 && strcmp(fname, "/run/shm") == 0); | 583 | if (strcmp(new_name, "/dev/shm") == 0 && strcmp(fname, "/run/shm") == 0); |
584 | // special handling for /dev/log, which can be a symlink to /run/systemd/journal/dev-log | 584 | // special handling for /dev/log, which can be a symlink to /run/systemd/journal/dev-log |
585 | if (strcmp(new_name, "/dev/log") == 0 && strcmp(fname, "/run/systemd/journal/dev-log") == 0); | 585 | else if (strcmp(new_name, "/dev/log") == 0 && strcmp(fname, "/run/systemd/journal/dev-log") == 0); |
586 | // special processing for /proc/self/fd files | 586 | // special processing for /proc/self/fd files |
587 | else if (strcmp(new_name, "/dev/fd") == 0 && strcmp(fname, "/proc/self/fd") == 0); | 587 | else if (strcmp(new_name, "/dev/fd") == 0 && strcmp(fname, "/proc/self/fd") == 0); |
588 | else if (strcmp(new_name, "/dev/stdin") == 0 && strcmp(fname, "/proc/self/fd/0") == 0); | 588 | else if (strcmp(new_name, "/dev/stdin") == 0 && strcmp(fname, "/proc/self/fd/0") == 0); |