summaryrefslogtreecommitdiff
path: root/core/file/file-5.33-seccomp-32bit.patch
blob: 279872664f61051809bd66e179670f69f53cd371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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:49:51.826498606 +0200
@@ -168,13 +168,18 @@
 	ALLOW_RULE(dup2);
 	ALLOW_RULE(exit);
 	ALLOW_RULE(exit_group);
-	ALLOW_RULE(fcntl);  
+	ALLOW_RULE(fcntl);
+	ALLOW_RULE(fcntl64);  
 	ALLOW_RULE(fstat);
+	ALLOW_RULE(fstat64);
 	ALLOW_RULE(getdents);
+	ALLOW_RULE(getdents64);
 	ALLOW_RULE(ioctl);
 	ALLOW_RULE(lseek);
 	ALLOW_RULE(lstat);
+	ALLOW_RULE(lstat64);
 	ALLOW_RULE(mmap);
+	ALLOW_RULE(mmap2);
 	ALLOW_RULE(mprotect);
 	ALLOW_RULE(mremap);
 	ALLOW_RULE(munmap);
@@ -188,6 +193,7 @@
 	ALLOW_RULE(rt_sigreturn);
 	ALLOW_RULE(select);
 	ALLOW_RULE(stat);
+	ALLOW_RULE(stat64);
 	ALLOW_RULE(sysinfo);
 	ALLOW_RULE(unlink);
 	ALLOW_RULE(write);