]> Git Repo - linux.git/commit
ipc/msg: avoid ipc_rcu_alloc()
authorKees Cook <[email protected]>
Wed, 12 Jul 2017 21:35:07 +0000 (14:35 -0700)
committerLinus Torvalds <[email protected]>
Wed, 12 Jul 2017 23:26:02 +0000 (16:26 -0700)
commit52f908904e7e05b6300162faa48152df073be645
treef8b38e4c0c3cac282bcf71c61189b4e459f9359c
parent3e0c24042e5aa55eee817caeca67246df69931e1
ipc/msg: avoid ipc_rcu_alloc()

Instead of using ipc_rcu_alloc() which only performs the refcount bump,
open code it.  This also allows for msg_queue structure layout to be
randomized in the future.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Manfred Spraul <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
ipc/msg.c
This page took 0.040594 seconds and 4 git commands to generate.