diff options
Diffstat (limited to 'src/firejail/fs_dev.c')
-rw-r--r-- | src/firejail/fs_dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c index aa5f7c28b..0186c6f82 100644 --- a/src/firejail/fs_dev.c +++ b/src/firejail/fs_dev.c | |||
@@ -244,6 +244,7 @@ void fs_private_dev(void){ | |||
244 | } | 244 | } |
245 | 245 | ||
246 | 246 | ||
247 | #if 0 | ||
247 | void fs_dev_shm(void) { | 248 | void fs_dev_shm(void) { |
248 | uid_t uid = getuid(); // set a new shm only if we started as root | 249 | uid_t uid = getuid(); // set a new shm only if we started as root |
249 | if (uid) | 250 | if (uid) |
@@ -282,6 +283,7 @@ void fs_dev_shm(void) { | |||
282 | 283 | ||
283 | } | 284 | } |
284 | } | 285 | } |
286 | #endif | ||
285 | 287 | ||
286 | static void disable_file_or_dir(const char *fname) { | 288 | static void disable_file_or_dir(const char *fname) { |
287 | if (arg_debug) | 289 | if (arg_debug) |