No description
Find a file
Nicolas Iooss eca4ee4542 CircleCI: run scan-build and publish its results automatically
CircleCI is a continuous integration system like Travis CI, which
provides different features. Contrary to Travis CI, it is quite harder
to build the project with several build configurations (so it is not a
replacement), but it provides short-term storage for files produced by a
build job in what is called "artifacts".

Use this feature in order to store the results of clang's static
analyzer (scan-build) after every pushed commit. This way makes it
possible to quickly compare the result of the analyzer after applying
some patches that were sent for review to the mailing list, as it no
longer requires running the analyzer several times on the development
machine.

An output example is available at
https://352-118970575-gh.circle-artifacts.com/0/output-scan-build/2019-09-21-164945-6152-1/index.html
These web pages were created by the job described at
https://circleci.com/gh/fishilico/selinux/352

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2019-09-26 09:45:47 -04:00
.circleci CircleCI: run scan-build and publish its results automatically 2019-09-26 09:45:47 -04:00
checkpolicy Fix many misspellings 2019-09-18 22:47:35 +02:00
dbus Fix many misspellings 2019-09-18 22:47:35 +02:00
gui gui: Fix remove module in system-config-selinux 2019-09-26 08:31:56 -04:00
libselinux libselinux: do not add rc to pos twice 2019-09-23 08:12:32 -04:00
libsemanage Switch last 2 files using /usr/bin/env to /usr/bin/python3 2019-09-26 08:32:18 -04:00
libsepol Fix many misspellings 2019-09-18 22:47:35 +02:00
mcstrans Fix many misspellings 2019-09-18 22:47:35 +02:00
policycoreutils policycoreutils/fixfiles: Force full relabel when SELinux is disabled 2019-09-26 08:31:45 -04:00
python Switch last 2 files using /usr/bin/env to /usr/bin/python3 2019-09-26 08:32:18 -04:00
restorecond Fix many misspellings 2019-09-18 22:47:35 +02:00
sandbox Fix many misspellings 2019-09-18 22:47:35 +02:00
scripts Switch to python3 by default 2019-02-20 16:43:27 +01:00
secilc Fix many misspellings 2019-09-18 22:47:35 +02:00
semodule-utils semodule-utils: fix comparison with argc 2019-09-17 10:38:34 -04:00
.gitignore restorecond: Add gitignore 2016-11-16 11:20:05 -05:00
.travis.yml scripts: introduce env_use_destdir.sh helper 2019-01-21 12:13:41 +01:00
CleanSpec.mk Add empty top level Android.mk / CleanSpec.mk files 2015-04-16 07:54:09 -04: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 build: setup buildpaths if DESTDIR is specified 2018-02-14 20:02:03 +01:00
README README: Update Fedora python 3 dependencies 2019-02-20 16:43:27 +01: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).