TOMOYO: Allow using UID/GID etc. of current thread as conditions.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 8 Jul 2011 04:21:37 +0000 (13:21 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 11 Jul 2011 01:05:32 +0000 (11:05 +1000)
commit2066a36125fcbf5220990173b9d8e8bc49ad7538
treec8ea3a6d92a8b4b68cda986601336e8e8f58553e
parent5c4274f13819b40e726f6ee4ef13b4952cff5010
TOMOYO: Allow using UID/GID etc. of current thread as conditions.

This patch adds support for permission checks using current thread's UID/GID
etc. in addition to pathnames.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/Makefile
security/tomoyo/audit.c
security/tomoyo/common.c
security/tomoyo/common.h
security/tomoyo/condition.c [new file with mode: 0644]
security/tomoyo/domain.c
security/tomoyo/gc.c
security/tomoyo/util.c