Stacked mounts of procfs/linprocfs

Simon 'corecode' Schubert corecode at
Sun Aug 26 00:46:24 PDT 2007


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.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \

More information about the Bugs mailing list