diff options
Diffstat (limited to 'recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch')
| -rw-r--r-- | recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch b/recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch index 1fa1fba..ad18cf5 100644 --- a/recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch +++ b/recipes-security/selinux/libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 9a843a025fb0eaad537eb9dce28da539cf2cb9c2 Mon Sep 17 00:00:00 2001 | 1 | From d0aaf391ab30b253aa22ef6547a039bcac840fc6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Joe MacDonald <joe.macdonald@windriver.com> | 2 | From: Joe MacDonald <joe.macdonald@windriver.com> |
| 3 | Date: Tue, 15 Oct 2013 10:14:41 -0400 | 3 | Date: Tue, 15 Oct 2013 10:14:41 -0400 |
| 4 | Subject: [PATCH 2/3] libselinux: define FD_CLOEXEC as necessary | 4 | Subject: [PATCH] libselinux: define FD_CLOEXEC as necessary |
| 5 | 5 | ||
| 6 | In truly old systems, even FD_CLOEXEC may not be defined. Produce a | 6 | In truly old systems, even FD_CLOEXEC may not be defined. Produce a |
| 7 | warning and duplicate the #define for FD_CLOEXEC found in | 7 | warning and duplicate the #define for FD_CLOEXEC found in |
| @@ -10,15 +10,16 @@ asm-generic/fcntl.h on more modern platforms. | |||
| 10 | Uptream-Status: Inappropriate | 10 | Uptream-Status: Inappropriate |
| 11 | 11 | ||
| 12 | Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com> | 12 | Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com> |
| 13 | |||
| 13 | --- | 14 | --- |
| 14 | libselinux/src/setrans_client.c | 5 +++++ | 15 | src/setrans_client.c | 5 +++++ |
| 15 | 1 file changed, 5 insertions(+) | 16 | 1 file changed, 5 insertions(+) |
| 16 | 17 | ||
| 17 | diff --git a/src/setrans_client.c b/src/setrans_client.c | 18 | diff --git a/src/setrans_client.c b/src/setrans_client.c |
| 18 | index f9065bd..e07a779 100644 | 19 | index fa188a8..a94f02c 100644 |
| 19 | --- a/src/setrans_client.c | 20 | --- a/src/setrans_client.c |
| 20 | +++ b/src/setrans_client.c | 21 | +++ b/src/setrans_client.c |
| 21 | @@ -38,6 +38,11 @@ static pthread_key_t destructor_key; | 22 | @@ -39,6 +39,11 @@ static pthread_key_t destructor_key; |
| 22 | static int destructor_key_initialized = 0; | 23 | static int destructor_key_initialized = 0; |
| 23 | static __thread char destructor_initialized; | 24 | static __thread char destructor_initialized; |
| 24 | 25 | ||
| @@ -30,6 +31,3 @@ index f9065bd..e07a779 100644 | |||
| 30 | /* | 31 | /* |
| 31 | * setransd_open | 32 | * setransd_open |
| 32 | * | 33 | * |
| 33 | -- | ||
| 34 | 1.7.10.4 | ||
| 35 | |||
