diff options
author | Eric W. Biederman <ebiederm@aristanetworks.com> | 2010-09-20 03:56:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:16:43 -0400 |
commit | a6849fa1f7d7d7adbeb6a696beeabfa078acf173 (patch) | |
tree | e87b4051d0b1fce3a88abf68bfd8d7315db0a52a /fs/binfmt_script.c | |
parent | 5fc6e9cbce3342379719fc0f8294c45bb888f5cc (diff) |
sysfs: Fail bin file mmap if vma close is implemented.
It is not reasonably possible to wrap vma->close(). To correctly
wrap close would imply calling close on any vmas that remain when
sysfs_remove_bin_file is called. Finding the proper lists walking
them getting the locking right etc, requires deep knowledge of the
mm subsystem and as such would require assistence from the mm
subsystem to implement. That assistence does not currently exist.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions