No description
Find a file
Mark Salyzyn c3c06294e5 logd: test: switch to /data/backup/ for sepolicy avc injection
Resolve issues seen on continuous testing frame:

- statistics test, info instead of fail on missing radio log data.
- sepolicy switch from /data/misc/logd/ to /data/backup/ as the
  directory we access(2) to inject sepolicy violations.  The key here
  is we are still root, but we are in u:r:shell:s0, and the directory
  does not provide us DAC access (0700 system system) so we trigger
  the pair dac_override and dac_read_search on every try to get past
  the message de-duper.  /data/misc/logd is not always there, until
  logpersist is enabled, but /data/backup is always there.
- a stricter signature of '): avc: denied'
- put in a looser threshold for sepolicy_rate_limiter_spam test.

Test: gTest logd-unit-tests --gtest_filter=logd.sepolicy*
Bug: 34454758
Change-Id: I28ce4fdb51dc4869944e3253b593ce222d16ec98
2017-01-20 09:42:02 -08:00
adb debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
adf liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
base bootable/recovery wants EqualsIgnoreCase. 2017-01-13 18:51:32 -08:00
bootstat bootstat: Fix false metrics due to soft reboots. 2017-01-17 13:28:17 -08:00
cpio mkbootfs: Fix the default st_mode for root directory. 2016-10-07 16:14:27 -07:00
debuggerd Fix a call to openat with incorrect arguments 2017-01-19 13:33:52 -08:00
fastboot Switch fastboot docs to markdown. 2017-01-13 16:03:13 -08:00
fingerprintd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
fs_mgr Remove fs_mgr's bogus external/openssl/include LOCAL_C_INCLUDES entry. 2017-01-15 11:52:35 -08:00
gatekeeperd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
healthd Update to new minui text API 2016-11-15 14:25:44 -08:00
include Define GID range for external data and OBBs. 2017-01-18 17:11:05 -07:00
init Merge "Load default/build props from each partition" 2017-01-20 03:58:52 +00:00
libappfuse Support SOCK_STREAM for bridge between system and app 2016-12-12 14:53:03 +09:00
libbacktrace liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libbinderwrapper Move libbinderwrapper's headers into libbinderwrapper. 2016-09-16 09:02:47 -07:00
libcrypto_utils Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libcutils Merge "Load default/build props from each partition" 2017-01-20 03:58:52 +00:00
libdiskconfig liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libion liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
liblog Check the return value of setuid(2). 2017-01-13 15:43:45 +00:00
libmemtrack liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libmemunreachable liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libnativebridge liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libnativeloader liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libnetutils liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpackagelistparser liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpixelflinger liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libprocessgroup Switch fastboot/init/libprocessgroup to std::this_thread::sleep_for. 2016-11-14 17:08:47 -08:00
libprocinfo libprocinfo: introduce. 2016-11-14 13:42:18 -08:00
libsparse Remove "_host" and "_static" suffix from libsparse definition. 2017-01-11 19:15:11 -08:00
libsuspend liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libsync libsync: tests: redefine PollOnDestroyedTimeline() 2017-01-17 14:29:41 -08:00
libsysutils Merge "system/core: preparation to pull back interfaces from android/log.h" 2016-10-20 18:03:57 +00:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libziparchive liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
lmkd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
logcat logcat: unit test produces log stutter 2016-12-27 19:13:00 +00:00
logd logd: test: switch to /data/backup/ for sepolicy avc injection 2017-01-20 09:42:02 -08:00
logwrapper liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir init: usb: fix audio_source function typo 2017-01-17 14:27:34 -08:00
run-as Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sdcard Merge "Switch sdcardfs over to bind mounts." 2016-11-30 05:20:40 +00:00
toolbox delete toolbox/r.c 2016-11-29 15:45:11 -08:00
trusty trusty: use log/log.h for ALOG macros 2017-01-13 07:30:11 -08:00
tzdatacheck Change tzdatacheck to account for bundle format changes 2017-01-10 14:38:35 +00:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk init.rc: have hwservicemanager start the HAL class 2016-09-26 00:23:51 -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