summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/domain.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2009-06-02 05:47:19 +0200
committerJames Morris <jmorris@namei.org>2009-06-02 07:13:13 +0200
commitfbeb4a9c20d00e2550156f9e5a34473fbde59de2 (patch)
treed08881a9eb2d768722363d7022d2ae4da81494d9 /security/tomoyo/domain.c
parentsmack: Remove redundant initialization. (diff)
downloadlinux-fbeb4a9c20d00e2550156f9e5a34473fbde59de2.tar.xz
linux-fbeb4a9c20d00e2550156f9e5a34473fbde59de2.zip
tomoyo: avoid get+put of task_struct
Use task_cred_xxx(task, security) in tomoyo_real_domain() to avoid a get+put of the target cred. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/domain.c')
0 files changed, 0 insertions, 0 deletions