lkml.org 
[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch for /proc/mounts problems on 2.2.x
Hi!

Jeff Garzik wrote:
>
> Christian Czezatke wrote:
> > Unfortunately, I had to discover that /proc/mounts does not show all the
> > mounting options (usrquota, grpquota).
>
> These options are ignored. linux/fs/ext2/super.c from 2.2.18-pre17:
>
But there are _userspace_ tools which check for these options
in /etc/mtab (like "quota"), which won't work if you symlink
/proc/mounts!

[...]
>
> > -- Furthermore, the max. size of
> > /proc/mounts is limited to one page. Even worse, the current
> > implementation in Linux 2.2.17 and 2.2.18preX does not perform proper
> > bounds checking. (I've successfully triggered off an OOPS by exploiting
> > this on a box running Linux 2.2.17).
>
> Don't mount so many filesystems, or don't use so many no-op options :)
>
Well, I already can imagine the next bugtrack message... :-(
(Just think of a network of auto-mounted NFS servers...!)

Did you actually _read_ our web-page dealing with this topic?

- andreas

--
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.059 / U:0.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site