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:
Alice Ryhl
2025-02-06 14:20:19 +00:00
parent 0fc3870786
commit e46a2b688f
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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()