diff options
Diffstat (limited to 'recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch')
-rw-r--r-- | recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch b/recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch index c588b61..ff5cb00 100644 --- a/recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch +++ b/recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1633f72579e3b79d055759256b71e4169627889b Mon Sep 17 00:00:00 2001 | 1 | From e76867515be3bc296174aeb26c7996a0939a2a8c Mon Sep 17 00:00:00 2001 |
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | 2 | From: Wenzong Fan <wenzong.fan@windriver.com> |
3 | Date: Mon, 20 Jan 2014 03:53:48 -0500 | 3 | Date: Mon, 20 Jan 2014 03:53:48 -0500 |
4 | Subject: [PATCH] libsemanage: allow to disable audit support | 4 | Subject: [PATCH] libsemanage: allow to disable audit support |
@@ -13,11 +13,11 @@ Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | |||
13 | 3 files changed, 31 insertions(+), 2 deletions(-) | 13 | 3 files changed, 31 insertions(+), 2 deletions(-) |
14 | 14 | ||
15 | diff --git a/src/Makefile b/src/Makefile | 15 | diff --git a/src/Makefile b/src/Makefile |
16 | index 3bd1e20..483e818 100644 | 16 | index a0eb374..afc4437 100644 |
17 | --- a/src/Makefile | 17 | --- a/src/Makefile |
18 | +++ b/src/Makefile | 18 | +++ b/src/Makefile |
19 | @@ -26,6 +26,14 @@ ifeq ($(DEBUG),1) | 19 | @@ -26,6 +26,14 @@ ifeq ($(DEBUG),1) |
20 | export LDFLAGS = -g | 20 | export LDFLAGS ?= -g |
21 | endif | 21 | endif |
22 | 22 | ||
23 | +DISABLE_AUDIT ?= n | 23 | +DISABLE_AUDIT ?= n |
@@ -31,7 +31,7 @@ index 3bd1e20..483e818 100644 | |||
31 | LEX = flex | 31 | LEX = flex |
32 | LFLAGS = -s | 32 | LFLAGS = -s |
33 | YACC = bison | 33 | YACC = bison |
34 | @@ -88,7 +96,7 @@ $(LIBA): $(OBJS) | 34 | @@ -89,7 +97,7 @@ $(LIBA): $(OBJS) |
35 | $(RANLIB) $@ | 35 | $(RANLIB) $@ |
36 | 36 | ||
37 | $(LIBSO): $(LOBJS) | 37 | $(LIBSO): $(LOBJS) |
@@ -41,7 +41,7 @@ index 3bd1e20..483e818 100644 | |||
41 | 41 | ||
42 | $(LIBPC): $(LIBPC).in ../VERSION | 42 | $(LIBPC): $(LIBPC).in ../VERSION |
43 | diff --git a/src/seusers_local.c b/src/seusers_local.c | 43 | diff --git a/src/seusers_local.c b/src/seusers_local.c |
44 | index 3e2761c..8bc6b83 100644 | 44 | index 6508ec0..1b26956 100644 |
45 | --- a/src/seusers_local.c | 45 | --- a/src/seusers_local.c |
46 | +++ b/src/seusers_local.c | 46 | +++ b/src/seusers_local.c |
47 | @@ -8,7 +8,11 @@ typedef struct semanage_seuser record_t; | 47 | @@ -8,7 +8,11 @@ typedef struct semanage_seuser record_t; |
@@ -122,5 +122,5 @@ index 69f49a3..f914492 100644 | |||
122 | OBJECTS = $(SOURCES:.c=.o) | 122 | OBJECTS = $(SOURCES:.c=.o) |
123 | POLICIES = $(CILS:.cil=.policy) | 123 | POLICIES = $(CILS:.cil=.policy) |
124 | -- | 124 | -- |
125 | 2.7.4 | 125 | 2.17.1 |
126 | 126 | ||