summaryrefslogtreecommitdiff
path: root/udev_node.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2006-08-18 03:47:59 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-18 03:47:59 +0200
commiteef7c9a385575375a3e3310900022b37777aeb6c (patch)
treede14e8bd1130e7b539d516b8010168ff3b11df4f /udev_node.c
parent36dddd1ca40b4abbe3352b4cb93b465f4038666e (diff)
selinux: init once in the daemon, not in every event process
Diffstat (limited to 'udev_node.c')
-rw-r--r--udev_node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/udev_node.c b/udev_node.c
index ee59d4ae7c..12a738e4e2 100644
--- a/udev_node.c
+++ b/udev_node.c
@@ -130,8 +130,6 @@ int udev_node_add(struct udevice *udev, struct udevice *udev_old)
int i;
int retval = 0;
- selinux_init();
-
snprintf(filename, sizeof(filename), "%s/%s", udev_root, udev->name);
filename[sizeof(filename)-1] = '\0';