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

Commit e46924d2 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

mn10300: avoid SIGSEGV delivery loop



force_sigsegv() is there for purpose...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 18e6bfa9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
	return 0;

give_sigsegv:
	force_sig(SIGSEGV, current);
	force_sigsegv(sig, current);
	return -EFAULT;
}

@@ -428,7 +428,7 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
	return 0;

give_sigsegv:
	force_sig(SIGSEGV, current);
	force_sigsegv(sig, current);
	return -EFAULT;
}