Files
android_kernel_samsung_msm8…/kernel
Guenter Roeck 3a950da7d6 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 dbd952127d11 ("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: dbd952127d11 ("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>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-05 14:22:42 +02:00
..
…
…
2019-08-05 14:20:47 +02:00
2019-08-05 14:20:47 +02:00
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-02 15:14:10 +02:00
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-05 14:20:47 +02:00
…
2019-08-05 14:22:38 +02:00
2019-08-05 14:20:47 +02:00
2019-08-05 14:20:47 +02:00
…
…
…
…