]> git.hungrycats.org Git - linux/commit
[PATCH] Fix clock_nanosleep() signal restart issues
authorGeorge Anzinger <george@mvista.com>
Tue, 11 Nov 2003 06:59:12 +0000 (22:59 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 11 Nov 2003 06:59:12 +0000 (22:59 -0800)
commit70963396fbdbc75943f5a2532a3e6dd6406cb877
tree57d3d598a3c4780bb72ad920aed7bf049276a145
parenteb4c85da062e8a754be6c17b8bf3fcbb650a296b
[PATCH] Fix clock_nanosleep() signal restart issues

The problem with clock_nanosleep() restarting was that the address of
the users return timespec was being saved at the wrong place.  In needs
to be saved in the sys call interface code rather than the
do_clock_nanosleep().  My original tests were a bit weak as they only
did one signal rather than two or more which were required to break it.

The attached patch fixes the problem.

I also added a few comments about how restart works, and added my name
to the MAINTAINERS list.
MAINTAINERS
kernel/posix-timers.c