projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54522e9
)
tests: force booting the kernel with SELinux
author
Martin Pitt
<martin.pitt@ubuntu.com>
Thu, 23 Jun 2016 08:25:44 +0000
(10:25 +0200)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Fri, 24 Jun 2016 09:28:35 +0000
(11:28 +0200)
selinux=1 is not sufficient when running on a kernel which also has another LSM
(such as AppArmor) enabled and defaults to that.
test/TEST-06-SELINUX/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-06-SELINUX/test.sh
b/test/TEST-06-SELINUX/test.sh
index
4f5895b
..
1ae4a7c
100755
(executable)
--- a/
test/TEST-06-SELINUX/test.sh
+++ b/
test/TEST-06-SELINUX/test.sh
@@
-10,7
+10,7
@@
TEST_DESCRIPTION="SELinux tests"
. $TEST_BASE_DIR/test-functions
SETUP_SELINUX=yes
-KERNEL_APPEND="$KERNEL_APPEND selinux=1"
+KERNEL_APPEND="$KERNEL_APPEND selinux=1
security=selinux
"
check_result_qemu() {
ret=1