integrate back branch 7.5.1.1
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 2 May 1989 14:07:58 +0000 (06:07 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 2 May 1989 14:07:58 +0000 (06:07 -0800)
SCCS-vsn: sys/kern/kern_time.c 7.9

usr/src/sys/kern/kern_time.c

index 15618c7..e76adc4 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)kern_time.c 7.5.1.1 (Berkeley) %G%
+ *     @(#)kern_time.c 7.9 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -23,8 +23,6 @@
 #include "kernel.h"
 #include "proc.h"
 
 #include "kernel.h"
 #include "proc.h"
 
-#include "machine/reg.h"
-#include "machine/cpu.h"
 
 /* 
  * Time of day and interval timer support.
 
 /* 
  * Time of day and interval timer support.
@@ -78,7 +76,7 @@ settimeofday()
                s = splhigh(); time = atv; splx(s);
                resettodr();
        }
                s = splhigh(); time = atv; splx(s);
                resettodr();
        }
-       if (uap->tzp == 0 || (u.u_error = suser(u.u_cred, &u.u_acflag)))
+       if (uap->tzp == 0)
                return;
        u.u_error = copyin((caddr_t)uap->tzp, (caddr_t)&atz, sizeof (atz));
        if (u.u_error == 0)
                return;
        u.u_error = copyin((caddr_t)uap->tzp, (caddr_t)&atz, sizeof (atz));
        if (u.u_error == 0)