diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-06 14:15:23 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-06 14:30:05 +0200 |
commit | 27aa230554a630b52c2ce1540f6274c0aa4eaed1 (patch) | |
tree | f6d5e931df9f0611c56c5eaf14d137b981724a20 /modules/selinux-at | |
parent | 10cecf2f783bf0504f05947787495a0d2a75db04 (diff) | |
download | gnulib-27aa230554a630b52c2ce1540f6274c0aa4eaed1.tar.gz |
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.
Diffstat (limited to 'modules/selinux-at')
-rw-r--r-- | modules/selinux-at | 32 |
1 files changed, 32 insertions, 0 deletions
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 |