Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Make ss_size something reasonable (not 0) ...
details: https://anonhg.NetBSD.org/src/rev/7c0eba8f78e1
branches: trunk
changeset: 472423:7c0eba8f78e1
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 29 16:09:12 1999 +0000
description:
Make ss_size something reasonable (not 0) so sigaltstack does not fail.
Pull me up plz!
diffstat:
sys/compat/common/kern_sig_43.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r facd284bef85 -r 7c0eba8f78e1 sys/compat/common/kern_sig_43.c
--- a/sys/compat/common/kern_sig_43.c Thu Apr 29 15:47:02 1999 +0000
+++ b/sys/compat/common/kern_sig_43.c Thu Apr 29 16:09:12 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig_43.c,v 1.10 1998/09/14 21:03:59 pk Exp $ */
+/* $NetBSD: kern_sig_43.c,v 1.11 1999/04/29 16:09:12 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -119,7 +119,7 @@
struct sigaltstack *sa;
{
sa->ss_sp = ss->ss_sp;
- sa->ss_size = 0; /* XXX? */
+ sa->ss_size = SIGSTKSZ; /* Use the recommended size */
sa->ss_flags = 0;
if (ss->ss_onstack)
sa->ss_flags |= SS_ONSTACK;
Home |
Main Index |
Thread Index |
Old Index