unexport linux/elfcore.h
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Jun 2020 15:11:32 +0000 (11:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Jul 2020 18:29:22 +0000 (14:29 -0400)
commit1e6b57d6421f0343dd11619612e5ff8930cddf38
tree24e80caa506832b3810b48ee1c70ebfc9794b6fa
parentb4e9c9549f62329d2412f899635fddc5212b9cd4
unexport linux/elfcore.h

It's unusable from userland - it uses elf_gregset_t, which is not
provided by exported headers.  glibc has it in sys/procfs.h, but
the same file defines struct elf_prstatus, so linux/elfcore.h can't
be included once sys/procfs.h has been pulled.  Same goes for uclibc
and dietlibc simply doesn't have elf_gregset_t defined anywhere.

IOW, no userland source is including that thing.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/elfcore.h
include/uapi/linux/elfcore.h [deleted file]
scripts/headers_install.sh
usr/include/Makefile