From 010c2ab18b4be2068237cf0db97e9348bba65ac6 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 16 Jul 2014 14:14:37 -0500 Subject: [PATCH] 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 --- src/rc/Makefile | 4 ++-- src/rc/checkpath.c | 2 +- src/rc/{rc-selinux-util.c => rc-selinux.c} | 2 +- src/rc/{rc-selinux-util.h => rc-selinux.h} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/rc/{rc-selinux-util.c => rc-selinux.c} (99%) rename src/rc/{rc-selinux-util.h => rc-selinux.h} (100%) 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 similarity index 99% rename from src/rc/rc-selinux-util.c rename to 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 #include -#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 similarity index 100% rename from src/rc/rc-selinux-util.h rename to src/rc/rc-selinux.h