mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
- Always report the current process as capset now always only works on the current process. This prevents reporting 0 or a random pid in a random pid namespace. - Don't bother to pass the pid as is available. Signed-off-by: "Eric W. Biederman" <[email protected]> (cherry picked from commit bcc85f0af31af123e32858069eb2ad8f39f90e67) (cherry picked from commit f911cac4556a7a23e0b3ea850233d13b32328692) Signed-off-by: Richard Guy Briggs <[email protected]> [eparis: fix build error when audit disabled] Signed-off-by: Eric Paris <[email protected]>