1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2025 Google, Inc. 4 */ 5 6 #ifndef _LINUX_RUST_BINDER_H 7 #define _LINUX_RUST_BINDER_H 8 9 #include <uapi/linux/android/binder.h> 10 #include <uapi/linux/android/binderfs.h> 11 12 /* 13 * These symbols are exposed by `rust_binderfs.c` and exist here so that Rust 14 * Binder can call them. 15 */ 16 int init_rust_binderfs(void); 17 18 struct dentry; 19 struct inode; 20 struct dentry *rust_binderfs_create_proc_file(struct inode *nodp, int pid); 21 void rust_binderfs_remove_file(struct dentry *dentry); 22 23 #endif 24