Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c85 static int check_exec_fault(int rights) in check_exec_fault() function
191 FAIL_IF(check_exec_fault(PROT_NONE)); in test()
195 FAIL_IF(check_exec_fault(PROT_READ)); in test()
199 FAIL_IF(check_exec_fault(PROT_WRITE)); in test()
203 FAIL_IF(check_exec_fault(PROT_READ | PROT_WRITE)); in test()
207 FAIL_IF(check_exec_fault(PROT_EXEC)); in test()
211 FAIL_IF(check_exec_fault(PROT_READ | PROT_EXEC)); in test()
215 FAIL_IF(check_exec_fault(PROT_WRITE | PROT_EXEC)); in test()
219 FAIL_IF(check_exec_fault(PROT_READ | PROT_WRITE | PROT_EXEC)); in test()