]> git.baikalelectronics.ru Git - kernel.git/commit
TOMOYO: Don't abuse sys_getpid(), sys_getppid()
authorBen Hutchings <ben@decadent.org.uk>
Sun, 26 Sep 2010 04:55:13 +0000 (05:55 +0100)
committerJames Morris <jmorris@namei.org>
Mon, 27 Sep 2010 00:53:18 +0000 (10:53 +1000)
commite260f0f42e84a2f24995a830eeb3b4b8f11b100b
tree738b017e4fa8547feb2741969decd749ea6e98e1
parent226e61f347e4e9524ef27f347734287f62c074cf
TOMOYO: Don't abuse sys_getpid(), sys_getppid()

System call entry functions sys_*() are never to be called from
general kernel code.  The fact that they aren't declared in header
files should have been a clue.  These functions also don't exist on
Alpha since it has sys_getxpid() instead.

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