aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
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 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)
{