Files
chromium-dev/chromium-86-f_seal.patch
Tomáš Chvátal ed8d38be0d Accepting request 842544 from openSUSE:Maintenance:14554
- chromium-86-f_seal.patch: F_SEAL* definitions added for leap 15.1 and 15.2
- replace one missed g++-9 by g++-10 for leap 15.1/15.2

OBS-URL: https://build.opensuse.org/request/show/842544
OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1492
2020-10-19 15:06:01 +00:00

24 lines
666 B
Diff

Index: chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc
===================================================================
--- chromium-86.0.4240.75.orig/sandbox/policy/linux/bpf_gpu_policy_linux.cc
+++ chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc
@@ -6,6 +6,18 @@
#include <errno.h>
#include <fcntl.h>
+#ifndef F_SEAL_SEAL
+# define F_SEAL_SEAL 0x0001
+#endif
+#ifndef F_SEAL_SHRINK
+# define F_SEAL_SHRINK 0x0002
+#endif
+#ifndef F_SEAL_GROW
+# define F_SEAL_GROW 0x0004
+#endif
+#ifndef F_ADD_SEALS
+# define F_ADD_SEALS 1033
+#endif
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>