lkml.org 
[lkml]   [2013]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectclock_nanosleep() task_struct leak
From
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


\
 
 \ /
  Last update: 2013-02-01 15:21    [W:1.265 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site