]> git.baikalelectronics.ru Git - kernel.git/commit
net/xfrm_user: use in_compat_syscall to deny compat syscalls
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:10 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commitf584add75f9e3ff9d4e2eeb246a61cd20c85f535
tree9595247538725427399c56fdd050e366d7c3b4cc
parentaf1112ceb801a3a6eef5738f0e7add34cf225103
net/xfrm_user: use in_compat_syscall to deny compat syscalls

The code wants to prevent compat code from receiving messages.  Use
in_compat_syscall for this.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/xfrm/xfrm_user.c