]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
UBUNTU: SAUCE: binder: turn into module
authorChristian Brauner <christian@brauner.io>
Wed, 16 Jan 2019 22:13:25 +0000 (23:13 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 4 Mar 2019 12:51:32 +0000 (06:51 -0600)
commit2cc291a463c42641b4146b2507fa4499da35d335
treef744c1e3c9602ee0ab09972b387bd0f78cba9ce7
parentb037f5c9d12343cd0ccacd1a21f6c940ce67b9c5
UBUNTU: SAUCE: binder: turn into module

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()
- 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>
15 files changed:
drivers/android/Kconfig
drivers/android/Makefile
drivers/android/binder.c
drivers/android/binder_alloc.h
drivers/android/binder_internal.h
drivers/android/binderfs.c
fs/file.c
include/linux/ipc_namespace.h
ipc/namespace.c
kernel/fork.c
kernel/sched/core.c
kernel/task_work.c
mm/memory.c
mm/vmalloc.c
security/security.c