Stacked mounts of procfs/linprocfs

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Aug 26 00:46:24 PDT 2007


Hey,

I just noticed that we can produce stacked mounts of procfs and linprocfs.  Probably not what we want:

% mount|grep procfs
procfs on /proc (procfs, local)
procfs on /proc (procfs, local)
I tried looking into where to prevent this, probably in the vfsmount routine.  However I'm a bit out of the loop concerning the namecache, so I'm not sure when I need to lock/release what.

Nevertheless I think we should prevent this behavior.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Bugs mailing list