diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-03-02 16:52:05 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-03-03 13:55:58 -0500 |
commit | f156bc995b45e8242b8d5e851f988ecdb5505261 (patch) | |
tree | 3e0ee82be9f368167134e78369e7eb64b34b0050 /dynamic-layers/python2-layer/recipes-devtools/python/python_selinux.inc | |
parent | fe5a41ec9b5557493a8edb8f411f05f50ac7e1a6 (diff) | |
download | meta-selinux-f156bc995b45e8242b8d5e851f988ecdb5505261.tar.gz |
initscripts: restore security contexts after running populate-volatile.sh
Some directories are created by populate-volatile.sh. We need to restore
their security contexts.
Before the patch:
$ ls -dZ /tmp /var/tmp /var/lock /var/run
system_u:object_r:root_t /tmp
system_u:object_r:var_t /var/lock
system_u:object_r:var_t /var/run
system_u:object_r:var_t /var/tmp
After the patch:
$ ls -dZ /tmp /var/tmp /var/lock /var/run
system_u:object_r:tmp_t /tmp
system_u:object_r:var_lock_t /var/lock
system_u:object_r:var_run_t /var/run
system_u:object_r:tmp_t /var/tmp
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/python_selinux.inc')
0 files changed, 0 insertions, 0 deletions