aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vserver/CVE-2013-2094.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-vserver/CVE-2013-2094.patch')
-rw-r--r--main/linux-vserver/CVE-2013-2094.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/linux-vserver/CVE-2013-2094.patch b/main/linux-vserver/CVE-2013-2094.patch
new file mode 100644
index 0000000000..18d8490b67
--- /dev/null
+++ b/main/linux-vserver/CVE-2013-2094.patch
@@ -0,0 +1,11 @@
+--- ./kernel/perf_event.c.orig
++++ ./kernel/perf_event.c
+@@ -4866,7 +4866,7 @@
+
+ static int perf_swevent_init(struct perf_event *event)
+ {
+- int event_id = event->attr.config;
++ u64 event_id = event->attr.config;
+
+ if (event->attr.type != PERF_TYPE_SOFTWARE)
+ return -ENOENT;