[PATCH v2] linux: Split tst-ttyname
DJ Delorie
dj@redhat.com
Wed Jun 7 23:28:03 GMT 2023
Florian Weimer via Libc-alpha <libc-alpha@sourceware.org> writes:
> The systemd developers say that mounting /proc before the
> unshare (CLONE_NEWNS | CLONE_NEWPID) call should avoid the failure.
Beware doing this - /proc's contents depend on which pid namespace it's
in, so that things like /proc/self and /proc/$pid work correctly. If
you mount /proc and then change the pid namespace, /proc will be wrong.
More information about the Libc-alpha
mailing list