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 c1a7be9a8..947f12472 100644 --- a/src/firejail/fs_dev.c +++ b/src/firejail/fs_dev.c | |||
@@ -281,10 +281,12 @@ void fs_private_dev(void){ | |||
281 | fs_logger("clone /dev/pts"); | 281 | fs_logger("clone /dev/pts"); |
282 | 282 | ||
283 | // stdin, stdout, stderr | 283 | // stdin, stdout, stderr |
284 | #if 0 | ||
284 | create_link("/proc/self/fd", "/dev/fd"); | 285 | create_link("/proc/self/fd", "/dev/fd"); |
285 | create_link("/proc/self/fd/0", "/dev/stdin"); | 286 | create_link("/proc/self/fd/0", "/dev/stdin"); |
286 | create_link("/proc/self/fd/1", "/dev/stdout"); | 287 | create_link("/proc/self/fd/1", "/dev/stdout"); |
287 | create_link("/proc/self/fd/2", "/dev/stderr"); | 288 | create_link("/proc/self/fd/2", "/dev/stderr"); |
289 | #endif | ||
288 | 290 | ||
289 | // symlinks for DVD/CD players | 291 | // symlinks for DVD/CD players |
290 | if (stat("/dev/sr0", &s) == 0) { | 292 | if (stat("/dev/sr0", &s) == 0) { |