Go to file
Stephen Smalley 8b114a3bf2 Fix avc_has_perm() returns -1 even when SELinux is in permissive mode.
If we get an EINVAL from security_compute_av* (indicates an invalid
source or target security context, likely due to a policy reload that
removed one or the other) and we are in permissive mode, then handle it
like any other permission denial, i.e. log but do not deny it.

Reported-by: Laurent Bigonville <bigon@debian.org>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2013-10-28 16:52:50 -04:00
checkpolicy Update ChangeLogs and bump VERSIONs to an intermediate value. 2013-10-25 15:14:23 -04:00
libselinux Fix avc_has_perm() returns -1 even when SELinux is in permissive mode. 2013-10-28 16:52:50 -04:00
libsemanage Update ChangeLogs and bump VERSIONs to an intermediate value. 2013-10-25 15:14:23 -04:00
libsepol Update ChangeLogs and bump VERSIONs to an intermediate value. 2013-10-25 15:14:23 -04:00
policycoreutils Michal Trunecka patch to allow restorecon to accept paths with {} 2013-10-25 16:12:40 -04:00
scripts scripts: release: do not complain if release dir exists 2013-02-05 20:19:03 -05:00
sepolgen Update ChangeLogs and bump VERSIONs to an intermediate value. 2013-10-25 15:14:23 -04: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 Add a README with instructions on building. 2013-10-28 13:34:47 -04:00

To build and install everything under a private directory, do:
make DESTDIR=/path/to/private install install-pywrap

To install as the default system libraries and binaries
(overwriting any previously installed ones - dangerous!), do:
make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 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.