diff options
author | Arve Hjønnevåg <arve@android.com> | 2009-04-07 00:12:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 20:06:26 +0200 |
commit | 282ca175d4c440ec4d74bc622ee497e5b3530ce5 (patch) | |
tree | 4e336942fcfca0715a988332da6d0e7890fbad8e /lib/cpumask.c | |
parent | Staging: binder: Add more offset validation. (diff) | |
download | linux-282ca175d4c440ec4d74bc622ee497e5b3530ce5.tar.xz linux-282ca175d4c440ec4d74bc622ee497e5b3530ce5.zip |
Staging: binder: Keep a reference to the files_struct while the driver is mmapped
This prevents breaking fget_light if a single threaded application
allows incoming file descriptors (in replies or on nodes).
Should also prevent inserting a file in the wrong files_struct if the
receving process execs in the middle of a transaction (between
task_get_unused_fd_flags and task_fd_install).
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions