Don't include locked memory in coredumps

Linux 3.4+ supports a DONTDUMP advisory, which prevents memory
from being included in coredumps.