aboutsummaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serge@hallyn.com>2011-03-23 16:43:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:47:04 -0700
commit39fd33933b0209e4b6254743f2cede07c5ad4c52 (patch)
tree394f09178324fd1e31847a6c71d81f01e6236b02 /security/commoncap.c
parentuserns: allow sethostname in a container (diff)
downloadlinux-dev-39fd33933b0209e4b6254743f2cede07c5ad4c52.tar.xz
linux-dev-39fd33933b0209e4b6254743f2cede07c5ad4c52.zip
userns: allow killing tasks in your own or child userns
Changelog: Dec 8: Fixed bug in my check_kill_permission pointed out by Eric Biederman. Dec 13: Apply Eric's suggestion to pass target task into kill_ok_by_cred() for clarity Dec 31: address comment by Eric Biederman: don't need cred/tcred in check_kill_permission. Jan 1: use const cred struct. Jan 11: Per Bastian Blank's advice, clean up kill_ok_by_cred(). Feb 16: kill_ok_by_cred: fix bad parentheses Feb 23: per akpm, let compiler inline kill_ok_by_cred Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Daniel Lezcano <daniel.lezcano@free.fr> Acked-by: David Howells <dhowells@redhat.com> Cc: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions