Paul Bolle
2013-Apr-01 17:55 UTC
[PATCH 0/8] do not export kernel integer types to userspace
This short series was triggered by a compile error I ran into when trying to build the lguest tool (see PATCH 1/8). After fixing that error I decided to attempt to solve all related problems. Paul Bolle (8): virtio_net: do not export "u16" to userspace headers_check: add check for kernel integer types virtio: do not export "u16" and "u64" to userspace headers_check: check kernel types inside #define btrfs: do not export "u64" to userspace nfsd4: do not export "u64" to userspace virtio: do not export "u32" to userspace cris: do not export "u8" and friends to userspace arch/cris/include/uapi/arch-v10/arch/sv_addr_ag.h | 20 ++++++++++---------- include/uapi/linux/btrfs.h | 2 +- include/uapi/linux/nfs4.h | 2 +- include/uapi/linux/virtio_balloon.h | 4 ++-- include/uapi/linux/virtio_console.h | 2 +- include/uapi/linux/virtio_net.h | 2 +- scripts/headers_check.pl | 21 +++++++++++++++++++++ 7 files changed, 37 insertions(+), 16 deletions(-) -- 1.7.11.7