diff options
| author | Jiri Slaby <[email protected]> | 2010-08-11 09:28:02 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2010-08-16 22:06:09 +0000 |
| commit | 7cb4dc9fc95f89587f57f287b47e091d7806255e (patch) | |
| tree | 41f68ee728c0ab1b894e425933a166e990e1eb41 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Linux 2.6.36-rc1 (diff) | |
| download | kernel-7cb4dc9fc95f89587f57f287b47e091d7806255e.tar.gz kernel-7cb4dc9fc95f89587f57f287b47e091d7806255e.zip | |
AppArmor: fix task_setrlimit prototype
After rlimits tree was merged we get the following errors:
security/apparmor/lsm.c:663:2: warning: initialization from incompatible pointer type
It is because AppArmor was merged in the meantime, but uses the old
prototype. So fix it by adding struct task_struct as a first parameter
of apparmor_task_setrlimit.
NOTE that this is ONLY a compilation warning fix (and crashes caused
by that). It needs proper handling in AppArmor depending on who is the
'task'.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
