mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
libselinux: Fix restorecon_set_sehandle.patch context
0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch added
in commit d6ff5a0e67 "libselinux: Backport NULL pointer fix from 3.1"
fails to apply because there is a extra level in the patch context.
The patch cannot apply and do_patch fails. Fix the context so it builds
again.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
parent
d5ea35444d
commit
1fba53261b
|
|
@ -17,8 +17,8 @@ Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
|
|||
|
||||
diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c
|
||||
index d1ce830c5..6993be6fd 100644
|
||||
--- a/libselinux/src/selinux_restorecon.c
|
||||
+++ b/libselinux/src/selinux_restorecon.c
|
||||
--- libselinux/src/selinux_restorecon.c
|
||||
+++ libselinux/src/selinux_restorecon.c
|
||||
@@ -1154,6 +1154,8 @@ void selinux_restorecon_set_sehandle(struct selabel_handle *hndl)
|
||||
size_t num_specfiles, fc_digest_len;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user