Please sign in to comment.
ipc/sem.c: prevent queue.status tearing in semop
[ Upstream commit f075faa ] In order for load/store tearing prevention to work, _all_ accesses to the variable in question need to be done around READ and WRITE_ONCE() macros. Ensure everyone does so for q->status variable for semtimedop(). Link: http://email@example.com Signed-off-by: Davidlohr Bueso <firstname.lastname@example.org> Cc: Manfred Spraul <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>
- Loading branch information...