Skip to content

Commit b99ca60

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: AppArmor: Fix sleep in invalid context from task_setrlimit
2 parents 56a2105 + 1780f2d commit b99ca60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/apparmor/lsm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ static int apparmor_setprocattr(struct task_struct *task, char *name,
612612
static int apparmor_task_setrlimit(struct task_struct *task,
613613
unsigned int resource, struct rlimit *new_rlim)
614614
{
615-
struct aa_profile *profile = aa_current_profile();
615+
struct aa_profile *profile = __aa_current_profile();
616616
int error = 0;
617617

618618
if (!unconfined(profile))

0 commit comments

Comments
 (0)