mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pid ns feature request
@ 2014-04-25 15:58 Andy Lutomirski
  2014-04-25 19:37 ` Eric W. Biederman
  0 siblings, 1 reply; 10+ messages in thread
From: Andy Lutomirski @ 2014-04-25 15:58 UTC (permalink / raw)
  To: linux-kernel, Eric W. Biederman, Serge E. Hallyn

Unless I'm missing some trick, it's currently rather painful to mount
a namespace /proc.  You have to actually be in the pid namespace to
mount the correct /proc instance, and you can't unmount the old /proc
until you've mounted the new /proc.  This means that you have to fork
into the new pid namespace before you can finish setting it up.

Would it make sense to add a mount option to procfs to request a mount
for pid_ns_for_children instead of task_active_pid_ns?

--Andy

-- 
Andy Lutomirski
AMA Capital Management, LLC

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-04-29 16:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-25 15:58 pid ns feature request Andy Lutomirski
2014-04-25 19:37 ` Eric W. Biederman
2014-04-25 19:50   ` Andy Lutomirski
2014-04-25 20:25     ` Eric W. Biederman
2014-04-25 20:46       ` Andy Lutomirski
2014-04-25 20:55         ` Andy Lutomirski
2014-04-25 21:17         ` Eric W. Biederman
2014-04-25 21:23           ` Andy Lutomirski
2014-04-28 13:39     ` Serge Hallyn
2014-04-29 16:32       ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®