Re: [PATCH net-next 1/4] device_cgroup: prepare code for bpf-based device controller

2017-11-02 Thread David Miller
From: Roman Gushchin Date: Wed, 1 Nov 2017 11:20:34 -0400 > diff --git a/include/linux/device_cgroup.h b/include/linux/device_cgroup.h > index 8b64221b432b..25f1dc7673db 100644 > --- a/include/linux/device_cgroup.h > +++ b/include/linux/device_cgroup.h > @@ -1,16 +1,69 @@ > #include > > +#def

[PATCH net-next 1/4] device_cgroup: prepare code for bpf-based device controller

2017-11-01 Thread Roman Gushchin
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) __devc