No description
Find a file
Nick Kralevich 6ebf12fe1b init: Change umask of forked processes to 077
Modify init to set the umask to 077 when forking processes.
This helps protect against inadvertant information disclosure
in init's child processes.

ueventd: Keep umask at 000. uevent needs to be able to
create device nodes with exactly the permissions it
indicates.

Testing:
1) Do an "ls -lR /data /dev" on the device before and after
the umask change and diff the output. Verified by hand
that the permission change wouldn't cause any problems.

2) Verify that package installation works, and the permissions
are as expected, when installing a program from market and
"adb install".

Bug: 3272072
Change-Id: Ie4f7f06c0ee9da8d9b6fce25d71d8991a9bce406
2012-04-02 14:11:07 -07:00
adb adb: set umask to 000 2012-04-02 14:10:56 -07:00
charger charger: make the almost-full frame only show when it's current level 2011-10-31 17:04:33 -07:00
cpio dist for dist_files 2010-12-09 10:33:27 -08:00
debuggerd Reduce suicidal tendencies 2012-03-08 15:42:30 -08:00
fastboot fastboot: add support for SELinux and fs_config_func 2012-03-30 20:46:16 -07:00
gpttool Add missing header to gpttool 2011-01-25 08:07:01 -08:00
include cutils: return the remote uid on netlink recv failure 2012-03-29 17:07:24 -07:00
init init: Change umask of forked processes to 077 2012-04-02 14:11:07 -07:00
libcorkscrew Improve backtrace formatting. 2011-11-22 12:13:46 -08:00
libctest Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
libcutils cutils: return the remote uid on netlink recv failure 2012-03-29 17:07:24 -07:00
libdiskconfig Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) 2012-01-17 17:56:20 +00:00
libion libion: use correct build vars in makefile 2012-02-27 16:32:15 -08:00
liblinenoise Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
liblog Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a 2012-03-01 23:58:50 -08:00
libmincrypt make DumpPublicKeys write 32-bit values as unsigned 2010-01-29 10:47:38 -08:00
libnetutils Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) 2012-01-17 17:56:20 +00:00
libnl_2 libnl_2: Fix memory leaks 2011-11-01 15:56:22 -07:00
libpixelflinger Rename LOG_ASSERT to ALOG_ASSERT 2012-01-17 17:56:20 +00:00
libsysutils Added netlink failure logging to NetlinkListener.cpp 2012-03-29 16:38:58 -07:00
libusbhost Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) 2012-01-17 17:56:19 +00:00
libzipfile Fix a call to memset(3) with reversed arguments. 2009-09-03 11:52:31 -07:00
logcat fix "logcat -c ; logcat -d" hang. 2012-02-23 14:48:51 -08:00
logwrapper logwrapper: reduce verbosity and fix usage 2012-02-28 13:55:57 -08:00
mkbootimg dist for dist_files 2010-12-09 10:33:27 -08:00
netcfg Support adding, deleting, and clearing IPv6 addrs. 2011-09-28 17:12:13 -07:00
rootdir Merge "change files in /dev/log/ to 666" 2012-03-29 10:40:00 -07:00
run-as do more checks on packages.list 2012-02-09 11:22:33 -08:00
sdcard Fix returning errno values which should be negative. 2011-07-22 22:05:27 +09:00
sh sh: null check signame list since sig 0 is not valid 2010-12-09 14:20:16 -08:00
toolbox Add get_sched_policy_name() and use in ps and top 2012-03-15 15:10:45 -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 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