[systemd-devel] [PATCH 1/2] systemd: mount the securityfs filesystem at early stage
Roberto Sassu
roberto.sassu at polito.it
Mon Feb 20 10:02:41 PST 2012
On 02/20/2012 06:04 PM, Lennart Poettering wrote:
> On Wed, 15.02.12 14:23, Roberto Sassu (roberto.sassu at polito.it) wrote:
>
>> The mount of the securityfs filesystem is now performed in the main systemd
>> executable as it is used by IMA to provide the interface for loading custom
>> policies. The unit file 'units/sys-kernel-security.mount' has been removed
>> because it is not longer necessary.
>>
>> +#define SECURITYFS_MNTPOINT "/sys/kernel/security"
>> +
>
> Just use the proper path name here. Not sure why we would want a macro
> for this, as things are simpler with literal strings for this, the path
> is unlikely to change and we generaly don't do this for any of the other
> paths.
>
Hi Lennart
thanks for the review! I'm starting to address issues now.
I created the above macro to avoid that changing this path breaks
other code, but probably yes, its value is unlikely to change.
I will remove it.
Roberto Sassu
> Lennart
>
More information about the systemd-devel
mailing list