History log of /external/gptfdisk/gptcl.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c50b5e176b95034b54d04856388ac3be6132076 27-Mar-2018 Jeff Sharkey <jsharkey@android.com> Parse hex code immediately to avoid SIGBUS.

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
/external/gptfdisk/gptcl.cc
d6f72efe5dc2c5cd592e80ede5c7d94d2a3c41e3 19-Oct-2017 Jeff Sharkey <jsharkey@android.com> Remember hex type to support MBR creation.

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
/external/gptfdisk/gptcl.cc
6d5a8afcca9976206de55ff73e75f7129693314a 07-Mar-2017 Aurimas Liutikas <aurimas@google.com> Revert "Update external/gptfdisk to 1.0.1" am: bdbab02f71 am: 165c596ac3
am: fa990d2e3b

Change-Id: I88a6501b6dbc6b6682ac414a1aa590a11bbd3306
bdbab02f71097593c879a552951d73969305d0ae 07-Mar-2017 Aurimas Liutikas <aurimas@google.com> Revert "Update external/gptfdisk to 1.0.1"

This reverts commit 74b7490a22bb9ad5f521a62b9c9100e70b94da9b.

This change caused a regression in fugu usb formatting.

Bug: 35217931
Test: None
Change-Id: I50c73bde912a7c941e1d67d41bfab02042db88eb
/external/gptfdisk/gptcl.cc
38e853e544665df666af105b8e78f9c4e4f6a106 28-Oct-2016 Aurimas Liutikas <aurimas@google.com> Merge "Fix all warnings and enable -Werror for gptfdisk." am: 2c054ab90e am: 7424963b5b am: 8ca4df28c5
am: 2fd2c48cd3

Change-Id: I1060e62981950fa582e880d6aba6ca9e246587c3
2c2deeb032f6c158cf4f782e1765a4a21af88cb3 22-Apr-2016 Greg Hartman <ghartman@google.com> Add an option to allow disk syncing to be turned off

Bug: 27795746

Change-Id: I47447a8467c409db526483ac7e4a9394cd68578a
(cherry picked from commit fd9b918d2e49de4b7b7568aaa39f7e179752766d)
/external/gptfdisk/gptcl.cc
fcad060a1d83aa5e0b4ad38cf342d10f1922878d 11-May-2016 Aurimas Liutikas <aurimas@google.com> Fix all warnings and enable -Werror for gptfdisk.

Bug: 26936282
Change-Id: Id7e9ec5e769e1abedc1d2e36bff2c5488b1c4b3e
/external/gptfdisk/gptcl.cc
74b7490a22bb9ad5f521a62b9c9100e70b94da9b 11-May-2016 Aurimas Liutikas <aurimas@google.com> Update external/gptfdisk to 1.0.1

Updates gpftdisk to the latest version 0.8.10 (ish) -> 1.0.1

The downstream patches should be uneffected.

Change-Id: I527678c0b24194f3947e360f0f38c45cfa3b0d1c
/external/gptfdisk/gptcl.cc
d761ff5a2aac9d9b6bd0bc8236419b1cf0128c86 01-Mar-2015 Jeff Sharkey <jsharkey@android.com> Revert "Offer to print partition info in raw format."

This reverts commit 729f7bd5fe0b23ed16084f0e4591c7a6eb4de40f.
/external/gptfdisk/gptcl.cc
729f7bd5fe0b23ed16084f0e4591c7a6eb4de40f 24-Feb-2015 Jeff Sharkey <jsharkey@android.com> Offer to print partition info in raw format.

This raw format is easier for other scripts to parse.

Change-Id: I15b3011376e27c28fd40b9c3b2722a75bb8cde25
/external/gptfdisk/gptcl.cc
873988ad03aba810fd5abbb3810720d7a6eb5c51 21-Feb-2015 Jeff Sharkey <jsharkey@android.com> Compile gptfdisk for Android.

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
/external/gptfdisk/gptcl.cc
d28495e066ae8ea8dd37164ebaf7a52d932014f9 02-Mar-2014 Roderick W. Smith <rodsmith@rodsbooks.com> Can now pass "0" as partition number to -A, -c, -t, and -u commands in
sgdisk *IF* "0" was also used as a partition number in a preceding -n
command.
/external/gptfdisk/gptcl.cc
a345a922606a88447d2d89e28189d5372a75ea07 22-Feb-2014 Roderick W. Smith <rodsmith@rodsbooks.com> Refinements to new treatment of hybrid MBR and MBR conversions that
span the 2TiB boundary.
/external/gptfdisk/gptcl.cc
820d1d04a3a76fb7699063597aac55742cc28d4a 20-Feb-2014 Roderick W. Smith <rodsmith@rodsbooks.com> Fixed sgdisk problem when creating hybrid MBR with a partition that
ends beyond sector 2^32. Now refuses to create such partitions.
/external/gptfdisk/gptcl.cc
e3ee733ff8690af7568dac665bc20ecf869dea1d 24-Sep-2013 Roderick W. Smith <rodsmith@rodsbooks.com> Removed 0x8302 type code, since the Red Hat parted developers have
decided against using it.
/external/gptfdisk/gptcl.cc
f5dfbfa418675ca862408e4fb2240b21dd07d558 15-Feb-2013 srs5694 <srs5694@users.sourceforge.net> Change to alignment code in sgdisk.
/external/gptfdisk/gptcl.cc
0741fa21ac6cb477891ef15f269c8c8f36cac7c6 09-Jan-2013 srs5694 <srs5694@users.sourceforge.net> 0.8.6 release.
/external/gptfdisk/gptcl.cc
e842bc135131778a8363a5dc8a39641a63530270 03-Feb-2012 srs5694 <srs5694@users.sourceforge.net> Fixed bug: >2TiB partition creation in sgdisk
/external/gptfdisk/gptcl.cc
d1b11e8305621d73ff675af940e7f1f28b639b0d 19-Sep-2011 srs5694 <srs5694@users.sourceforge.net> Fixed bug in reading GPTs with encoded header sizes other than 92 bytes.
/external/gptfdisk/gptcl.cc
3860cbe1cafb88d70097bdfb8d84cc0029f1738e 11-Sep-2011 srs5694 <srs5694@users.sourceforge.net> New files in support of version 0.8.0
/external/gptfdisk/gptcl.cc