files: simplify fchroot()
We can call fchdir into the taget directory and call chroot(".")
v2: fix one more comment speaking about proc
Signed-off-by:
Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment