summaryrefslogtreecommitdiff
path: root/fs/afs/Makefile
blob: 4f64b95d57bd1ff7af9c781eac506787dc3b4c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Makefile for Red Hat Linux AFS client.
#

afs-cache-$(CONFIG_AFS_FSCACHE) := cache.o

kafs-objs := \
	$(afs-cache-y) \
	callback.o \
	cell.o \
	cmservice.o \
	dir.o \
	file.o \
	flock.o \
	fsclient.o \
	inode.o \
	main.o \
	misc.o \
	mntpt.o \
	proc.o \
	rxrpc.o \
	security.o \
	server.o \
	super.o \
	netdevices.o \
	vlclient.o \
	vlocation.o \
	vnode.o \
	volume.o \
	write.o

obj-$(CONFIG_AFS_FS)  := kafs.o
clude?id=382005027fedc50b28d40ae64ef1461cca38953e'>include parent0c183d92b20b5c84ca655b45ef57b3318b83eb9e (diff)
sched/core: Fix oops in sched_show_task()
When CONFIG_THREAD_INFO_IN_TASK=y, it is possible that an exited thread remains in the task list after its stack pointer was already set to NULL. Therefore, thread_saved_pc() and stack_not_used() in sched_show_task() will trigger NULL pointer dereference if an attempt to dump such thread's traces (e.g. SysRq-t, khungtaskd) is made. Since show_stack() in sched_show_task() calls try_get_task_stack() and sched_show_task() is called from interrupt context, calling try_get_task_stack() from sched_show_task() will be safe as well. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Andy Lutomirski <luto@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: bp@alien8.de Cc: brgerst@gmail.com Cc: jann@thejh.net Cc: keescook@chromium.org Cc: linux-api@vger.kernel.org Cc: tycho.andersen@canonical.com Link: http://lkml.kernel.org/r/201611021950.FEJ34368.HFFJOOMLtQOVSF@I-love.SAKURA.ne.jp Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')