Go to file
Sami Tolvanen 4cafe2ff89 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
2014-10-29 11:06:47 -07:00
adb adb warns on remount when verity is enabled 2014-10-27 10:56:31 -07:00
adf libadf: silence false positive warning 2014-05-07 15:27:59 -07:00
cpio cpio: Turn on -Werror 2014-05-23 09:48:09 -07:00
debuggerd Move ABI: line below header when dumping stacks. 2014-09-11 14:20:04 -07:00
fastboot Remove obsolete reference to ddk; Fixes for -Werror 2014-09-30 02:24:07 -07:00
fastbootd Judge mmap failed by MAP_FAILED instead of NULL 2014-05-22 12:51:39 +08:00
fs_mgr Fix verity on system partitions larger than 2G 2014-10-29 11:06:47 -07:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd healthd: Add callback for screen_on to the healthdHAL 2014-09-26 14:37:17 -07:00
include Handle code_cache dir creation in libnativebridge 2014-10-27 15:37:32 +00:00
init Include reason when wiping data. 2014-09-24 11:46:36 -07:00
libbacktrace Add uncached argument to BacktraceMap::Create on darwin 2014-08-05 00:48:45 -07:00
libcutils Make the default cgroup, the foreground cgroup. 2014-10-07 19:24:54 +00:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion libion: Turn on -Werror 2014-05-21 12:58:38 -07:00
liblog am fe963bfd: am a1ac84cd: MingW doesn\'t handle __attribute__((weak)) for Windows PE 2014-10-20 21:20:40 +00:00
libmemtrack system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libmincrypt Remove declaration of unused static variable 2014-05-12 17:47:39 +02:00
libnativebridge Add code cache tests to libnativebridge. 2014-10-28 16:06:43 +00:00
libnetutils Support resetting connections tied to any nonexistent address. 2014-09-08 23:35:52 -07:00
libpixelflinger Build pixelflinger tests as native tests, not executables. 2014-06-26 13:22:44 +01:00
libprocessgroup Fix issue #18000467: processgroup truncates buffer 2014-10-15 11:36:28 -07:00
libsparse am d4d09637: am db32e788: am a2b03c4a: Merge "libsparse: turn on -Werror" 2014-05-08 21:43:07 +00:00
libsuspend am 1291df76: am c5fa4b19: am 065c2706: Merge "libsuspend: Turn on -Werror" 2014-05-22 19:21:07 +00:00
libsync Add gtest conformance tests for libsync. Not complete yet, but substantially more comprehensive than the interactive test that was there before. 2014-06-10 23:33:18 +00:00
libsysutils Support parsing netlink route messages. 2014-06-21 10:55:07 +09:00
libusbhost libusbhost: Fix IOCTL call during usb_request_cancel 2014-08-07 01:13:31 +00:00
libutils Fix windows specific behavior of FileMap 2014-10-16 12:09:06 -07:00
libziparchive Fix toolchain issue for windows build of libziparchive. 2014-10-16 07:49:16 +00:00
libzipfile Build host with multilib both enabled. 2014-06-05 11:42:26 -07:00
lmkd lmkd: kill a process if zoneinfo can't be read 2014-07-14 17:41:17 -07:00
logcat logcat: document help tail from time 2014-09-01 10:42:49 -07:00
logd logd: kill(0,0) issue 2014-10-08 14:01:45 -07:00
logwrapper Fix "ptsname is not thread-safe; use ptsname_r instead" build break. 2014-07-29 11:08:57 -07:00
mkbootimg mkbootimg: turn on -Werror 2014-05-05 10:30:04 -07:00
netcfg Cleanup: Delete dead code. 2014-07-22 15:00:21 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "rootdir: Make trusty version readable by dumpstate" into lmp-mr1-dev 2014-10-20 21:53:59 +00:00
run-as run-as: build 1161573 failure 2014-05-08 21:18:23 +00:00
sdcard Fix sdcard truncates. 2014-07-31 12:03:03 -07:00
toolbox toolbox: add prlimit command 2014-10-27 12:25:41 -07:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk add cleanspec for lmkd 2014-07-10 14:26:57 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
README auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:39 -07:00

README

The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc