Module Name: src
Committed By: christos
Date: Sat Jan 23 14:03:48 UTC 2016
Modified Files:
src/sys/sys: exec.h
Log Message:
expose less to userland.
To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/sys/exec.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/exec.h
diff -u src/sys/sys/exec.h:1.149 src/sys/sys/exec.h:1.150
--- src/sys/sys/exec.h:1.149 Sat Oct 10 06:51:15 2015
+++ src/sys/sys/exec.h Sat Jan 23 09:03:48 2016
@@ -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 @@ struct ps_strings32 {
};
#endif
+#ifdef _KERNEL
/*
* the following structures allow execve() to put together processes
* in a more extensible and cleaner way.
@@ -245,7 +246,6 @@ struct exec_vmcmd {
#define VMCMD_STACK 0x0008 /* entry is for a stack */
};
-#ifdef _KERNEL
/*
* funtions used either by execve() or the various CPU-dependent execve()
* hooks.