public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
@ 2023-10-16 21:56 bugzilla-daemon
  2023-12-27 16:41 ` [Bug 218018] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-10-16 21:56 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=218018

            Bug ID: 218018
           Summary: dl_iterate_phdr should mention Elf64_Phdr (in addition
                    to Elf32_Phdr).
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: ppluzhnikov@google.com
        Regression: No

dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
Currently the man page says:

These program headers are structures of the following form:
  typedef { ... } Elf32_Phdr;

which is obviously wrong for 64-bit binaries.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
  2023-10-16 21:56 [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr) bugzilla-daemon
@ 2023-12-27 16:41 ` bugzilla-daemon
  2023-12-27 16:47 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-27 16:41 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=218018

Rajesh (r.pandian@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.pandian@gmail.com

--- Comment #1 from Rajesh (r.pandian@gmail.com) ---
(In reply to Paul Pluzhnikov from comment #0)
> dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
> Currently the man page says:
> 
> These program headers are structures of the following form:
>   typedef { ... } Elf32_Phdr;
> 
> which is obviously wrong for 64-bit binaries.

Hello Paul,

Do you think the following would be helpful.

Replacing "These program headers are structures of the following form:" with
the following

The ELF program header is described by the type Elf32_Phdr or Elf64_Phdr
depending on the architecture. Following is an example of 32 bit architecture.
Refer to elf (man elf) for more information on 64 bit architecture.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
  2023-10-16 21:56 [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr) bugzilla-daemon
  2023-12-27 16:41 ` [Bug 218018] " bugzilla-daemon
@ 2023-12-27 16:47 ` bugzilla-daemon
  2024-01-01 11:53   ` Alejandro Colomar
  2023-12-28 16:01 ` bugzilla-daemon
  2024-01-01 11:53 ` bugzilla-daemon
  3 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-27 16:47 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=218018

--- Comment #2 from Paul Pluzhnikov (ppluzhnikov@google.com) ---
(In reply to Rajesh from comment #1)

> Do you think the following would be helpful.

Sure.

> Replacing "These program headers are structures of the following form:" with
> the following
> 
> The ELF program header is described by the type Elf32_Phdr or Elf64_Phdr
> depending on the architecture. Following is an example of 32 bit
> architecture. Refer to elf (man elf) for more information on 64 bit
> architecture.

I suggest deleting the last 4 words, i.e.

  Refer to elf (man elf) for more information.

since "man elf" describes both Elf{32,64}_Phdr in a bit more detail.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
  2023-10-16 21:56 [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr) bugzilla-daemon
  2023-12-27 16:41 ` [Bug 218018] " bugzilla-daemon
  2023-12-27 16:47 ` bugzilla-daemon
@ 2023-12-28 16:01 ` bugzilla-daemon
  2024-01-01 11:53 ` bugzilla-daemon
  3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-28 16:01 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=218018

--- Comment #3 from Rajesh (r.pandian@gmail.com) ---
Great.I have submitted the patch. If they approve it will be merged. Cheers
Paul.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
  2023-12-27 16:47 ` bugzilla-daemon
@ 2024-01-01 11:53   ` Alejandro Colomar
  0 siblings, 0 replies; 6+ messages in thread
From: Alejandro Colomar @ 2024-01-01 11:53 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-man

On Wed, Dec 27, 2023 at 04:47:48PM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=218018
> 
> --- Comment #2 from Paul Pluzhnikov (ppluzhnikov@google.com) ---
> (In reply to Rajesh from comment #1)
> 
> > Do you think the following would be helpful.
> 
> Sure.
> 
> > Replacing "These program headers are structures of the following form:" with
> > the following
> > 
> > The ELF program header is described by the type Elf32_Phdr or Elf64_Phdr
> > depending on the architecture. Following is an example of 32 bit
> > architecture. Refer to elf (man elf) for more information on 64 bit
> > architecture.
> 
> I suggest deleting the last 4 words, i.e.
> 
>   Refer to elf (man elf) for more information.
> 
> since "man elf" describes both Elf{32,64}_Phdr in a bit more detail.

I suggest creating link pages Elf32_Phdr(3type) and Elf64_Phdr(3type)
both of which link to elf(5).

> 
> -- 
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You are watching the assignee of the bug.

-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
  2023-10-16 21:56 [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-12-28 16:01 ` bugzilla-daemon
@ 2024-01-01 11:53 ` bugzilla-daemon
  3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2024-01-01 11:53 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=218018

--- Comment #4 from Alejandro Colomar (alx@kernel.org) ---
On Wed, Dec 27, 2023 at 04:47:48PM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=218018
> 
> --- Comment #2 from Paul Pluzhnikov (ppluzhnikov@google.com) ---
> (In reply to Rajesh from comment #1)
> 
> > Do you think the following would be helpful.
> 
> Sure.
> 
> > Replacing "These program headers are structures of the following form:"
> with
> > the following
> > 
> > The ELF program header is described by the type Elf32_Phdr or Elf64_Phdr
> > depending on the architecture. Following is an example of 32 bit
> > architecture. Refer to elf (man elf) for more information on 64 bit
> > architecture.
> 
> I suggest deleting the last 4 words, i.e.
> 
>   Refer to elf (man elf) for more information.
> 
> since "man elf" describes both Elf{32,64}_Phdr in a bit more detail.

I suggest creating link pages Elf32_Phdr(3type) and Elf64_Phdr(3type)
both of which link to elf(5).

> 
> -- 
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You are watching the assignee of the bug.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-01 11:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 21:56 [Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr) bugzilla-daemon
2023-12-27 16:41 ` [Bug 218018] " bugzilla-daemon
2023-12-27 16:47 ` bugzilla-daemon
2024-01-01 11:53   ` Alejandro Colomar
2023-12-28 16:01 ` bugzilla-daemon
2024-01-01 11:53 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox