Bug in proc permition checks.

Kasper Dupont (kasperd@daimi.au.dk)
Sun, 01 Apr 2001 10:12:25 +0000


Somewhere between 2.2.16 and 2.4.1 a bug in
vfs_permission() in the file "fs/namei.c" has
been fixed. S_ISDIR(mode) was incorrect,
S_ISDIR(inode->i_mode) is correct.

The same piece of code exist in the proc
filesystem, here the bug has not been fixed.

I wonder why does the function exist in the
proc filesystem, shouldn't proc be able to
use the default permission cheks?

I have also found a lot of bugs in the file
arch/i386/kernel/vm86.c, this is not mentioned
in the maintainer list. Is there a maintainer
I can send a bug report to? If not I will try
to fix the bugs on my own.

-- 
Kasper Dupont
-
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/