No description
Find a file
Nick Kralevich 080427e4e2 adb: drop capability bounding set on user builds
run-as: don't require CAP_DAC_OVERRIDE.

Prevent an adb spawned application from acquiring capabilities
other than

* CAP_NET_RAW
* CAP_SETUID
* CAP_SETGID

The only privileged programs accessible on user builds are
* /system/bin/ping
* /system/bin/run-as

and the capabilities above are sufficient to cover those
two programs.

If the kernel doesn't support file capabilities, we ignore
a prctl(PR_CAPBSET_DROP) failure. In a future CL, this could
become a fatal error.

Change-Id: I45a56712bfda35b5ad9378dde9e04ab062fe691a
2013-02-15 21:22:19 -08:00
adb adb: drop capability bounding set on user builds 2013-02-15 21:22:19 -08:00
charger charger: Do not suspend when disconnecting from charger 2012-12-07 10:13:51 -08:00
cpio fix mkbootfs for systems that lack PATH_MAX 2012-05-04 16:45:35 -07:00
debuggerd am 910b7a8b: am 17361134: Merge "Add a "smash-stack" option to crasher." 2013-02-14 16:21:04 -08:00
fastboot Merge commit '35d5b7e6' into master 2013-01-23 21:20:23 -08:00
fs_mgr am 7fd51b36: am b20fa762: Merge "Fix fs_mgr to properly invoke e2fsck on encrypted devices" into jb-mr1.1-dev 2012-11-12 11:50:22 -08:00
gpttool Fix build by removing TAGS from host module 2012-08-15 19:52:52 -07:00
include Refactoring: Rename SurfaceTextureClient to Surface 2013-02-15 12:48:01 -08:00
init Merge "Revert "Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes.""" 2013-02-12 01:05:42 +00:00
libcorkscrew Merge "Tidy up long lines" 2013-02-07 04:32:19 +00:00
libctest Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
libcutils am 4b9bdd33: am 90dd1402: am 241194ca: Merge "[MIPS] Benchmark test for MIPS memset16/memset32" 2013-02-06 20:59:56 -08:00
libdiskconfig config_mbr: Fix integer overflow 2012-07-26 10:18:14 -07:00
libion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
liblinenoise Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
liblog Use Rlog instead of Log 2012-11-28 12:20:19 -08:00
libmincrypt remove unneeded import 2012-09-20 15:55:20 -07:00
libnetutils Merge "Support 4 dns servers, up from 2" 2013-01-11 15:38:59 -08:00
libnl_2 am cdc4a400: am cb71ed30: am 50e2555d: Merge "Always include <sys/socket.h> before <linux/netlink.h>." 2012-09-12 11:08:42 -07:00
libpixelflinger Remove unnecessary compiler pragma. 2012-08-29 18:13:14 -07:00
libsparse Support for multiple modules with the same name is going away. 2012-08-15 19:52:52 -07:00
libsuspend am 76edb14f: am 2cc3527a: libsuspend: compile as a static library 2012-12-06 18:59:59 -08:00
libsync update libsync to support new timeout semantics 2012-08-21 18:21:18 -07:00
libsysutils libsysutils: Increase command buffersize and command args 2012-11-12 14:40:21 +01:00
libusbhost libusbhost: generates a static library 2012-12-10 11:12:44 +01:00
libzipfile Fixed warnings test_zipfile 2012-08-20 16:38:37 -04:00
logcat DO NOT MERGE Add event log tag for cert pin failures. 2012-09-12 18:08:35 -07:00
logwrapper logwrap: Change semantics of NULL status in android_fork_execvp 2013-02-08 09:37:52 -08:00
mkbootimg add command-line arguments to mkbootimg to move kernel, ramdisk, etc. 2012-08-20 10:46:10 -07:00
netcfg Support adding, deleting, and clearing IPv6 addrs. 2011-09-28 17:12:13 -07:00
rootdir Merge "Delete frameworks/base/voip use voip-common from frameworks/opt/net/voip" 2013-01-29 03:10:58 +00:00
run-as adb: drop capability bounding set on user builds 2013-02-15 21:22:19 -08:00
sdcard Raise the max file open limit in sdcard 2013-02-11 15:42:22 -08:00
sh Fixed un-initialized variable warnings 2012-08-01 15:15:11 -04:00
toolbox toolbox: renice: Add -t TYPE parameter and switch to getopt 2013-01-22 16:59:36 -08: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 Raise the viking killer min free values to match the system properties 2011-01-28 22:56:18 -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

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