Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101605323
D7648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D7648.diff
View Options
Index: cddl/lib/libdtrace/psinfo.d
===================================================================
--- cddl/lib/libdtrace/psinfo.d
+++ cddl/lib/libdtrace/psinfo.d
@@ -59,7 +59,7 @@
pr_gid = T->p_ucred->cr_rgid;
pr_egid = T->p_ucred->cr_groups[0];
pr_addr = 0;
- pr_psargs = (T->p_args->ar_args == 0) ? "" :
+ pr_psargs = (T->p_args == 0) ? "" :
memstr(T->p_args->ar_args, ' ', T->p_args->ar_length);
pr_arglen = T->p_args->ar_length;
pr_jailid = T->p_ucred->cr_prison->pr_id;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 1, 10:50 PM (20 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14418773
Default Alt Text
D7648.diff (496 B)
Attached To
Mode
D7648: Unlike Solaris, in FreeBSD p_args can be NULL so check for that before checking ar_args.
Attached
Detach File
Event Timeline
Log In to Comment