|
|
4cf60e |
diff -up mozilla-aurora/security/sandbox/linux/LinuxCapabilities.h.build-el5-stdint mozilla-aurora/security/sandbox/linux/LinuxCapabilities.h
|
|
|
4cf60e |
--- mozilla-aurora/security/sandbox/linux/LinuxCapabilities.h.build-el5-stdint 2015-12-16 16:47:02.000000000 +0100
|
|
|
4cf60e |
+++ mozilla-aurora/security/sandbox/linux/LinuxCapabilities.h 2016-01-26 15:52:02.557401691 +0100
|
|
|
4cf60e |
@@ -7,7 +7,32 @@
|
|
|
4cf60e |
#ifndef mozilla_LinuxCapabilities_h
|
|
|
4cf60e |
#define mozilla_LinuxCapabilities_h
|
|
|
4cf60e |
|
|
|
4cf60e |
+#define int64_t int64_t_linux
|
|
|
4cf60e |
+#define uint64_t uint64_t_linux
|
|
|
4cf60e |
+#define loff_t loff_t_linux
|
|
|
4cf60e |
+#define dev_t dev_t_linux
|
|
|
4cf60e |
+#define timer_t timer_t_linux
|
|
|
4cf60e |
+#define u_int64_t u_int64_t_linux
|
|
|
4cf60e |
+#define fd_set fd_set_linux
|
|
|
4cf60e |
+#define blkcnt_t blkcnt_t_linux
|
|
|
4cf60e |
+#define gid_t gid_t_linux
|
|
|
4cf60e |
+#define mode_t mode_t_linux
|
|
|
4cf60e |
+#define nlink_t nlink_t_linux
|
|
|
4cf60e |
+#define uid_t uid_t_linux
|
|
|
4cf60e |
#include <linux/capability.h>
|
|
|
4cf60e |
+#undef int64_t
|
|
|
4cf60e |
+#undef uint64_t
|
|
|
4cf60e |
+#undef loff_t
|
|
|
4cf60e |
+#undef dev_t
|
|
|
4cf60e |
+#undef timer_t
|
|
|
4cf60e |
+#undef u_int64_t
|
|
|
4cf60e |
+#undef fd_set
|
|
|
4cf60e |
+#undef blkcnt_t
|
|
|
4cf60e |
+#undef gid_t
|
|
|
4cf60e |
+#undef mode_t
|
|
|
4cf60e |
+#undef nlink_t
|
|
|
4cf60e |
+#undef uid_t
|
|
|
4cf60e |
+
|
|
|
4cf60e |
#include <stdint.h>
|
|
|
4cf60e |
|
|
|
4cf60e |
#include "mozilla/Assertions.h"
|
|
|
4cf60e |
diff -up mozilla-aurora/security/sandbox/linux/SandboxFilterUtil.cpp.build-el5-stdint mozilla-aurora/security/sandbox/linux/SandboxFilterUtil.cpp
|
|
|
4cf60e |
--- mozilla-aurora/security/sandbox/linux/SandboxFilterUtil.cpp.build-el5-stdint 2016-01-25 20:56:57.937678560 +0100
|
|
|
4cf60e |
+++ mozilla-aurora/security/sandbox/linux/SandboxFilterUtil.cpp 2016-01-25 20:58:25.574613828 +0100
|
|
|
4cf60e |
@@ -13,6 +13,7 @@
|
|
|
4cf60e |
|
|
|
4cf60e |
#include "mozilla/UniquePtr.h"
|
|
|
4cf60e |
#include "sandbox/linux/bpf_dsl/bpf_dsl.h"
|
|
|
4cf60e |
+#include <asm-generic/ipc.h>
|
|
|
4cf60e |
|
|
|
4cf60e |
// Older kernel headers (mostly Android, but also some older desktop
|
|
|
4cf60e |
// distributions) are missing some or all of these:
|