I guess my feeling is that fundamentally, this type of process data is
"typed" as a nul-terminated string. procfs fails to export all types
safely (i.e., unambiguously), including nul-terminated strings. I suppose
really, the kernel should export in ASN.1... (run away)
Actually, the right answer is probably simply to use sysctl to get this
type of process information, since the results actually do have types
respected by the medium.
Robert N M Watson FreeBSD Core Team, TrustedBSD Project
rob...@fledge.watson.org NAI Labs, Safeport Network Services
On Fri, 17 Aug 2001, Josef Karthauser wrote:
I've raised PR29682 about a problem parsing /proc/N/status (procfs) in
-current. The problem occurs when process names contain spaces, like
all of the 'irqN: xxx' ones do. Is there a procfs guru here that would
mind taking a look for me?
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message