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

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

[PATCH] ppc user annotations: sigcontext



sigcontext.regs is a userland pointer

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cf025109
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -632,7 +632,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
	if (__put_user((unsigned long) ka->sa.sa_handler, &sc->handler)
	    || __put_user(oldset->sig[0], &sc->oldmask)
	    || __put_user(oldset->sig[1], &sc->_unused[3])
	    || __put_user((struct pt_regs *)frame, &sc->regs)
	    || __put_user((struct pt_regs __user *)frame, &sc->regs)
	    || __put_user(sig, &sc->signal))
		goto badframe;

+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ struct sigcontext {
	int		signal;
	unsigned long	handler;
	unsigned long	oldmask;
	struct pt_regs 	*regs;
	struct pt_regs 	__user *regs;
};

#endif