Re: [PATCH v2] tst_security.sh: Use enforce toggle to trigger SELinux measurement
Andrea Cervesato via ltp <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi Avinesh, The patch looks good. For some reason we didn't receive the agent review which spotted a bug in the test as well. I think this is wroth to fix on a separate patch as well. WDYT? --- Pre-existing issue (not introduced by this patch): tst_disable_selinux() at line 122 uses "cat 0 > $f", which tries to read a file named "0" rather than writing the value 0 to the enforce file. This should be "echo 0 > $f". -- Andrea Cervesato SUSE QE Automation Engineer Linux andrea.cervesato-IBi9RG/[email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp