[SIGAR-127] use KERN_ARGMAX for KERN_PROCARGS2 buffer size
This commit is contained in:
1 parent
4867aeb235
commit
1ccf48ca19
2 files changed
+48
-15
No files matched your search
@@ -60,6 +60,7 @@ struct sigar_t {
|
||||
sigar_pid_t last_pid;
|
||||
bsd_pinfo_t *pinfo;
|
||||
int lcpu;
|
||||
size_t argmax;
|
||||
#ifdef DARWIN
|
||||
mach_port_t mach_port;
|
||||
# ifdef DARWIN_HAS_LIBPROC_H
|
||||
|
||||
Reference in new issue
Block a user