move u_logname to a more logical location, add u_spare fields
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Jun 1989 10:31:17 +0000 (02:31 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Jun 1989 10:31:17 +0000 (02:31 -0800)
SCCS-vsn: sys/sys/user.h 7.6

usr/src/sys/sys/user.h

index 80efc25..799cef2 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.
  *
- *     @(#)user.h      7.5 (Berkeley) %G%
+ *     @(#)user.h      7.6 (Berkeley) %G%
  */
 
 #ifdef KERNEL
  */
 
 #ifdef KERNEL
@@ -65,6 +65,7 @@ struct        user {
        char    u_eosys;                /* special action on end of syscall */
 
 /* 1.1 - processes and protection */
        char    u_eosys;                /* special action on end of syscall */
 
 /* 1.1 - processes and protection */
+       char    u_logname[MAXLOGNAME];  /* login name, if available */
 #define        u_ruid  u_cred->cr_ruid         /* real user id */
        gid_t   u_rgid;                 /* real group id */
 #define u_cred u_nd.ni_cred
 #define        u_ruid  u_cred->cr_ruid         /* real user id */
        gid_t   u_rgid;                 /* real group id */
 #define u_cred u_nd.ni_cred
@@ -112,7 +113,6 @@ struct      user {
        struct  rusage u_ru;            /* stats for this proc */
        struct  rusage u_cru;           /* sum of stats for reaped children */
        struct  itimerval u_timer[3];
        struct  rusage u_ru;            /* stats for this proc */
        struct  rusage u_cru;           /* sum of stats for reaped children */
        struct  itimerval u_timer[3];
-       char    u_logname[MAXLOGNAME];  /* login name, if available */
        struct  timeval u_start;
        short   u_acflag;
 
        struct  timeval u_start;
        short   u_acflag;
 
@@ -131,6 +131,7 @@ struct      user {
 /* namei & co. */
        struct  nameidata u_nd;
 
 /* namei & co. */
        struct  nameidata u_nd;
 
+       long    u_spare[8];
        int     u_stack[1];
 };
 
        int     u_stack[1];
 };