Re: Pathnames in /proc

H. Peter Anvin (hpa@transmeta.com)
25 Jun 1998 19:09:06 GMT


Followup to: <199806250741.DAA21300@jupiter.cs.uml.edu>
By author: "Albert D. Cahalan" <acahalan@cs.uml.edu>
In newsgroup: linux.dev.kernel
>
> There is no need to "fix" /proc/mounts, since untrusted users
> can't supply the data. Trusted users must be trusted to not
> abuse the file format.
>
> The /proc/#/foo files could be a real problem.
>

Not necessarily true (think of an automounter using volume labels.)
Either way, it should be bloody legal for root to have a weird
mountpoint without breaking the universe! This is one of the reasons
why I can't use /proc/mounts to solve some nasty autofs problems!

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu