Linux Kernel
3.7.1
|
#include <linux/device_cgroup.h>
#include <linux/cgroup.h>
#include <linux/ctype.h>
#include <linux/list.h>
#include <linux/uaccess.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <linux/mutex.h>
Go to the source code of this file.
Data Structures | |
struct | dev_exception_item |
struct | dev_cgroup |
Macros | |
#define | ACC_MKNOD 1 |
#define | ACC_READ 2 |
#define | ACC_WRITE 4 |
#define | ACC_MASK (ACC_MKNOD | ACC_READ | ACC_WRITE) |
#define | DEV_BLOCK 1 |
#define | DEV_CHAR 2 |
#define | DEV_ALL 4 /* this represents all devices */ |
#define | DEVCG_ALLOW 1 |
#define | DEVCG_DENY 2 |
#define | DEVCG_LIST 3 |
#define | MAJMINLEN 13 |
#define | ACCLEN 4 |
Functions | |
int | __devcgroup_inode_permission (struct inode *inode, int mask) |
int | devcgroup_inode_mknod (int mode, dev_t dev) |
Variables | |
struct cgroup_subsys | devices_subsys |
Definition at line 20 of file device_cgroup.c.
#define ACC_MKNOD 1 |
Definition at line 17 of file device_cgroup.c.
#define ACC_READ 2 |
Definition at line 18 of file device_cgroup.c.
#define ACC_WRITE 4 |
Definition at line 19 of file device_cgroup.c.
#define ACCLEN 4 |
Definition at line 219 of file device_cgroup.c.
#define DEV_ALL 4 /* this represents all devices */ |
Definition at line 24 of file device_cgroup.c.
#define DEV_BLOCK 1 |
Definition at line 22 of file device_cgroup.c.
#define DEV_CHAR 2 |
Definition at line 23 of file device_cgroup.c.
#define DEVCG_ALLOW 1 |
Definition at line 214 of file device_cgroup.c.
#define DEVCG_DENY 2 |
Definition at line 215 of file device_cgroup.c.
#define DEVCG_LIST 3 |
Definition at line 216 of file device_cgroup.c.
#define MAJMINLEN 13 |
Definition at line 218 of file device_cgroup.c.
Definition at line 604 of file device_cgroup.c.
Definition at line 621 of file device_cgroup.c.
struct cgroup_subsys devices_subsys |
Definition at line 66 of file device_cgroup.c.