From 27aa230554a630b52c2ce1540f6274c0aa4eaed1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 Aug 2009 14:15:23 +0200 Subject: selinux-at: new module Initially written for coreutils, this module will soon be used by findutils, too. * MODULES.html.sh [Misc]: Add selinux-at. * lib/selinux-at.h: New file, from coreutils. * lib/selinux-at.c: Likewise. * modules/selinux-at: Likewise. (License): Change from LGPL to GPL, since it depends on the GPL'd openat module. --- modules/selinux-at | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/selinux-at (limited to 'modules/selinux-at') diff --git a/modules/selinux-at b/modules/selinux-at new file mode 100644 index 0000000000..191429ad82 --- /dev/null +++ b/modules/selinux-at @@ -0,0 +1,32 @@ +Description: +openat-style fd-relative functions for SE Linux + +Files: +lib/selinux-at.c +lib/selinux-at.h + +Depends-on: +openat +selinux-h + +configure.ac: +AC_CHECK_HEADERS([selinux/flask.h]) +AC_LIBOBJ([selinux-at]) +gl_save_LIBS=$LIBS + LIB_SELINUX= + AC_SEARCH_LIBS([setfilecon], [selinux], + [test "$ac_cv_search_setfilecon" = "none required" || + LIB_SELINUX=$ac_cv_search_setfilecon]) + AC_SUBST(LIB_SELINUX) +LIBS=$gl_save_LIBS + +Makefile.am: + +Include: +selinux-at.h + +License: +GPL + +Maintainer: +Jim Meyering -- cgit v1.2.1