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)
commit6b0ee8c036ecb3ac92e18e6ca0dca7bff88beaf0
treec32395b07fd0da960d26d8980f65ed8d97352165
parentd978a6361ad13f1f9694fcb7b5852d253a544d92
scm: Stop passing struct cred

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>
include/net/af_unix.h
include/net/scm.h
net/core/scm.c
net/unix/af_unix.c