From ec111e964321eb6f8d56fab22bed0f58e1de1def Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 3 May 2018 13:50:43 +0200 Subject: core/file: no lseek64 --- core/file/PKGBUILD | 2 +- core/file/file-5.33-seccomp-32bit.patch | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD index f0ff50ee..ab132fd5 100644 --- a/core/file/PKGBUILD +++ b/core/file/PKGBUILD @@ -2,4 +2,4 @@ # systems (e.g. fstat64) source+=('file-5.33-seccomp-32bit.patch') -md5sums+=('472f29fefe0f60607eae814ff163e551') +md5sums+=('5e0c3072ad745b55c8560425e6bb904c') diff --git a/core/file/file-5.33-seccomp-32bit.patch b/core/file/file-5.33-seccomp-32bit.patch index 63fa936a..27987266 100644 --- a/core/file/file-5.33-seccomp-32bit.patch +++ b/core/file/file-5.33-seccomp-32bit.patch @@ -1,7 +1,7 @@ diff -rauN file-5.33/src/seccomp.c file-5.33-seccomp-32bit-patch/src/seccomp.c --- file-5.33/src/seccomp.c 2017-11-04 02:14:25.000000000 +0100 -+++ file-5.33-seccomp-32bit-patch/src/seccomp.c 2018-05-03 13:38:38.073165287 +0200 -@@ -168,13 +168,19 @@ ++++ file-5.33-seccomp-32bit-patch/src/seccomp.c 2018-05-03 13:49:51.826498606 +0200 +@@ -168,13 +168,18 @@ ALLOW_RULE(dup2); ALLOW_RULE(exit); ALLOW_RULE(exit_group); @@ -14,7 +14,6 @@ diff -rauN file-5.33/src/seccomp.c file-5.33-seccomp-32bit-patch/src/seccomp.c + ALLOW_RULE(getdents64); ALLOW_RULE(ioctl); ALLOW_RULE(lseek); -+ ALLOW_RULE(lseek64); ALLOW_RULE(lstat); + ALLOW_RULE(lstat64); ALLOW_RULE(mmap); @@ -22,7 +21,7 @@ diff -rauN file-5.33/src/seccomp.c file-5.33-seccomp-32bit-patch/src/seccomp.c ALLOW_RULE(mprotect); ALLOW_RULE(mremap); ALLOW_RULE(munmap); -@@ -188,6 +194,7 @@ +@@ -188,6 +193,7 @@ ALLOW_RULE(rt_sigreturn); ALLOW_RULE(select); ALLOW_RULE(stat); -- cgit v1.2.3