summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-07-19 13:14:56 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2018-08-13 11:20:32 -0400
commit6551e95179b1a9f7ca611f02ca55956a529389ad (patch)
treee3da2df7fcf58e332f0d6a2fac8f688f23cb0200 /recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch
parent65797deb50466454b21a3de4604518116758d7e2 (diff)
downloadmeta-selinux-6551e95179b1a9f7ca611f02ca55956a529389ad.tar.gz
selinux-python: refresh patches to fix QA warning
Refresh patches with devtool command to fix do_patch warning Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch')
-rw-r--r--recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch b/recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch
index 1929aa5..b0bcd1d 100644
--- a/recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch
+++ b/recipes-security/selinux/selinux-python/process-ValueError-for-sepolicy-seobject.patch
@@ -1,4 +1,4 @@
1From b8e07bd0643b581ac33c96a1f94ae17c8df80ffd Mon Sep 17 00:00:00 2001 1From 1a8bd0ca13746b5241af5736dee9a25ab360652b Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com> 2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Sun, 30 Mar 2014 22:25:59 -0400 3Date: Sun, 30 Mar 2014 22:25:59 -0400
4Subject: [PATCH] semanage: process ValueError for sepolicy, seobject 4Subject: [PATCH] semanage: process ValueError for sepolicy, seobject
@@ -7,15 +7,16 @@ The sepolicy, seobject modules raise many unprocessed ValueError, just
7process them in semanage to make the script proivdes error message but 7process them in semanage to make the script proivdes error message but
8not error trace. 8not error trace.
9 9
10Uptream-Status: pending 10Uptream-Status: Pending
11 11
12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13
13--- 14---
14 semanage/semanage | 11 +++++++---- 15 semanage/semanage | 11 +++++++----
15 1 file changed, 7 insertions(+), 4 deletions(-) 16 1 file changed, 7 insertions(+), 4 deletions(-)
16 17
17diff --git a/semanage/semanage b/semanage/semanage 18diff --git a/semanage/semanage b/semanage/semanage
18index 19a6c51..c0083c6 100644 19index 313537c..2977dd0 100644
19--- a/semanage/semanage 20--- a/semanage/semanage
20+++ b/semanage/semanage 21+++ b/semanage/semanage
21@@ -25,8 +25,14 @@ 22@@ -25,8 +25,14 @@
@@ -34,7 +35,7 @@ index 19a6c51..c0083c6 100644
34 PROGNAME = "policycoreutils" 35 PROGNAME = "policycoreutils"
35 try: 36 try:
36 import gettext 37 import gettext
37@@ -67,9 +73,6 @@ usage_interface_dict = {' --add': ('-t TYPE', '-r RANGE', 'interface'), ' --modi 38@@ -73,9 +79,6 @@ usage_interface_dict = {' --add': ('-t TYPE', '-r RANGE', 'interface'), ' --modi
38 usage_boolean = "semanage boolean [-h] [-n] [-N] [-S STORE] [" 39 usage_boolean = "semanage boolean [-h] [-n] [-N] [-S STORE] ["
39 usage_boolean_dict = {' --modify': ('(', '--on', '|', '--off', ')', 'boolean'), ' --list': ('-C',), ' --extract': ('',), ' --deleteall': ('',)} 40 usage_boolean_dict = {' --modify': ('(', '--on', '|', '--off', ')', 'boolean'), ' --list': ('-C',), ' --extract': ('',), ' --deleteall': ('',)}
40 41
@@ -44,6 +45,3 @@ index 19a6c51..c0083c6 100644
44 class CheckRole(argparse.Action): 45 class CheckRole(argparse.Action):
45 46
46 def __call__(self, parser, namespace, value, option_string=None): 47 def __call__(self, parser, namespace, value, option_string=None):
47--
482.7.4
49