1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2018 Canonical Ltd.
7 #ifndef _UAPI_LINUX_BINDERFS_H
8 #define _UAPI_LINUX_BINDERFS_H
10 #include <linux/android/binder.h>
11 #include <linux/types.h>
12 #include <linux/ioctl.h>
14 #define BINDERFS_MAX_NAME 255
17 * struct binderfs_device - retrieve information about a new binder device
18 * @name: the name to use for the new binderfs binder device
19 * @major: major number allocated for binderfs binder devices
20 * @minor: minor number allocated for the new binderfs binder device
23 struct binderfs_device
{
24 char name
[BINDERFS_MAX_NAME
+ 1];
30 * Allocate a new binder device.
32 #define BINDER_CTL_ADD _IOWR('b', 1, struct binderfs_device)
34 #endif /* _UAPI_LINUX_BINDERFS_H */