diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2020-05-18 22:36:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-21 10:52:07 +0100 |
commit | 82346d35e4a879ae13678dc28ffa354ea68b2ac0 (patch) | |
tree | 25f3d4bd1a2d890e130f86b45bc6e7f8171ba9dd /meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch | |
parent | c4087787bc8daf0edbb08557f84f0cb19dab3556 (diff) | |
download | poky-82346d35e4a879ae13678dc28ffa354ea68b2ac0.tar.gz |
ltp: Update to 20200515
Inherit also pkgconfig (required for TI-RPC and Netlink based route
tests), to fix:
configure:6045: error: possibly undefined macro: AC_DEFINE
Refreshed patches (some tests have been fixed for musl)
* 0001-build-Add-option-to-select-libc-implementation.patch
(add a note here)
* 0001-Add-more-musl-exclusions.patch
Removed patches (different fix in upstream)
* 0003-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
Removed patches (accepted upstream)
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch
Update upstream status
* 0004-guard-mallocopt-with-__GLIBC__.patch
(From OE-Core rev: b31adfccbcdf88f2a9cdca59dcb4725356d30a7f)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch b/meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch deleted file mode 100644 index 350091a70c..0000000000 --- a/meta/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 4b7db094d6fc5659001ae8dc17078bb65d46b9c9 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> | ||
3 | Date: Fri, 13 May 2016 11:11:28 -0500 | ||
4 | Subject: [PATCH] acl: Security fix on string printf | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Fixes build error when compiled with -Werror=format-security: | ||
10 | |||
11 | acl1.c: In function ‘test_acl_default’: | ||
12 | acl1.c:305:2: error: format not a string literal and no format arguments [-Werror=format-security] | ||
13 | 305 | printf(cmd); | ||
14 | |||
15 | Patch taken from openembedded-core, | ||
16 | original bug report: https://bugzilla.yoctoproject.org/9548 | ||
17 | |||
18 | [YOCTO #9548] | ||
19 | |||
20 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | ||
21 | Signed-off-by: Petr Vorel <pvorel@suse.cz> | ||
22 | Upstream-Status: accepted in 4b7db094d6fc5659001ae8dc17078bb65d46b9c9 | ||
23 | --- | ||
24 | testcases/network/nfsv4/acl/acl1.c | 2 +- | ||
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
26 | |||
27 | diff --git a/testcases/network/nfsv4/acl/acl1.c b/testcases/network/nfsv4/acl/acl1.c | ||
28 | index aae9484e5..ad778cd33 100644 | ||
29 | --- a/testcases/network/nfsv4/acl/acl1.c | ||
30 | +++ b/testcases/network/nfsv4/acl/acl1.c | ||
31 | @@ -302,7 +302,7 @@ void test_acl_default(char *dir, acl_t acl) | ||
32 | char *cmd = malloc(256); | ||
33 | |||
34 | strcpy(cmd, "chmod 7777 "); | ||
35 | - printf(cmd); | ||
36 | + printf(cmd, NULL); | ||
37 | strcat(cmd, dir); | ||
38 | system(cmd); | ||
39 | acl2 = acl_get_file(path, ACL_TYPE_ACCESS); | ||
40 | -- | ||
41 | 2.25.1 | ||
42 | |||