Files
i2som-imx-linux/include/net
Linus Torvalds 5428146ebe net: fix incorrect credentials passing
commit 83f1b4ba91 upstream.

Commit 257b5358b3 ("scm: Capture the full credentials of the scm
sender") changed the credentials passing code to pass in the effective
uid/gid instead of the real uid/gid.

Obviously this doesn't matter most of the time (since normally they are
the same), but it results in differences for suid binaries when the wrong
uid/gid ends up being used.

This just undoes that (presumably unintentional) part of the commit.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Serge E. Hallyn <serge@hallyn.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2: scm_set_cred() does user namespace conversion
 of euid/egid using cred_to_ucred().  Add and use cred_real_to_ucred() to
 do the same thing for real uid/gid.]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-04-25 20:25:43 +01:00
..
2011-08-13 01:10:16 -07:00
2011-07-26 16:49:47 -07:00
2012-06-10 14:42:03 +01:00
2011-07-26 16:49:47 -07:00
2013-03-06 03:24:21 +00:00
2011-07-17 23:11:35 -07:00
2013-03-06 03:24:21 +00:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-17 14:16:58 -04:00
2013-04-25 20:25:43 +01:00
2011-06-11 16:23:59 -07:00
2013-01-16 01:13:25 +00:00