aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@android.com>2015-05-28 12:10:05 -0700
committerMoyster <oysterized@gmail.com>2016-11-17 12:12:24 +0100
commit25f8e0183de8e8acaefa979065004fa1ae6a4189 (patch)
tree753229de25cececdb5fdfd8dfdf804d9f845c864 /include/linux
parent4aed4f5eb5d904dbd14b91e576baeabd20d6bd0a (diff)
android: drivers: workaround debugfs race in binder
If a /d/binder/proc/[pid] entry is kept open after linux has torn down the associated process, binder_proc_show can deference an invalid binder_proc that has been stashed in the debugfs inode. Validate that the binder_proc ptr passed into binder_proc_show has not been freed by looking for it within the global process list whilst the global lock is held. If the ptr is not valid, print nothing. Bug 19587483 Change-Id: Ice878c171db51ef9a4879c2f9299a2deb873d255 Signed-off-by: Riley Andrews <riandrews@android.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions