aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vserver/CVE-2013-2094.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-16 09:14:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-16 09:14:16 +0000
commit9d7bb4173fdf51d18f3718ed87a1ed6f41a996b2 (patch)
treecf23b39abcc4609d2e6f3f54b66f46f7c0aa6f02 /main/linux-vserver/CVE-2013-2094.patch
parentf3df7dc9d464aa809f60f4d3cd3ba1994becc871 (diff)
downloadaports-9d7bb4173fdf51d18f3718ed87a1ed6f41a996b2.tar.gz
aports-9d7bb4173fdf51d18f3718ed87a1ed6f41a996b2.tar.bz2
aports-9d7bb4173fdf51d18f3718ed87a1ed6f41a996b2.tar.xz
main/linux-vserver: security fix (CVE-2013-2094)
fixes #1874
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;