Re: [PATCH 0/8] v2 - validate binary before use

Jan Kratochvil
2013-04-09T15:36:51Z

On Tue, 09 Apr 2013 17:27:37 +0200, Aleksandar Ristovski wrote:
> Core support:
> - core will use second method. Note, however, that due to (at least
> on ubuntu) not dumping page containing buid-id in the core, the
> validation can not be performed (it will always default to valid).
> This is misfortunate but outside the scope of this patch.

FYI it is bit 4 in /proc/self/coredump_filter, Fedora has the default 0x33.

It is configured for Linux kernel by:
linux-2.6/fs/Kconfig.binfmt CORE_DUMP_DEFAULT_ELF_HEADERS

One can simulate it if not pre-configured:
echo 0x33 >/proc/self/coredump_filter

Regards,
Jan