Avoid dumping information in a core file
问题 I want to avoid dumping certain information from my program into a core file in case of any crash. For that, I can use coredump_filter (http://man7.org/linux/man-pages/man5/core.5.html) The man page provides following description The value in the file is a bit mask of memory mapping types (see mmap(2)). If a bit is set in the mask, then memory mappings of the corresponding type are dumped; otherwise they are not dumped. The bits in this file have the following meanings: bit 0 Dump anonymous