Peter Pentchev <[EMAIL PROTECTED]> writes:
> I was thinking about the setgid bit too, but it can only be removed when
> all of vmstat's functionality, not just dointr(), is converted to use
> sysctl.

I know; I'm working on it, and am more than half done.

> Still, here's the updated patch I was speaking of, just to show you what
> I meant about the !VMSTAT_SYSCTL buglet and it being less intrusive;
> kvm_openfiles() was not invoked even in the !VMSTAT_SYSCTL case, meaning
> dointr() wouldn't work at all then.

VMSTAT_SYSCTL is a mistake; vmstat must decide at runtime whether to
use sysctl (live system) or libkvm (postmortem).

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to