X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=security%2Fseclvl.c;h=441beaf1bbc1d104ea7c51706bd2f777feac44e2;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=d5371b8dae01c8d5f4cbf64be3c9250919cf415c;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/security/seclvl.c b/security/seclvl.c index d5371b8da..441beaf1b 100644 --- a/security/seclvl.c +++ b/security/seclvl.c @@ -16,6 +16,7 @@ * (at your option) any later version. */ +#include #include #include #include @@ -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; }