cri-o/contrib/system_containers/fedora/run.sh
Antonio Murdaca ffed915554
contrib: import system containers
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-14 21:53:59 +01:00

8 lines
202 B
Bash
Executable file

#!/bin/sh
# Ensure that new process maintain this SELinux label
PID=$$
LABEL=`tr -d '\000' < /proc/$PID/attr/current`
printf %s $LABEL > /proc/self/attr/exec
exec /usr/bin/crio --log-level=$LOG_LEVEL