diff options
author | smitsohu <smitsohu@gmail.com> | 2021-06-08 16:00:19 +0200 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2021-06-08 18:15:12 +0200 |
commit | 5b921120a3615534b8cfce39090224c1e22edb47 (patch) | |
tree | 0852f5402f9785dc1ebdd236eb31a9c40b02adf4 /src/firejail/fs_whitelist.c | |
parent | refactor mounting (diff) | |
download | firejail-5b921120a3615534b8cfce39090224c1e22edb47.tar.gz firejail-5b921120a3615534b8cfce39090224c1e22edb47.tar.zst firejail-5b921120a3615534b8cfce39090224c1e22edb47.zip |
add more EUID switching
always access files under control of the user
with effective user id of the user
Diffstat (limited to 'src/firejail/fs_whitelist.c')
-rw-r--r-- | src/firejail/fs_whitelist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index ec3fe4c5b..370035a4d 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -257,6 +257,7 @@ static void whitelist_symlink(const char *link, const char *target) { | |||
257 | } | 257 | } |
258 | 258 | ||
259 | static void globbing(const char *pattern) { | 259 | static void globbing(const char *pattern) { |
260 | EUID_ASSERT(); | ||
260 | assert(pattern); | 261 | assert(pattern); |
261 | 262 | ||
262 | // globbing | 263 | // globbing |