Home
last modified time | relevance | path

Searched refs:checkreqprot (Results 1 - 3 of 3) sorted by relevance

/third_party/selinux/libselinux/src/
H A Dcheckreqprot.c14 int fd, ret, checkreqprot = 0; in security_get_checkreqprot() local
23 snprintf(path, sizeof(path), "%s/checkreqprot", selinux_mnt); in security_get_checkreqprot()
34 if (sscanf(buf, "%d", &checkreqprot) != 1) in security_get_checkreqprot()
37 return checkreqprot; in security_get_checkreqprot()
/third_party/ltp/testcases/lib/
H A Dtst_security.sh150 cur_val=$(cat $dir/checkreqprot)
152 echo $new_val > $dir/checkreqprot
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_selinux.sh29 # initialized=1;enforcing=0;checkreqprot=1;
136 # initialized=1;enforcing=0;checkreqprot=1;
139 # enforce and checkreqprot measurement can be verified by
140 # comparing the value of the file "enforce" and "checkreqprot"
143 # if enforce and checkreqprot are measured correctly.
153 expected_checkreqprot_value=$(cat $SELINUX_DIR/checkreqprot)
155 tst_res TFAIL "checkreqprot: expected: $expected_checkreqprot_value, got: $checkreqprot_value"

Completed in 2 milliseconds