[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5898E84E.7080507@fb.com>
Date: Mon, 6 Feb 2017 13:19:10 -0800
From: Alexei Starovoitov <ast@...com>
To: Mickaël Salaün <mic@...ikod.net>,
<linux-kernel@...r.kernel.org>
CC: Arnaldo Carvalho de Melo <acme@...hat.com>,
Daniel Borkmann <daniel@...earbox.net>,
"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 2/6/17 12: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: Alexei Starovoitov <ast@...nel.org>
you can keep acks when there are no changes to the patch.
Powered by blists - more mailing lists