[systemd-devel] [PATCH 1/2] systemd: mount the securityfs filesystem at early stage
Lennart Poettering
lennart at poettering.net
Mon Feb 20 09:04:37 PST 2012
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.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list