android_kernel_samsung_msm8976/security/apparmor
Jiri Slaby 7cb4dc9fc9 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 <jslaby@suse.cz>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
2010-08-17 08:06:09 +10:00
..
include AppArmor: core policy routines 2010-08-02 15:38:37 +10:00
.gitignore AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:39 +10:00
apparmorfs.c AppArmor: userspace interfaces 2010-08-02 15:35:13 +10:00
audit.c
capability.c AppArmor: mediation of non file objects 2010-08-02 15:38:35 +10:00
context.c AppArmor: contexts used in attaching policy to system objects 2010-08-02 15:35:12 +10:00
domain.c AppArmor: fix build warnings for non-const use of get_task_cred 2010-08-02 15:49:00 +10:00
file.c AppArmor: file enforcement routines 2010-08-02 15:35:14 +10:00
ipc.c AppArmor: fix build warnings for non-const use of get_task_cred 2010-08-02 15:49:00 +10:00
Kconfig apparmor: depends on NET 2010-08-05 07:36:51 -04:00
lib.c
lsm.c AppArmor: fix task_setrlimit prototype 2010-08-17 08:06:09 +10:00
Makefile AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:39 +10:00
match.c AppArmor: dfa match engine 2010-08-02 15:35:13 +10:00
path.c
policy.c AppArmor: core policy routines 2010-08-02 15:38:37 +10:00
policy_unpack.c AppArmor: policy routines for loading and unpacking policy 2010-08-02 15:38:36 +10:00
procattr.c AppArmor: userspace interfaces 2010-08-02 15:35:13 +10:00
resource.c AppArmor: mediation of non file objects 2010-08-02 15:38:35 +10:00
sid.c AppArmor: core policy routines 2010-08-02 15:38:37 +10:00