[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKgNAkia6T0P1e8v20kw1fJhuV9Cbf+p2wZtppgJ2O8MvAJ1Eg@mail.gmail.com>
Date: Mon, 25 Feb 2013 10:16:17 +0100
From: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] man2/prctl.2: Add PR_GET_TID_ADDRESS description
Hi Cyril,
On Tue, Feb 19, 2013 at 4:47 PM, Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov@...nvz.org>
> ---
> man2/prctl.2 | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/man2/prctl.2 b/man2/prctl.2
> index 012af4d..4906c70 100644
> --- a/man2/prctl.2
> +++ b/man2/prctl.2
> @@ -761,6 +761,18 @@ option.
> .\" symbolic-link transitions over all process running in a system.
> .\" ========== END FIXME
> .RE
> +.TP
> +.BR PR_GET_TID_ADDRESS " (since Linux 3.5)"
> +Return
> +.I clear_child_tid
> +in the location pointed by
> +.IR "(int\ **) arg2" .
> +See
> +.BR set_tid_address (2)
> +for more details.
> +This feature is available only if the kernel is built with the
> +.BR CONFIG_CHECKPOINT_RESTORE
> +option enabled.
> .\"
> .SH "RETURN VALUE"
> On success,
As it happened, I added documentation for this flag a few weeks ago,
but your patc includes some details that I didn't document, so I've
applied those pieces to yield:
PR_GET_TID_ADDRESS (since Linux 3.5)
Retrieve the clear_child_tid address set by
set_tid_address(2) and the clone(2) CLONE_CHILD_CLEARTID
flag, in the location pointed to by (int **) arg2. This
feature is available only if the kernel is built with
the CONFIG_CHECKPOINT_RESTORE option enabled.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists