commit | d72d78d96990b546bbf0b4a64c3b7320a54eabb9 | [log] [tgz] |
---|---|---|
author | Brian Murray <Brian@Clover.com> | Fri Jun 23 09:01:38 2017 -0700 |
committer | Brian Murray <Brian@Clover.com> | Fri Jun 23 09:08:33 2017 -0700 |
tree | 68d9fd1f3ff1348c948897092150c30812261bed | |
parent | e1ef2190d51dcf48a30f233961c521e64388d1b9 [diff] |
Improve selinux utils wrappers Added checks to wrapper scripts for selinux utils. Before running commands, verify enviromental variables are set and that required files exists. Return an error code in the event of failure. Test: Verify audit2allow, audit2why, sediff, seinfo commands still run. Test: Verify failure if prerequisites are not satisfied. Change-Id: I3705a90e0a81704829aa5a5feedbfe22aec5fa55 Signed-off-by: Brian Murray <Brian@Clover.com>