scm: Stop passing struct cred
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 3 Apr 2013 17:28:16 +0000 (17:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 22:58:55 +0000 (18:58 -0400)
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@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found