diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-03-02 14:38:42 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-03-02 14:39:24 +0100 |
commit | 851f32cf7bf7067f73b991610778915edd57d7b4 (patch) | |
tree | 872288e8f663ef64124423379cce7889ed077ae0 /elf/dl-main.h | |
parent | 40d055a2ddc86b76d4887e548ed20e40761102b1 (diff) | |
download | glibc-851f32cf7bf7067f73b991610778915edd57d7b4.zip glibc-851f32cf7bf7067f73b991610778915edd57d7b4.tar.gz glibc-851f32cf7bf7067f73b991610778915edd57d7b4.tar.bz2 |
ld.so: Implement the --list-diagnostics option
Diffstat (limited to 'elf/dl-main.h')
-rw-r--r-- | elf/dl-main.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/elf/dl-main.h b/elf/dl-main.h index 3a5e13c..d3820e0 100644 --- a/elf/dl-main.h +++ b/elf/dl-main.h @@ -63,7 +63,7 @@ struct audit_list enum rtld_mode { rtld_mode_normal, rtld_mode_list, rtld_mode_verify, rtld_mode_trace, - rtld_mode_list_tunables, rtld_mode_help, + rtld_mode_list_tunables, rtld_mode_list_diagnostics, rtld_mode_help, }; /* Aggregated state information extracted from environment variables @@ -121,4 +121,7 @@ _Noreturn void _dl_version (void) attribute_hidden; _Noreturn void _dl_help (const char *argv0, struct dl_main_state *state) attribute_hidden; +/* Print a diagnostics dump. */ +_Noreturn void _dl_print_diagnostics (char **environ) attribute_hidden; + #endif /* _DL_MAIN */ |