summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/blktrace/blktrace
Commit message (Collapse)AuthorAgeFilesLines
* blktrace: Security fix CVE-2018-10689Yi Zhao2018-08-281-0/+150
| | | | | | | | | | | | | | | | | | | CVE-2018-10689: blktrace (aka Block IO Tracing) 1.2.0, as used with the Linux kernel and Android, has a buffer overflow in the dev_map_read function in btt/devmap.c because the device and devno arrays are too small, as demonstrated by an invalid free when using the btt program with a crafted file. References: https://nvd.nist.gov/vuln/detail/CVE-2018-10689 Patch from: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id=d61ff409cb4dda31386373d706ea0cfb1aaac5b7 (From OE-Core rev: 6a7ed8b1db10abd38bdd20c77a8f27427d381156) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: refresh patchesRoss Burton2018-03-111-4/+12
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 0666146a9f12c90e2b5f9fd3b03b21429fb9327c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: 1.1.0+gitX -> 1.2.0+gitXHuang Qiyu2018-01-292-33/+3
| | | | | | | | | | | | 1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX 2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream. 3.Modify ldflags.patch, since iowatcher/Makefile has been changed. (From OE-Core rev: bd1326a1e778f1c774fe3efd93b888bf9ee9df3d) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: Include <sys/types.h for dev_tKhem Raj2016-01-241-0/+30
| | | | | | | (From OE-Core rev: 1151b2402328f867dae11a5ef836218bbe66dd25) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blkspace: fix ldflags for iowatcherChristopher Larson2015-11-251-5/+18
| | | | | | | | | | This quiets a GNU_HASH warning. (From OE-Core rev: ad8a2ca46075a7ea236d6db9da963dc0040d2206) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "blktrace: fix and enable parallel build"Robert Yang2015-03-161-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2d9763a1c8685e9bd3a6b0aa0995eec5112dc4a7. There are a few parallel issues: 1) ../rbtree.o: error adding symbols: Invalid operation collect2: error: ld returned 1 exit status Makefile:42: recipe for target 'btt' failed 2) git/blkiomon.c:216: undefined reference to `rb_insert_color' collect2: error: ld returned 1 exit status Makefile:27: recipe for target 'blkparse' failed 3) ld: rbtree.o: invalid string offset 128 >= 125 for section `.strtab' 4) btreplay.o: file not recognized: File truncated collect2: error: ld returned 1 exit status btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory (From OE-Core rev: 35bb619486d7f5721e8fa86c8744d4cea4d1746a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: fix and enable parallel buildRobert Yang2015-02-151-0/+41
| | | | | | | (From OE-Core rev: 521ec7e979409f213cd98ed6015fdba2fce89243) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: obey LDFLAGS for btrecordChristopher Larson2014-09-221-2/+6
| | | | | | | (From OE-Core rev: 43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: essentially rework the recipe, obey LDFLAGSFahad Usman2012-12-262-55/+89
| | | | | | | | | | | | | | (From OE-Core rev: 8d5fa8f26e4cc366ac566d3682bd74eb4578cc6d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id aed463414e2e2bf8ca44ba54ee5973e7ed599e57 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Upstream-Status to patchesSaul Wold2012-01-031-0/+2
| | | | | | | (From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: update to version 1.0.3Tom Zanussi2011-09-281-26/+0
| | | | | | | | | | | | This also removes dso_linking_change_build_fix.patch since the same change has been made upstream. Also removes unused SRC_URI checksums. (From OE-Core rev: 776942858cad072facc9b5fea618ee88ff56a3a8) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: fix build issue with gcc dso linking changeNitin A Kamble2011-01-201-0/+26
| | | | | | | | | All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libXrender library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* blktrace: Fix parallel make issueTom Zanussi2010-12-301-2/+2
| | | | | | | | | | | | | | | Fixes [BUGID #581] When PARALLEL_MAKE is used with the current blktrace Makefile, the btreplay and btrecord object files can end up being built multiple times in parallel, which occasionally causes the linker to pick up the object files in intermediate and seemingly corrupt states, and causes the spurious link errors in the bug report. This fix restricts the recursive btreplay invocations to building only btreplay or btrecord as appropriate, not both. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* blktrace: new packageTom Zanussi2010-11-221-0/+53
Add blktrace, a tool for generating traces of the I/O traffic on block devices. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>