Add support for applying SELinux context

This commit is contained in:
Sebastien Raveau
2009-06-24 17:28:13 +00:00
committed by Erik Ekman
parent 17105a26db
commit d5acb508bc
8 changed files with 80 additions and 6 deletions

View File

@@ -16,6 +16,9 @@ link)
windows32)
echo '-lws2_32 -liphlpapi';
;;
Linux)
[ -e /usr/include/selinux/selinux.h ] && echo '-lselinux';
;;
esac
;;
cflags)
@@ -23,6 +26,9 @@ cflags)
BeOS)
echo '-Dsocklen_t=int';
;;
Linux)
[ -e /usr/include/selinux/selinux.h ] && echo '-DHAVE_SETCON';
;;
esac
;;
*)