View | Details | Raw Unified | Return to bug 557302
Collapse All | Expand All

(-)a/security/apparmor/capability.c (+1 lines)
Lines 72-77 static int aa_audit_caps(struct aa_profile *profile, struct aa_audit_caps *sa) Link Here
72
	/* Do simple duplicate message elimination */
72
	/* Do simple duplicate message elimination */
73
	ent = &get_cpu_var(audit_cache);
73
	ent = &get_cpu_var(audit_cache);
74
	if (sa->base.task == ent->task && cap_raised(ent->caps, sa->cap)) {
74
	if (sa->base.task == ent->task && cap_raised(ent->caps, sa->cap)) {
75
		put_cpu_var(audit_cache);
75
		if (PROFILE_COMPLAIN(profile))
76
		if (PROFILE_COMPLAIN(profile))
76
			return 0;
77
			return 0;
77
		return sa->base.error;
78
		return sa->base.error;

Return to bug 557302