[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711080014.lA80EvJB088704@www262.sakura.ne.jp>
Date: Thu, 08 Nov 2007 09:14:57 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: hch@...radead.org
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
crispin@...spincowan.com
Subject: Re: Problem with accessing namespace_sem from LSM.
Hello.
Christoph Hellwig wrote:
> Same argument as with the AA folks: it does not have any business looking
> at the vfsmount. If you create a file it can and in many setups will
> show up in multiple vfsmounts, so making decisions based on the particular
> one this creat happens through is wrong and actually dangerous.
Thus TOMOYO 1.x doesn't use LSM hooks, and AppArmor for OpenSuSE 10.3
added "struct vfsmount" parameter for VFS helper functions and LSM hooks.
Not all systems use bind mounts.
There is likely only one vfsmount which corresponds with a given dentry.
What does "dangerous" mean? It causes crash?
Regards.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists