All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] keys: play nicely with user namespaces
@ 2008-12-11 23:23 Serge E. Hallyn
       [not found] ` <20081211232323.GA8343-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Serge E. Hallyn @ 2008-12-11 23:23 UTC (permalink / raw)
  To: David Howells, Eric W. Biederman; +Cc: Linux Containers

Hi David,

so here is a first attempt at getting keys and uid namespaces
to play nice.  The semantics need some discussion.  As I recall
Eric and yourself appeared to agree that some keyrings should
be inherited into child user namespaces.  I segragate them
cleanly bc that appears to be the simplest thing to do especially
given the use of i.e. lookup_by_name("uid.500").  IMO it shouldn't
be a big problem - userspace can always list keys it wants into a
file, start a new user namespace, then re-read them out of the
tempfile...

Comments appreciated.

thanks,
-serge

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

end of thread, other threads:[~2008-12-19 14:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 23:23 [PATCH 0/3] keys: play nicely with user namespaces Serge E. Hallyn
     [not found] ` <20081211232323.GA8343-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-11 23:23   ` [PATCH 1/3] keys: distinguish per-uid keys in different namespaces Serge E. Hallyn
2008-12-11 23:23   ` [PATCH 2/3] keys: consider user namespace in key_permission Serge E. Hallyn
2008-12-11 23:24   ` [PATCH 3/3] keys: skip keys from another user namespace Serge E. Hallyn
2008-12-12 12:51   ` [PATCH 0/3] keys: play nicely with user namespaces David Howells
     [not found]     ` <3507.1229086294-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-12 14:17       ` Serge E. Hallyn
     [not found]     ` <20081212141707.GB9571-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-12 15:57       ` David Howells
     [not found]         ` <20081212162220.GA15520-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-12 16:42           ` David Howells
     [not found]             ` <26177.1229100126-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-12 17:33               ` Serge E. Hallyn
     [not found]             ` <20081212173312.GA19085-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-12 18:38               ` David Howells
     [not found]                 ` <28464.1229107090-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-12 19:31                   ` Serge E. Hallyn
     [not found]         ` <25987.1229097458-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-12 16:22           ` Serge E. Hallyn
2008-12-17 23:55           ` Serge E. Hallyn
     [not found]         ` <20081217235536.GA932-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-18  1:03           ` David Howells
2008-12-18 13:46           ` David Howells
     [not found]             ` <3547.1229607983-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-18 17:46               ` Serge E. Hallyn
     [not found]             ` <20081218174613.GA13968-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-19  0:56               ` David Howells
     [not found]                 ` <7376.1229648192-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-19  1:45                   ` Serge E. Hallyn
     [not found]                 ` <20081219014555.GA25688-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-19  2:30                   ` David Howells
     [not found]                     ` <7658.1229653824-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-19  9:07                       ` Eric W. Biederman
     [not found]                     ` <m1r6447csx.fsf-B27657KtZYmhTnVgQlOflh2eb7JE58TQ@public.gmane.org>
2008-12-19 11:17                       ` David Howells
     [not found]                         ` <10350.1229685462-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-19 14:37                           ` Serge E. Hallyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.