FreeBSD Bugzilla – Attachment 145049 Details for
Bug 180970
[request] No manpage for ps_strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update comments in <sys/exec.h>
sys_exec_h_comments.patch (text/plain), 1.11 KB, created by
Jilles Tjoelker
on 2014-07-27 20:15:40 UTC
(
hide
)
Description:
update comments in <sys/exec.h>
Filename:
MIME Type:
Creator:
Jilles Tjoelker
Created:
2014-07-27 20:15:40 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/sys/sys/exec.h b/sys/sys/exec.h >index 140ab2e..e4fed6d 100644 >--- a/sys/sys/exec.h >+++ b/sys/sys/exec.h >@@ -40,11 +40,11 @@ > > /* > * The following structure is found at the top of the user stack of each >- * user process. The ps program uses it to locate argv and environment >- * strings. Programs that wish ps to display other information may modify >- * it; normally ps_argvstr points to the argv vector, and ps_nargvstr >- * is the same as the program's argc. The fields ps_envstr and ps_nenvstr >- * are the equivalent for the environment. >+ * user process. The kernel uses it to locate environment and long argv >+ * strings. Short argv strings (less than ps_arg_cache_limit) are stored in >+ * p_args instead. >+ * >+ * To change ps output, use setproctitle(3). > */ > struct ps_strings { > char **ps_argvstr; /* first of 0 or more argument strings */ >@@ -55,6 +55,7 @@ struct ps_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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180970
:
144666
|
145049
|
145426
|
145522
|
145540