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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250820161914.73bf78ea@gandalf.local.home>
Date: Wed, 20 Aug 2025 16:19:14 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Steven Rostedt <rostedt@...nel.org>, linux-kernel@...r.kernel.org,
 linux-trace-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org, Masami
 Hiramatsu <mhiramat@...nel.org>, Mark Rutland <mark.rutland@....com>,
 Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Andrew Morton
 <akpm@...ux-foundation.org>, Arnd Bergmann <arnd@...db.de>, Masahiro Yamada
 <masahiroy@...nel.org>, Nathan Chancellor <nathan@...nel.org>, Nicolas
 Schier <nicolas.schier@...ux.dev>, Nick Desaulniers
 <nick.desaulniers+lkml@...il.com>, Catalin Marinas
 <catalin.marinas@....com>, Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH v6 2/3] tracing: Add a tracepoint verification check at
 build time

On Wed, 20 Aug 2025 13:12:22 -0700
Randy Dunlap <rdunlap@...radead.org> wrote:

> On 8/20/25 10:47 AM, Steven Rostedt wrote:
> > +/**
> > + * for_each_shdr_str - iterator that reads strings that are in an ELF section.
> > + * @len: "int" to hold the length of the current string
> > + * @ehdr: A pointer to the ehdr of the ELF file
> > + * @sec: The section that has the strings to iterater on  
> 
>                                                 iterate> + *

Hmm, "to iterate on" sounds better to me. :-/

> > + * This is a for loop that iterates over all the nul terminated strings
> > + * that are in a given ELF section. The variable "str" will hold
> > + * the current string for each iteration and the passed in @len will
> > + * contain theh strlen() of that string.  
> 
>               the

Oops! Thanks.

-- Steve

> 
> > + */  
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ