<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/cpio, branch master-test</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-test</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-test'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-07-03T10:38:24+00:00</updated>
<entry>
<title>cpio: add nativesdk support</title>
<updated>2020-07-03T10:38:24+00:00</updated>
<author>
<name>hongxu</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2020-07-01T14:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c9c9913cf6bcadca941126c558f5a0790415b389'/>
<id>urn:sha1:c9c9913cf6bcadca941126c558f5a0790415b389</id>
<content type='text'>
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir]
applied, sbindir = bindir in nativesdk, then routine `rmt' is
installed to bindir which break `rmdir ${D}${bindir}/' failed with
`Directory not empty'

Don't rmdir if sbindir != bindir

(From OE-Core rev: 6cf92e4d80e6dc85853392865a2ba6eca8bbfdb0)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>recipes: Fix Upstream-Status Accepted -&gt; Backport</title>
<updated>2020-06-24T17:06:43+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-06-23T11:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=158ddebbb70c7d42dc3fc122fa53dc20aa9c8fd4'/>
<id>urn:sha1:158ddebbb70c7d42dc3fc122fa53dc20aa9c8fd4</id>
<content type='text'>
It helps our stats tracking to use Backport consitently, it mreans the same
thing as Accepted in pretty much all cases.

(From OE-Core rev: 3e923d86012c981cb332083b87353fdbc0a2b83a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: add patch to fix issues with gcc 10</title>
<updated>2020-05-12T14:20:42+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2020-05-06T09:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1d7e769149c5ec41181f7bfef1e42f60e246e456'/>
<id>urn:sha1:1d7e769149c5ec41181f7bfef1e42f60e246e456</id>
<content type='text'>
gcc 10 introduced "-fno-common" as default. Therefore backport the
according cpio patch to fix this issue.

(From OE-Core rev: ca6e5511b59b585de793ff6424c7c6ccfcd8e61e)

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: remove unused CVE patch</title>
<updated>2019-12-30T08:47:12+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2019-12-27T08:08:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2d4b6820c19a286eab020173e58052b1483c863e'/>
<id>urn:sha1:2d4b6820c19a286eab020173e58052b1483c863e</id>
<content type='text'>
According to the home page, https://www.gnu.org/software/cpio/,
CVE-2015-1197 have been fix in version 2.13, so removed
this patch get from SUSE

(From OE-Core rev: 6e37b0cba0d59e020ed031659aa050ce4e7c4ccd)

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: update to 2.13</title>
<updated>2019-12-16T23:25:49+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2019-12-12T18:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=aa4848622c5f832bbad10a126bfe7e7de7b6b703'/>
<id>urn:sha1:aa4848622c5f832bbad10a126bfe7e7de7b6b703</id>
<content type='text'>
Drop a couple of backports.

(From OE-Core rev: 66f3b09364c499d9b0610f7c01763ae5dc1521cf)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing</title>
<updated>2019-05-08T11:15:17+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2019-05-05T10:04:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6c1ddb540944f43784af929d02eb56d7efc350fb'/>
<id>urn:sha1:6c1ddb540944f43784af929d02eb56d7efc350fb</id>
<content type='text'>
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.

And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt

(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: avoid conflict with tar-doc and rmt.8</title>
<updated>2019-02-27T18:04:14+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2019-02-26T17:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a189a28dc105ff3f85c1a99591f305897b5770af'/>
<id>urn:sha1:a189a28dc105ff3f85c1a99591f305897b5770af</id>
<content type='text'>
This fixes:
    Error: Transaction check error:
      file /usr/share/man/man8/rmt.8 conflicts between attempted installs of
      cpio-doc-2.12-r0.core2_64 and tar-doc-1.31-r0.core2_64

Prior to commit 348a96a5b401 [tar: upgrade to 1.31] the copies of
rmt.8 found in the tar(-doc) and cpio(-doc) packages were the same and
thus no conflict was seen. After the upgrade there were small changes
in the manpage header which results in the conflict quoted above. The
applications themselves make use of the 'update-alternatives'
mechanism to allow a user to select which version of 'rmt' to use but
since the man pages are essentially the same we disambiguate the
source of the man pages and make them both available should both
cpio-doc and tar-doc are both installed. And as such we avoid the
conflict.

(From OE-Core rev: 692d5b1025450bf1c33fb6aa041603f082e2ba4d)

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: update patch to merged version</title>
<updated>2018-12-05T12:37:02+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-12-03T10:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b7ffedc262028bd151201ab0216aac55e4d45fec'/>
<id>urn:sha1:b7ffedc262028bd151201ab0216aac55e4d45fec</id>
<content type='text'>
The segfault on append was fixed upstream with a different patch, so apply that
instead.

(From OE-Core rev: 24000d1fdba2684202e15371f80bb385722c9d91)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: fix crash when appending to archives</title>
<updated>2018-12-01T11:38:36+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-11-29T11:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=572990892e22b4e31345d370053ad6f875071b59'/>
<id>urn:sha1:572990892e22b4e31345d370053ad6f875071b59</id>
<content type='text'>
The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory
bug when appending to an existing archive, which is an operation we perform when
building an image.

(From OE-Core rev: 046e3e1fca925febf47b3fdd5d4e9ee2e1fad868)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cpio: fix CVE-2016-2037</title>
<updated>2018-06-15T16:56:24+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2018-05-25T00:14:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=31a87d4d1dc80c6054c15a6f7dbc83b4d79bf0b2'/>
<id>urn:sha1:31a87d4d1dc80c6054c15a6f7dbc83b4d79bf0b2</id>
<content type='text'>
"The cpio_safer_name_suffix function in util.c in cpio 2.11 allows
remote attackers to cause a denial of service (out-of-bounds write)
via a crafted cpio file."

  https://nvd.nist.gov/vuln/detail/CVE-2016-2037

Note that there appear to be two versions of this fix. The original
patch posted to the bug-cpio mailing list [1] is used by Debian [2],
but apparently causes regression [3]. The patch accepted to the
upstream git repo [4] seems to be the most complete fix.

  [1] https://lists.gnu.org/archive/html/bug-cpio/2016-01/msg00005.html
  [2] https://security-tracker.debian.org/tracker/CVE-2016-2037
  [3] https://www.mail-archive.com/bug-cpio@gnu.org/msg00584.html
  [4] http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=d36ec5f4e93130efb24fb9678aafd88e8070095b

(From OE-Core rev: f170288ac706126e69a504a14d564b2e5c3513e4)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
