Re: "user" chroot (patch)

2017-03-11 Thread Mateusz Guzik
On Sat, Mar 11, 2017 at 05:02:14AM +, Kristaps Dzonsons wrote: > In running risky non-root applications, it'd be great to chroot(2) > without needing to be root. But the manpage says no. So I added a > system call, uchroot(2), that does the following: > > (1) performs the change-root w/o

"user" chroot (patch)

2017-03-10 Thread Kristaps Dzonsons
In running risky non-root applications, it'd be great to chroot(2) without needing to be root. But the manpage says no. So I added a system call, uchroot(2), that does the following: (1) performs the change-root w/o checking for root (2) disables setuid (flag is inherited) The (2) plugs the