Source-Changes-HG archive

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

[src/trunk]: src/sys/sys add three emul flags:



details:   https://anonhg.NetBSD.org/src/rev/96246bcce2dd
branches:  trunk
changeset: 499897:96246bcce2dd
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Dec 01 17:59:12 2000 +0000

description:
add three emul flags:
EMUL_HAS_SYS___syscall - has SYS___syscall
EMUL_GETPID_PASS_PPID  - pass parent pid in getpid()
EMUL_GETID_PASS_EID    - pass also effective id in get[ug]id()

diffstat:

 sys/sys/proc.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 822848648cfe -r 96246bcce2dd sys/sys/proc.h
--- a/sys/sys/proc.h    Fri Dec 01 17:57:43 2000 +0000
+++ b/sys/sys/proc.h    Fri Dec 01 17:59:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.112 2000/12/01 12:28:30 jdolecek Exp $      */
+/*     $NetBSD: proc.h,v 1.113 2000/12/01 17:59:12 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1986, 1989, 1991, 1993
@@ -109,6 +109,10 @@
 
 };
 
+#define EMUL_HAS_SYS___syscall 0x001   /* has SYS___syscall */
+#define EMUL_GETPID_PASS_PPID  0x002   /* pass parent pid in getpid() */
+#define EMUL_GETID_PASS_EID    0x003   /* pass also effective id in
+                                        * get[ug]id() */
 /*
  * Description of a process.
  *



Home | Main Index | Thread Index | Old Index