summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/xen-sources/files/CVE-2005-4352.patch')
-rw-r--r--sys-kernel/xen-sources/files/CVE-2005-4352.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/xen-sources/files/CVE-2005-4352.patch b/sys-kernel/xen-sources/files/CVE-2005-4352.patch
new file mode 100644
index 000000000000..427d4cff3c2e
--- /dev/null
+++ b/sys-kernel/xen-sources/files/CVE-2005-4352.patch
@@ -0,0 +1,11 @@
+--- security/seclvl.c-original 2007-01-27 14:14:55.000000000 +1100
++++ security/seclvl.c 2007-01-27 14:16:12.000000000 +1100
+@@ -381,6 +381,8 @@
+ current->group_leader->pid);
+ return -EPERM;
+ } /* if attempt to decrement time */
++ if (tv->tv_sec > 1924988400) /* disallow dates after 2030) */
++ return -EPERM; /* CVE-2005-4352 */
+ } /* if seclvl > 1 */
+ return 0;
+ }