diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-07-05 23:46:03 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2018-07-25 12:57:02 +0200 |
commit | d78179134ae0ce2a6ef51f32ca3ff7fe6a977608 (patch) | |
tree | 1f71bd2f7cb6851efeeb842e1759c444ef6aa8df /core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch | |
parent | b9d3b2f81ec9388e5b0ad9a01babc2bd2c6b06e4 (diff) |
ltp: bump to release 20180515, for real
The following patches have made it to upstream:
* 0001-configure-Fix-default-value-of-without-numa-switch-i.patch
* 0001-configure-add-knob-to-control-numa-support.patch
* 0003-Add-knob-to-control-tirpc-support.patch
* 0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch
* 0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch
These patches have been refreshed in order to apply cleanly
and without any fuzz:
* 0004-build-Add-option-to-select-libc-implementation.patch
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
* 0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
* 0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
* 0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
We ship the open posix test suite already but it isn't compiled.
Let's build it and make it ready to use on the device.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Add new patch from OE-core:
* 0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch
and one that is yet to be merged upstream:
* 0041-cve-2017-5669-shmat-for-0-or-PAGESIZE-with-RND-flag-.patch
Add new RDEPENDS: procps.
Change a few things in the recipe, chiefly the part where it
deals with the packaging of a static library.
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Include the following change:
3084ff86 ltp: set -fomit-frame-pointer explicitly for x86-64
Mingli Yu <Mingli.Yu@windriver.com>
Also sync the patch that Naresh sent (0041) as it was taken by
OE-core.
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Change-Id: I6d34dd00f86fd0fe98bff52f3a8d2b7ced96361a
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch')
-rw-r--r-- | core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch b/core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch new file mode 100644 index 0000000..e826d48 --- /dev/null +++ b/core/recipes-extended/ltp/ltp/0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch @@ -0,0 +1,41 @@ +From 672a56be14426eae44864673c6c2afca0ab89d46 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> +Date: Fri, 13 May 2016 11:11:28 -0500 +Subject: [PATCH] testcases/network/nfsv4/acl/acl1.c: Security fix on string + printf +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + +acl1.c: In function 'test_acl_default': +acl1.c:317:2: error: format not a string literal and no format arguments +[-Werror=format-security] + printf(cmd); + +[YOCTO #9548] + +Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> + +Upstream-Status: Pending +--- + testcases/network/nfsv4/acl/acl1.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testcases/network/nfsv4/acl/acl1.c b/testcases/network/nfsv4/acl/acl1.c +index b8b67b4..7c7c506 100644 +--- a/testcases/network/nfsv4/acl/acl1.c ++++ b/testcases/network/nfsv4/acl/acl1.c +@@ -303,7 +303,7 @@ void test_acl_default(char *dir, acl_t acl) + char *cmd = malloc(256); + + strcpy(cmd, "chmod 7777 "); +- printf(cmd); ++ printf(cmd, NULL); + strcat(cmd, dir); + system(cmd); + acl2 = acl_get_file(path, ACL_TYPE_ACCESS); +-- +2.1.4 + |