Re: [PATCH] Use uname not sysctl to get the kernel revision
From: Eric W. Biederman
Date: Wed Jul 12 2006 - 22:32:51 EST
Theodore Tso <tytso@xxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/