No description
Find a file
Jeff Vander Stoep dfb7841f31 secilc: Migrate to soong
Bug: 37512442
Test: build and boot Marlin
Change-Id: Ie02b3dc3db0e597c9ac7e93c6684fcd7867c531e
2017-05-09 16:18:42 +00:00
checkpolicy Checkpolicy: Migrate to soong 2017-05-09 14:40:38 +00:00
dbus Add stub make test targets to new subdirs 2016-11-16 11:20:05 -05:00
gui Add stub make test targets to new subdirs 2016-11-16 11:20:05 -05:00
libselinux Merge remote-tracking branch 'aosp/upstream-master' into mymerge 2017-04-12 14:45:12 -07:00
libsemanage libsemanage: drop checks on semanage_module_info_destroy() value 2017-04-11 14:22:59 -04:00
libsepol libsepol: migrate to soong 2017-05-09 07:18:35 -07:00
mcstrans mcstrans: fix typo in mcstransd.8 man page 2017-03-28 13:38:37 -04:00
policycoreutils policycoreutils: newrole: always initialize pw fields 2017-04-12 14:48:36 -04:00
prebuilts/bin sesearch: don't clobber PYTHONPATH 2017-04-04 17:07:49 -07:00
python Merge remote-tracking branch 'aosp/upstream-master' into mymerge 2017-04-05 15:14:55 -07:00
restorecond restorecond: add noreturn attribute to exitApp() 2017-03-07 14:00:16 -05:00
sandbox sandbox: make test not fail on systems without SELinux 2016-11-17 16:44:57 -05:00
scripts Fix release script 2016-11-16 11:19:51 -05:00
secilc secilc: Migrate to soong 2017-05-09 16:18:42 +00:00
semodule-utils semodule-utils: add noreturn attribute to usage() 2017-03-07 14:00:39 -05:00
.gitignore restorecond: Add gitignore 2016-11-16 11:20:05 -05:00
.travis.yml libsemanage/tests: include libsepol headers from $DESTDIR 2017-03-01 10:42:34 -05:00
Android.bp secilc: Migrate to soong 2017-05-09 16:18:42 +00:00
Android.mk secilc: Migrate to soong 2017-05-09 16:18:42 +00:00
CleanSpec.mk fix cleanspec 2015-06-18 15:44:43 +00:00
Makefile Build mcstrans. 2016-11-16 11:19:50 -05:00
MODULE_LICENSE_GPL Add MODULE_LICENSE_GPL 2015-05-14 14:54:21 -07:00
NOTICE Add NOTICE 2015-05-22 11:20:50 -07:00
README libsepol compilation fixes for macOS. 2017-01-20 13:19:57 -05:00
README.android libselinux: add The Android fork files 2016-10-24 11:05:25 -07:00

Please submit all bug reports and patches to selinux@tycho.nsa.gov.
Subscribe via selinux-join@tycho.nsa.gov.

Build dependencies on Fedora:
yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig xmlto redhat-rpm-config

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.

To install libsepol on macOS (mainly for policy analysis):
cd libsepol; make DESTDIR=/usr/local PREFIX=/usr/local install

This requires GNU coreutils (brew install coreutils).