build-sys: move selinux_utils.c
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
ca27216aa6
commit
68f4aa2a2f
|
@ -58,6 +58,7 @@ dist_noinst_HEADERS += \
|
||||||
include/rpmatch.h \
|
include/rpmatch.h \
|
||||||
include/sha1.h \
|
include/sha1.h \
|
||||||
include/signames.h \
|
include/signames.h \
|
||||||
|
include/selinux-utils.h \
|
||||||
include/statfs_magic.h \
|
include/statfs_magic.h \
|
||||||
include/strutils.h \
|
include/strutils.h \
|
||||||
include/strv.h \
|
include/strv.h \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "selinux_utils.h"
|
#include "selinux-utils.h"
|
||||||
|
|
||||||
access_vector_t get_access_vector(const char *tclass, const char *op)
|
access_vector_t get_access_vector(const char *tclass, const char *op)
|
||||||
{
|
{
|
|
@ -129,8 +129,8 @@ endif
|
||||||
|
|
||||||
if HAVE_SELINUX
|
if HAVE_SELINUX
|
||||||
chfn_chsh_sources += \
|
chfn_chsh_sources += \
|
||||||
login-utils/selinux_utils.c \
|
lib/selinux-utils.c \
|
||||||
login-utils/selinux_utils.h
|
include/selinux-utils.h
|
||||||
chfn_chsh_ldadd += -lselinux
|
chfn_chsh_ldadd += -lselinux
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_LIBSELINUX
|
#ifdef HAVE_LIBSELINUX
|
||||||
# include <selinux/selinux.h>
|
# include <selinux/selinux.h>
|
||||||
# include "selinux_utils.h"
|
# include "selinux-utils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBUSER
|
#ifdef HAVE_LIBUSER
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_LIBSELINUX
|
#ifdef HAVE_LIBSELINUX
|
||||||
# include <selinux/selinux.h>
|
# include <selinux/selinux.h>
|
||||||
# include "selinux_utils.h"
|
# include "selinux-utils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue