Please sign in to comment.
net: fix incorrect credentials passing
Commit 257b535 ("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 <email@example.com> Cc: Eric W. Biederman <firstname.lastname@example.org> Cc: Serge E. Hallyn <email@example.com> Cc: David S. Miller <firstname.lastname@example.org> Cc: email@example.com Signed-off-by: Linus Torvalds <firstname.lastname@example.org> Acked-by: "Eric W. Biederman" <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
- Loading branch information...