[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea07d3ea-6ad8-44bb-b456-45c4edba433a@kernel.org>
Date: Fri, 20 Jun 2025 17:25:51 +0100
From: Quentin Monnet <qmo@...nel.org>
To: Slava Imameev <slava.imameev@...wdstrike.com>, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, shuah@...nel.org,
bpf@...r.kernel.org
Cc: martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
yonghong.song@...ux.dev, john.fastabend@...il.com, kpsingh@...nel.org,
sdf@...ichev.me, haoluo@...gle.com, jolsa@...nel.org, mykolal@...com,
justin.deschamp@...wdstrike.com, mark.fontana@...wdstrike.com,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH bpf-next v4 1/2] bpftool: Use appropriate permissions for
map access
2025-06-21 01:18 UTC+1000 ~ Slava Imameev <slava.imameev@...wdstrike.com>
> Modify several functions in tools/bpf/bpftool/common.c to allow
> specification of requested access for file descriptors, such as
> read-only access.
>
> Update bpftool to request only read access for maps when write
> access is not required. This fixes errors when reading from maps
> that are protected from modification via security_bpf_map.
>
> Signed-off-by: Slava Imameev <slava.imameev@...wdstrike.com>
Reviewed-by: Quentin Monnet <qmo@...nel.org>
Thanks!
Powered by blists - more mailing lists