Go to file
Nick Kralevich 2268718ee2 check the return value of setuid and friends
Under some circumstances, setuid() and family can fail,
returning a non-zero value.  (see "man setuid" for details).
If this happens, we want to ensure that init doesn't spawn a
process which has root privileges when it's not suppose to.

Change-Id: Idd03f2c8f82a7eaf6e696b5bcfe308e51ea58b52
2010-11-17 16:55:42 -08:00
adb am 34961b26: am 6713a2e0: Merge "Fix USB endianness bugs on Linux." 2010-10-21 13:45:39 -07:00
cpio auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
debuggerd am 5c5ff87d: am 83c6b052: Print out the signal code along with signal number and address. 2010-10-11 10:49:17 -07:00
fastboot am 42b871f1: am c37ba1c9: Merge "Check fastboot oem command line length" 2010-07-29 11:11:07 -07:00
include Add new AID_MEDIA_RW group to control write access to /data/media 2010-10-29 10:55:54 -04:00
init check the return value of setuid and friends 2010-11-17 16:55:42 -08:00
libctest Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
libcutils Qualify the source argument of atomic loads as a const pointer. 2010-09-28 14:06:00 -07:00
libdiskconfig Disable building libdiskconfig on non-Linux hosts 2010-07-12 23:03:45 -07:00
liblinenoise Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
liblog am 0c0f68e8: Fix a long standing bug in the output buffer size computation. 2010-08-18 13:38:04 -07:00
libmincrypt make DumpPublicKeys write 32-bit values as unsigned 2010-01-29 10:47:38 -08:00
libnetutils am 705ab8db: Fix sim build - remove unncesessary header. 2010-08-26 09:02:48 -07:00
libpixelflinger am 8e0e372a: Set PROT_EXEC on the whole pixelflinger code cache. 2010-10-15 06:08:04 -07:00
libsysutils Permit 0 length writes. 2010-11-02 10:56:15 -07:00
libusbhost libusbhost: add usb_device_get_unique_id_from_name() 2010-07-27 19:05:33 -04:00
libzipfile Fix a call to memset(3) with reversed arguments. 2009-09-03 11:52:31 -07:00
logcat am 06b21887: am 2da0032c: add graphics events to the eventlog definitions 2010-09-15 12:19:33 -07:00
logwrapper Get rid of warnings when compiled with -Wformat-security 2010-05-13 15:38:49 -07:00
mkbootimg Fix the pagesize argument parsing 2010-08-24 15:24:50 -07:00
mksh Don't alias 'stop' to 'kill -STOP' 2010-09-10 11:16:14 -05:00
netcfg - creates proper ifc.h and dhcp.h headers for libnetutils 2010-08-25 08:13:42 -07:00
nexus - creates proper ifc.h and dhcp.h headers for libnetutils 2010-08-25 08:13:42 -07:00
rootdir Create directory for DRM plug-ins. 2010-10-28 13:44:47 -07:00
run-as Add 'run-as' command implementation as set-uid program. 2010-03-17 11:02:08 -07:00
sdcard Properly reflect RENAME ops in FUSE internal state 2010-10-14 11:04:26 -07:00
sh Manual merge 2010-08-25 09:54:23 -07:00
toolbox Add ls -n to toolbox. 2010-10-25 13:30: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 Fix sim build. 2010-05-11 14:21:39 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:24 -08: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
patch.txt merge from open-source master 2010-07-22 09:12:15 -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