git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/security/seclvl.c
b/security/seclvl.c
index
d5371b8
..
441beaf
100644
(file)
--- a/
security/seclvl.c
+++ b/
security/seclvl.c
@@
-16,6
+16,7
@@
* (at your option) any later version.
*/
* (at your option) any later version.
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.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 */
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;
}
} /* if seclvl > 1 */
return 0;
}