[PATCH] device_cgroup: Cleanup cgroup eBPF device filter code

2020-04-03 Thread Odin Ugedal
matter what the eBPF filter says. Signed-off-by: Odin Ugedal --- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- include/linux/device_cgroup.h | 14 +- security/Makefile | 2 +- security/device_cgroup.c | 19 --- 4 files changed,

Re: [PATCH] device_cgroup: Cleanup cgroup eBPF device filter code

2020-04-03 Thread Odin Ugedal
and to make the split between cgroup v1 and cgroup v2 code cleaner. As a reference, only Fedora is currently shipping with cgroup v2 as default (afaik.) and their kernel is compiled (5.3.7-301.fc31.x86_64) with CONFIG_CGROUP_DEVICE=y and CONFIG_CGROUP_BPF=y, so this will not affect them. Odin Ug

Re: [PATCH] device_cgroup: Cleanup cgroup eBPF device filter code

2020-04-03 Thread Odin Ugedal
and to make the split between cgroup v1 and cgroup v2 code cleaner. As a reference, only Fedora is currently shipping with cgroup v2 as default (afaik.) and their kernel is compiled (5.3.7-301.fc31.x86_64) with CONFIG_CGROUP_DEVICE=y and CONFIG_CGROUP_BPF=y, so this will not affect them. Odin U