summaryrefslogtreecommitdiff
path: root/gl/modules/selinux-at
diff options
context:
space:
mode:
Diffstat (limited to 'gl/modules/selinux-at')
-rw-r--r--gl/modules/selinux-at32
1 files changed, 32 insertions, 0 deletions
diff --git a/gl/modules/selinux-at b/gl/modules/selinux-at
new file mode 100644
index 000000000..759908397
--- /dev/null
+++ b/gl/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:
+selinux-h
+
+configure.ac:
+# FIXME: put this in an .m4 file?
+# For runcon.
+AC_CHECK_HEADERS([selinux/flask.h])
+AC_LIBOBJ([selinux-at])
+ac_save_LIBS="$LIBS"
+ AC_SEARCH_LIBS(setfilecon, selinux,
+ [test "$ac_cv_search_setfilecon" = "none required" ||
+ LIB_SELINUX=$ac_cv_search_setfilecon])
+ AC_SUBST(LIB_SELINUX)
+LIBS="$ac_save_LIBS"
+
+Makefile.am:
+
+Include:
+selinux-at.h
+
+License:
+LGPL
+
+Maintainer:
+Jim Meyering