]> 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)
commitf4c16e5d23bad099a60be805cf57910601a418a4
treec32395b07fd0da960d26d8980f65ed8d97352165
parent6557a081ce751f6e469583bbe1bbfdf48c0d8179
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