wok-stable diff linux/stuff/linux-perf_event-2.6.37.u @ rev 12442
bash: update version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 15:12:31 2014 +0200 (2014-10-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux/stuff/linux-perf_event-2.6.37.u Wed Oct 08 15:12:31 2014 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +FIX: Linux local privilege escalation 0day, 2.6.37 - 3.8.10 1.5 +--- linux-2.6.37/kernel/perf_event.c 1.6 ++++ linux-2.6.37/kernel/perf_event.c 1.7 +@@ -4705,7 +4705,7 @@ 1.8 + 1.9 + static int perf_swevent_init(struct perf_event *event) 1.10 + { 1.11 +- int event_id = event->attr.config; 1.12 ++ u64 event_id = event->attr.config; 1.13 + 1.14 + if (event->attr.type != PERF_TYPE_SOFTWARE) 1.15 + return -ENOENT;