aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-04-06 13:28:19 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-04-08 01:12:12 +0200
commit1a3ade90371f7e9490e8f3be0aff83f2e178c327 (patch)
tree8baf4cd296f435ec60eb9e51b66ef116a1b26afd /passt.c
parent98031bee73b30ec82a4bc5f078175061d6157b4f (diff)
downloadpasst-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar.gz
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar.bz2
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar.lz
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar.xz
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.tar.zst
passt-1a3ade90371f7e9490e8f3be0aff83f2e178c327.zip
nstool: Enter holder's cwd when changing mount ns with nstool exec
If we enter a mount namespace with nstool exec our working directory will be changed to / in the new mount ns. This is surprising if we haven't actually altered any mounts yet in the new ns. Instead, change the working directory to match that of the holder process in this situation. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions