aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/freebsd32/freebsd32_proto.h
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:26 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:26 +0000
commit158dcd7395ad894ca5c62e5a66cc5c1b067a0fe6 (patch)
treeccc2749169b73b9f6f8f93b7cd61234de3211b5e /sys/compat/freebsd32/freebsd32_proto.h
parent2b9d052d3eeb9ffd1094dc5165eff555b9fd6bc3 (diff)
downloadsrc-158dcd7395ad894ca5c62e5a66cc5c1b067a0fe6.tar.gz
src-158dcd7395ad894ca5c62e5a66cc5c1b067a0fe6.zip
freebsd32: have sigqueue take a void *
This matches the default ABI and we work around issues with union sigval by extracting the bottom 32-bits in a manual handler. Reviewed by: kevans
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_proto.h')
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index 50733c35d51b..9025871780aa 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -384,7 +384,7 @@ struct freebsd32_thr_new_args {
struct freebsd32_sigqueue_args {
char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
- char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)];
+ char value_l_[PADL_(void *)]; void * value; char value_r_[PADR_(void *)];
};
struct freebsd32_kmq_open_args {
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];