Messages in this thread | | | Date | Fri, 1 Feb 2013 15:39:16 +0200 | Subject | clock_nanosleep() task_struct leak | From | Tommi Rantala <> |
| |
Hello,
Trinity discovered a task_struct leak with clock_nanosleep(), reproducible with:
-----8<-----8<-----8<----- #include <time.h>
static const struct timespec req;
int main(void) { return clock_nanosleep(CLOCK_PROCESS_CPUTIME_ID, TIMER_ABSTIME, &req, NULL); } -----8<-----8<-----8<-----
Tommi
| |