<div dir="ltr">Breaks with musl:<div><br></div><div><a href="http://errors.yoctoproject.org/Errors/Details/150199/">http://errors.yoctoproject.org/Errors/Details/150199/</a><br></div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2017 at 11:00, Dengke Du <span dir="ltr">&lt;<a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">drop 4 patches because the upstream already contains them:<br>
<br>
    0001-dirtyc0w-Include-stdint.<wbr>h.patch<br>
    0006-fix-PATH_MAX-undeclared-<wbr>when-building-with-musl.patch<br>
    0037-faccessat-and-fchmodat-<wbr>Fix-build-warnings.patch<br>
    0038-syscalls-add_key02-<wbr>update-to-test-fix-for-<wbr>nonempty-N.patch<br>
<br>
drop the do_compile_prepend function, because the upstream already fix<br>
the parallel make race, we can check it here:<br>
<br>
    <a href="https://github.com/linux-test-project/ltp/commit/3f385652efe811fe7491474f8513baf44cf0a12d" rel="noreferrer" target="_blank">https://github.com/linux-test-<wbr>project/ltp/commit/<wbr>3f385652efe811fe7491474f8513ba<wbr>f44cf0a12d</a><br>
<br>
Signed-off-by: Dengke Du &lt;<a href="mailto:dengke.du@windriver.com">dengke.du@windriver.com</a>&gt;<br>
---<br>
 .../ltp/ltp/0001-dirtyc0w-<wbr>Include-stdint.h.patch   |  34 ------<br>
 ...TH_MAX-undeclared-when-<wbr>building-with-musl.patch |  31 -----<br>
 ...faccessat-and-fchmodat-Fix-<wbr>build-warnings.patch |  68 -----------<br>
 ...d_key02-update-to-test-fix-<wbr>for-nonempty-N.patch | 136 ---------------------<br>
 meta/recipes-extended/ltp/<a href="http://ltp_20170516.bb" rel="noreferrer" target="_blank">ltp_<wbr>20170516.bb</a>          |  14 +--<br>
 5 files changed, 1 insertion(+), 282 deletions(-)<br>
 delete mode 100644 meta/recipes-extended/ltp/ltp/<wbr>0001-dirtyc0w-Include-stdint.<wbr>h.patch<br>
 delete mode 100644 meta/recipes-extended/ltp/ltp/<wbr>0006-fix-PATH_MAX-undeclared-<wbr>when-building-with-musl.patch<br>
 delete mode 100644 meta/recipes-extended/ltp/ltp/<wbr>0037-faccessat-and-fchmodat-<wbr>Fix-build-warnings.patch<br>
 delete mode 100644 meta/recipes-extended/ltp/ltp/<wbr>0038-syscalls-add_key02-<wbr>update-to-test-fix-for-<wbr>nonempty-N.patch<br>
<br>
diff --git a/meta/recipes-extended/ltp/<wbr>ltp/0001-dirtyc0w-Include-<wbr>stdint.h.patch b/meta/recipes-extended/ltp/<wbr>ltp/0001-dirtyc0w-Include-<wbr>stdint.h.patch<br>
deleted file mode 100644<br>
index 5c73be4..0000000<br>
--- a/meta/recipes-extended/ltp/<wbr>ltp/0001-dirtyc0w-Include-<wbr>stdint.h.patch<br>
+++ /dev/null<br>
@@ -1,34 +0,0 @@<br>
-From 1b30d8dac1a37dc0abbb3b545db282<wbr>4d6489e23f Mon Sep 17 00:00:00 2001<br>
-From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
-Date: Fri, 9 Jun 2017 09:32:13 -0700<br>
-Subject: [PATCH] dirtyc0w: Include stdint.h<br>
-<br>
-uintptr_t is defined in stdint.h<br>
-<br>
-Fixes<br>
-| dirtyc0w_child.c:76:15: error: &#39;uintptr_t&#39; undeclared (first use in this function); did you mean &#39;intptr_t&#39;?<br>
-|    lseek(mfd, (uintptr_t) map, SEEK_SET);<br>
-|                ^~~~~~~~~<br>
-<br>
-Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
----<br>
-Upstream-Status: Submitted<br>
-<br>
- testcases/kernel/security/<wbr>dirtyc0w/dirtyc0w_child.c | 1 +<br>
- 1 file changed, 1 insertion(+)<br>
-<br>
-diff --git a/testcases/kernel/security/<wbr>dirtyc0w/dirtyc0w_child.c b/testcases/kernel/security/<wbr>dirtyc0w/dirtyc0w_child.c<br>
-index 5328a9bc4..49abdd6ba 100644<br>
---- a/testcases/kernel/security/<wbr>dirtyc0w/dirtyc0w_child.c<br>
-+++ b/testcases/kernel/security/<wbr>dirtyc0w/dirtyc0w_child.c<br>
-@@ -23,6 +23,7 @@<br>
- #include &lt;sys/stat.h&gt;<br>
- #include &lt;string.h&gt;<br>
- #include &lt;stdlib.h&gt;<br>
-+#include &lt;stdint.h&gt;<br>
- #include &lt;pwd.h&gt;<br>
-<br>
- #include &quot;tst_safe_pthread.h&quot;<br>
---<br>
-2.13.1<br>
-<br>
diff --git a/meta/recipes-extended/ltp/<wbr>ltp/0006-fix-PATH_MAX-<wbr>undeclared-when-building-with-<wbr>musl.patch b/meta/recipes-extended/ltp/<wbr>ltp/0006-fix-PATH_MAX-<wbr>undeclared-when-building-with-<wbr>musl.patch<br>
deleted file mode 100644<br>
index 020ddfe..0000000<br>
--- a/meta/recipes-extended/ltp/<wbr>ltp/0006-fix-PATH_MAX-<wbr>undeclared-when-building-with-<wbr>musl.patch<br>
+++ /dev/null<br>
@@ -1,31 +0,0 @@<br>
-From b906ec2fe4711a727e198cd9259287<wbr>c042eef8e2 Mon Sep 17 00:00:00 2001<br>
-From: Dengke Du &lt;<a href="mailto:dengke.du@windriver.com">dengke.du@windriver.com</a>&gt;<br>
-Date: Thu, 9 Feb 2017 16:41:12 +0800<br>
-Subject: [PATCH] fix PATH_MAX undeclared when building with musl<br>
-<br>
-fix PATH_MAX undeclared when building with musl.<br>
-<br>
-Upstream-Status: Submitted [<a href="https://github.com/linux-test-project/ltp/pull/176" rel="noreferrer" target="_blank">https://github.com/linux-<wbr>test-project/ltp/pull/176</a>]<br>
-<br>
-Signed-off-by: Dengke Du &lt;<a href="mailto:dengke.du@windriver.com">dengke.du@windriver.com</a>&gt;<br>
----<br>
- include/tst_test.h | 3 +++<br>
- 1 file changed, 3 insertions(+)<br>
-<br>
-diff --git a/include/tst_test.h b/include/tst_test.h<br>
-index 335c82684..4dfa1511b 100644<br>
---- a/include/tst_test.h<br>
-+++ b/include/tst_test.h<br>
-@@ -23,6 +23,9 @@<br>
- #endif /* __TEST_H__ */<br>
-<br>
- #include &lt;unistd.h&gt;<br>
-+#ifndef __GLIBC__<br>
-+#include &lt;limits.h&gt;<br>
-+#endif<br>
-<br>
- #include &quot;tst_common.h&quot;<br>
- #include &quot;tst_res_flags.h&quot;<br>
---<br>
-2.11.0<br>
-<br>
diff --git a/meta/recipes-extended/ltp/<wbr>ltp/0037-faccessat-and-<wbr>fchmodat-Fix-build-warnings.<wbr>patch b/meta/recipes-extended/ltp/<wbr>ltp/0037-faccessat-and-<wbr>fchmodat-Fix-build-warnings.<wbr>patch<br>
deleted file mode 100644<br>
index 99497d6..0000000<br>
--- a/meta/recipes-extended/ltp/<wbr>ltp/0037-faccessat-and-<wbr>fchmodat-Fix-build-warnings.<wbr>patch<br>
+++ /dev/null<br>
@@ -1,68 +0,0 @@<br>
-From 4141bdb441f7576a2e73abeb2a0fb1<wbr>c7b8bd8647 Mon Sep 17 00:00:00 2001<br>
-From: Naresh Kamboju &lt;<a href="mailto:naresh.kamboju@linaro.org">naresh.kamboju@linaro.org</a>&gt;<br>
-Date: Mon, 19 Jun 2017 19:01:21 +0530<br>
-Subject: [PATCH 1/7] faccessat and fchmodat: Fix build warnings<br>
-MIME-Version: 1.0<br>
-Content-Type: text/plain; charset=UTF-8<br>
-Content-Transfer-Encoding: 8bit<br>
-<br>
-Fixing below build warnings.<br>
-<br>
-ltp-full-20170516/testcases/<wbr>kernel/syscalls/faccessat$ make<br>
-In file included from ../../../../include/old/test.<wbr>h:51:0,<br>
-                 from faccessat01.c:44:<br>
-faccessat01.c: In function ‘setup’:<br>
-../../../../include/old/old_<wbr>safe_file_ops.h:55:27:<br>
-warning: format not a string literal and no format arguments [-Wformat-security]<br>
-                   (path), (fmt), ## __VA_ARGS__)<br>
-                           ^<br>
-faccessat01.c:132:2: note: in expansion of macro ‘SAFE_FILE_PRINTF’<br>
-  SAFE_FILE_PRINTF(cleanup, testfile, testfile);<br>
-  ^<br>
-../../../../include/old/old_<wbr>safe_file_ops.h:55:27:<br>
-warning: format not a string literal and no format arguments [-Wformat-security]<br>
-                   (path), (fmt), ## __VA_ARGS__)<br>
-                           ^<br>
-faccessat01.c:133:2: note: in expansion of macro ‘SAFE_FILE_PRINTF’<br>
-  SAFE_FILE_PRINTF(cleanup, testfile2, testfile2);<br>
-<br>
-Signed-off-by: Naresh Kamboju &lt;<a href="mailto:naresh.kamboju@linaro.org">naresh.kamboju@linaro.org</a>&gt;<br>
-Upstream-Status: Accepted [<a href="https://github.com/linux-test-project/ltp/commit/4141bdb441f7576a2e73abeb2a0fb1c7b8bd8647" rel="noreferrer" target="_blank">https://github.com/linux-<wbr>test-project/ltp/commit/<wbr>4141bdb441f7576a2e73abeb2a0fb1<wbr>c7b8bd8647</a>]<br>
----<br>
- testcases/kernel/syscalls/<wbr>faccessat/faccessat01.c | 4 ++--<br>
- testcases/kernel/syscalls/<wbr>fchmodat/fchmodat01.c   | 4 ++--<br>
- 2 files changed, 4 insertions(+), 4 deletions(-)<br>
-<br>
-diff --git a/testcases/kernel/syscalls/<wbr>faccessat/faccessat01.c b/testcases/kernel/syscalls/<wbr>faccessat/faccessat01.c<br>
-index 622dfd3b0..def7fa755 100644<br>
---- a/testcases/kernel/syscalls/<wbr>faccessat/faccessat01.c<br>
-+++ b/testcases/kernel/syscalls/<wbr>faccessat/faccessat01.c<br>
-@@ -129,8 +129,8 @@ void setup(void)<br>
-       fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);<br>
-       fds[1] = fds[4] = fds[0];<br>
-<br>
--      SAFE_FILE_PRINTF(cleanup, testfile, testfile);<br>
--      SAFE_FILE_PRINTF(cleanup, testfile2, testfile2);<br>
-+      SAFE_FILE_PRINTF(cleanup, testfile, &quot;%s&quot;, testfile);<br>
-+      SAFE_FILE_PRINTF(cleanup, testfile2, &quot;%s&quot;, testfile2);<br>
-<br>
-       fds[2] = SAFE_OPEN(cleanup, testfile3, O_CREAT | O_RDWR, 0600);<br>
-<br>
-diff --git a/testcases/kernel/syscalls/<wbr>fchmodat/fchmodat01.c b/testcases/kernel/syscalls/<wbr>fchmodat/fchmodat01.c<br>
-index 6bf66d8b8..7856ed3fa 100644<br>
---- a/testcases/kernel/syscalls/<wbr>fchmodat/fchmodat01.c<br>
-+++ b/testcases/kernel/syscalls/<wbr>fchmodat/fchmodat01.c<br>
-@@ -127,8 +127,8 @@ void setup(void)<br>
-       fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);<br>
-       fds[1] = fds[4] = fds[0];<br>
-<br>
--      SAFE_FILE_PRINTF(cleanup, testfile, testfile);<br>
--      SAFE_FILE_PRINTF(cleanup, testfile2, testfile2);<br>
-+      SAFE_FILE_PRINTF(cleanup, testfile, &quot;%s&quot;, testfile);<br>
-+      SAFE_FILE_PRINTF(cleanup, testfile2, &quot;%s&quot;, testfile2);<br>
-<br>
-       fds[2] = SAFE_OPEN(cleanup, testfile3, O_CREAT | O_RDWR, 0600);<br>
-       fds[3] = 100;<br>
---<br>
-2.13.0<br>
-<br>
diff --git a/meta/recipes-extended/ltp/<wbr>ltp/0038-syscalls-add_key02-<wbr>update-to-test-fix-for-<wbr>nonempty-N.patch b/meta/recipes-extended/ltp/<wbr>ltp/0038-syscalls-add_key02-<wbr>update-to-test-fix-for-<wbr>nonempty-N.patch<br>
deleted file mode 100644<br>
index 3759e1f..0000000<br>
--- a/meta/recipes-extended/ltp/<wbr>ltp/0038-syscalls-add_key02-<wbr>update-to-test-fix-for-<wbr>nonempty-N.patch<br>
+++ /dev/null<br>
@@ -1,136 +0,0 @@<br>
-From 25045624e941ee76a13febd36187e2<wbr>3c6c435507 Mon Sep 17 00:00:00 2001<br>
-From: Eric Biggers &lt;<a href="mailto:ebiggers@google.com">ebiggers@google.com</a>&gt;<br>
-Date: Mon, 12 Jun 2017 11:55:21 -0700<br>
-Subject: [PATCH 01/39] syscalls/add_key02: update to test fix for nonempty<br>
- NULL payload<br>
-<br>
-add_key02 was supposed to be a &quot;Basic test for the add_key() syscall&quot;,<br>
-but it actually happened to test the obscure case of passing a NULL<br>
-payload with nonzero length.  This case was mishandled by the kernel,<br>
-which either returned EINVAL or crashed with a NULL pointer dereference,<br>
-depending on the key type.  (The former applied to the test, as it used<br>
-the &quot;user&quot; key type.)  The expected behavior in this case is that the<br>
-syscall fail with EFAULT.<br>
-<br>
-Update the test to expect the fixed behavior from v4.12-rc5, and make<br>
-the test more thorough by testing additional key types, including ones<br>
-that caused a NULL pointer dereference in unfixed kernels.<br>
-<br>
-Signed-off-by: Eric Biggers &lt;<a href="mailto:ebiggers@google.com">ebiggers@google.com</a>&gt;<br>
-Upstream-Status: Accepted [<a href="https://github.com/linux-test-project/ltp/commit/25045624e941ee76a13febd36187e23c6c435507" rel="noreferrer" target="_blank">https://github.com/linux-<wbr>test-project/ltp/commit/<wbr>25045624e941ee76a13febd36187e2<wbr>3c6c435507</a>]<br>
----<br>
- testcases/kernel/syscalls/add_<wbr>key/add_key02.c | 69 ++++++++++++++++++++-------<br>
- 1 file changed, 51 insertions(+), 18 deletions(-)<br>
-<br>
-diff --git a/testcases/kernel/syscalls/<wbr>add_key/add_key02.c b/testcases/kernel/syscalls/<wbr>add_key/add_key02.c<br>
-index 866800d6f..2e3308dcd 100644<br>
---- a/testcases/kernel/syscalls/<wbr>add_key/add_key02.c<br>
-+++ b/testcases/kernel/syscalls/<wbr>add_key/add_key02.c<br>
-@@ -1,5 +1,6 @@<br>
- /*****************************<wbr>******************************<wbr>*******************<br>
-  * Copyright (c) Crackerjack Project., 2007                                 *<br>
-+ * Copyright (c) 2017 Google, Inc.                                            *<br>
-  *                                                                          *<br>
-  * This program is free software;  you can redistribute it and/or modify      *<br>
-  * it under the terms of the GNU General Public License as published by       *<br>
-@@ -18,10 +19,17 @@<br>
-  ******************************<wbr>******************************<wbr>******************/<br>
-<br>
- /*<br>
-- * Basic test for the add_key() syscall.<br>
-+ * Test that the add_key() syscall correctly handles a NULL payload with nonzero<br>
-+ * length.  Specifically, it should fail with EFAULT rather than oopsing the<br>
-+ * kernel with a NULL pointer dereference or failing with EINVAL, as it did<br>
-+ * before (depending on the key type).  This is a regression test for commit<br>
-+ * 5649645d725c (&quot;KEYS: fix dereferencing NULL payload with nonzero length&quot;).<br>
-  *<br>
-- * History:   Porting from Crackerjack to LTP is done by<br>
-- *          Manas Kumar Nayak <a href="mailto:maknayak@in.ibm.com">maknayak@in.ibm.com</a>&gt;<br>
-+ * Note that none of the key types that exhibited the NULL pointer dereference<br>
-+ * are guaranteed to be built into the kernel, so we just test as many as we<br>
-+ * can, in the hope of catching one.  We also test with the &quot;user&quot; key type for<br>
-+ * good measure, although it was one of the types that failed with EINVAL rather<br>
-+ * than dereferencing NULL.<br>
-  */<br>
-<br>
- #include &quot;config.h&quot;<br>
-@@ -33,36 +41,61 @@<br>
-<br>
- #ifdef HAVE_LINUX_KEYCTL_H<br>
- struct tcase {<br>
--      char *type;<br>
--      char *desc;<br>
--      void *payload;<br>
--      int plen;<br>
--      int exp_errno;<br>
-+      const char *type;<br>
-+      size_t plen;<br>
- } tcases[] = {<br>
--      {&quot;user&quot;, &quot;firstkey&quot;, NULL, 1, EINVAL}<br>
-+      /*<br>
-+       * The payload length we test for each key type needs to pass initial<br>
-+       * validation but is otherwise arbitrary.  Note: the &quot;rxrpc_s&quot; key type<br>
-+       * requires a payload of exactly 8 bytes.<br>
-+       */<br>
-+      { &quot;asymmetric&quot;,         64 },<br>
-+      { &quot;cifs.idmap&quot;,         64 },<br>
-+      { &quot;cifs.spnego&quot;,        64 },<br>
-+      { &quot;pkcs7_test&quot;,         64 },<br>
-+      { &quot;rxrpc&quot;,              64 },<br>
-+      { &quot;rxrpc_s&quot;,             8 },<br>
-+      { &quot;user&quot;,               64 },<br>
- };<br>
- #endif /* HAVE_LINUX_KEYCTL_H */<br>
-<br>
- static void verify_add_key(unsigned int i)<br>
- {<br>
- #ifdef HAVE_LINUX_KEYCTL_H<br>
--      TEST(tst_syscall(__NR_add_key, tcases[i].type, tcases[i].desc,<br>
--                       tcases[i].payload, tcases[i].plen,<br>
--                       KEY_SPEC_USER_KEYRING));<br>
-+      TEST(tst_syscall(__NR_add_key, tcases[i].type, &quot;abc:def&quot;,<br>
-+                       NULL, tcases[i].plen, KEY_SPEC_PROCESS_KEYRING));<br>
-<br>
-       if (TEST_RETURN != -1) {<br>
--              tst_res(TFAIL, &quot;add_key() passed unexpectedly&quot;);<br>
-+              tst_res(TFAIL,<br>
-+                      &quot;add_key() with key type &#39;%s&#39; unexpectedly succeeded&quot;,<br>
-+                      tcases[i].type);<br>
-               return;<br>
-       }<br>
-<br>
--      if (TEST_ERRNO == tcases[i].exp_errno) {<br>
--              tst_res(TPASS | TTERRNO, &quot;add_key() failed expectedly&quot;);<br>
-+      if (TEST_ERRNO == EFAULT) {<br>
-+              tst_res(TPASS, &quot;received expected EFAULT with key type &#39;%s&#39;&quot;,<br>
-+                      tcases[i].type);<br>
-               return;<br>
-       }<br>
-<br>
--      tst_res(TFAIL | TTERRNO,<br>
--              &quot;add_key() failed unexpectedly, expected %s&quot;,<br>
--              tst_strerrno(tcases[i].exp_<wbr>errno));<br>
-+      if (TEST_ERRNO == ENODEV) {<br>
-+              tst_res(TCONF, &quot;kernel doesn&#39;t support key type &#39;%s&#39;&quot;,<br>
-+                      tcases[i].type);<br>
-+              return;<br>
-+      }<br>
-+<br>
-+      /*<br>
-+       * It&#39;s possible for the &quot;asymmetric&quot; key type to be supported, but with<br>
-+       * no asymmetric key parsers registered.  In that case, attempting to<br>
-+       * add a key of type asymmetric will fail with EBADMSG.<br>
-+       */<br>
-+      if (TEST_ERRNO == EBADMSG &amp;&amp; !strcmp(tcases[i].type, &quot;asymmetric&quot;)) {<br>
-+              tst_res(TCONF, &quot;no asymmetric key parsers are registered&quot;);<br>
-+              return;<br>
-+      }<br>
-+<br>
-+      tst_res(TFAIL | TTERRNO, &quot;unexpected error with key type &#39;%s&#39;&quot;,<br>
-+              tcases[i].type);<br>
- #else<br>
-       tst_brk(TCONF, &quot;linux/keyctl.h was missing upon compilation.&quot;);<br>
- #endif /* HAVE_LINUX_KEYCTL_H */<br>
---<br>
-2.13.0<br>
-<br>
diff --git a/meta/recipes-extended/ltp/<a href="http://ltp_20170516.bb" rel="noreferrer" target="_blank">lt<wbr>p_20170516.bb</a> b/meta/recipes-extended/ltp/<a href="http://ltp_20170516.bb" rel="noreferrer" target="_blank">lt<wbr>p_20170516.bb</a><br>
index 86b8012..46c9741 100644<br>
--- a/meta/recipes-extended/ltp/<a href="http://ltp_20170516.bb" rel="noreferrer" target="_blank">lt<wbr>p_20170516.bb</a><br>
+++ b/meta/recipes-extended/ltp/<a href="http://ltp_20170516.bb" rel="noreferrer" target="_blank">lt<wbr>p_20170516.bb</a><br>
@@ -21,7 +21,7 @@ DEPENDS_append_libc-musl = &quot; fts &quot;<br>
 EXTRA_OEMAKE_append_libc-musl = &quot; LIBC=musl &quot;<br>
 CFLAGS_append_powerpc64 = &quot; -D__SANE_USERSPACE_TYPES__&quot;<br>
 CFLAGS_append_mipsarchn64 = &quot; -D__SANE_USERSPACE_TYPES__&quot;<br>
-SRCREV = &quot;<wbr>6c6c6ca40afb3611e52486f6700857<wbr>62ff451e91&quot;<br>
+SRCREV = &quot;<wbr>18916a2e6d8c997b7b29dcfa9550d5<wbr>a15b22ed22&quot;<br>
<br>
 SRC_URI = &quot;git://<a href="http://github.com/linux-test-project/ltp.git" rel="noreferrer" target="_blank">github.com/linux-test-<wbr>project/ltp.git</a> \<br>
            file://0001-add-_GNU_SOURCE-<wbr>to-pec_listener.c.patch \<br>
@@ -29,7 +29,6 @@ SRC_URI = &quot;git://<a href="http://github.com/linux-test-project/ltp.git" rel="noreferrer" target="_blank">github.com/linux-test-<wbr>project/ltp.git</a> \<br>
            file://0003-Add-knob-to-<wbr>control-tirpc-support.patch \<br>
            file://0004-build-Add-option-<wbr>to-select-libc-implementation.<wbr>patch \<br>
            file://0005-kernel-<wbr>controllers-Link-with-libfts-<wbr>explicitly-on-mu.patch \<br>
-           file://0006-fix-PATH_MAX-<wbr>undeclared-when-building-with-<wbr>musl.patch \<br>
            file://0007-fix-__WORDSIZE-<wbr>undeclared-when-building-with-<wbr>musl.patch \<br>
            file://0008-Check-if-__GLIBC_<wbr>PREREQ-is-defined-before-<wbr>using-it.patch \<br>
            file://0009-fix-redefinition-<wbr>of-struct-msgbuf-error-<wbr>building-wit.patch \<br>
@@ -49,9 +48,6 @@ SRC_URI = &quot;git://<a href="http://github.com/linux-test-project/ltp.git" rel="noreferrer" target="_blank">github.com/linux-test-<wbr>project/ltp.git</a> \<br>
            file://0034-periodic_output.<wbr>patch \<br>
            file://0035-fix-test_proc_<wbr>kill-hang.patch \<br>
            file://0036-testcases-network-<wbr>nfsv4-acl-acl1.c-Security-fix-<wbr>on-s.patch \<br>
-           file://0001-dirtyc0w-Include-<wbr>stdint.h.patch \<br>
-           file://0037-faccessat-and-<wbr>fchmodat-Fix-build-warnings.<wbr>patch \<br>
-           file://0038-syscalls-add_<wbr>key02-update-to-test-fix-for-<wbr>nonempty-N.patch \<br>
            &quot;<br>
<br>
 S = &quot;${WORKDIR}/git&quot;<br>
@@ -69,14 +65,6 @@ EXTRA_OECONF = &quot; --with-power-management-<wbr>testsuite --with-realtime-testsuite &quot;<br>
 # ltp network/rpc test cases ftbfs when libtirpc is found<br>
 EXTRA_OECONF += &quot; --without-tirpc &quot;<br>
<br>
-# The makefiles make excessive use of make -C and several include <a href="http://testcases.mk" rel="noreferrer" target="_blank">testcases.mk</a><br>
-# which triggers a build of the syscall header. To reproduce, build ltp,<br>
-# then delete the header, then &quot;make -j XX&quot; and watch regen.sh run multiple<br>
-# times. Its easier to generate this once here instead.<br>
-do_compile_prepend () {<br>
-       ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.<wbr>h )<br>
-}<br>
-<br>
 do_install(){<br>
     install -d ${D}/opt/ltp/<br>
     oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>