diff options
author | Dengke Du <dengke.du@windriver.com> | 2017-08-11 03:38:57 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:03:14 +0100 |
commit | b3ca36e7d1fa00d5c441ebbc89d719dfea56eb1d (patch) | |
tree | 353d2d35277961f61aab95838c16ef57b4de49e1 /meta/recipes-extended/ltp/ltp/0001-dirtyc0w-Include-stdint.h.patch | |
parent | 54cdf84d42d30f0656d3fd538a739237c715d257 (diff) | |
download | poky-b3ca36e7d1fa00d5c441ebbc89d719dfea56eb1d.tar.gz |
ltp: upgrade to upstream latest commit on 20170804
1. Drop 4 patches because the upstream already contains them:
0001-dirtyc0w-Include-stdint.h.patch
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
0037-faccessat-and-fchmodat-Fix-build-warnings.patch
0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch
2. Drop the do_compile_prepend function, because the upstream already fix
the parallel make race, we can check it here:
https://github.com/linux-test-project/ltp/commit/3f385652efe811fe7491474f8513baf44cf0a12d
3. Fix PAGE_SIZE redefinition and O_CREAT undeclear build failures when using musl
4. Fix runtime failed case file01
(From OE-Core rev: 46feafdc13b8c3c4b03d44a4a95a87d4ee25300c)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch | 34 |
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 @@ | |||
1 | From 1b30d8dac1a37dc0abbb3b545db2824d6489e23f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 9 Jun 2017 09:32:13 -0700 | ||
4 | Subject: [PATCH] dirtyc0w: Include stdint.h | ||
5 | |||
6 | uintptr_t is defined in stdint.h | ||
7 | |||
8 | Fixes | ||
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 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | Upstream-Status: Submitted | ||
16 | |||
17 | testcases/kernel/security/dirtyc0w/dirtyc0w_child.c | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c b/testcases/kernel/security/dirtyc0w/dirtyc0w_child.c | ||
21 | index 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 | -- | ||
33 | 2.13.1 | ||
34 | |||