diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2010-09-26 08:55:13 +0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-09-27 04:53:18 +0400 |
commit | c8da96e87d349e9035345293093ecc74792fb96a (patch) | |
tree | 738b017e4fa8547feb2741969decd749ea6e98e1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 91e71c12c506e15028c252a5a097723f41c518dd (diff) | |
download | linux-c8da96e87d349e9035345293093ecc74792fb96a.tar.xz |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions