ANDROID: export symbols needed by Rust Binder
To call these functions from a vendor module, it is necessary to export them. The functions file_close_fd and task_work_add are needed to reimplement binder's `binder_deferred_fd_close` function. The `zap_page_range_single` function is needed to free pages when Binder's shrinker runs. Bug: 388786466 Change-Id: If05030b5a4c0180ff839b6f86ab0b86b87703f2b Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
@@ -108,6 +108,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(task_work_add);
|
||||
|
||||
/**
|
||||
* task_work_cancel_match - cancel a pending work added by task_work_add()
|
||||
|
||||
Reference in New Issue
Block a user