]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
selftests/capabilities: Add tests for capability evolution
authorAndy Lutomirski <luto@kernel.org>
Fri, 4 Sep 2015 22:42:48 +0000 (15:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit32ae976ed3b5ba39c9208ace41bcdf4157d21db3
tree207faf9bc45d21e6beacad07431112442f262d99
parent58319057b7847667f0c9585b9de0e8932b0fdb08
selftests/capabilities: Add tests for capability evolution

This test focuses on ambient capabilities.  It requires either root or
the ability to create user namespaces.  Some of the test cases will be
skipped for nonroot users.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Christoph Lameter <cl@linux.com> # Original author
Cc: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Cc: James Morris <james.l.morris@oracle.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/capabilities/.gitignore [new file with mode: 0644]
tools/testing/selftests/capabilities/Makefile [new file with mode: 0644]
tools/testing/selftests/capabilities/test_execve.c [new file with mode: 0644]
tools/testing/selftests/capabilities/validate_cap.c [new file with mode: 0644]