]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit122ddc0d4d1a84c1fac2b49b4f8b5167f4398aef
treec32395b07fd0da960d26d8980f65ed8d97352165
parent77f0e35dc6a2d394959dad0a5315b45845febc5b
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