public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 220192] New: Duplicate size parameter in setxattr manpage
@ 2025-06-04 11:20 bugzilla-daemon
  2025-06-04 12:11 ` [Bug 220192] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2025-06-04 11:20 UTC (permalink / raw)
  To: linux-man

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

            Bug ID: 220192
           Summary: Duplicate size parameter in setxattr manpage
           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: paul.f.fee@gmail.com
        Regression: No

The 6.14 man pages document the API of setxattr as:

int setxattr(size_t size;
             const char *path, const char *name,
             const void value[size], size_t size, int flags);

The first parameter shouldn't be there, it should read:

int setxattr(const char *path, const char *name,
             const void *value[size], size_t size, int flags);

Detected on OpenSUSE Tumbleweed, package: man-pages-6.14-1.1.noarch.rpm
Confirmed same issue in upstream tar file:
https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-6.14.tar.gz

Not present in 6.8 man pages (as used by Ubuntu 24.04).  Flaw was introduced
sometime afterwards.

-- 
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] 4+ messages in thread

* [Bug 220192] Duplicate size parameter in setxattr manpage
  2025-06-04 11:20 [Bug 220192] New: Duplicate size parameter in setxattr manpage bugzilla-daemon
@ 2025-06-04 12:11 ` bugzilla-daemon
  2025-06-04 13:15 ` bugzilla-daemon
  2025-06-04 13:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2025-06-04 12:11 UTC (permalink / raw)
  To: linux-man

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

Mark Naughton (mnaughto@redhat.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mnaughto@redhat.com

--- Comment #1 from Mark Naughton (mnaughto@redhat.com) ---
This is a recent change made to the man pages to include a forward declaration
before the arguments.

Please see this thread:
https://lore.kernel.org/linux-man/CACdZg2WJtzBYJS06vy4uLNaH2_N73Wn0HHJSSThD-F8QnX3d8Q@mail.gmail.com/T/#mc8f93664403f9eacc0add8f02bea4c760dc26499

I agree this is a confusing change and will cause problems as it gets rolled
out to more distros.


Mark

-- 
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] 4+ messages in thread

* [Bug 220192] Duplicate size parameter in setxattr manpage
  2025-06-04 11:20 [Bug 220192] New: Duplicate size parameter in setxattr manpage bugzilla-daemon
  2025-06-04 12:11 ` [Bug 220192] " bugzilla-daemon
@ 2025-06-04 13:15 ` bugzilla-daemon
  2025-06-04 13:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2025-06-04 13:15 UTC (permalink / raw)
  To: linux-man

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

Paul Fee (paul.f.fee@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #2 from Paul Fee (paul.f.fee@gmail.com) ---
Thanks for the prompt response and link to the explanation.  Closing as this is
not a 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] 4+ messages in thread

* [Bug 220192] Duplicate size parameter in setxattr manpage
  2025-06-04 11:20 [Bug 220192] New: Duplicate size parameter in setxattr manpage bugzilla-daemon
  2025-06-04 12:11 ` [Bug 220192] " bugzilla-daemon
  2025-06-04 13:15 ` bugzilla-daemon
@ 2025-06-04 13:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2025-06-04 13:15 UTC (permalink / raw)
  To: linux-man

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

Paul Fee (paul.f.fee@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
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] 4+ messages in thread

end of thread, other threads:[~2025-06-04 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 11:20 [Bug 220192] New: Duplicate size parameter in setxattr manpage bugzilla-daemon
2025-06-04 12:11 ` [Bug 220192] " bugzilla-daemon
2025-06-04 13:15 ` bugzilla-daemon
2025-06-04 13:15 ` bugzilla-daemon

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