dd465b2175
The Android binder driver needs to become a module for the sake of shipping Anbox. To do this we need to export the following functions since binder is currently still using them: - security_binder_set_context_mgr() - security_binder_transaction() - security_binder_transfer_binder() - security_binder_transfer_file() - can_nice() - __close_fd_get_file() - mmput_async() - task_work_add() - map_kernel_range_noflush() - get_vm_area() - zap_page_range_single() - put_ipc_ns() - get_ipc_ns_exported() - show_init_ipc_ns() Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> [ saf: fix additional reference to init_ipc_ns from 5.0-rc6 ] Signed-off-by: Seth Forshee <seth.forshee@canonical.com> [ arighi: fix EXPORT_SYMBOL vs EXPORT_SYMBOL_GPL change from 6.0-rc5 ] [ arighi: zap_page_range() has been dropped, export zap_page_range_single() in 6.3 ] Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
11 lines
432 B
Makefile
11 lines
432 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ccflags-y += -I$(src) # needed for trace events
|
|
|
|
binder_linux-y := binder.o binder_alloc.o
|
|
obj-$(CONFIG_ANDROID_BINDER_IPC) += binder_linux.o
|
|
binder_linux-$(CONFIG_ANDROID_BINDERFS) += binderfs.o
|
|
binder_linux-$(CONFIG_ANDROID_BINDER_IPC_SELFTEST) += binder_alloc_selftest.o
|
|
|
|
# binder-$(CONFIG_ANDROID_BINDER_IPC) := binder.o binder_alloc.o
|
|
# binder-$(CONFIG_ANDROID_BINDERFS) += binderfs.o
|