summaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-07-19 07:04:24 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-07-19 07:04:24 +0530
commita98430587c57da2832fa9abe336c5a8f8137e89c (patch)
treee21c7cb306bfc99f50c0fd71852cf18bb612afe3 /nptl/nptl-init.c
parenta66877c62b4e0abe780e69091c8282a71928cf6f (diff)
Fix comment that describes sighandler_setxid
Diffstat (limited to 'nptl/nptl-init.c')
-rw-r--r--nptl/nptl-init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index ea3d1ec804..5216ce1f5a 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)
{