]> git.baikalelectronics.ru Git - kernel.git/commit
tomoyo: Do not generate empty policy files
authorMichal Marek <mmarek@suse.cz>
Thu, 15 Jan 2015 09:39:22 +0000 (10:39 +0100)
committerMichal Marek <mmarek@suse.cz>
Tue, 7 Apr 2015 19:27:45 +0000 (21:27 +0200)
commit2c61e5583315abd2ce4a8ccdcbe922a90f96ccc7
tree6fa1335874239c16a9cce8afe256d52d861ce753
parentb01ca82abe00d1fb84247060d7867981b1e81e62
tomoyo: Do not generate empty policy files

The Makefile automatically generates the tomoyo policy files, which are
not removed by make clean (because they could have been provided by the
user). Instead of generating the missing files, use /dev/null if a
given file is not provided. Store the default exception_policy in
exception_policy.conf.default.

Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Michal Marek <mmarek@suse.cz>
security/tomoyo/.gitignore
security/tomoyo/Makefile
security/tomoyo/policy/exception_policy.conf.default [new file with mode: 0644]