rtld-elf: Mark LD_SHOW_AUXV insecure
This prevents dumping the memory layout of setugid processes. MFC after: 3 days Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D54033
This commit is contained in:
@@ -395,7 +395,7 @@ static struct ld_env_var_desc ld_env_vars[] = {
|
||||
LD_ENV_DESC(TRACE_LOADED_OBJECTS_FMT1, false),
|
||||
LD_ENV_DESC(TRACE_LOADED_OBJECTS_FMT2, false),
|
||||
LD_ENV_DESC(TRACE_LOADED_OBJECTS_ALL, false),
|
||||
LD_ENV_DESC(SHOW_AUXV, false),
|
||||
LD_ENV_DESC(SHOW_AUXV, true),
|
||||
LD_ENV_DESC(STATIC_TLS_EXTRA, false),
|
||||
LD_ENV_DESC(NO_DL_ITERATE_PHDR_AFTER_FORK, false),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user