kernel-hacking-2024-linux-s.../include
David Howells 5170836679 Fix recursive lock in free_uid()/free_user_ns()
free_uid() and free_user_ns() are corecursive when CONFIG_USER_SCHED=n,
but free_user_ns() is called from free_uid() by way of uid_hash_remove(),
which requires uidhash_lock to be held.  free_user_ns() then calls
free_uid() to complete the destruction.

Fix this by deferring the destruction of the user_namespace.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-27 16:26:21 -08:00
..
acpi
asm-arm
asm-frv FRV: __pte_to_swp_entry doesn't expand correctly 2009-02-17 14:05:30 -08:00
asm-generic
asm-h8300
asm-m32r
asm-mn10300
crypto
drm drm: disable encoders before re-routing them 2009-02-25 14:42:23 +10:00
keys
linux Fix recursive lock in free_uid()/free_user_ns() 2009-02-27 16:26:21 -08:00
math-emu
media
mtd
net net: Kill skb_truesize_check(), it only catches false-positives. 2009-02-17 21:24:05 -08:00
pcmcia
rdma
rxrpc
scsi
sound
trace
video
xen
Kbuild