Project

General

Profile

Actions

Bug #794

closed

Stacked mounts of procfs/linprocfs

Added by corecode over 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF