[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+ydwtqUUAR9zf3dp+N1JRW+if88EZ73i+5BQtuggVPDFVdCBg@mail.gmail.com>
Date: Fri, 1 Feb 2013 15:39:16 +0200
From: Tommi Rantala <tt.rantala@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Cc: Dave Jones <davej@...hat.com>
Subject: clock_nanosleep() task_struct leak
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists