lkml.org 
[lkml]   [2017]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 net-next 3/5] bpf, cgroup: implement eBPF-based device controller for cgroup v2
From
Date
On 11/2/17 7:54 AM, Roman Gushchin wrote:
> +#define DEV_BPF_ACC_MKNOD (1ULL << 0)
> +#define DEV_BPF_ACC_READ (1ULL << 1)
> +#define DEV_BPF_ACC_WRITE (1ULL << 2)
> +
> +#define DEV_BPF_DEV_BLOCK (1ULL << 0)
> +#define DEV_BPF_DEV_CHAR (1ULL << 1)
> +

all macros in bpf.h start with BPF_
To be consistent with the rest can you rename above to BPF_DEVCG_.. ?

\
 
 \ /
  Last update: 2017-11-02 16:12    [W:0.455 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site