Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm When delivering a signal, ensure that the s...
details: https://anonhg.NetBSD.org/src/rev/9cc2ea69adff
branches: trunk
changeset: 513669:9cc2ea69adff
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Mon Aug 06 22:32:23 2001 +0000
description:
When delivering a signal, ensure that the stack is 8-byte-aligned.
diffstat:
sys/arch/arm/arm/sig_machdep.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0bc53e17a001 -r 9cc2ea69adff sys/arch/arm/arm/sig_machdep.c
--- a/sys/arch/arm/arm/sig_machdep.c Mon Aug 06 22:29:57 2001 +0000
+++ b/sys/arch/arm/arm/sig_machdep.c Mon Aug 06 22:32:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sig_machdep.c,v 1.5 2001/03/10 20:08:55 bjh21 Exp $ */
+/* $NetBSD: sig_machdep.c,v 1.6 2001/08/06 22:32:23 bjh21 Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -45,7 +45,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.5 2001/03/10 20:08:55 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.6 2001/08/06 22:32:23 bjh21 Exp $");
#include <sys/mount.h> /* XXX only needed by syscallargs.h */
#include <sys/proc.h>
@@ -101,6 +101,7 @@
else
fp = (struct sigframe *)tf->tf_usr_sp;
fp--;
+ (u_int)fp &= ~7;
/* Build stack frame for signal trampoline. */
frame.sf_signum = sig;
Home |
Main Index |
Thread Index |
Old Index