diff options
author | harald@redhat.com <harald@redhat.com> | 2004-10-05 23:39:05 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:37:02 -0700 |
commit | 9825617b078c2122d130676e934ce21714b60e8b (patch) | |
tree | 05c15f0fb69faf4f0a2bd42031e52777d1e7a284 /Makefile | |
parent | ff213aecf68b3427f0a8b2c8a1074851b1511299 (diff) |
[PATCH] PATCH selinux for udev
Daniel Walsh's working selinux patch
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -25,6 +25,8 @@ USE_LOG = true # Leave this set to `false' for production use. DEBUG = false +# Set this to compile with Security-Enhanced Linux support. +USE_SELINUX = false ROOT = udev DAEMON = udevd @@ -170,6 +172,11 @@ else LDFLAGS = endif +ifeq ($(strip $(USE_SELINUX)),true) + CFLAGS += -DUSE_SELINUX + LIB_OBJS += -lselinux +endif + CFLAGS += -I$(PWD)/libsysfs # config files automatically generated @@ -222,6 +229,7 @@ HEADERS = udev.h \ udevdb.h \ klibc_fixups.h \ logging.h \ + selinux.h \ list.h ifeq ($(strip $(USE_KLIBC)),true) |