rules/70-einval.rules
raw| 1 | ## These are rules are to locate poorly written programs. |
| 2 | ## Its never planned to waste time on a syscall with incorrect parameters |
| 3 | ## This is more of a debugging step than something people should run with |
| 4 | ## in production. |
| 5 | -a never,exit -F arch=b64 -S rt_sigreturn |
| 6 | -a always,exit -S all -F exit=-EINVAL -F key=einval-retcode |