ydb_coredump_filter to control information in core dumps
Final Release Note
Description
gtm_coredump_filter
is referenced in err_init.c, but not mentioned in sr_unix/logicals.h. Also, ydb_coredump_filter
should supersede it.
Draft Release Note
A value of "0xXX" where XX are case-insensitive hexadecimal digits in the environment variable ydb_coredump_filter
, sets the corresponding value to /proc/<pid>/coredump_filter
(see man 5 core
) at process startup without explicitly setting a value if unspecified. This controls the contents of core dumps generated by the process. A YottaDB process that terminates or is terminated abnormally (terminates with any signal except SIGKILL, SIGQUIT, or SIGTERM) generates a core file, if generating core files is enabled in the system and for that process. As core files can contain confidential / proprietary information, please limit the content of core files to that required for diagnostic purposes, and generate them with appropriate protection. If ydb_coredump_filter
is not specified, but gtm_coredump_filter
is, the latter environment variable is used. If both are specified, the former takes precedence. Previously, only the environment variable gtm_coredump_filter
was recognized, with a default value of "0x73". (#102 (closed))