android_bionic/libc
Bram Bonné acadd09c66 Speed up seccomp with priority list.
Allow to provide a list of prioritized syscalls (e.g., syscalls that we
know occur often) which are checked before other syscalls in seccomp.

When constructing the bpf seccomp filter, traverse prioritized syscalls
in a linear list before checking all other syscalls in a binary tree.

Bug: 156732794
Test: make, inspect generated *_system_policy.cpp files
Test: simpleperf on futex/ioctl-heavy app seems to show 5-10% less time
spent in seccomp call

Change-Id: I509343bcd32ada90c0591785ab5cb12d2a38c31e
(cherry picked from commit ce84677733)
2020-05-18 11:20:30 +02:00
..
arch-arm Track whether a thread is currently vforked. 2020-05-07 19:44:27 -07:00
arch-arm64 Track whether a thread is currently vforked. 2020-05-07 19:44:27 -07:00
arch-common/bionic
arch-x86 Track whether a thread is currently vforked. 2020-05-07 19:44:27 -07:00
arch-x86_64 Track whether a thread is currently vforked. 2020-05-07 19:44:27 -07:00
async_safe Set apex_available property 2020-04-08 22:52:06 +09:00
bionic Merge changes If42905f3,Id351a993,I8a082fd0 2020-05-12 07:04:58 +00:00
dns
include Merge "Add API constant for S." 2020-05-05 00:35:17 +00:00
kernel Update to v5.6 kernel headers. 2020-04-10 10:53:48 -07:00
malloc_debug Include log/log_read.h for reading logs 2020-04-22 19:00:42 -07:00
malloc_hooks malloc_hooks README.md: fix example compilation failures 2020-04-25 00:46:45 +00:00
platform/bionic Introduce a new heap tagging level, M_HEAP_TAGGING_LEVEL_SYNC. 2020-05-05 13:28:16 -07:00
private Merge changes If42905f3,Id351a993,I8a082fd0 2020-05-12 07:04:58 +00:00
seccomp
stdio
stdlib Rewrite __cxa_atexit / __cxa_finalize 2020-03-06 21:04:32 -08:00
system_properties Cleanup some trivial TODOs. 2020-04-10 11:46:03 -07:00
tools Speed up seccomp with priority list. 2020-05-18 11:20:30 +02:00
tzcode
upstream-freebsd
upstream-netbsd
upstream-openbsd arc4random.h: remove some cruft. 2020-04-16 23:14:38 +00:00
versioner-dependencies
Android.bp Speed up seccomp with priority list. 2020-05-18 11:20:30 +02:00
MODULE_LICENSE_BSD
NOTICE Rewrite __cxa_atexit / __cxa_finalize 2020-03-06 21:04:32 -08:00
SECCOMP_BLACKLIST_APP.TXT
SECCOMP_BLACKLIST_COMMON.TXT
SECCOMP_PRIORITY.TXT Speed up seccomp with priority list. 2020-05-18 11:20:30 +02:00
SECCOMP_WHITELIST_APP.TXT
SECCOMP_WHITELIST_COMMON.TXT
SECCOMP_WHITELIST_SYSTEM.TXT
SYSCALLS.TXT fdtrack: add wrapper for socketpair. 2020-04-29 17:21:16 -07:00
fs_config_generator.py
libc.map.txt Add API constant for S. 2020-04-09 12:38:53 -07:00
libstdc++.map.txt
version_script.txt