From: Joe Simmons-Talbott <josimmon@redhat.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org,
Luca Boccassi <luca.boccassi@gmail.com>,
Florian Weimer <fweimer@redhat.com>,
Philip Withnall <bugzilla@tecnocode.co.uk>
Subject: Re: [PATCH v4 3/3] linux: Add pidfd_getpid
Date: Mon, 22 May 2023 09:53:31 -0400 [thread overview]
Message-ID: <20230522135228.GJ176347@oak> (raw)
In-Reply-To: <20230517173516.1988283-4-adhemerval.zanella@linaro.org>
On Wed, May 17, 2023 at 02:35:16PM -0300, Adhemerval Zanella via Libc-alpha wrote:
> This interface allows to obtain the associated pid ID from the
> process file descriptor. It is done by parsing the procps fdinfo
> information. Its prototype is:
>
> pid_t pidfd_getpid (int fd)
>
> It returns the associated pid or -1 in case of an error and set the
> errno accordingly. The possible errno values are the smae from
same
Thanks,
Joe
prev parent reply other threads:[~2023-05-22 13:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 17:35 [PATCH v4 0/3] Add pidfd_spawn, pidfd_spawnp, pidfd_fork, and pidfd_getpid Adhemerval Zanella
2023-05-17 17:35 ` [PATCH v4 1/3] posix: Add pidfd_spawn and pidfd_spawnp (BZ# 30349) Adhemerval Zanella
2023-05-22 10:41 ` Florian Weimer
2023-05-22 10:46 ` Andreas Schwab
2023-05-22 14:18 ` Adhemerval Zanella Netto
2023-05-17 17:35 ` [PATCH v4 2/3] posix: Add pidfd_fork Adhemerval Zanella
2023-05-22 10:12 ` Florian Weimer
2023-05-22 12:44 ` Christian Brauner
2023-05-22 14:48 ` Adhemerval Zanella Netto
2023-05-17 17:35 ` [PATCH v4 3/3] linux: Add pidfd_getpid Adhemerval Zanella
2023-05-22 13:00 ` Florian Weimer
2023-05-22 17:13 ` Adhemerval Zanella Netto
2023-05-22 13:53 ` Joe Simmons-Talbott [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230522135228.GJ176347@oak \
--to=josimmon@redhat.com \
--cc=adhemerval.zanella@linaro.org \
--cc=bugzilla@tecnocode.co.uk \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=luca.boccassi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).