]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
UAPI: elf_read_implies_exec() is a kernel-only feature - so hide from userspace
authorDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:54:36 +0000 (13:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:54:36 +0000 (13:54 +0000)
commit267aed9dfeb2225960043f89db1f58d8ab522797
tree794f2cddcbed60292a838c13eb82f266a0075359
parent070712c6cd8a02e57506ebf52d7c6056d7535b42
UAPI: elf_read_implies_exec() is a kernel-only feature - so hide from userspace

elf_read_implies_exec() is a kernel-only feature as the second parameter is a
constant that isn't exported to userspace.  Not only that, but the
arch-specific overrides are not exported either.

So hide the macro from userspace.

Similarly, struct file should not be predeclared in userspace.

Signed-off-by: David Howells <dhowells@redhat.com>
include/linux/elf.h