[PATCH] Use uname not sysctl to get the kernel revision
Eric W. Biederman
ebiederm@xmission.com
Thu Jul 13 02:34:00 GMT 2006
Theodore Tso <tytso@mit.edu> writes:
> That may be true, but it doesn't answer the question, what's the cost
> of leaving in sys_sysctl in there for now?
Among other things the implementation of all of:
CTL_KERN, {KERN_OSTYPE, KERN_OSRELEASE, KERN_OSREV, KERN_VERSION,
KERN_SECUREMASK,KERN_PROF,KERN_NODENAME,KERN_DOMAINNAME }
are broken in kernel/sysctl.c because the locking is missing.
Eric
More information about the Libc-alpha
mailing list