commit | da4208c8808e6a62fcfe848343abd3e2f3b339cc | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Mon Jul 07 14:59:06 2014 -0400 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Mon Jul 07 14:59:06 2014 -0400 |
tree | 51a46dde77a644a71e555be19a005e30e7867619 | |
parent | f58dbddbf5d4f10732501e91427afa421f463be5 [diff] |
Do not try to set restorecon_last on /sys entries. There is no benefit to setting restorecon_last on /sys entries since they are re-created on each boot and doing so triggers sys_admin denials. Also, apply the same partial matching optimization to restorecon_recursive on subdirectories of /sys as we apply on the top-level restorecon_recursive /sys. Change-Id: I90ea143e189db44bf8dc6c93c08d794e80d5539f Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>