Home
last modified time | relevance | path

Searched refs:IMA_POLICY (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_setup.sh59 if [ ! -f $IMA_POLICY ]; then
60 tst_res TINFO "missing $IMA_POLICY (reboot or CONFIG_IMA_WRITE_POLICY=y required)"
63 cat $IMA_POLICY > /dev/null 2>/dev/null
68 if [ ! -f $IMA_POLICY ]; then
69 tst_brk TCONF "missing $IMA_POLICY (reboot or CONFIG_IMA_WRITE_POLICY=y required)"
80 [ -f $IMA_POLICY ] || tst_brk TCONF "$err"
82 echo "" 2> log > $IMA_POLICY
92 grep $grep_params "$pattern" $IMA_POLICY
101 if ! grep $grep_params "$pattern" $IMA_POLICY; then
179 IMA_POLICY="$IMA_DIR/policy"
Dima_policy.sh29 exec 2>/dev/null 4>$IMA_POLICY
Dima_conditionals.sh33 ROD echo "measure $request=$value" \> $IMA_POLICY
Dima_measurements.sh21 [ -f "$IMA_POLICY" ] || tst_res TINFO "not using default policy"