Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <plmtyslnimcvytuclnm4pqdhdz5tsdjwwgjkflxodjrzumgeh5@3wldhlt4pysu>
Date: Thu, 12 Jun 2025 22:36:56 +0200
From: Alejandro Colomar <alx@...nel.org>
To: Rich Felker <dalias@...c.org>
Cc: "A. Wilcox" <AWilcox@...cox-tech.com>, musl@...ts.openwall.com
Subject: Re: sys/prctl.h differences vs man page

Hi Rich,

On Thu, Jun 12, 2025 at 12:38:48PM -0400, Rich Felker wrote:
> On Thu, Jun 12, 2025 at 11:32:47AM -0500, A. Wilcox wrote:
> > On Jun 12, 2025, at 11:26, Rich Felker <dalias@...c.org> wrote:
> > > I don't see where it's documented that one should include
> > > <linux/prctl.h> to use the prctl API. It's not in my copy of the man
> > > page.
> > > 
> > > Rich
> > 
> > https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/man/man2/prctl.2?id=ae31bd15b65ce03a143860e8f4daa99fcd5125a4
> 
> CC'ing commit author on this breakage.

I'd say I only changed the formatting of the information, but the manual
page already claimed you should include both <sys/prctl.h> and
<linux/prctl.h>; it just dit it in a weird way.

So, should we consider <sys/prctl.h> to be the provider of PR_*
constants?  I'd be happy to update the manual page, but libc maintainers
should state what is the official header for the PR_* constants.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.