]> err.no Git - systemd/commitdiff
[PATCH] remove selinux support from udev core as it's no longer needed.
authorgreg@kroah.com <greg@kroah.com>
Thu, 25 Mar 2004 05:14:08 +0000 (21:14 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:11 +0000 (21:35 -0700)
udev-add.c
udev_selinux.h [deleted file]

index 369ea82b6c33a25cf844cd7dca296cf17f71e04c..aef755442fd3c4ecfab6d36489d65cb8c963a28e 100644 (file)
@@ -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 (file)
index 77a1f36..0000000
+++ /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