Go to file
Stephen Smalley 2fa21cc840 libselinux: Only check SELinux enabled status once in selinux_check_access().
Move the SELinux enabled check to the once handler so that we do
not perform this on each call to selinux_check_access().  Reduces
overhead in both the SELinux-enabled and the SELinux-disabled cases.

Extracted from the Android external/libselinux tree.

Change-Id: I61fe85bc04fe53cbf840ba712c81bdb06e4e0c2f
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-02-02 14:09:06 -05:00
checkpolicy Bump to final release 2015-02-02 09:38:10 -05:00
libselinux libselinux: Only check SELinux enabled status once in selinux_check_access(). 2015-02-02 14:09:06 -05:00
libsemanage Bump to final release 2015-02-02 09:38:10 -05:00
libsepol Bump to final release 2015-02-02 09:38:10 -05:00
policycoreutils Bump to final release 2015-02-02 09:38:10 -05:00
scripts scripts: update release script to not output file name twice 2014-12-03 10:06:26 -05:00
sepolgen Bump to final release 2015-02-02 09:38:10 -05:00
.gitignore global: gitignore: add a couple of more editor backup filetypes 2013-02-01 12:14:57 -05:00
Makefile libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00
README Adjust build instructions to clarify x86_64 vs x86. 2013-10-30 12:51:19 -04:00

To build and install everything under a private directory, run:
make DESTDIR=~/obj install install-pywrap

To install as the default system libraries and binaries
(overwriting any previously installed ones - dangerous!),
on x86_64, run:
make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel
or on x86 (32-bit), run:
make install install-pywrap relabel

This may render your system unusable if the upstream SELinux userspace
lacks library functions or other dependencies relied upon by your
distribution.  If it breaks, you get to keep both pieces.