aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/CVE-2013-2094.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-15 12:58:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-15 12:58:32 +0000
commitf3df7dc9d464aa809f60f4d3cd3ba1994becc871 (patch)
treecaf5a60fd2692484c38dd3e3101cb8a93429f52a /main/linux-grsec/CVE-2013-2094.patch
parenta564f0e95769e640cb93c3b88b4df37c971daa14 (diff)
downloadaports-f3df7dc9d464aa809f60f4d3cd3ba1994becc871.tar.gz
aports-f3df7dc9d464aa809f60f4d3cd3ba1994becc871.tar.bz2
aports-f3df7dc9d464aa809f60f4d3cd3ba1994becc871.tar.xz
main/linux-grsec: security fix (CVE-2013-2094)
Diffstat (limited to 'main/linux-grsec/CVE-2013-2094.patch')
-rw-r--r--main/linux-grsec/CVE-2013-2094.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/linux-grsec/CVE-2013-2094.patch b/main/linux-grsec/CVE-2013-2094.patch
new file mode 100644
index 0000000000..18d8490b67
--- /dev/null
+++ b/main/linux-grsec/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;