Re: [PATCH bpf-next v4 1/2] bpftool: Use appropriate permissions for map access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2025-06-21 01:18 UTC+1000 ~ Slava Imameev <slava.imameev@xxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Quentin Monnet <qmo@xxxxxxxxxx>

Thanks!




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux