brintos

brintos / linux-shallow public Read only

0
0
Text · 804 B · 8741047 Raw
36 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 * Copyright (C) 2018 Canonical Ltd.4 *5 */6 7#ifndef _UAPI_LINUX_BINDERFS_H8#define _UAPI_LINUX_BINDERFS_H9 10#include <linux/android/binder.h>11#include <linux/types.h>12#include <linux/ioctl.h>13 14#define BINDERFS_MAX_NAME 25515 16/**17 * struct binderfs_device - retrieve information about a new binder device18 * @name:   the name to use for the new binderfs binder device19 * @major:  major number allocated for binderfs binder devices20 * @minor:  minor number allocated for the new binderfs binder device21 *22 */23struct binderfs_device {24	char name[BINDERFS_MAX_NAME + 1];25	__u32 major;26	__u32 minor;27};28 29/**30 * Allocate a new binder device.31 */32#define BINDER_CTL_ADD _IOWR('b', 1, struct binderfs_device)33 34#endif /* _UAPI_LINUX_BINDERFS_H */35 36