From: Tetsuo Handa Date: Thu, 29 Jul 2010 05:29:55 +0000 (+0900) Subject: TOMOYO: Use pathname specified by policy rather than execve() X-Git-Tag: v2.6.36-rc1~584^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=484ca79c653121d3c79fffb86e1deea724f2e20b;p=pandora-kernel.git TOMOYO: Use pathname specified by policy rather than execve() Commit c9e69318 "TOMOYO: Allow wildcard for execute permission." changed execute permission and domainname to accept wildcards. But tomoyo_find_next_domain() was using pathname passed to execve() rather than pathname specified by the execute permission. As a result, processes were not able to transit to domains which contain wildcards in their domainnames. This patch passes pathname specified by the execute permission back to tomoyo_find_next_domain() so that processes can transit to domains which contain wildcards in their domainnames. Signed-off-by: Tetsuo Handa Signed-off-by: James Morris --- Reading git-diff-tree failed