Re: [systemd-devel] SELinux code in method_{disable, enable}_unit_files_generic() functions

2014-11-06 Thread Lennart Poettering
On Tue, 04.11.14 09:17, Laurent Bigonville (bi...@debian.org) wrote: > Hello, > > After looking a bit around the code, I've two questions about the > SELinux code in method_{disable,enable}_unit_files_generic() functions. > > In method_enable_unit_files_generic(), > mac_selinux_unit_access_check

[systemd-devel] SELinux code in method_{disable, enable}_unit_files_generic() functions

2014-11-04 Thread Laurent Bigonville
Hello, After looking a bit around the code, I've two questions about the SELinux code in method_{disable,enable}_unit_files_generic() functions. In method_enable_unit_files_generic(), mac_selinux_unit_access_check_strv() is used to check the SELinux permissions while in method_disable_unit_files_