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 /udevstart.c | |
parent | 36dddd1ca40b4abbe3352b4cb93b465f4038666e (diff) |
selinux: init once in the daemon, not in every event process
Diffstat (limited to 'udevstart.c')
-rw-r--r-- | udevstart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udevstart.c b/udevstart.c index 0d9b4f4004..d0a1ded2be 100644 --- a/udevstart.c +++ b/udevstart.c @@ -40,6 +40,7 @@ #include "udev.h" #include "udev_rules.h" +#include "udev_selinux.h" static const char *udev_run_str; static const char *udev_log_str; @@ -339,6 +340,7 @@ int main(int argc, char *argv[], char *envp[]) logging_init("udevstart"); udev_config_init(); + selinux_init(); dbg("version %s", UDEV_VERSION); udev_run_str = getenv("UDEV_RUN"); |