forked from pool/libselinux
0b9c3483a5
- Update to version 3.4: * Use PCRE2 by default * Make selinux_log() and is_context_customizable() thread-safe * Prevent leakeing file descriptors * Correctly hash specfiles larger than 4G - Refreshed skip_cycles.patch - Update to version 3.4: * Use PCRE2 by default * Make selinux_log() and is_context_customizable() thread-safe * Prevent leakeing file descriptors * Correctly hash specfiles larger than 4G - Refreshed skip_cycles.patch OBS-URL: https://build.opensuse.org/request/show/978290 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=141
15 lines
432 B
Diff
15 lines
432 B
Diff
Index: libselinux-3.4-rc3/src/selinux_restorecon.c
|
|
===================================================================
|
|
--- libselinux-3.4-rc3.orig/src/selinux_restorecon.c
|
|
+++ libselinux-3.4-rc3/src/selinux_restorecon.c
|
|
@@ -871,7 +871,8 @@ loop_body:
|
|
errno = ELOOP;
|
|
state->error = -1;
|
|
state->abort = true;
|
|
- goto finish;
|
|
+ fts_set(fts, ftsent, FTS_SKIP);
|
|
+ continue;
|
|
case FTS_DP:
|
|
continue;
|
|
case FTS_DNR:
|