diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-11-01 05:07:15 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-11-01 05:07:15 +0000 |
| commit | eb96f2ebad312da7489a018c02fd03c8dbe82bae (patch) | |
| tree | 30c44005eb1fa6d100b6bf3b3115aa0e02107671 /sys/compat/linux32/common | |
| parent | 540021409c37ce67e3a28a40e3b15431d458d3cc (diff) | |
Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name. NFC.
Diffstat (limited to 'sys/compat/linux32/common')
| -rw-r--r-- | sys/compat/linux32/common/linux32_signal.c | 7 | ||||
| -rw-r--r-- | sys/compat/linux32/common/linux32_signal.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/compat/linux32/common/linux32_signal.c b/sys/compat/linux32/common/linux32_signal.c index 70f4e2bf7b3..842c01db03f 100644 --- a/sys/compat/linux32/common/linux32_signal.c +++ b/sys/compat/linux32/common/linux32_signal.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_signal.c,v 1.22 2021/09/19 22:30:28 thorpej Exp $ */ +/* $NetBSD: linux32_signal.c,v 1.23 2021/11/01 05:07:16 thorpej Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_signal.c,v 1.22 2021/09/19 22:30:28 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_signal.c,v 1.23 2021/11/01 05:07:16 thorpej Exp $"); #include <sys/param.h> #include <sys/ucred.h> @@ -234,7 +234,8 @@ native_to_linux32_sigaction(struct linux32_sigaction *lsa, const struct sigactio } void -native_to_linux32_sigaltstack(struct linux32_sigaltstack *lss, const struct sigaltstack *bss) +native_to_linux32_sigaltstack(struct linux32_sigaltstack *lss, + const stack_t *bss) { memset(lss, 0, sizeof(*lss)); NETBSD32PTR32(lss->ss_sp, bss->ss_sp); diff --git a/sys/compat/linux32/common/linux32_signal.h b/sys/compat/linux32/common/linux32_signal.h index 30b0b609698..49be4eae6ff 100644 --- a/sys/compat/linux32/common/linux32_signal.h +++ b/sys/compat/linux32/common/linux32_signal.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_signal.h,v 1.3 2011/11/18 04:08:56 christos Exp $ */ +/* $NetBSD: linux32_signal.h,v 1.4 2021/11/01 05:07:16 thorpej Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -47,7 +47,7 @@ void linux32_to_native_sigaction(struct sigaction *, void native_to_linux32_sigaction(struct linux32_sigaction *, const struct sigaction *); void native_to_linux32_sigaltstack(struct linux32_sigaltstack *, - const struct sigaltstack *); + const stack_t *); void native_to_linux32_old_sigset(linux32_old_sigset_t *, const sigset_t *); void linux32_old_extra_to_native_sigset(sigset_t *, const linux32_old_sigset_t *, const unsigned long *); |
