No description
Find a file
Stephen Smalley f2b7ee7655 Apply restorecon_recursive to all of /data.
With the following prior changes:
I77bf2a0c4c34b1feef6fdf4d6c3bd92dbf32f4a1
I698b1b2c3f00f31fbb2015edf23d33b51aa5bba1
I8dd915d9bb80067339621b905ea2b4ea0fa8d71e
it should now be safe (will correctly label all files)
and reasonably performant (will skip processing unless
file_contexts has changed since the last call) to call
restorecon_recursive /data from init.rc.

The call is placed after the setprop selinux.policy_reload 1 so that
we use any policy update under /data/security if present.

Change-Id: Ib8d9751a47c8e0238cf499fcec61898937945d9d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-02-06 14:33:29 -05:00
adb Merge changes I70ab37d5,I716f89c0,I34c96adf,I77650923,I35b0d1ee, ... 2014-01-28 21:09:37 +00:00
adf libadf: add helper to set up a simple post 2013-11-26 15:40:02 -08:00
charger Add liblog 2013-04-09 22:03:45 -07:00
cpio Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
debuggerd system/core LP64 cleanup. 2014-02-05 18:02:11 -08:00
fastboot Merge commit '536dea9d61a032e64bbe584a97463c6638ead009' into HEAD 2013-11-22 13:44:43 -08:00
fastbootd system/core LP64 cleanup. 2014-02-05 18:02:11 -08:00
fs_mgr fs_mgr: split fstab parsing into separate file 2014-01-23 14:24:16 -08:00
gpttool Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
healthd healthd: perform periodic chores when awake and on battery power 2013-09-09 14:49:53 -07:00
include Revert "Move to the canonical UniquePtr.h." 2014-02-04 23:41:22 +00:00
init Move restorecon and restorecon_recursive code to libselinux. 2014-01-28 10:42:24 -05:00
libbacktrace Call a specialized local map set. 2014-02-01 11:53:33 -08:00
libcorkscrew Fix mips build. 2014-02-01 12:23:03 -08:00
libctest Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
libcutils libcutils: resolve warning in iosched_policy.c 2014-01-27 15:20:23 -08:00
libdiskconfig system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libion system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
liblog system/core LP64 cleanup. 2014-02-05 18:02:11 -08:00
libmemtrack system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libmincrypt Add support for ECDSA P-256 with SHA256 2013-10-09 17:04:50 -07:00
libnetutils Merge commit '536dea9d61a032e64bbe584a97463c6638ead009' into HEAD 2013-11-22 13:44:43 -08:00
libnl_2 system/core LP64 cleanup. 2014-02-05 18:02:11 -08:00
libpixelflinger Use <stdint.h> for INT32_MIN and INT32_MAX. 2014-01-24 16:08:03 -08:00
libsparse system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libsuspend am 76edb14f: am 2cc3527a: libsuspend: compile as a static library 2012-12-06 18:59:59 -08:00
libsync move sync headers from include to libsync 2014-01-03 21:27:05 +00:00
libsysutils libsysutil: frequent native crash /system/bin/vold 2014-01-31 15:27:14 -08:00
libusbhost libusbhost: It's no longer assumed that "bus/usb" exists once "bus" was created 2013-08-26 14:56:39 -07:00
libutils Move CallStack to libbacktrace. 2014-01-09 15:09:13 -08:00
libziparchive Fix entry handling for 0 length entries. 2014-01-24 13:41:55 +00:00
libzipfile Fixed warnings test_zipfile 2012-08-20 16:38:37 -04:00
logcat logcat: Add -T flag (-t w/o assumption of -d) 2014-01-27 15:19:17 -08:00
logwrapper system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
mkbootimg mkbootimg: support longer kernel command lines 2013-09-09 13:13:33 -07:00
netcfg Support adding, deleting, and clearing IPv6 addrs. 2011-09-28 17:12:13 -07:00
reboot Don't return immediately from reboot commands. 2013-10-24 11:01:16 -07:00
rootdir Apply restorecon_recursive to all of /data. 2014-02-06 14:33:29 -05:00
run-as am aed27f80: am b0739c66: Fix run-as which was broken in Android 4.3 2013-08-28 13:11:00 -07:00
sdcard system/core LP64 cleanup. 2014-02-05 18:02:11 -08:00
toolbox Fix 'r' for LP64. 2014-01-17 09:50:56 -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 toolbox: Make reboot a separate command from toolbox 2013-03-26 12:24:10 -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

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