diff options
Diffstat (limited to 'recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch')
-rw-r--r-- | recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch b/recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch index 0cd8f20..39edb6c 100644 --- a/recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch +++ b/recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6c2af45ec8cff9b282d599dc098db0ca127bdc59 Mon Sep 17 00:00:00 2001 | 1 | From f33b426680492629d3d8ed664049cbe584f26f18 Mon Sep 17 00:00:00 2001 |
2 | From: Renato Caldas <renato@calgera.com> | 2 | From: Renato Caldas <renato@calgera.com> |
3 | Date: Thu, 29 Jun 2023 13:59:11 +0100 | 3 | Date: Thu, 29 Jun 2023 13:59:11 +0100 |
4 | Subject: [PATCH] libselinux: restore: drop the obsolete LSF transitional API. | 4 | Subject: [PATCH] libselinux: restore: drop the obsolete LSF transitional API. |
@@ -14,10 +14,10 @@ Signed-off-by: Renato Caldas <renato@calgera.com> | |||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | 14 | 1 file changed, 2 insertions(+), 2 deletions(-) |
15 | 15 | ||
16 | diff --git a/src/selinux_restorecon.c b/src/selinux_restorecon.c | 16 | diff --git a/src/selinux_restorecon.c b/src/selinux_restorecon.c |
17 | index 38f10f1..5b3d035 100644 | 17 | index bc6ed93..3bc0d8d 100644 |
18 | --- a/src/selinux_restorecon.c | 18 | --- a/src/selinux_restorecon.c |
19 | +++ b/src/selinux_restorecon.c | 19 | +++ b/src/selinux_restorecon.c |
20 | @@ -436,7 +436,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, | 20 | @@ -438,7 +438,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, |
21 | file_spec_t *prevfl, *fl; | 21 | file_spec_t *prevfl, *fl; |
22 | uint32_t h; | 22 | uint32_t h; |
23 | int ret; | 23 | int ret; |
@@ -26,7 +26,7 @@ index 38f10f1..5b3d035 100644 | |||
26 | 26 | ||
27 | __pthread_mutex_lock(&fl_mutex); | 27 | __pthread_mutex_lock(&fl_mutex); |
28 | 28 | ||
29 | @@ -450,7 +450,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, | 29 | @@ -452,7 +452,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, |
30 | for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; | 30 | for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; |
31 | prevfl = fl, fl = fl->next) { | 31 | prevfl = fl, fl = fl->next) { |
32 | if (ino == fl->ino) { | 32 | if (ino == fl->ino) { |