From 80e2bcab7a05ffa5d45324f3b0426ef6411dada24267db4687fd61e594c1dd1a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 21 Oct 2021 06:25:42 +0000 Subject: [PATCH] readlinkat already upstream OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=229 --- file-5.38-allow-readlinkat.dif | 14 -------------- file.changes | 6 ++++++ file.spec | 2 -- 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 file-5.38-allow-readlinkat.dif diff --git a/file-5.38-allow-readlinkat.dif b/file-5.38-allow-readlinkat.dif deleted file mode 100644 index 9c7f2a0..0000000 --- a/file-5.38-allow-readlinkat.dif +++ /dev/null @@ -1,14 +0,0 @@ -Index: file-5.38/src/seccomp.c -=================================================================== ---- file-5.38.orig/src/seccomp.c -+++ file-5.38/src/seccomp.c -@@ -212,6 +212,9 @@ enable_sandbox_full(void) - #ifdef __NR_newfstatat - ALLOW_RULE(newfstatat); - #endif -+#ifdef __NR_readlinkat -+ ALLOW_RULE(readlinkat); -+#endif - ALLOW_RULE(open); - ALLOW_RULE(openat); - ALLOW_RULE(pread64); diff --git a/file.changes b/file.changes index d34d634..eb9bb38 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 21 06:24:35 UTC 2021 - Dr. Werner Fink + +- Remove file-5.38-allow-readlinkat.dif as already doen in latest + file 5.41 + ------------------------------------------------------------------- Tue Oct 19 09:52:12 UTC 2021 - Dr. Werner Fink diff --git a/file.spec b/file.spec index 00a2636..d6dac6c 100644 --- a/file.spec +++ b/file.spec @@ -63,7 +63,6 @@ Patch32: file-5.19-clicfs.dif Patch34: file-5.23-endian.patch Patch37: file-secure_getenv.patch Patch39: file-5.28-btrfs-image.dif -Patch40: file-5.38-allow-readlinkat.dif # Upstream commits as patches BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc @@ -127,7 +126,6 @@ to develop applications that require the magic "file" interface. %patch34 -p0 -b .endian %patch37 -p1 -b .getenv %patch39 -p1 -b .btrfs -%patch40 -p1 -b .readlinkat %patch -b .0 test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in rm -fv src/magic.h