Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys add checks for COMPAT_OSF1 in the appropriate places
details: https://anonhg.NetBSD.org/src/rev/a5ee5449bd74
branches: trunk
changeset: 472470:a5ee5449bd74
user: cgd <cgd%NetBSD.org@localhost>
date: Fri Apr 30 05:29:20 1999 +0000
description:
add checks for COMPAT_OSF1 in the appropriate places
diffstat:
sys/kern/kern_prot.c | 11 +++++++----
sys/kern/uipc_syscalls.c | 6 ++++--
sys/sys/ioctl.h | 5 +++--
sys/sys/tty.h | 5 +++--
4 files changed, 17 insertions(+), 10 deletions(-)
diffs (110 lines):
diff -r ad699f76a659 -r a5ee5449bd74 sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c Fri Apr 30 05:25:34 1999 +0000
+++ b/sys/kern/kern_prot.c Fri Apr 30 05:29:20 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.54 1999/04/30 05:30:32 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);
diff -r ad699f76a659 -r a5ee5449bd74 sys/kern/uipc_syscalls.c
--- a/sys/kern/uipc_syscalls.c Fri Apr 30 05:25:34 1999 +0000
+++ b/sys/kern/uipc_syscalls.c Fri Apr 30 05:29:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_syscalls.c,v 1.41 1999/02/10 18:02:28 kleink Exp $ */
+/* $NetBSD: uipc_syscalls.c,v 1.42 1999/04/30 05:30:32 cgd Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -42,8 +42,10 @@
#include "opt_compat_hpux.h"
#include "opt_compat_ultrix.h"
#include "opt_compat_43.h"
+#include "opt_compat_osf1.h"
#if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_LINUX) || \
- defined(COMPAT_HPUX) || defined(COMPAT_FREEBSD) || defined(COMPAT_ULTRIX)
+ defined(COMPAT_HPUX) || defined(COMPAT_FREEBSD) || \
+ defined(COMPAT_ULTRIX) || defined(COMPAT_OSF1)
#define COMPAT_OLDSOCK /* used by <sys/socket.h> */
#endif
diff -r ad699f76a659 -r a5ee5449bd74 sys/sys/ioctl.h
--- a/sys/sys/ioctl.h Fri Apr 30 05:25:34 1999 +0000
+++ b/sys/sys/ioctl.h Fri Apr 30 05:29:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioctl.h,v 1.24 1998/12/16 11:01:01 christos Exp $ */
+/* $NetBSD: ioctl.h,v 1.25 1999/04/30 05:29:20 cgd Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994
@@ -88,9 +88,10 @@
#include "opt_compat_sunos.h"
#include "opt_compat_svr4.h"
#include "opt_compat_43.h"
+#include "opt_compat_osf1.h"
#endif
#if defined(USE_OLD_TTY) || defined(COMPAT_43) || defined(COMPAT_SUNOS) || \
- defined(COMPAT_SVR4) || defined(COMPAT_FREEBSD)
+ defined(COMPAT_SVR4) || defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1)
#include <sys/ioctl_compat.h>
#endif
diff -r ad699f76a659 -r a5ee5449bd74 sys/sys/tty.h
--- a/sys/sys/tty.h Fri Apr 30 05:25:34 1999 +0000
+++ b/sys/sys/tty.h Fri Apr 30 05:29:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.h,v 1.46 1999/04/25 02:56:30 simonb Exp $ */
+/* $NetBSD: tty.h,v 1.47 1999/04/30 05:29:20 cgd Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -260,10 +260,11 @@
#include "opt_compat_sunos.h"
#include "opt_compat_svr4.h"
#include "opt_compat_43.h"
+#include "opt_compat_osf1.h"
#endif
#if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_SVR4) || \
- defined(COMPAT_FREEBSD)
+ defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1)
# define COMPAT_OLDTTY
int ttcompat __P((struct tty *, u_long, caddr_t, int, struct proc *));
#endif
Home |
Main Index |
Thread Index |
Old Index