X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=security%2Fapparmor%2Flsm.c;h=3d2fd141dff76f078d171e2abf28fd4e97b5378c;hp=ec1bcecf2cdacd6009c79d6a809d4b7b8443f29d;hb=9d6fa8fa7042622f8ed9c0988de665464d4584a6;hpb=361932bf84657b5dc0779046c751f06998c0d81f diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index ec1bcecf2cda..3d2fd141dff7 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -612,7 +612,7 @@ static int apparmor_setprocattr(struct task_struct *task, char *name, static int apparmor_task_setrlimit(struct task_struct *task, unsigned int resource, struct rlimit *new_rlim) { - struct aa_profile *profile = aa_current_profile(); + struct aa_profile *profile = __aa_current_profile(); int error = 0; if (!unconfined(profile))