From: | Jason Zaman <perfinion@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/hardened-refpolicy:master commit in: / |
Date: | Sun, 07 Feb 2021 03:20:10 |
Message-Id: | 1612644851.451967e07ca8eb3b77e9c9cef67fa626d430e346.perfinion@gentoo |
1 | commit: 451967e07ca8eb3b77e9c9cef67fa626d430e346 |
2 | Author: Christian Göttsche <cgzones <AT> googlemail <DOT> com> |
3 | AuthorDate: Mon Feb 1 19:07:40 2021 +0000 |
4 | Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 | CommitDate: Sat Feb 6 20:54:11 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=451967e0 |
7 | |
8 | Rules.monolithic: tweak checkpolicy arguments |
9 | |
10 | - enable optimizations (3.0 https://github.com/SELinuxProject/selinux/commit/071247e8f4e9584095474093537f1869379ca43f) |
11 | - fail on warnings (3.1 https://github.com/SELinuxProject/selinux/commit/62a91d7d71736c67dcecff3060dd2301b6313285) |
12 | - sort ocontexts (2.9 https://github.com/SELinuxProject/selinux/commit/9077c5c056f348ab4908bdf004ca82cb1f01bd38) |
13 | |
14 | Signed-off-by: Christian Göttsche <cgzones <AT> googlemail.com> |
15 | Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
16 | |
17 | Rules.monolithic | 4 ++-- |
18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
19 | |
20 | diff --git a/Rules.monolithic b/Rules.monolithic |
21 | index 92557529..1696021f 100644 |
22 | --- a/Rules.monolithic |
23 | +++ b/Rules.monolithic |
24 | @@ -81,7 +81,7 @@ ifneq ($(pv),$(kv)) |
25 | @echo "WARNING: Policy version mismatch (policy:$(pv) kernel:$(kv))! Is your OUTPUT_POLICY set correctly?" |
26 | @echo |
27 | endif |
28 | - $(verbose) $(CHECKPOLICY) -U $(UNK_PERMS) $^ -o $@ |
29 | + $(verbose) $(CHECKPOLICY) -U $(UNK_PERMS) -S -O -E $^ -o $@ |
30 | |
31 | ######################################## |
32 | # |
33 | @@ -95,7 +95,7 @@ ifneq ($(pv),$(kv)) |
34 | @echo |
35 | endif |
36 | @$(INSTALL) -d -m 0755 $(@D) |
37 | - $(verbose) $(CHECKPOLICY) -U $(UNK_PERMS) $^ -o $@ |
38 | + $(verbose) $(CHECKPOLICY) -U $(UNK_PERMS) -S -O -E $^ -o $@ |
39 | |
40 | ######################################## |
41 | # |