aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/kapi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-06-03 12:27:07 +0000
committerPaul Kocialkowski <contact@paulk.fr>2014-07-17 18:31:11 +0200
commit5f1b41cf98dd0d0d6014f6896cb2a4185fc73147 (patch)
treebc5b0e746fe7001217c6583cb5ede46014ca4dfc /drivers/pps/kapi.c
parent1f0852537ad99eec04160f44003266cc46768ba4 (diff)
downloadkernel_goldelico_gta04-5f1b41cf98dd0d0d6014f6896cb2a4185fc73147.zip
kernel_goldelico_gta04-5f1b41cf98dd0d0d6014f6896cb2a4185fc73147.tar.gz
kernel_goldelico_gta04-5f1b41cf98dd0d0d6014f6896cb2a4185fc73147.tar.bz2
futex: Always cleanup owner tid in unlock_pi
commit 13fbca4c6ecd96ec1a1cfa2e4f2ce191fe928a5e upstream. If the owner died bit is set at futex_unlock_pi, we currently do not cleanup the user space futex. So the owner TID of the current owner (the unlocker) persists. That's observable inconsistant state, especially when the ownership of the pi state got transferred. Clean it up unconditionally. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kees Cook <keescook@chromium.org> Cc: Will Drewry <wad@chromium.org> Cc: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/pps/kapi.c')
0 files changed, 0 insertions, 0 deletions