Don't include locked memory in coredumps

Linux 3.4+ supports a DONTDUMP advisory, which prevents memory
from being included in coredumps.
Merge branch 'master' into doc

* master:
  Don't include locked memory in coredumps