[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMp4zn_4nOEWOx2jCx7gNCVRzyFmZ8xZ-skZKFYgGnyFx_OoHQ@mail.gmail.com>
Date: Sun, 18 Feb 2018 20:05:35 -0800
From: Sargun Dhillon <sargun@...gun.me>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: netdev <netdev@...r.kernel.org>,
Linux Containers <containers@...ts.linux-foundation.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kees Cook <keescook@...omium.org>,
Andy Lutomirski <luto@...capital.net>,
Will Drewry <wad@...omium.org>,
Jessie Frazelle <me@...sfraz.com>,
Brian Goff <cpuguy83@...il.com>, tom.hromatka@...cle.com
Subject: Re: [net-next v2 2/2] bpf: Add eBPF seccomp sample programs
On Sat, Feb 17, 2018 at 9:58 AM, Randy Dunlap <rdunlap@...radead.org> wrote:
> On 02/16/2018 11:36 PM, Sargun Dhillon wrote:
>> + close(111);
>> + assert(errno == EBADF);
>> + close(999);
>> + assert(errno = EPERM);
>
> should that be == ?
>
Woops. Embarassing. Will fix that in the next re-spin.
>> +
>> + return 0;
>> +}
>
>
> --
> ~Randy
Powered by blists - more mailing lists