aboutsummaryrefslogtreecommitdiff
path: root/gptcl.h
AgeCommit message (Collapse)Author
2018-03-27Parse hex code immediately to avoid SIGBUS.android-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_r3android-wear-9.0.0_r24android-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-p-preview-3android-p-preview-2android-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-devp-preview-2Jeff Sharkey
On 32-bit devices we trigger SIGBUS by trying to copy around the std::string, so parse it immediately to avoid trouble. Test: manual with 32-bit binary Bug: 73961200 Change-Id: I32028fd18a00f3a40d380145cb7a7874b758f5c4
2017-10-19Remember hex type to support MBR creation.Jeff Sharkey
Before this patch, requesting a code like "0x0c00" would be flattened to "0x0700" because it was translated through the GUID type table. Callers creating MBR tables expect these codes to flow through without this fidelity loss. To support this, we stash away any provided hex type and return it instead of doing a lookup. Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Bug: 63735902 Change-Id: If61407960c9ad1050e5f9031617d71d68f7820b4
2015-02-24Add host build rules for sgdiskGreg Hartman
Change-Id: I204ff8f580c2336c2c9d39bba48596aaaaa6860a
2015-02-21Compile gptfdisk for Android.Jeff Sharkey
Build sgdisk command line tool for use on Android devices. The command line parsing is currently written using popt, which has been deprecated for some time, and is replaced by GNOME's glib option parser. Instead of pulling in either of those dependencies, this change adds a stub that implements just enough of popt to get things working. Change-Id: I619f8da2e413893b4ea015a5d9e48d42637e25c8
2013-09-24Removed 0x8302 type code, since the Red Hat parted developers haveRoderick W. Smith
decided against using it.
2011-09-18Fixed bug in reading GPTs with encoded header sizes other than 92 bytes.srs5694
2011-09-10New files in support of version 0.8.0srs5694