lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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