24 lines
666 B
Diff
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>
|