mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
During BC_FREE_BUFFER processing, the BINDER_TYPE_FDA object cleanup may close 1 or more fds. The close operations are completed using the task work mechanism -- which means the thread needs to return to userspace or the file object may never be dereferenced -- which can lead to hung processes. Force the binder thread back to userspace if an fd is closed during BC_FREE_BUFFER handling. Fixes: |
||
|---|---|---|
| .. | ||
| binder_alloc_selftest.c | ||
| binder_alloc.c | ||
| binder_alloc.h | ||
| binder_internal.h | ||
| binder_trace.h | ||
| binder.c | ||
| binderfs.c | ||
| debug_symbols.c | ||
| Kconfig | ||
| Makefile | ||
| vendor_hooks.c | ||