diff options
author | Harald Hoyer <harald@redhat.com> | 2006-08-18 03:47:59 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-18 03:47:59 +0200 |
commit | eef7c9a385575375a3e3310900022b37777aeb6c (patch) | |
tree | de14e8bd1130e7b539d516b8010168ff3b11df4f /udevd.c | |
parent | 36dddd1ca40b4abbe3352b4cb93b465f4038666e (diff) |
selinux: init once in the daemon, not in every event process
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,7 @@ #include "udev.h" #include "udev_rules.h" #include "udevd.h" +#include "udev_selinux.h" static struct udev_rules rules; static int udevd_sock = -1; @@ -931,6 +932,7 @@ int main(int argc, char *argv[], char *envp[]) err("fatal, could not open /dev/null: %s", strerror(errno)); udev_config_init(); + selinux_init(); dbg("version %s", UDEV_VERSION); if (getuid() != 0) { |