wok-6.x view linux/stuff/linux-core.u @ rev 14546
firefox-langpack-ru: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 21:57:03 2013 +0200 (2013-05-22) |
parents | |
children |
line source
1 FIX: Linux local privilege escalation 0day, 2.6.37 - 3.8.10
2 --- linux-3.2.40/kernel//events/core.c
3 +++ linux-3.2.40/kernel//events/core.c
4 @@ -5164,7 +5164,7 @@
6 static int perf_swevent_init(struct perf_event *event)
7 {
8 - int event_id = event->attr.config;
9 + u64 event_id = event->attr.config;
11 if (event->attr.type != PERF_TYPE_SOFTWARE)
12 return -ENOENT;