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

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

Merge "arm64: ascii armor the arm64 boot init stack canary"

parents 05908082 9f27450a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ static __always_inline void boot_init_stack_canary(void)
	/* Try to get a semi random initial value. */
	get_random_bytes(&canary, sizeof(canary));
	canary ^= LINUX_VERSION_CODE;
	canary &= CANARY_MASK;

	current->stack_canary = canary;
	__stack_chk_guard = current->stack_canary;