Skip to content
Commit 92f28d97 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

scm: Require CAP_SYS_ADMIN over the current pidns to spoof pids.



Don't allow spoofing pids over unix domain sockets in the corner
cases where a user has created a user namespace but has not yet
created a pid namespace.

Cc: stable@vger.kernel.org
Reported-by: default avatarAndy Lutomirski <luto@amacapital.net>
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent a937536b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment