jail: call chdir(/) after pivot_root()
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Sun, 29 May 2016 23:39:12 +0000 (23:39 +0000)
committerJohn Crispin <john@phrozen.org>
Wed, 1 Jun 2016 08:27:34 +0000 (10:27 +0200)
commit8e4fd3397dcdf79c0e0af9e12dc2bcf22d83d645
treec9ab3b469ef0209fd6d67d6b59989a025680276f
parent9a6f83d3c168523ac7b898ae481c2fd8c501d6a6
jail: call chdir(/) after pivot_root()

pivot_root(2) man page recommend calling chdir(/), so do it

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
jail/jail.c