]> www.infradead.org Git - users/willy/linux.git/commit
tomoyo: Implement security hooks for the new mount API
authorDavid Howells <dhowells@redhat.com>
Tue, 11 Sep 2018 21:20:55 +0000 (22:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:38:57 +0000 (17:38 +0100)
commit8825fb43b70a84e8874953f8835b7b8c31f077aa
treea6863c4808f6c7f328bb6173d29279da0cd1ef9c
parent966a6c1418490a13b1f4f6f214b3967b0418bc07
tomoyo: Implement security hooks for the new mount API

Implement the security hook to check the creation of a new mountpoint for
Tomoyo.

As far as I can tell, Tomoyo doesn't make use of the mount data or parse
any mount options, so I haven't implemented any of the fs_context hooks for
it.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
cc: tomoyo-dev-en@lists.sourceforge.jp
cc: linux-security-module@vger.kernel.org
security/tomoyo/common.h
security/tomoyo/mount.c
security/tomoyo/tomoyo.c