From: Arve Hjønnevåg Date: Mon, 6 Apr 2009 22:12:57 +0000 (-0700) Subject: Staging: binder: Keep a reference to the files_struct while the driver is mmapped X-Git-Tag: v2.6.30-rc3~58^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282ca175d4c440ec4d74bc622ee497e5b3530ce5;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed