Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / security / seclvl.c
index d5371b8..441beaf 100644 (file)
@@ -16,6 +16,7 @@
  *     (at your option) any later version.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/kernel.h>
@@ -370,8 +371,6 @@ static int seclvl_settime(struct timespec *tv, struct timezone *tz)
                                      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;
 }