Source-Changes-HG archive

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

[src/trunk]: src/sys/sys expose less to userland.



details:   https://anonhg.NetBSD.org/src/rev/cb1e4a48acb1
branches:  trunk
changeset: 813277:cb1e4a48acb1
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 23 14:03:48 2016 +0000

description:
expose less to userland.

diffstat:

 sys/sys/exec.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e3c58ba4f6b7 -r cb1e4a48acb1 sys/sys/exec.h
--- a/sys/sys/exec.h    Sat Jan 23 14:03:04 2016 +0000
+++ b/sys/sys/exec.h    Sat Jan 23 14:03:48 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.h,v 1.149 2015/10/10 10:51:15 maxv Exp $  */
+/*     $NetBSD: exec.h,v 1.150 2016/01/23 14:03:48 christos Exp $      */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -124,6 +124,7 @@
 };
 #endif
 
+#ifdef _KERNEL
 /*
  * the following structures allow execve() to put together processes
  * in a more extensible and cleaner way.
@@ -245,7 +246,6 @@
 #define        VMCMD_STACK     0x0008  /* entry is for a stack */
 };
 
-#ifdef _KERNEL
 /*
  * funtions used either by execve() or the various CPU-dependent execve()
  * hooks.



Home | Main Index | Thread Index | Old Index