From: Tetsuo Handa Date: Wed, 19 Oct 2011 21:48:57 +0000 (+0900) Subject: TOMOYO: Fix interactive judgment functionality. X-Git-Tag: v3.2-rc1~78^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=59df3166ef293288d164ab3362a717743e62d20c;hp=59df3166ef293288d164ab3362a717743e62d20c TOMOYO: Fix interactive judgment functionality. Commit 17fcfbd9 "TOMOYO: Add interactive enforcing mode." introduced ability to query access decision using userspace programs. It was using global PID for reaching policy configuration of the process. However, use of PID returns stale policy configuration when the process's subjective credentials and objective credentials differ. Fix this problem by allowing reaching policy configuration via query id. Signed-off-by: Tetsuo Handa Signed-off-by: James Morris ---