]> git.ipfire.org Git - thirdparty/systemd.git/commit
selinux: fix missing SELinux unit access check 362/head
authorHATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Wed, 24 Jun 2015 03:01:26 +0000 (12:01 +0900)
committerHATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Thu, 25 Jun 2015 03:01:03 +0000 (12:01 +0900)
commit4938696301a914ec26bcfc60bb99a1e9624e3789
treec5085ebcd1a678ba7c674f70c97ceeffa41c7bcb
parentff99498535bbc97601d89925fd81cd3ac9120994
selinux: fix missing SELinux unit access check

Currently, SELinux unit access check is not performed if a given unit
file has not been registered in a hash table. This is because function
manager_get_unit() only tries to pick up a Unit object from a Unit
hash table. Instead, we use function manager_load_unit() searching
Unit file pathes for the given Unit file.
src/core/selinux-access.c