summaryrefslogtreecommitdiffstats
path: root/libcutils/NOTICE
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2014-10-24 15:41:59 -0700
committerSami Tolvanen <samitolvanen@google.com>2014-10-29 11:06:47 -0700
commit4cafe2ff89b49329e0e880900195d8e061bd3750 (patch)
treefe2d54a633cdd8508362e41c958e6ee3c3c1d8d9 /libcutils/NOTICE
parent47a919c6fb1cb3f4d372758ed9a02b02bbac911c (diff)
downloadsystem_core-4cafe2ff89b49329e0e880900195d8e061bd3750.zip
system_core-4cafe2ff89b49329e0e880900195d8e061bd3750.tar.gz
system_core-4cafe2ff89b49329e0e880900195d8e061bd3750.tar.bz2
Fix verity on system partitions larger than 2G
If the system partition is larger than 2G, the device fails to read verity metadata, because fseek accepts only a 32-bit signed offset. Switch from fseek to lseek64 to allow seeking using a 64-bit offset, which solves the problem. At the same time, move away from stdio in the function. Bug: 17705619 Change-Id: I226320498dcb750ec6cde84411c7fe0774c9cab7
Diffstat (limited to 'libcutils/NOTICE')
0 files changed, 0 insertions, 0 deletions