diff --git a/core/src/main/java/hudson/util/kinfo_proc.c b/core/src/main/java/hudson/util/kinfo_proc.c index 28f49a5a25..ca94c45cdc 100644 --- a/core/src/main/java/hudson/util/kinfo_proc.c +++ b/core/src/main/java/hudson/util/kinfo_proc.c @@ -1,5 +1,20 @@ /* Shows the offsets of various fields in kinfo_proc + +Execution results from my laptop +-------------------------------- +% ./a.out +kinfo_proc=492 +kp_proc.p_pid=24 +kp_proc.p_comm=163 +kp_eproc.e_ppid=416 +kp_eproc.e_pcred.p_ruid=280 +kp_eproc.e_pcred.p_rgid=288 +kp_eproc.e_ucred.cr_uid=304 +MAXCOMLEN=16 +[~/ws/hudson/main/core/src/main/java/hudson/util@longhorn] +% uname -a +Darwin longhorn.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 */ #include #include