projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613cbe3
)
<linux/seccomp.h> needs to include <linux/errno.h>.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 18 Apr 2009 09:30:56 +0000
(11:30 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 19 Apr 2009 17:47:45 +0000
(10:47 -0700)
<linux/seccomp.h> uses EINVAL so should include <linux/errno.h>. This
fixes a build error on 64-bit MIPS if CONFIG_SECCOMP is disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/seccomp.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/seccomp.h
b/include/linux/seccomp.h
index 262a8dccfa812d193ccff7893c26ee7388116f72..167c33361d9cbe00be54a0a3c56732ce7f310620 100644
(file)
--- a/
include/linux/seccomp.h
+++ b/
include/linux/seccomp.h
@@
-21,6
+21,8
@@
extern long prctl_set_seccomp(unsigned long);
#else /* CONFIG_SECCOMP */
+#include <linux/errno.h>
+
typedef struct { } seccomp_t;
#define secure_computing(x) do { } while (0)