Files
rockchip-kernel/kernel
Guenter Roeck a16695def3 seccomp: Replace BUG(!spin_is_locked()) with assert_spin_lock
Current upstream kernel hangs with mips and powerpc targets in
uniprocessor mode if SECCOMP is configured.

Bisect points to commit dbd952127d ("seccomp: introduce writer locking").
Turns out that code such as
	BUG_ON(!spin_is_locked(&list_lock));
can not be used in uniprocessor mode because spin_is_locked() always
returns false in this configuration, and that assert_spin_locked()
exists for that very purpose and must be used instead.

Fixes: dbd952127d ("seccomp: introduce writer locking")
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kees Cook <keescook@chromium.org>
2015-01-12 16:49:29 -08:00
..
2014-02-27 12:38:03 +01:00
2013-11-13 12:09:34 +09:00
2014-03-19 13:07:58 -07:00
2014-03-19 10:38:27 -07:00
2013-12-04 14:09:46 +10:30
2013-12-18 19:04:50 -08:00
2014-01-30 16:56:54 -08:00
2015-01-12 16:49:26 -08:00
2014-03-19 13:10:25 -07:00
2013-09-11 15:58:27 -07:00