summaryrefslogtreecommitdiff
path: root/udev/test-udev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-10 00:46:17 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-10 00:46:17 +0200
commit4f4b12c20388ff2cb158b040e3193f86cf7a3b96 (patch)
tree41449172690d16f6deba140d174343478f806d23 /udev/test-udev.c
parent6b12bdb62460a0bdc08d5e020a64c18bc1672bb1 (diff)
libudev: add selinux
Diffstat (limited to 'udev/test-udev.c')
-rw-r--r--udev/test-udev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/udev/test-udev.c b/udev/test-udev.c
index 6c01bdbcd4..58bc28e02a 100644
--- a/udev/test-udev.c
+++ b/udev/test-udev.c
@@ -33,7 +33,6 @@
#include "udev.h"
#include "udev_rules.h"
-#include "udev_selinux.h"
static void asmlinkage sig_handler(int signum)
{
@@ -63,7 +62,6 @@ int main(int argc, char *argv[])
if (udev == NULL)
exit(1);
dbg(udev, "version %s\n", VERSION);
- selinux_init(udev);
/* set signal handlers */
memset(&act, 0x00, sizeof(act));
@@ -135,7 +133,6 @@ int main(int argc, char *argv[])
fail:
udev_rules_cleanup(&rules);
sysfs_cleanup();
- selinux_exit(udev);
exit:
udev_unref(udev);
if (retval != 0)