No description
Find a file
Thiébaud Weksteen c65aca49bb Revert "Merge remote-tracking branch 'aosp/upstream-master' into..."
Revert "Use cil_write_build_ast"

Revert submission 1827311-update_libselinux

Reason for revert: b/200771997 
Reverted Changes:
I088d1e94c:Fix build and use new cil_write_build_ast
I14dc4dc58:Merge remote-tracking branch 'aosp/upstream-master...
I7b77f4469:Use cil_write_build_ast

Change-Id: Iec17732997ab203787f021f437f31e51ef886425
2021-09-22 09:15:53 +00:00
.circleci CircleCI: run scan-build and publish its results automatically 2019-09-26 09:45:47 -04:00
checkpolicy Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
dbus Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
gui Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
libselinux Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
libsemanage Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
libsepol Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
mcstrans Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
policycoreutils Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
python Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
restorecond Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
sandbox Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
scripts Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
secilc Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
semodule-utils Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
.gitignore restorecond: Add gitignore 2016-11-16 11:20:05 -05:00
.travis.yml Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to external/selinux 2021-02-05 01:27:52 -08:00
CleanSpec.mk Mark libselinux as VNDK in Android.bp 2017-11-22 10:22:40 +08:00
CONTRIBUTING.md Fix many misspellings 2019-09-18 22:47:35 +02:00
lgtm.yml Add configuration file for lgtm.com 2019-09-18 08:24:11 -04:00
Makefile Makefile: always build with -fno-common 2020-01-27 10:51:23 -05:00
METADATA Add METADATA to selinux: LGPL+GPL=RESTRICTED 2020-04-28 08:50:06 -07: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
OWNERS OWNERS: add alanstokes, remove nnk 2021-05-12 08:54:12 +02:00
README Revert "Merge remote-tracking branch 'aosp/upstream-master' into..." 2021-09-22 09:15:53 +00: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@vger.kernel.org.
Subscribe by sending "subscribe selinux" in the body of an email
to majordomo@vger.kernel.org.

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 python3-devel python3-setools 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 PREFIX=/usr/local install

This requires GNU coreutils (brew install coreutils).