mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
cb8db5d457
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
5 lines
145 B
C
5 lines
145 B
C
#include <asm-generic/mman.h>
|
|
|
|
#define arch_mmap_check(addr, len, flags) \
|
|
(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
|