kernel-aes67/security/tomoyo
Tetsuo Handa 17fcfbd9d4 TOMOYO: Add interactive enforcing mode.
Since the behavior of the system is restricted by policy, we may need to update
policy when you update packages.

We need to update policy in the following cases.

    * The pathname of files has changed.
    * The dependency of files has changed.
    * The access permissions required has increased.

The ideal way to update policy is to rebuild from the scratch using learning
mode. But it is not desirable to change from enforcing mode to other mode if
the system has once entered in production state. Suppose MAC could support
per-application enforcing mode, the MAC becomes useless if an application that
is not running in enforcing mode was cracked. For example, the whole system
becomes vulnerable if only HTTP server application is running in learning mode
to rebuild policy for the application. So, in TOMOYO Linux, updating policy is
done while the system is running in enforcing mode.

This patch implements "interactive enforcing mode" which allows administrators
to judge whether to accept policy violation in enforcing mode or not.
A demo movie is available at http://www.youtube.com/watch?v=b9q1Jo25LPA .

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2010-08-02 15:33:38 +10:00
..
common.c TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
common.h TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
domain.c TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
file.c TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
gc.c TOMOYO: Add mount restriction. 2010-08-02 15:33:37 +10:00
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile TOMOYO: Add mount restriction. 2010-08-02 15:33:37 +10:00
mount.c TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
number_group.c TOMOYO: Add numeric values grouping support. 2010-08-02 15:33:35 +10:00
path_group.c TOMOYO: Add pathname grouping support. 2010-05-17 09:25:57 +10:00
realpath.c TOMOYO: Add interactive enforcing mode. 2010-08-02 15:33:38 +10:00
tomoyo.c TOMOYO: Add mount restriction. 2010-08-02 15:33:37 +10:00