I've been looking at <sys/jail.h> and related files, and realize that the prison structure lives in kernelspace. Without that resource available to end users, is there a way to find (in a userspace program) which jail a particular task belongs to?
I wrote the JailAdmin program that a few people use, and I currently get that information from /proc. However, for many reasons, I'd prefer to switch to reading the output of kvm_getprocs(), but I can't give up the old system until I can find a way to get the same information. Out of curiosity, is there a particular reason not to make a copy of the prison struct available to userspace programs? -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

