Bug in caching of mount options

Jim Nance (jlnance@avanticorp.com)
Tue, 30 Sep 1997 09:17:49 -0400


Hello All,
I have found a bug in the kernel, which I believe is related to the
caching of mount options. It shows up under both 2.0.31-pre10 and
2.1.57.

If I mount a filesystem with the noexec option, then I (of cousre)
cant run any binaries on it. If I remount it with:

mount -o remount,exec /mnt/zip

I can still not run binaries which I tried to run before the remount,
but I CAN run new binaries which I copy into the file system.

I can be more detailed if some one wants me to, but this is pretty
easy to reproduce.

Thanks,

Jim

-- 
----------------------------------------------------------------------------
Jim Nance                                                 Avant! Corporation
(919) 941-6655    Do you have sweet iced tea?       jim_nance@avanticorp.com
                  No, but theres sugar on the table.