Lines Matching +full:event +full:- +full:touch
2 # SPDX-License-Identifier: GPL-2.0
3 set -e
4 if [ `id -u` -ne 0 ]; then
10 if [ $? -eq 1 ]; then
17 if [ $? -eq 1 ]; then
22 VERS=`$CP -V | awk '{print $1}'`
25 if [ $? -eq 1 ]; then
27 echo "Do you have libselinux-utils installed?"
34 echo "Boot with selinux=0 on the kernel command-line or"
40 ./mdp -m policy.conf file_contexts
41 $CP -U allow -M -o policy.$VERS policy.conf
43 mkdir -p /etc/selinux/dummy/policy
44 mkdir -p /etc/selinux/dummy/contexts/files
54 event * user_u:object_r:base_t:s0
56 touch /etc/selinux/dummy/contexts/virtual_domain_context
57 touch /etc/selinux/dummy/contexts/virtual_image_context
64 if [ ! -d /etc/selinux ]; then
65 mkdir -p /etc/selinux
67 if [ -f /etc/selinux/config ]; then
78 $SF -F file_contexts /
83 $SF -F file_contexts $mounts
85 echo "-F" > /.autorelabel