Page MenuHomeFreeBSD

D5933.diff
No OneTemporary

D5933.diff

Index: head/sys/sys/exec.h
===================================================================
--- head/sys/sys/exec.h
+++ head/sys/sys/exec.h
@@ -58,13 +58,6 @@
unsigned int ps_nenvstr; /* the number of environment strings */
};
-/*
- * Address of ps_strings structure (in user space).
- * Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant.
- */
-#define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
-#define SPARE_USRSPACE 4096
-
struct image_params;
struct execsw {
@@ -77,6 +70,13 @@
#ifdef _KERNEL
#include <sys/cdefs.h>
+/*
+ * Address of ps_strings structure (in user space).
+ * Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant.
+ */
+#define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
+#define SPARE_USRSPACE 4096
+
int exec_map_first_page(struct image_params *);
void exec_unmap_first_page(struct image_params *);

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 27, 11:55 AM (17 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30426138
Default Alt Text
D5933.diff (921 B)

Event Timeline