aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-10Snap for 4386413 from 2ac7dc3167c394c90479b1cd48562b58570c651d to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: I7c575af213d9c3b2ea7a11feddc6dcee93e486ab
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79d am: 056e99d355 am: 1c785c60c3android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseChih-Hung Hsieh
am: 2d94df3b0e Change-Id: I1f93482698774a8de03a6b73d3e72a43674c3df1
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79d am: 056e99d355android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7Chih-Hung Hsieh
am: 1c785c60c3 Change-Id: I3919a7a92b94843d237e290920fedb82678e489f
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79dChih-Hung Hsieh
am: 056e99d355 Change-Id: Ia02d5d496aec6c4325b51465c3c42969b6f6f873
2017-10-09Use -Werror in external/xz-embeddedChih-Hung Hsieh
am: 04db9dd79d Change-Id: I57a6fe62cecc7f3cd4d419eefcda2bae3cae56ff
2017-09-29Use -Werror in external/xz-embeddedChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Id5ae6cc8c81ec157430906938699a99f42c9ae3c
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6 am: b1953bc192 am: ↵oreo-mr1-devElliott Hughes
eb4f490242 am: 3d48ad729b Change-Id: Ie9b90c858c3eee28cfec8ba69646c5eaac628595
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6 am: b1953bc192Elliott Hughes
am: eb4f490242 Change-Id: Id9c15320a019ce947caf2bf4f8d5b5783fc61b5d
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6android-o-mr1-preview-2android-o-mr1-preview-1Elliott Hughes
am: b1953bc192 Change-Id: I7babf3a184bb43375022a129a9123e8537b6280c
2017-06-23Link to the bug motivating the #defines.Elliott Hughes
am: 03e7a3eae6 Change-Id: I30e51c738145a131bf945c8e97111a5ae12ec555
2017-06-22Link to the bug motivating the #defines.Elliott Hughes
Bug: http://b/32846435 Test: builds Change-Id: Ifbc754f2336dc35c6ffe8d7acd3d41e86da77859
2017-06-22Build libxz from external/xz-embedded. am: f56c789601 am: 031fd68df0 am: ↵Elliott Hughes
5c2f63f932 am: 0043a8b314 Change-Id: Ib23cad8fbcbfdfa83cb9fc0a8f11649c3ab24196
2017-06-22Build libxz from external/xz-embedded. am: f56c789601 am: 031fd68df0Elliott Hughes
am: 5c2f63f932 Change-Id: I14a6eb3021fe9eac7bd93bc8cf21ada32f1f5fa1
2017-06-22Build libxz from external/xz-embedded. am: f56c789601Elliott Hughes
am: 031fd68df0 Change-Id: I456ce637dcedbe2a62dad2c8a006edf32ec32424
2017-06-22Build libxz from external/xz-embedded.Elliott Hughes
am: f56c789601 Change-Id: I17816db7d1d529242b394d9a6ec015fcafff3245
2017-06-21Build libxz from external/xz-embedded.Elliott Hughes
Also add the various bits of Android tree detritus. Bug: http://b/32846435 Test: builds Change-Id: I520a6b37d4f66078b6d94f91f1208a84c2d5d9c4
2017-06-16Merge remote-tracking branch 'aosp/upstream_master' into mymergeElliott Hughes
2017-06-16Initial empty repositoryBill Rassieur
2017-04-07Add two more missing fall-through comments.upstream_masterLasse Collin
2017-04-06xzembed: add fallthrough annotations to fix build with GCC7Andrei Borzenkov
GCC7 is more strict than previous versions; add missing fall through annotations. Style is modeled after similar annotations in xz_dec_lzma2.c.
2015-11-03userspace: buftest: add a new line after error messageDu Huanpeng
Signed-off-by: Du Huanpeng <u74147@gmail.com>
2015-10-30userspace: bytetest: add a new line after error messageDu Huanpeng
Signed-off-by: Du Huanpeng <u74147@gmail.com>
2014-04-07Add comments for the intentionally missing break statements.Lasse Collin
2013-05-13Fix a typo in decompress_unxz.c.Lasse Collin
This is an old fix from 2011 that I just found from the Linux source tree. The fix was made by Lucas De Marchi.
2013-05-13Update linux/lib/xz/Kconfig from Linux 3.9.Lasse Collin
This drops "if EXPERT" from BCJ filter configuration, and the default configuration enables only the BCJ filter(s) that are likely needed on the target arch: x86 BCJ filter is enabled on x86, PowerPC filter on PowerPC, and so on. Patches do this were made by Florian Fainelli, and a typo was fixed by Paul Bolle.
2013-04-15Add support for MSVC in xz_config.h.Lasse Collin
Thanks to Luke Deller for the original patch.
2013-02-27Document integrity check #defines in README.Lasse Collin
2013-02-27Add optional support for CRC64.Lasse Collin
2012-03-31Mention xzminidec.c in README.Lasse Collin
2012-03-19Fix xz_wrap.sh on SPARC and 32-bit x86.Lasse Collin
ARCH for 32-bit x86 is i386, not x86. 32-bit and 64-bit SPARC have different ARCH values too. Use SRCARCH instead of ARCH to keep things simple.
2012-02-22Add the test program that was supposed to be in the previous commit.Lasse Collin
Note: The previous commit is five months old.
2011-09-19Add a program to test the bug fixed in the previous commit.Lasse Collin
2011-09-19Fix incorrect XZ_BUF_ERROR.Lasse Collin
xz_dec_run() could incorrectly return XZ_BUF_ERROR if all of the following was true: - The caller knows how many bytes of output to expect and only provides that much output space. - When the last output bytes are decoded, the caller-provided input buffer ends right before the LZMA2 end of payload marker. So LZMA2 won't provide more output anymore, but it won't know it yet and thus won't return XZ_STREAM_END yet. - A BCJ filter is in use and it hasn't left any unfiltered bytes in the temp buffer. This can happen with any BCJ filter, but in practice it's more likely with filters other than the x86 BCJ. This fixes <https://bugzilla.redhat.com/show_bug.cgi?id=735408> where Squashfs thinks that a valid file system is corrupt. Thanks to Jindrich Novy for telling me that such a bug report exists, Phillip Lougher for providing excellent debug info, and other people on #fedora-ppc. This also fixes a similar bug in single-call mode where the uncompressed size of a XZ Block using BCJ + LZMA2 was 0 bytes and caller provided no output space. Many empty .xz files don't contain any Blocks and thus don't trigger this bug. This also tweaks a closely related detail: xz_dec_bcj_run() could call xz_dec_lzma2_run() to decode into temp buffer when it was known to be useless. This was harmless although it wasted a minuscule number of CPU cycles.
2011-07-23Add missing <linux/kernel.h> include.Lasse Collin
The min_t macro is defined in <linux/kernel.h>. On x86 <linux/kernel.h> is included indirectly via <asm/unaligned.h>, thus the missing include wasn't caught on x86. Since <linux/kernel.h> always includes <asm/byteorder.h>, there's no need to include the latter explicitly. Thanks to Russel King and and Imre Kaloz.
2011-06-19Update a comment in xzminidec.c.Lasse Collin
2011-05-01s/EMBEDDED/EXPERT/ in linux/lib/xz/Kconfig.Lasse Collin
2011-03-31Fix decoding of LZMA2 streams having no uncompressed data.Lasse Collin
No .xz encoder creates files with empty LZMA2 streams, but such files would still be valid and decompressors must accept them. Note that empty .xz files are a different thing than empty LZMA2 streams. This bug didn't affect typical .xz files that had no uncompressed data.
2010-12-22Add C++ support to xz.h.Lasse Collin
2010-12-02Fix coding style in unxz.h.Lasse Collin
2010-12-02Make unxz.h title match the title of decompress_unxz.c.Lasse Collin
2010-12-02Remove an empty line from xz_dec_lzma2.c.Lasse Collin
2010-12-02Fix decompress_unxz.c API.Lasse Collin
Previously only the features that were needed by the code currently in Linux were implemented. However, <linux/decompress/generic.h> requires a few other features too, so implement them for consistency with other decompressors: - Callback-to-buffer mode - Ability to use caller-given input buffer with fill() Thanks to Phillip Lougher.
2010-11-25Don't flush() with an empty buffer in unxz().Lasse Collin
Thanks to Phillip Lougher.
2010-11-25Fix decompress_unxz.c title again.Lasse Collin
2010-11-25Fix coding style for real.Lasse Collin
I clearly wasn't fully awake with the commit ac313d. Thanks to Andrew Morton.
2010-11-25Remove noinline_for_stack.Lasse Collin
It's not needed to keep the stack usage of xz_dec_bcj_run() low because the BCJ filters get inlined into bcj_apply(), and that is not inlined into xz_dec_bcj_run(). Thanks to Andrew Morton.
2010-11-25Comment and coding style fixes.Lasse Collin
Thanks to Phillip Lougher.
2010-11-25Coding style fixes.Lasse Collin
Thanks to Andrew Morton.
2010-11-25Make bcj_x86_test_msbyte() an inline function.Lasse Collin
Thanks to Andrew Morton.
2010-11-24Fix error message in decompress_unxz.c.Lasse Collin
XZ_BUF_ERROR always means that the data is corrupt because in single-call mode the output buffer size is not limited (it can overflow) because the API doesn't pass the output buffer size. XZ_BUF_ERROR cannot occur in multi-call mode because it keeps the output buffer non-full.