Re: uml-patch-2.5.49-1

H. Peter Anvin (hpa@zytor.com)
26 Nov 2002 18:29:15 -0800


Followup to: <200211261833.NAA02294@ccure.karaya.com>
By author: Jeff Dike <jdike@karaya.com>
In newsgroup: linux.dev.kernel
>
> jlnance@unity.ncsu.edu said:
> > I think /proc/mm would be better implemented as /dev/mm.
>
> What major and minor numbers should I assign to it? And what would be
> the point of giving it a major and minor, anyway?
>

Access control, ability to work in a chroot, ...

For major/minor, this is presumably a misc device (major 10) or, if
you don't need module support, a kernel core device (major 1), and
write to device@lanana.org to have a minor number assigned.

-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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/