Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b2c4cad authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audit: Checks valid value of audit_signals and tsk->audit_context" into msm-4.9

parents 53a2e8ef 3d921563
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2252,9 +2252,10 @@ int __audit_signal_info(int sig, struct task_struct *t)
				audit_sig_uid = uid;
			security_task_getsecid(tsk, &audit_sig_sid);
		}
	}

	if (!audit_signals || audit_dummy_context())
		return 0;
	}

	/* optimize the common case by putting first signal recipient directly
	 * in audit_context */