diff options
author | 2009-04-06 15:12:57 -0700 | |
---|---|---|
committer | 2009-04-17 11:06:26 -0700 | |
commit | 282ca175d4c440ec4d74bc622ee497e5b3530ce5 (patch) | |
tree | 4e336942fcfca0715a988332da6d0e7890fbad8e /kernel | |
parent | Staging: binder: Add more offset validation. (diff) | |
download | linux-dev-282ca175d4c440ec4d74bc622ee497e5b3530ce5.tar.xz linux-dev-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 'kernel')
0 files changed, 0 insertions, 0 deletions