Re: [PATCH] DevFS support for /dev/cpu/X/(cpuid|msr)

H. Peter Anvin
2002-01-08T17:18:17Z

Followup to: <20020108201451.088f7f99.rusty@rustcorp.com.au>
By author: Rusty Russell <rusty@rustcorp.com.au>
In newsgroup: linux.dev.kernel
>
> It's unfortunate that /proc/sys and /proc suck so hard that good coders go
> to great lengths to do anything else [see previous /proc/sys patches].
>

/proc/sys is pretty cool. However, procfs has no permission control
system set up, unlike /dev. This is inherent; adjusting sysctls is a
root-only function and cannot be made otherwise.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>