aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-07-16 14:14:37 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-07-16 14:14:37 -0500
commit010c2ab18b4be2068237cf0db97e9348bba65ac6 (patch)
tree913a58946b6b3e614ebd270f79fcbd2fc1e3cd4c /src
parent9c689542c3246e793310db938374bc97600435e6 (diff)
Rename SELinux source files
The name rc-selinux-util.* is a bit long, so I renamed the source files to rc-selinux.* X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
Diffstat (limited to 'src')
-rw-r--r--src/rc/Makefile4
-rw-r--r--src/rc/checkpath.c2
-rw-r--r--src/rc/rc-selinux.c (renamed from src/rc/rc-selinux-util.c)2
-rw-r--r--src/rc/rc-selinux.h (renamed from src/rc/rc-selinux-util.h)0
4 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index fb5265c6..609794a8 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -5,10 +5,10 @@ SRCS= checkpath.c fstabinfo.c mountinfo.c start-stop-daemon.c \
runscript.c rc.c swclock.c
ifeq (${MKSELINUX},yes)
-SRCS+= rc-selinux-util.c
+SRCS+= rc-selinux.c
endif
-CLEANFILES= version.h rc-selinux-util.o
+CLEANFILES= version.h rc-selinux.o
BINDIR= ${PREFIX}/bin
SBINDIR= ${PREFIX}/sbin
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 6945b670..b0384bdb 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -47,7 +47,7 @@
#include "rc-misc.h"
#ifdef HAVE_SELINUX
-#include "rc-selinux-util.h"
+#include "rc-selinux.h"
#endif
typedef enum {
diff --git a/src/rc/rc-selinux-util.c b/src/rc/rc-selinux.c
index 6cbb5db9..8e780c97 100644
--- a/src/rc/rc-selinux-util.c
+++ b/src/rc/rc-selinux.c
@@ -36,7 +36,7 @@
#include <selinux/selinux.h>
#include <selinux/label.h>
-#include "rc-selinux-util.h"
+#include "rc-selinux.h"
static struct selabel_handle *hnd = NULL;
diff --git a/src/rc/rc-selinux-util.h b/src/rc/rc-selinux.h
index 69624b39..69624b39 100644
--- a/src/rc/rc-selinux-util.h
+++ b/src/rc/rc-selinux.h