summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-24 21:14:08 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:11 -0700
commiteddf1bca24d49055aa409315fd218561005fba07 (patch)
tree94409022cd7b0f585b1995a8204e725df580f611
parent3bfbe50bd85feb2b26327032dc5fb68773cc785f (diff)
[PATCH] remove selinux support from udev core as it's no longer needed.
-rw-r--r--udev-add.c4
-rw-r--r--udev_selinux.h10
2 files changed, 0 insertions, 14 deletions
diff --git a/udev-add.c b/udev-add.c
index 369ea82b6c..aef755442f 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -39,7 +39,6 @@
#include "udev.h"
#include "udev_lib.h"
#include "udev_version.h"
-#include "udev_selinux.h"
#include "logging.h"
#include "namedev.h"
#include "udevdb.h"
@@ -277,9 +276,6 @@ static int create_node(struct udevice *dev, int fake)
}
}
- if (!fake)
- selinux_add_node(filename);
-
/* create symlink if requested */
foreach_strpart(dev->symlink, " ", pos, len) {
strfieldcpymax(linkname, pos, len+1);
diff --git a/udev_selinux.h b/udev_selinux.h
deleted file mode 100644
index 77a1f36bd9..0000000000
--- a/udev_selinux.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef UDEV_SELINUX_H
-#define UDEV_SELINUX_H
-
-#ifdef USE_SELINUX
-extern void selinux_add_node(char *filename);
-#else
-static void selinux_add_node(char *filename) { }
-#endif
-
-#endif