readlinkat already upstream
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=229
This commit is contained in:
parent
525922e488
commit
80e2bcab7a
@ -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);
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 21 06:24:35 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- 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 <werner@suse.de>
|
Tue Oct 19 09:52:12 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -63,7 +63,6 @@ Patch32: file-5.19-clicfs.dif
|
|||||||
Patch34: file-5.23-endian.patch
|
Patch34: file-5.23-endian.patch
|
||||||
Patch37: file-secure_getenv.patch
|
Patch37: file-secure_getenv.patch
|
||||||
Patch39: file-5.28-btrfs-image.dif
|
Patch39: file-5.28-btrfs-image.dif
|
||||||
Patch40: file-5.38-allow-readlinkat.dif
|
|
||||||
# Upstream commits as patches
|
# Upstream commits as patches
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%global _sysconfdir /etc
|
%global _sysconfdir /etc
|
||||||
@ -127,7 +126,6 @@ to develop applications that require the magic "file" interface.
|
|||||||
%patch34 -p0 -b .endian
|
%patch34 -p0 -b .endian
|
||||||
%patch37 -p1 -b .getenv
|
%patch37 -p1 -b .getenv
|
||||||
%patch39 -p1 -b .btrfs
|
%patch39 -p1 -b .btrfs
|
||||||
%patch40 -p1 -b .readlinkat
|
|
||||||
%patch -b .0
|
%patch -b .0
|
||||||
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
|
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
|
||||||
rm -fv src/magic.h
|
rm -fv src/magic.h
|
||||||
|
Loading…
Reference in New Issue
Block a user