Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 */
16int init_rust_binderfs(void);
17
18struct dentry;
19struct inode;
20struct dentry *rust_binderfs_create_proc_file(struct inode *nodp, int pid);
21void rust_binderfs_remove_file(struct dentry *dentry);
22
23#endif