diff options
author | Roman Gushchin <[email protected]> | 2017-11-05 08:15:31 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-05 23:26:51 +0900 |
commit | ecf8fecb7828648cba0e42de7464a7e600c93459 (patch) | |
tree | f807782b4060641e926e7d600369d7dd0f058e2a /net/switchdev/switchdev.c | |
parent | 67e306fdbed71ab0a6e0d5985e088a49061c523f (diff) |
device_cgroup: prepare code for bpf-based device controller
This is non-functional change to prepare the device cgroup code
for adding eBPF-based controller for cgroups v2.
The patch performs the following changes:
1) __devcgroup_inode_permission() and devcgroup_inode_mknod()
are moving to the device-cgroup.h and converting into static inline.
2) __devcgroup_check_permission() is exported.
3) devcgroup_check_permission() wrapper is introduced to be used
by both existing and new bpf-based implementations.
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions