Linus Torvalds 83f1b4ba91 net: fix incorrect credentials passing
Commit 257b5358b32f ("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>
Cc: stable@vger.kernel.org
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>
2013-04-20 16:56:42 -04:00
..
2013-02-27 22:51:08 -05:00
2013-01-10 00:51:54 +01:00
2012-08-09 16:18:06 -07:00
2012-07-19 10:43:03 -07:00
2012-10-08 17:42:36 -04:00
2013-01-27 22:46:33 -05:00
2013-02-21 18:15:58 -05:00
2012-08-14 14:28:32 -07:00
2013-02-21 18:15:58 -05:00
2012-05-17 18:45:20 -04:00
2012-05-19 01:08:16 -04:00
2012-11-03 14:59:04 -04:00
2013-04-20 16:56:42 -04:00
2012-08-06 13:40:47 -07:00
2013-02-28 15:37:29 -05:00
2012-05-16 15:17:08 -04:00