On 08/16/2018 07:59 PM, DJ Delorie wrote: > This still uses CLONE_NEWPID. I recall spending a lot of time trying to > get the "su-less sudo" working correctly, and it's fragile but works > as-is. Please have a look at misc/tst-ttyname. It uses a bind mount to put /proc into the chroot, and it does not have this problem. Thanks, Florian