android_bionic/libc/bionic
Christopher Ferris ad3be7e649 Ignore SCUDO_OPTIONS across a security boundary.
Add SCUDO_OPTIONS to the list of the environment variables that should
not be preserved across a security boundary.

Bug: 157484128

Test: Builds and boots.
Change-Id: Id8644608114ad2fd49baedbdbbe1c899768bd54d
2020-05-26 15:12:06 -07:00
..
scudo Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
NetdClient.cpp libnetd_client: support hooking sendto/sendmsg/sendmmsg too. 2019-06-20 08:32:24 -07:00
NetdClientDispatch.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
__bionic_get_shell_path.cpp Fix internal uses of _PATH_BSHELL. 2019-03-25 17:28:22 -07:00
__cmsg_nxthdr.cpp
__cxa_guard.cpp Remove now unneeded #undef in __cxa_guard.cpp 2019-08-07 11:10:22 -07:00
__cxa_pure_virtual.cpp
__cxa_thread_atexit_impl.cpp
__errno.cpp
__gnu_basename.cpp
__libc_current_sigrtmax.cpp
__libc_current_sigrtmin.cpp Move sigrtmin.h into platform headers. 2020-01-02 14:14:15 -08:00
__libc_init_main_thread.cpp Add an android_unsafe_frame_pointer_chase function. 2020-02-03 10:30:45 -08:00
__set_errno.cpp
__stack_chk_fail.cpp
abort.cpp
accept.cpp
access.cpp
android_profiling_dynamic.cpp dynamic libc: ignore ART profiling signal by default. 2020-03-27 19:22:00 +01:00
android_set_abort_message.cpp Use PR_SET_VMA_ANON_NAME to name the abort message mapping. 2019-03-27 16:50:27 -07:00
android_unsafe_frame_pointer_chase.cpp Handle the alternate signal stack correctly in android_unsafe_frame_pointer_chase. 2020-02-27 10:44:15 -08:00
arpa_inet.cpp
assert.cpp
atexit.cpp Rewrite __cxa_atexit / __cxa_finalize 2020-03-06 21:04:32 -08:00
atexit.h Rewrite __cxa_atexit / __cxa_finalize 2020-03-06 21:04:32 -08:00
atof.cpp
bionic_allocator.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
bionic_arc4random.cpp
bionic_call_ifunc_resolver.cpp Use ifuncs in the linker 2019-11-05 13:37:51 -08:00
bionic_elf_tls.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
bionic_futex.cpp
bionic_netlink.cpp Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
bionic_netlink.h Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
bionic_systrace.cpp bionic: Check /sys/kernel/tracing for tracefs 2020-02-07 11:54:28 -08:00
bionic_time_conversions.cpp
brk.cpp
c16rtomb.cpp
c32rtomb.cpp
chmod.cpp
chown.cpp
clearenv.cpp
clock.cpp
clock_getcpuclockid.cpp
clock_nanosleep.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
clone.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
ctype.cpp <ctype.h>: inline the ASCII functions. 2020-02-05 08:18:51 -08:00
dirent.cpp
dl_iterate_phdr_static.cpp Add additional dl_phdr_info fields 2019-08-22 12:43:17 -07:00
dup.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
environ.cpp
error.cpp
ether_aton.c
ether_ntoa.c
eventfd.cpp fdtrack: add wrapper for eventfd. 2020-04-29 17:21:16 -07:00
eventfd_write.cpp fdtrack: add wrapper for eventfd. 2020-04-29 17:21:16 -07:00
exec.cpp Fix internal uses of _PATH_BSHELL. 2019-03-25 17:28:22 -07:00
faccessat.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
fchmod.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
fchmodat.cpp Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
fcntl.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
fdsan.cpp fdsan: don't do anything when vforked. 2020-05-07 20:18:40 -07:00
fdtrack.cpp Move fdtrack APIs to LLNDK. 2020-01-30 13:55:10 -08:00
ffs.cpp Add ffsl(3), ffsll(3). 2020-03-26 11:43:05 -07:00
fgetxattr.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
flistxattr.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
flockfile.cpp
fork.cpp Name stack+tls VMAs with PR_SET_VMA_ANON_NAME 2019-07-23 02:06:51 +00:00
fortify.cpp Fix OOB read in fortify str[np]cpy implementations found by hwasan. 2019-08-08 18:54:31 -07:00
fpclassify.cpp
fsetxattr.cpp Remove the ___ hack. 2019-06-19 15:38:42 -07:00
ftruncate.cpp
fts.c
ftw.cpp
futimens.cpp
get_device_api_level.cpp
getauxval.cpp Add some MTE-related helpers. 2020-01-30 10:56:50 -08:00
getcwd.cpp
getdomainname.cpp
getentropy.cpp Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
gethostname.cpp
getloadavg.cpp
getpagesize.cpp
getpgrp.cpp
getpid.cpp
getpriority.cpp
gettid.cpp
grp_pwd.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
grp_pwd_file.cpp Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
grp_pwd_file.h Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
gwp_asan_wrappers.cpp [GWP-ASan] Intercept calloc() again. 2020-03-16 20:17:39 +00:00
gwp_asan_wrappers.h [GWP-ASan] [heapprofd] Use ephemeral dispatch table when death prof. 2020-02-17 15:29:33 -08:00
heap_tagging.cpp Fix typo in if statement. 2020-05-08 10:05:39 -07:00
heap_tagging.h Add tagged pointers to bionic. 2020-01-23 10:37:24 -08:00
iconv.cpp
icu.cpp Eliminate ICU's .dat lookup from bionic 2019-02-06 20:49:03 +00:00
icu_static.cpp
icu_wrappers.cpp
ifaddrs.cpp Cleans up logging and comments in ifaddrs. 2020-02-27 16:02:30 +01:00
initgroups.c
inotify_init.cpp
ioctl.cpp
isatty.c
jemalloc.h Rename iterate to malloc_iterate internally. 2019-11-08 11:49:14 -08:00
jemalloc_wrapper.cpp Fix allocations escaping malloc debug. 2019-11-06 10:42:42 -08:00
killpg.cpp
langinfo.cpp
lchown.cpp
legacy_32_bit_support.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
lfs64_support.cpp
libc_init_common.cpp Ignore SCUDO_OPTIONS across a security boundary. 2020-05-26 15:12:06 -07:00
libc_init_common.h Init fork handler after __libc_init_malloc. 2019-11-14 16:02:09 -08:00
libc_init_dynamic.cpp Update a few comments. 2020-02-10 10:30:38 -08:00
libc_init_static.cpp Update a few comments. 2020-02-10 10:30:38 -08:00
libgen.cpp
link.cpp
locale.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
lockf.cpp
lstat.cpp
malloc_common.cpp [GWP-ASan] Fix non-reentrant libc_globals init behaviour. 2020-02-11 14:52:17 -08:00
malloc_common.h [GWP-ASan] Integrate GWP-ASan into bionc's malloc() (using hooks). 2020-02-10 10:51:23 -08:00
malloc_common_dynamic.cpp Introduce a new heap tagging level, M_HEAP_TAGGING_LEVEL_SYNC. 2020-05-05 13:28:16 -07:00
malloc_common_dynamic.h [GWP-ASan] Integrate GWP-ASan into bionc's malloc() (using hooks). 2020-02-10 10:51:23 -08:00
malloc_heapprofd.cpp Add explicit state for heapprofd hooking. 2020-03-11 10:21:27 -07:00
malloc_heapprofd.h allow for heapprofd's signal to be multiplexed 2020-01-15 22:55:03 +00:00
malloc_limit.cpp [malloc dispatch] Install dispatch over the top of GWP-ASan. 2020-02-11 15:29:21 -08:00
malloc_limit.h [malloc dispatch] Install dispatch over the top of GWP-ASan. 2020-02-11 15:29:21 -08:00
malloc_tagged_pointers.h Set the top bit for tagged pointers. 2020-04-17 22:04:27 +00:00
mblen.cpp
mbrtoc16.cpp
mbrtoc32.cpp
memmem.cpp
mempcpy.cpp
mkdir.cpp
mkfifo.cpp
mknod.cpp
mmap.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
mntent.cpp
mremap.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
ndk_cruft.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
ndk_cruft_data.cpp Optimize tolower(3)/toupper(3) from <ctype.h>. 2019-09-27 14:42:39 -07:00
net_if.cpp Add the ScopedFd that we've never quite gotten around to. 2019-10-31 21:16:18 -07:00
netdb.cpp
netinet_in.cpp
new.cpp
nl_types.cpp
open.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
pathconf.cpp
pause.cpp
pipe.cpp fdtrack: add wrappers for pipe, pipe2. 2020-04-29 17:21:16 -07:00
poll.cpp Move sigrtmin.h into platform headers. 2020-01-02 14:14:15 -08:00
posix_fadvise.cpp
posix_fallocate.cpp
posix_madvise.cpp
posix_timers.cpp
pthread_atfork.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
pthread_attr.cpp
pthread_barrier.cpp
pthread_cond.cpp Fix pthread_cond_clockwait() when cond is initialized with CLOCK_MONOTONIC 2019-07-17 10:46:47 -07:00
pthread_create.cpp Add an android_unsafe_frame_pointer_chase function. 2020-02-03 10:30:45 -08:00
pthread_detach.cpp Pass caller names to __pthread_internal_find for better errors. 2019-02-01 16:31:10 -08:00
pthread_equal.cpp
pthread_exit.cpp Implement dynamic TLS accesses and allocation 2019-01-25 17:53:01 -08:00
pthread_getcpuclockid.cpp Make more pthread functions weak for native bridge 2019-09-25 16:55:47 +02:00
pthread_getschedparam.cpp Make pthread_get/setschedparam weak for native bridge 2019-04-25 16:43:24 +02:00
pthread_gettid_np.cpp Pass caller names to __pthread_internal_find for better errors. 2019-02-01 16:31:10 -08:00
pthread_internal.cpp Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
pthread_internal.h Track whether a thread is currently vforked. 2020-05-07 19:44:27 -07:00
pthread_join.cpp Pass caller names to __pthread_internal_find for better errors. 2019-02-01 16:31:10 -08:00
pthread_key.cpp
pthread_kill.cpp Make more pthread functions weak for native bridge 2019-09-25 16:55:47 +02:00
pthread_mutex.cpp Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
pthread_once.cpp
pthread_rwlock.cpp Implement new clock wait functions 2019-07-15 09:06:19 -07:00
pthread_self.cpp
pthread_setname_np.cpp Make more pthread functions weak for native bridge 2019-09-25 16:55:47 +02:00
pthread_setschedparam.cpp Make pthread_get/setschedparam weak for native bridge 2019-04-25 16:43:24 +02:00
pthread_sigqueue.cpp Make more pthread functions weak for native bridge 2019-09-25 16:55:47 +02:00
pthread_spinlock.cpp
ptrace.cpp
pty.cpp
pututline.c
raise.cpp
rand.cpp
readlink.cpp
realpath.cpp Reimplement realpath. 2020-01-22 18:30:50 -08:00
reboot.cpp
recv.cpp
recvmsg.cpp Add a tool to track down fd leaks. 2020-01-30 13:55:10 -08:00
rename.cpp
rmdir.cpp
scandir.cpp Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
sched_cpualloc.c
sched_cpucount.c
sched_getaffinity.cpp
sched_getcpu.cpp
scudo.h Add support for scudo svelte. 2019-12-16 16:22:55 -08:00
scudo_wrapper.cpp Update the scudo wrapper for bionic changes. 2020-02-28 14:34:13 -08:00
semaphore.cpp Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
send.cpp
setegid.cpp
seteuid.cpp
setjmp_cookie.cpp
setpgrp.cpp
sigaction.cpp sigaction: don't call interposable symbol. 2020-05-19 18:40:50 -07:00
signal.cpp Move sigrtmin.h into platform headers. 2020-01-02 14:14:15 -08:00
sigprocmask.cpp Move sigrtmin.h into platform headers. 2020-01-02 14:14:15 -08:00
sleep.cpp sleep/usleep: switch to trivial implementations. 2019-10-28 22:25:02 -07:00
socketpair.cpp fdtrack: add wrapper for socketpair. 2020-04-29 17:21:16 -07:00
spawn.cpp
stat.cpp
stdlib_l.cpp
strchr.cpp
strchrnul.cpp
strerror.cpp There are no typewriters in 2020. 2020-01-21 13:10:13 -08:00
string_l.cpp
strings_l.cpp
strnlen.c
strrchr.cpp
strsignal.cpp Workaround string-plus-int warning 2019-02-28 15:54:58 -08:00
strtol.cpp Remove bionic's internal ctype-like inlines. 2020-02-05 11:39:35 -08:00
strtold.cpp
swab.cpp
symlink.cpp
sync_file_range.cpp
sys_epoll.cpp fdtrack: add wrappers for epoll_create, epoll_create1. 2020-04-29 17:21:16 -07:00
sys_msg.cpp Remove dead code. 2020-02-13 22:25:02 -08:00
sys_sem.cpp Remove dead code. 2020-02-13 22:25:02 -08:00
sys_shm.cpp Remove dead code. 2020-02-13 22:25:02 -08:00
sys_signalfd.cpp
sys_statfs.cpp Support statvfs on API levels before 19. 2019-08-29 21:57:58 -07:00
sys_statvfs.cpp Support statvfs on API levels before 19. 2019-08-29 21:57:58 -07:00
sys_time.cpp
sysconf.cpp sysconf(_SC_ARG_MAX): go back to imitating the kernel. 2019-11-15 09:24:35 -08:00
sysinfo.cpp
syslog.cpp
system.cpp Fix internal uses of _PATH_BSHELL. 2019-03-25 17:28:22 -07:00
system_property_api.cpp Revert "Revert "Make system property reads wait-free"" 2019-11-12 20:41:55 +00:00
system_property_set.cpp Cleanup some trivial TODOs. 2020-04-10 11:46:03 -07:00
tdestroy.cpp
termios.cpp
thread_private.cpp
threads.cpp threads.h: Add C11 thread support. 2019-04-24 09:12:29 -07:00
time64.c
time64_config.h
timespec_get.cpp
tmpfile.cpp tmpfile(3): use O_TMPFILE where available. 2020-04-16 16:12:03 -07:00
umount.cpp
unlink.cpp
usleep.cpp sleep/usleep: switch to trivial implementations. 2019-10-28 22:25:02 -07:00
vdso.cpp
wait.cpp
wchar.cpp
wchar_l.cpp
wcstod.cpp
wctype.cpp Optimize tolower(3)/toupper(3) from <ctype.h>. 2019-09-27 14:42:39 -07:00
wcwidth.cpp
wmempcpy.cpp