TOMOYO: Accept manager programs which do not start with / .
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 13 May 2012 14:03:23 +0000 (23:03 +0900)
committerJames Morris <james.l.morris@oracle.com>
Tue, 15 May 2012 00:24:29 +0000 (10:24 +1000)
commit77b513dda90fd99bd1225410b25e745b74779c1c
tree5555c83725ac407d2e1c3d020061580918524ceb
parentfd75815f727f157a05f4c96b5294a4617c0557da
TOMOYO: Accept manager programs which do not start with / .

The pathname of /usr/sbin/tomoyo-editpolicy seen from Ubuntu 12.04 Live CD is
squashfs:/usr/sbin/tomoyo-editpolicy rather than /usr/sbin/tomoyo-editpolicy .
Therefore, we need to accept manager programs which do not start with / .

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/tomoyo/common.c
security/tomoyo/common.h