aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2019-10-03 22:38:39 +0200
committerJason Zaman <perfinion@gentoo.org>2019-12-16 21:13:11 +0800
commit2733f39a4996c8023e3e39ac8a65e2ca92d758de (patch)
treef97f8c99b515437def85c37214c26313d0bfecf2 /INSTALL
parenttravis: run check_fc_files linter with python 3.7 (diff)
downloadhardened-refpolicy-2733f39a4996c8023e3e39ac8a65e2ca92d758de.tar.gz
hardened-refpolicy-2733f39a4996c8023e3e39ac8a65e2ca92d758de.tar.bz2
hardened-refpolicy-2733f39a4996c8023e3e39ac8a65e2ca92d758de.zip
re-implement fc_sort in python
fc_sort is the only/last build tool that requires a C compiler Re-implement it in python, so that gcc dependencies can be dropped The output of the C and the python version differ slightly in the order of equally specific file contexts old: /.* system_u:object_r:default_t /sys(/.*)? system_u:object_r:sysfs_t /mnt(/[^/]*) -l system_u:object_r:mnt_t /mnt(/[^/]*)? -d system_u:object_r:mnt_t /opt/.* system_u:object_r:usr_t /var/.* system_u:object_r:var_t /usr/.* system_u:object_r:usr_t /srv/.* system_u:object_r:var_t /tmp/.* <<none>> /run/.* <<none>> /dev/.* system_u:object_r:device_t /etc/.* system_u:object_r:etc_t new: /.* system_u:object_r:default_t /sys(/.*)? system_u:object_r:sysfs_t /mnt(/[^/]*) -l system_u:object_r:mnt_t /mnt(/[^/]*)? -d system_u:object_r:mnt_t /dev/.* system_u:object_r:device_t /etc/.* system_u:object_r:etc_t /opt/.* system_u:object_r:usr_t /run/.* <<none>> /srv/.* system_u:object_r:var_t /tmp/.* <<none>> /usr/.* system_u:object_r:usr_t /var/.* system_u:object_r:var_t Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL1
1 files changed, 0 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 7150e963..f6baf840 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,6 @@
Reference Policy has the following build requirements:
* SELinux userspace 2.8
* Python >= 3.4
- * GCC
When developing a policy, running scripts from directory testing/ requires:
* Python >= 3.6