[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171102165127.GA13892@castle.DHCP.thefacebook.com>
Date: Thu, 2 Nov 2017 12:51:31 -0400
From: Roman Gushchin <guro@...com>
To: Alexei Starovoitov <ast@...com>
CC: <netdev@...r.kernel.org>, Tejun Heo <tj@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
<linux-kernel@...r.kernel.org>, <kernel-team@...com>
Subject: Re: [PATCH v2 net-next 3/5] bpf, cgroup: implement eBPF-based device
controller for cgroup v2
On Thu, Nov 02, 2017 at 08:11:07AM -0700, Alexei Starovoitov wrote:
> 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_.. ?
Sure. Will post v3.
Powered by blists - more mailing lists