aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorLibravatar Simo Piiroinen <simo.piiroinen@jolla.com>2020-10-09 12:15:31 +0300
committerLibravatar Tomi Leppänen <tomi.leppanen@jolla.com>2021-02-19 09:38:54 +0200
commit80b73e75d82ec618625c5278828bb5b9b32d3114 (patch)
treeba062f63d9c343a47898b089d20d28cf24ca9f44 /COPYING
parentrefresh capabilities (#3945) (diff)
downloadfirejail-80b73e75d82ec618625c5278828bb5b9b32d3114.tar.gz
firejail-80b73e75d82ec618625c5278828bb5b9b32d3114.tar.zst
firejail-80b73e75d82ec618625c5278828bb5b9b32d3114.zip
Fix symlinks that go though /proc/self
When constructing sandbox fs, /etc/mtab which is symlink to /proc/self/mounts gets resolved as /proc/PID/mounts. Where PID is not the pid of the process that is going to get executed in the firejail -> the result is broken/unaccessible symlink from the application point of view. Use /proc/self/xxx type symlink target if it resolves similarly as the /proc/PID/xxx type would at the time of mapping. Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com> Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions