diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-07-19 07:04:24 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-07-19 07:04:24 +0530 |
commit | a98430587c57da2832fa9abe336c5a8f8137e89c (patch) | |
tree | e21c7cb306bfc99f50c0fd71852cf18bb612afe3 /nptl | |
parent | a66877c62b4e0abe780e69091c8282a71928cf6f (diff) | |
download | glibc-a98430587c57da2832fa9abe336c5a8f8137e89c.zip glibc-a98430587c57da2832fa9abe336c5a8f8137e89c.tar.gz glibc-a98430587c57da2832fa9abe336c5a8f8137e89c.tar.bz2 |
Fix comment that describes sighandler_setxid
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/nptl-init.c | 4 |
2 files changed, 8 insertions, 1 deletions
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 <siddhesh@redhat.com> + + * nptl-init.c (sighandler_setxid): Fix the comment that + describes it. + 2012-06-23 Thomas Schwinge <thomas@codesourcery.com> * 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) { |