aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-24Snap for 4562879 from 25c79ea1e064ec47b3d61a4fec8a6530c53846ae to pi-releaseandroid-p-preview-1p-preview-1android-build-team Robot
Change-Id: I8e8c39a8895bbdc5a65735723bfafe07f94d495b
2018-01-23libext2fs: add EXT2_FLAG_SHARE_DUP to de-duplicate data blocksJin Qian
When assigning physical address for new data block, search sha of existing blocks for match. If there's a match, reuse address of the matched block. Also set EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS in de-duped image. Bug: 64109868 Change-Id: I8d2d22e9c301264413c1454c84d7bf6bb32ac5c0
2018-01-23e2fsdroid/libext2fs: move hashmap into libext2fsJin Qian
Also update it so that hash key can be arbitrary length instead of null terminated string. Bug: 64109868 Change-Id: Icb0d91d5d753e86edaffcacb043b6f1aa429a528
2018-01-03Snap for 4523885 from 0a10ff5d43dd8047631d6e7cdbadc4af70990268 to pi-releaseandroid-build-team Robot
Change-Id: I6fc6b26de3852fe9e870e214694e45c212c08dfd
2018-01-03Merge "blkid: sanity check 'end' address must be greater than or equal to ↵Dong Jinguang
'lable' address." am: 58e29f870e am: 1dae5eab97 am: 3d484247a5 Change-Id: I4fa25d417656f44b80eda2d2a1a337b3b51bfbcf
2018-01-03Merge "blkid: sanity check 'end' address must be greater than or equal to ↵Dong Jinguang
'lable' address." am: 58e29f870e am: 1dae5eab97 Change-Id: I522cb2bf2527854bb2a866b378f98875ad544f9c
2018-01-03Merge "blkid: sanity check 'end' address must be greater than or equal to ↵Dong Jinguang
'lable' address." am: 58e29f870e Change-Id: I9dc8f544fd6602b8040ab884e7a79ce4ed711b30
2018-01-03Merge "blkid: sanity check 'end' address must be greater than or equal to ↵Treehugger Robot
'lable' address."
2017-12-29blkid: sanity check 'end' address must be greater than or equal toDong Jinguang
'lable' address. Avoid a potential out-of-bounds memory access address of label Test: mma -j8 and boot devices Change-Id: I155aa4e26f7079f517be3202de0032a86368559d
2017-12-03Snap for 4481641 from 69aa4d6baa5cf8e194db0514df470990e24a2136 to pi-releaseandroid-build-team Robot
Change-Id: I8deaf151d0855804bd5e97c0439e3b666b1ffaa7
2017-11-30Merge "Suppress warnings/errors for clang+mingw" am: d8d3ba7dda am: c010544766Dan Willemsen
am: 6fd11f3bc9 Change-Id: Id46ba76ce888096c3f9a10190940510eb036b368
2017-11-30Merge "Suppress warnings/errors for clang+mingw" am: d8d3ba7ddaDan Willemsen
am: c010544766 Change-Id: Ie77958b71b800b232411aa4a20f890b099e82d5f
2017-11-30Merge "Suppress warnings/errors for clang+mingw"Dan Willemsen
am: d8d3ba7dda Change-Id: If1f90a80fa5adbfbb6edbe961a9f7056cb6e46e2
2017-11-30Merge "Suppress warnings/errors for clang+mingw"Dan Willemsen
2017-11-29Suppress warnings/errors for clang+mingwDan Willemsen
Hide unused parameters/variables warnings for mingw. There are a lot of typedef redefinition errors (warnings) stemming from linux/types.h being included after ext2_types.h Bug: 69933068 Test: mmma external/e2fsprogs Change-Id: Id0815e9e01f4c137fb57696f7afd37935ebd35a1
2017-11-28Snap for 4471243 from bebe277cbbf42304fb0143633a005f7e8681bba7 to pi-releaseandroid-build-team Robot
Change-Id: I2a1b886d88a4b747cfd8a49175689887989b7730
2017-11-28Merge "Standarize on VFS_CAP_REVISION_2" am: 6428ed2f85 am: f99800d245Nick Kralevich
am: c1a5a9b1ab Change-Id: I292057cb00e691aec14e67527cb9e2068d29169d
2017-11-28Merge "Standarize on VFS_CAP_REVISION_2" am: 6428ed2f85Nick Kralevich
am: f99800d245 Change-Id: Ib20aaca83fa169182f473eaf90146e3c59f74c99
2017-11-28Merge "Standarize on VFS_CAP_REVISION_2"Nick Kralevich
am: 6428ed2f85 Change-Id: Icb28dd3ec52e5f0a6fecbfb9cae0680978ec0946
2017-11-28Merge "Standarize on VFS_CAP_REVISION_2"Treehugger Robot
2017-11-27Standarize on VFS_CAP_REVISION_2Nick Kralevich
In https://github.com/torvalds/linux/commit/8db6c34f1dbc8 , namespaced file capabilities were introduced. That change updated VFS_CAP_REVISION from VFS_CAP_REVISION_2 to VFS_CAP_REVISION_3. Android code is written assuming v2 capabilities, and the code will break if we naively try to treat a v2 structure as a v3 structure. So don't even try. Android kernels prior to v4.14 will not support this extended capability structure, so attempting to set such capabilities will ultimately fail. With 8db6c34f1dbc8, it appears that attempting to read a v3 capabilities xattr will always downgrade the capability to a v2 capability, so it really doesn't make sense to look for a v3 capability. Android capabilities are only created at /system and /vendor filesystem creation time by host tools. Android processes, within or outside a namespace, are not permitted CAP_SETFCAP (https://android-review.googlesource.com/c/platform/system/sepolicy/+/547801/1/public/domain.te line 1101). So we should never have to deal with a v3 capability other than those that might appear on the /system / /vendor partition at a future date by a future author. Bug: 69617725 Test: build/test/boot/CTS passes Change-Id: I7f9ed62b0a539f705d697113d007f0e7379221ea
2017-11-15Snap for 4453288 from 8042c5929a77715a92b0b3ace7b348ea3f5d7f50 to pi-releaseandroid-build-team Robot
Change-Id: I82ffef3e0bd25783e4905f6e3d0a2be6f958f0e6
2017-11-15Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
am: 65f77e6c25 Change-Id: I3ea55fa0d328d45045091d9b4815ebd02e94c106
2017-11-14Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
Change-Id: Ia8304a03a78467b7965951b175adaf663c072ad7
2017-11-13Merge commit '8da4168b0c83314d835ddc41b910be6c4a62eaa0' into HEADXin Li
Change-Id: If648649c7f507b88a48cea55cba4756a02c95bef
2017-11-12Snap for 4447680 from 734204243a5b2cd90473797ddf4e8c0d7274e928 to pi-releaseandroid-build-team Robot
Change-Id: Iedefbe2c5cbd3761fa9f7b0df7990b6b1f121ac7
2017-11-11Merge "Remove unnecessary warning flags, now that the warnings are fixed." ↵Stephen Hines
am: e3fd73e1c8 am: 5e3c7bd6d0 am: 8d1747b395 Change-Id: Ib199ae2a9f7a3baf1f5f07db7d5d245206d57dcc
2017-11-11Merge "Remove unnecessary warning flags, now that the warnings are fixed." ↵Stephen Hines
am: e3fd73e1c8 am: 5e3c7bd6d0 Change-Id: I396705354c8e8ab7c19e5ce7a5aac869c802411d
2017-11-11Merge "Remove unnecessary warning flags, now that the warnings are fixed."Stephen Hines
am: e3fd73e1c8 Change-Id: Idbbb125e5b57d4697619561a72205ed70afd75ed
2017-11-11Merge "Remove unnecessary warning flags, now that the warnings are fixed."Treehugger Robot
2017-11-10Remove unnecessary warning flags, now that the warnings are fixed.Stephen Hines
Bug: http://b/66996870 Bug: http://b/67046543 Test: Built aosp_sailfish successfully. Change-Id: Ie527b8f4d2917f226c6379bc5873a14d51782ecd
2017-11-10Merge changes from topic "b/67046543" am: 2e1e7bd962 am: 22f7401cd7Jin Qian
am: fa27ed1dd1 Change-Id: Ib6ebab51d67c82d2c93c3f4302e6c98b1ed623c1
2017-11-10Merge changes from topic "b/67046543" am: 2e1e7bd962Jin Qian
am: 22f7401cd7 Change-Id: I06a72562cad1340fceef095b4bdf4d4472b84d4c
2017-11-10Merge changes from topic "b/67046543"Jin Qian
am: 2e1e7bd962 Change-Id: I9915e04242b5e404c53c810822b91e199c90df59
2017-11-10Merge changes from topic "b/67046543"Treehugger Robot
* changes: Fix build warnings with '__bitwise' macro redefined Remove fsstress from build
2017-11-10Fix build warnings with '__bitwise' macro redefinedJin Qian
external/e2fsprogs/lib/blkid/blkid_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined] external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined] Bug: 67046543 Change-Id: Ic8a552f68e6e17be4bdca63e24b45f6c9a6dbcd7
2017-11-10Remove fsstress from buildJin Qian
This is outdated and deprecated by android-xfstests http://thunk.org/android-xfstests Bug: 67046543 Change-Id: Ic80d5636bc06420f92ee2400bada5b7eb5595253
2017-10-31Snap for 4425573 from 9eb4884e078053d763b768b858841ec8c3502b7e to pi-releaseandroid-build-team Robot
Change-Id: I32447451cfd4aa4878c1e5c3f1597db73a095139
2017-10-30Merge "Suppress use of ASan on e2fsdroid temporarily." am: f5efc9e047 am: ↵Stephen Hines
246e852f81 am: 96be690dcd Change-Id: I621f027decbc5a242f0c0061d3f617ada649c55c
2017-10-30Merge "Suppress use of ASan on e2fsdroid temporarily." am: f5efc9e047Stephen Hines
am: 246e852f81 Change-Id: I9964b91b4bc37b8b03f80f3b89f467e61e4a1321
2017-10-30Merge "Suppress use of ASan on e2fsdroid temporarily."Stephen Hines
am: f5efc9e047 Change-Id: Ic40fed396f4f20ddb6f1e94b3183cab1c422f153
2017-10-30Merge "Suppress use of ASan on e2fsdroid temporarily."Treehugger Robot
2017-10-27Suppress use of ASan on e2fsdroid temporarily.Stephen Hines
There is a heap buffer overflow that the next toolchain detects on e2fsdroid. In order to expedite deploying that toolchain, which has been validated on all of our other targets, we are going to suppress host sanitization of this executable until we can resolve the actual bug. Bug: http://b/68387795 Test: ASAN_OPTIONS=detect_leaks=0 SANITIZE_HOST=address m -j48 Change-Id: I35126c25a65304e53a18031d99334cc57e21a6a5
2017-10-18Snap for 4402171 from effb61b3977d307e33ece42586f5e189413e5c63 to pi-releaseandroid-build-team Robot
Change-Id: If24a73ede476113f9604109340e0767f6fac10d2
2017-10-17Merge "Use -Werror in external/e2fsprogs" am: 3281e889db am: 3db011ff8f am: ↵Chih-Hung Hsieh
89227d2f4a am: 8da4168b0c Change-Id: Ia5c4e2d772cca666a42ac3617bb8f10081b2aa19
2017-10-17Merge "Use -Werror in external/e2fsprogs" am: 3281e889db am: 3db011ff8fChih-Hung Hsieh
am: 89227d2f4a Change-Id: I1ae64608bd300c7b652fb55becacd464adbfacb9
2017-10-17Merge "Use -Werror in external/e2fsprogs" am: 3281e889dbChih-Hung Hsieh
am: 3db011ff8f Change-Id: Id8b087e980ba530d80abb45fa743c64e9a6215c1
2017-10-17Merge "Use -Werror in external/e2fsprogs"Chih-Hung Hsieh
am: 3281e889db Change-Id: Iac75de97870717ce3de580d8d20c91a21af9e3ae
2017-10-17Merge "Use -Werror in external/e2fsprogs"Treehugger Robot
2017-10-16Use -Werror in external/e2fsprogsChih-Hung Hsieh
* Share common flags in e2fsprogs-defaults. * -Wno-error=macro-redefined cannot be used for windows gcc cross compiler. * Suppress some non-critical warnings. * Use -Wno-error for darwin; to fix mac specific warnings later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I3842bd72cdb24ca51a0a42685a33a0ce082f9c77