From a98430587c57da2832fa9abe336c5a8f8137e89c Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 19 Jul 2012 07:04:24 +0530 Subject: Fix comment that describes sighandler_setxid --- nptl/ChangeLog | 5 +++++ nptl/nptl-init.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index b5d0d71..b9a9dfb 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2012-07-19 Siddhesh Poyarekar + + * nptl-init.c (sighandler_setxid): Fix the comment that + describes it. + 2012-06-23 Thomas Schwinge * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c index ea3d1ec..5216ce1 100644 --- a/nptl/nptl-init.c +++ b/nptl/nptl-init.c @@ -229,7 +229,9 @@ sigcancel_handler (int sig, siginfo_t *si, void *ctx) struct xid_command *__xidcmd attribute_hidden; -/* For asynchronous cancellation we use a signal. This is the handler. */ +/* We use the SIGSETXID signal in the setuid, setgid, etc. implementations to + tell each thread to call the respective setxid syscall on itself. This is + the handler. */ static void sighandler_setxid (int sig, siginfo_t *si, void *ctx) { -- cgit v1.1