Re: [PATCH 3/2] scm: Stop passing struct cred

From: David Miller
Date: Fri Apr 05 2013 - 00:48:03 EST


From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
Date: Wed, 03 Apr 2013 20:28:16 -0700

>
> Now that uids and gids are completely encapsulated in kuid_t
> and kgid_t we no longer need to pass struct cred which allowed
> us to test both the uid and the user namespace for equality.
>
> Passing struct cred potentially allows us to pass the entire group
> list as BSD does but I don't believe the cost of cache line misses
> justifies retaining code for a future potential application.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

I'll apply this to net-next once #1 and #2 propagate there.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/