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] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6d9e7ae-4bc8-9372-11c8-2a925c66c402@infradead.org>
Date:   Sat, 17 Feb 2018 09:58:16 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Sargun Dhillon <sargun@...gun.me>, netdev@...r.kernel.org,
        containers@...ts.linux-foundation.org
Cc:     ast@...nel.org, daniel@...earbox.net, keescook@...omium.org,
        luto@...capital.net, wad@...omium.org, me@...sfraz.com,
        cpuguy83@...il.com, tom.hromatka@...cle.com
Subject: Re: [net-next v2 2/2] bpf: Add eBPF seccomp sample programs

On 02/16/2018 11:36 PM, Sargun Dhillon wrote:
> +	close(111);
> +	assert(errno == EBADF);
> +	close(999);
> +	assert(errno = EPERM);

should that be       == ?

> +
> +	return 0;
> +}


-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ