[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5898FC6A.5020505@iogearbox.net>
Date: Mon, 06 Feb 2017 23:44:58 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Mickaël Salaün <mic@...ikod.net>,
linux-kernel@...r.kernel.org
CC: Alexei Starovoitov <ast@...com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH net-next v2 3/3] bpf: Always test unprivileged programs
On 02/06/2017 09:52 PM, Mickaël Salaün wrote:
> If selftests are run as root, then execute the unprivileged checks as
> well. This switch from 240 to 364 tests.
>
> The test numbers are suffixed with "/u" when executed as unprivileged or
> with "/p" when executed as privileged.
>
> The geteuid() check is replaced with a capability check.
>
> Handling capabilities requires the libcap dependency.
>
> Signed-off-by: Mickaël Salaün <mic@...ikod.net>
> Cc: Alexei Starovoitov <ast@...com>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Cc: Shuah Khan <shuah@...nel.org>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists