Re: question on kvm_getprocs
Evan S <[EMAIL PROTECTED]> writes: >if ((kinfo = malloc(nentries * sizeof(*kinfo))) == NULL) >err(1, NULL); >for (i = nentries; --i >= 0; ++proc_list) { >(&kinfo[i])->ki_p = proc_list; >
question on kvm_getprocs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am writing a program called jailstat, which goes through the proc structure, checks if p_prison is true, if it is, prints out p_prison->pr_host. I have it working so it says, "jailed process", and prints out it's UID. But, when I try to mak