summaryrefslogtreecommitdiffstats
path: root/Documentation/hid/intel-ish-hid.txt
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-07-12 23:35:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-13 01:26:01 +0200
commit101ede01dfd5072651965e974bc6e30c8d0748e2 (patch)
treede85b9884a50812354b9f9ccdc3193a30239fa4d /Documentation/hid/intel-ish-hid.txt
parentipc/util: drop ipc_rcu_free() (diff)
downloadlinux-101ede01dfd5072651965e974bc6e30c8d0748e2.tar.xz
linux-101ede01dfd5072651965e974bc6e30c8d0748e2.zip
ipc/sem: avoid ipc_rcu_alloc()
Instead of using ipc_rcu_alloc() which only performs the refcount bump, open code it to perform better sem-specific checks. This also allows for sem_array structure layout to be randomized in the future. [manfred@colorfullife.com: Rediff, because the memset was temporarily inside ipc_rcu_alloc()] Link: http://lkml.kernel.org/r/20170525185107.12869-10-manfred@colorfullife.com Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/hid/intel-ish-hid.txt')
0 files changed, 0 insertions, 0 deletions