diff options
| author | Kees Cook <[email protected]> | 2017-07-12 14:35:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-07-12 16:26:01 -0700 |
| commit | 3e0c24042e5aa55eee817caeca67246df69931e1 (patch) | |
| tree | cbc852c2acea7b8f0dfd9e3f31dc4f6291a6e128 /tools/perf/scripts/python | |
| parent | 101ede01dfd5072651965e974bc6e30c8d0748e2 (diff) | |
ipc/shm: avoid ipc_rcu_alloc()
Instead of using ipc_rcu_alloc() which only performs the refcount bump,
open code it. This also allows for shmid_kernel 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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions