No description
Find a file
Mark Salyzyn 1186f3a5ad libcutils: ashmem check fd validity
- collect st_rdev on open, or when required, for /dev/ashmem.
- check in all cases if fd is a character device and matches rdev.
- requires that we have open, read and write access to /dev/ashmem
  to check, assumption being that if we can not, then we have no
  right playing with the associated misdirected file descriptor.

NB: ashmem libcutil library entry points can no longer be called in
    signal context.

Bug: 26871259
Change-Id: I9a17e33317a9be795131473a51c16f761b5f7407
2016-02-03 13:05:22 -08:00
adb Merge "adb: win32: handle incomplete UTF-8 in console output, other fixes" 2016-02-01 20:49:25 +00:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base base: add SystemErrorCodeToString() function. 2016-02-01 12:18:26 -08:00
bootstat Merge "bootstat: Hook up bootstat to record the boot complete signal and log boot events in the LOCAL_INIT_RC file, bootstat.rc." 2016-01-26 21:30:55 +00:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter Merge "crash_reporter: Add unit tests to debug builds" 2016-01-21 04:43:23 +00:00
debuggerd Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
fastboot fastboot: fix SocketMock send failures. 2016-02-03 10:43:01 -08:00
fingerprintd Fingerprint: Add HAL close() code 2015-07-10 16:26:32 -07:00
fs_mgr Merge "fs_mgr: support upstream dm-verity without error correction" 2015-12-10 20:13:02 +00:00
gatekeeperd Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
healthd healthd: BatteryPropertiesRegistrar binder service ref count fixup 2016-01-28 21:10:21 +00:00
include libcutils/fastboot: improve multi-buffer write. 2016-02-03 10:01:38 -08:00
init init: Fix load_firmware error 2016-02-01 10:10:28 +08:00
libbacktrace Fix for host simpleperf 'gettid' unsat. 2016-02-01 15:59:40 -05:00
libbinderwrapper libbinderwrapper: Add BinderWrapper::GetOrCreateInstance() 2016-01-04 12:56:27 -08:00
libcutils libcutils: ashmem check fd validity 2016-02-03 13:05:22 -08:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog logd: security buffer only AID_SYSTEM reader 2016-02-01 13:29:06 -08:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge Revert "nativebrige: log code_cache access errors to stderr as well" 2016-01-27 17:53:20 +00:00
libnativeloader Include icu4c libraries to the list of public libs 2016-02-02 11:06:31 -08:00
libnetutils libnetutils: Check socket() return value 2015-12-29 11:17:05 -08:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Use dlmalloc from external/dlmalloc instead of bionic/. 2016-01-22 11:04:35 -08:00
libprocessgroup processgroup: change the polling interval for killProcessGroup() 2015-06-16 13:59:32 -07:00
libsparse Fix static analyzer issues caught by clang 2016-02-01 11:19:26 -08:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00
libusbhost libusbhost: Fix problem reading USB string descriptors on some quirky devices 2015-06-18 13:38:31 -07:00
libutils more O_CLOEXEC 2015-12-18 20:57:25 -08:00
libziparchive Allow setting an arbitrary alignment for an entry. 2016-01-19 13:55:53 -08:00
lmkd more O_CLOEXEC 2015-12-18 20:57:25 -08:00
logcat logpersist: missing X 2015-12-29 07:31:37 -08:00
logd init.rc: too many start logd 2016-02-02 16:01:17 -08:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd metricsd: Removing brillo::Any from weaved's public APIs 2016-01-28 14:44:28 -08:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir init.rc: too many start logd 2016-02-02 16:01:17 -08:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard Re-derive permissions after package changes. 2015-12-16 13:08:29 -07:00
toolbox Always have ps output to stdout at least one line. 2016-01-28 16:08:08 -08:00
trusty/libtrusty Merge "Revert "[core][trusty] add gatekeeper module"" 2015-09-16 22:54:14 +00:00
tzdatacheck Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -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