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] [day] [month] [year] [list]
Message-ID: <e3833d27-7f7c-4d03-b047-526c2cb9fa13@oracle.com>
Date: Sun, 2 Nov 2025 00:50:45 +0530
From: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
To: Quentin Monnet <qmo@...nel.org>, bpf@...r.kernel.org
Cc: alan.maguire@...cle.com, Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Andrii Nakryiko <andrii@...nel.org>,
        Martin KaFai Lau <martin.lau@...ux.dev>,
        Eduard Zingerman
 <eddyz87@...il.com>, Song Liu <song@...nel.org>,
        Yonghong Song <yonghong.song@...ux.dev>,
        John Fastabend <john.fastabend@...il.com>,
        KP Singh <kpsingh@...nel.org>, Stanislav Fomichev <sdf@...ichev.me>,
        Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
        Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
        linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v2 0/2] Print map ID on successful creation

Hi Quentin,

On 01/11/25 22:29, Quentin Monnet wrote:
> 2025-10-30 14:06 UTC-0700 ~ Harshit Mogalapalli
> <harshit.m.mogalapalli@...cle.com>
>> Hi all,
>>
>> I have tried looking at an issue from the bpftool repository:
>> https://github.com/libbpf/bpftool/issues/121 and this RFC tries to add
> 
> 
> This is not longer a RFC :)
> 

Oh, right, I used part of it from my RFC cover letter, sorry about that.

> 
>> that enhancement.
>>
>> Summary: Currently when a map creation is successful there is no message
>> on the terminal, printing IDs on successful creation of maps can help
>> notify the user and can be used in CI/CD.
>>
>> The first patch adds the logic for printing and the second patch adds a
>> simple selftest for the same.
>>
>> The github issue is not fully solved with these two patches, as there
>> are other bpf objects that might need similar additions. Would
>> appreciate any inputs on this.
> 
> 
> What's your question, exactly?
> 
If I understand the issue correctly, the goal is to improve usability
and CI support by printing IDs or other relevant information to the
terminal upon creation of BPF objects, instead of producing no output as
is currently the case. For maps, printing the map ID on creation is
particularly helpful.

In addition to maps, I believe it would be beneficial to print the ID 
when loading a program. I am currently working on implementing this 
enhancement.

Are there any other BPF objects where displaying additional information 
(such as IDs or relevant metadata) on the terminal would be useful?


Thank you!


Regards,
Harshit
  > Thanks,
> Quentin


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ