Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/kern pull up rev(s) 1.54 from trunk. (cgd)



details:   https://anonhg.NetBSD.org/src/rev/2a2ae7258d27
branches:  netbsd-1-4
changeset: 468835:2a2ae7258d27
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Jun 21 19:21:51 1999 +0000

description:
pull up rev(s) 1.54 from trunk. (cgd)

diffstat:

 sys/kern/kern_prot.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 57a365803a91 -r 2a2ae7258d27 sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c      Mon Jun 21 19:21:41 1999 +0000
+++ b/sys/kern/kern_prot.c      Mon Jun 21 19:21:51 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_prot.c,v 1.53 1999/03/28 17:34:33 kleink Exp $    */
+/*     $NetBSD: kern_prot.c,v 1.53.2.1 1999/06/21 19:21:51 cgd Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
@@ -49,6 +49,7 @@
 #include "opt_compat_sunos.h"
 #include "opt_compat_linux.h"
 #include "opt_compat_43.h"
+#include "opt_compat_osf1.h"
 
 #include <sys/param.h>
 #include <sys/acct.h>
@@ -72,7 +73,8 @@
 
        *retval = p->p_pid;
 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_IBCS2) || \
-    defined(COMPAT_FREEBSD) || (defined(COMPAT_LINUX) && defined(__alpha__))
+    defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1) || \
+    (defined(COMPAT_LINUX) && defined(__alpha__))
        retval[1] = p->p_pptr->p_pid;
 #endif
        return (0);
@@ -154,7 +156,8 @@
 
        *retval = p->p_cred->p_ruid;
 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_IBCS2) || \
-    defined(COMPAT_FREEBSD) || (defined(COMPAT_LINUX) && defined(__alpha__))
+    defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1) || \
+    (defined(COMPAT_LINUX) && defined(__alpha__))
        retval[1] = p->p_ucred->cr_uid;
 #endif
        return (0);
@@ -182,7 +185,7 @@
 
        *retval = p->p_cred->p_rgid;
 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_FREEBSD) || \
-    (defined(COMPAT_LINUX) && defined(alpha))
+    defined(COMPAT_OSF1) || (defined(COMPAT_LINUX) && defined(alpha))
        retval[1] = p->p_ucred->cr_gid;
 #endif
        return (0);



Home | Main Index | Thread Index | Old Index