From daa8d1141e3f2ead884486d93e7e3dd1844c016e Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 9 Dec 2011 21:30:19 +0000 Subject: [PATCH] * lib/Makefile.am, lib/prototypes.h, lib/selinux.c, lib/semanage.c, po/POTFILES.in: Move lib/selinux.c to lib/semanage.c. --- ChangeLog | 6 ++++++ lib/Makefile.am | 2 +- lib/prototypes.h | 6 +++--- lib/{selinux.c => semanage.c} | 0 po/POTFILES.in | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) rename lib/{selinux.c => semanage.c} (100%) diff --git a/ChangeLog b/ChangeLog index 0f816a72..b916b48e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-12-09 Nicolas François + + * lib/Makefile.am, lib/prototypes.h, lib/selinux.c, + lib/semanage.c, po/POTFILES.in: Move lib/selinux.c to + lib/semanage.c. + 2011-11-21 Nicolas François * src/usermod.c, man/usermod.8.xml: usermod -Z "" removes the diff --git a/lib/Makefile.am b/lib/Makefile.am index 4744d91f..8a1df3bd 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -39,7 +39,7 @@ libshadow_la_SOURCES = \ pwio.c \ pwio.h \ pwmem.c \ - selinux.c \ + semanage.c \ sgetgrent.c \ sgetpwent.c \ sgetspent.c \ diff --git a/lib/prototypes.h b/lib/prototypes.h index 42f0bba1..85758b8d 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -297,9 +297,9 @@ extern void process_root_flag (const char* short_opt, int argc, char **argv); /* salt.c */ extern /*@observer@*/const char *crypt_make_salt (/*@null@*//*@observer@*/const char *meth, /*@null@*/void *arg); -/* selinux.c */ -int set_seuser(const char *login_name, const char *seuser_name); -int del_seuser(const char *login_name); +/* semanage.c */ +extern int set_seuser(const char *login_name, const char *seuser_name); +extern int del_seuser(const char *login_name); /* setugid.c */ extern int setup_groups (const struct passwd *info); diff --git a/lib/selinux.c b/lib/semanage.c similarity index 100% rename from lib/selinux.c rename to lib/semanage.c diff --git a/po/POTFILES.in b/po/POTFILES.in index 0320764b..eca476ae 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -17,7 +17,7 @@ lib/port.c lib/pwauth.c lib/pwio.c lib/pwmem.c -lib/selinux.c +lib/semanage.c lib/sgetgrent.c lib/sgetpwent.c lib/sgetspent.c