Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149718455
D5933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
921 B
Referenced Files
None
Subscribers
None
D5933.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5933: exec.h: Move PS_STRINGS and related #define to kernel-only section
Attached
Detach File
Event Timeline
Log In to Comment