kernel-ark/fs/debugfs
Mathieu Desnoyers d3a3b0adad debugfs: fix create mutex racy fops and private data
Setting fops and private data outside of the mutex at debugfs file
creation introduces a race where the files can be opened with the wrong
file operations and private data.  It is easy to trigger with a process
waiting on file creation notification.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 11:24:53 -08:00
..
file.c debugfs: use specified mode to possibly mark files read/write only 2009-06-15 21:30:28 -07:00
inode.c debugfs: fix create mutex racy fops and private data 2009-12-11 11:24:53 -08:00
Makefile