Go to file
Riddle Hsu a6abd821d5 Allow to drop existing fd cache of cgroup path
A process can give up the permission to set cgroup. If we still
keep the fd that was cached before losing the permission, when
the process sets scheduling group, it will write to the cached
fd without checking if is accessible and lead to sepolicy denied.

Bug: 123043091
Test: Build and boot.
Test: A new process from zygote set cgroup and drop fd cache, and
      then specializes to app domain. There is no sepolicy denied
      when the process creates new thread.
      (android::thread_data_t::trampoline)

Change-Id: I285ee91424ea965ea9c670fc0f6662948e3e2ce5
2019-06-18 15:53:53 +08:00
adb Revert "adbd: don't close ep0 until we receive FUNCTIONFS_UNBIND." 2019-06-14 16:21:21 -07:00
base Create android-base/format.h that includes fmtlib headers 2019-06-14 14:55:27 -07:00
bootstat Merge "recovery: report compliant reboot reason (Part Deux)" 2019-05-28 15:57:24 +00:00
cpio
debuggerd crash_dump: populate uid field. 2019-05-09 12:49:57 -07:00
demangle Include string.h for strcmp. 2019-05-17 19:49:26 +01:00
deprecated-adf
diagnose_usb
fastboot fastbootd: Don't include all of the fs_mgr namespace in commands.cpp. 2019-06-11 14:05:02 -07:00
fs_mgr Merge "liblp: Remove the slot-suffix requirement in MetadataBuilder." 2019-06-17 22:58:20 +00:00
gatekeeperd
healthd healthd: charger: shutdown timer configurable 2019-04-08 12:46:47 -07:00
include
init init: use Errorf() now that we have it 2019-06-14 22:07:32 +00:00
janitors Add the two best build system janitors. 2019-03-25 10:25:13 -07:00
libappfuse Close /dev/fuse FD before calling onClosed 2019-05-31 17:06:52 +01:00
libasyncio
libbacktrace Internalize subclasses of Memory 2019-06-11 12:09:18 -07:00
libbinderwrapper
libcrypto_utils
libcutils Moving /odm/build.prop to /odm/etc/buid.prop 2019-05-22 06:03:34 +00:00
libdiskconfig
libgrallocusage
libion libion: convert a header file using update_all.py 2019-04-24 07:02:42 +00:00
libkeyutils mini-keyctl: fix key id parsing by "0x" prefix 2019-04-15 15:19:08 -07:00
liblog liblog: fix benchmark build after google-benchmark upgrade. 2019-06-07 08:38:37 -07:00
libmeminfo procrank: do not keep process maps around 2019-04-17 12:11:50 -07:00
libmemtrack
libmemunreachable Merge "memunreachable_test: don't use `write` to escape addresses" 2019-05-25 00:20:24 +00:00
libmetricslogger
libnativebridge
libnativeloader Fix nullpointer dereference in libnativeloader 2019-05-17 18:51:44 +09:00
libnetutils
libpackagelistparser
libpixelflinger
libprocessgroup Allow to drop existing fd cache of cgroup path 2019-06-18 15:53:53 +08:00
libprocinfo
libqtaguid
libsparse Fix an unintialized return value. 2019-05-02 12:54:09 -07:00
libstats Merge "Report last atom tag of the failed stats log." 2019-04-02 23:18:14 +00:00
libsuspend
libsync Enable native_bridge_support for libsync 2019-05-15 12:40:33 +02:00
libsystem Enable native_bridge_support for libsystem_headers 2019-05-16 14:13:38 +02:00
libsysutils Enable clang-tidy for libsysutils. 2019-04-24 00:35:58 +09:00
libunwindstack Internalize subclasses of Memory 2019-06-11 12:09:18 -07:00
libusbhost
libutils Enable native_bridge_support for libutils 2019-05-16 13:48:17 +02:00
libvndksupport Enable native_bridge_support for libvndksupport 2019-05-16 14:20:31 +02:00
libziparchive ziparchive: add a std::string_view overload to Next. 2019-06-12 12:12:47 -07:00
llkd
lmkd Allow memory metrics on devices that use kernel LMK 2019-04-29 11:02:51 +00:00
logcat Logcatd: Add new properties control logcat file size and file count. 2019-05-24 07:23:22 +00:00
logd logd: handle uidToName() directly 2019-06-07 11:39:24 -07:00
logwrapper
mkbootimg Check DTB image size for boot image header version 2 and above 2019-05-17 16:49:56 -07:00
property_service init: ro.boottime.init.first_stage 2019-05-08 16:07:10 +00:00
qemu_pipe
reboot
rootdir Link the sanitizer runtime libraries to the default unrestricted namespace. 2019-06-13 18:50:46 -07:00
run-as
sdcard
shell_and_utilities toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
storaged
toolbox toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
trusty Trusty Keymaster@4.0 2019-05-16 14:19:50 -07:00
usbd
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
Android.bp
CleanSpec.mk Do not create /sbin 2019-04-16 15:22:33 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS
PREUPLOAD.cfg
TEST_MAPPING Hide most symbols in libmemunreachable 2019-05-20 15:18:03 -07:00