TOMOYO: Fix incomplete read of /sys/kernel/security/tomoyo/profile
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 6 Aug 2011 14:38:30 +0000 (23:38 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 8 Aug 2011 03:13:45 +0000 (13:13 +1000)
commit4d81897139ffb738ee14b6f84f63f93ecda1136b
tree27bbf6c03ccc9087e6bdc73b7fed31b471eb8048
parent322a8b034003c0d46d39af85bf24fee27b902f48
TOMOYO: Fix incomplete read of /sys/kernel/security/tomoyo/profile

Commit bd03a3e4 "TOMOYO: Add policy namespace support." forgot to set EOF flag
and forgot to print namespace at PREFERENCE line.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c