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>
Showing
- include/linux/elfcore.h 66 additions, 3 deletionsinclude/linux/elfcore.h
- include/uapi/linux/elfcore.h 0 additions, 101 deletionsinclude/uapi/linux/elfcore.h
- scripts/headers_install.sh 0 additions, 1 deletionscripts/headers_install.sh
- usr/include/Makefile 0 additions, 1 deletionusr/include/Makefile
include/uapi/linux/elfcore.h
deleted
100644 → 0
Please register or sign in to comment