summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch b/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
deleted file mode 100644
index 5c73be440b..0000000000
--- a/meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 1b30d8dac1a37dc0abbb3b545db2824d6489e23f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 9 Jun 2017 09:32:13 -0700
4Subject: [PATCH] dirtyc0w: Include stdint.h
5
6uintptr_t is defined in stdint.h
7
8Fixes
9| dirtyc0w_child.c:76:15: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
10| lseek(mfd, (uintptr_t) map, SEEK_SET);
11| ^~~~~~~~~
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15Upstream-Status: Submitted
16
17 testcases/kernel/security/dirtyc0w/dirtyc0w_child.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c b/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
21index 5328a9bc4..49abdd6ba 100644
22--- a/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
23+++ b/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c
24@@ -23,6 +23,7 @@
25 #include <sys/stat.h>
26 #include <string.h>
27 #include <stdlib.h>
28+#include <stdint.h>
29 #include <pwd.h>
30
31 #include "tst_safe_pthread.h"
32--
332.13.1
34