Blame SOURCES/fapolicyd-detect-sharedlib.patch
|
|
b63e47 |
diff --color -ru a/src/library/file.c b/src/library/file.c
|
|
|
b63e47 |
--- a/src/library/file.c 2021-11-12 20:21:54.000000000 +0100
|
|
|
b63e47 |
+++ b/src/library/file.c 2021-12-15 12:40:05.088564218 +0100
|
|
|
b63e47 |
@@ -295,6 +295,7 @@
|
|
|
b63e47 |
if (!strncmp(p, "64", 2))
|
|
|
b63e47 |
p += 2;
|
|
|
b63e47 |
if (!strncmp(p, "/libc-2", 7) ||
|
|
|
b63e47 |
+ !strncmp(p, "/libc.so", 8) ||
|
|
|
b63e47 |
!strncmp(p, "/libpthread-2", 13))
|
|
|
b63e47 |
ptr = "application/x-sharedlib";
|
|
|
b63e47 |
}
|