From: Siddhesh Poyarekar Date: Thu, 19 Jul 2012 01:34:24 +0000 (+0530) Subject: Fix comment that describes sighandler_setxid X-Git-Tag: glibc-2.17~823 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a98430587c57da2832fa9abe336c5a8f8137e89c;p=thirdparty%2Fglibc.git Fix comment that describes sighandler_setxid --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index b5d0d7103c7..b9a9dfb4d63 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 ea3d1ec804e..5216ce1f5a2 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) {