[Devel] Re: [PATCH RFC] User namespaces: general cleanups

David Howells dhowells at redhat.com
Mon Oct 13 16:10:56 PDT 2008


Serge E. Hallyn <serue at us.ibm.com> wrote:

> With the following patch applied to the base next-creds-subsys branch,
> you can track that if you login as root, then do 'su hallyn', where
> hallyn is uid 500, then uid 500 gets allocated twice.  So free is never
> called on it.

Which following patch?

Actually, I've suspected that the user_struct accounting is not quite right for
a while.  Even before I did my creds stuff, I'd occasionally multiple per-UID
keyrings cropping up with the same ID - indicating multiple user_structs for
the same UID.

David
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list