From eddf1bca24d49055aa409315fd218561005fba07 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 24 Mar 2004 21:14:08 -0800 Subject: [PATCH] [PATCH] remove selinux support from udev core as it's no longer needed. --- udev-add.c | 4 ---- udev_selinux.h | 10 ---------- 2 files changed, 14 deletions(-) delete mode 100644 udev_selinux.h diff --git a/udev-add.c b/udev-add.c index 369ea82b..aef75544 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 77a1f36b..00000000 --- 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 -- 2.39.5