aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/freebsd32/freebsd32_systrace_args.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:22 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:22 +0000
commit85d1d2a675c83d02591a96819c726fd597750d79 (patch)
tree19140c9001a043a1e19f8e114725b86ba3891044 /sys/compat/freebsd32/freebsd32_systrace_args.c
parentf503288262e53d068d397fe8681c5cc52760e332 (diff)
downloadsrc-85d1d2a675c83d02591a96819c726fd597750d79.tar.gz
src-85d1d2a675c83d02591a96819c726fd597750d79.zip
syscalls: use struct siginfo rather than siginfo_t
This allows freebsd32 to use struct siginfo32 with an automatable conversion. Reviewed by: kevans
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_systrace_args.c')
-rw-r--r--sys/compat/freebsd32/freebsd32_systrace_args.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c
index 96a67aef6255..64e500aaad25 100644
--- a/sys/compat/freebsd32/freebsd32_systrace_args.c
+++ b/sys/compat/freebsd32/freebsd32_systrace_args.c
@@ -1593,7 +1593,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
case 345: {
struct freebsd32_sigtimedwait_args *p = params;
uarg[0] = (intptr_t)p->set; /* const sigset_t * */
- uarg[1] = (intptr_t)p->info; /* siginfo_t * */
+ uarg[1] = (intptr_t)p->info; /* struct siginfo32 * */
uarg[2] = (intptr_t)p->timeout; /* const struct timespec * */
*n_args = 3;
break;
@@ -1602,7 +1602,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
case 346: {
struct freebsd32_sigwaitinfo_args *p = params;
uarg[0] = (intptr_t)p->set; /* const sigset_t * */
- uarg[1] = (intptr_t)p->info; /* siginfo_t * */
+ uarg[1] = (intptr_t)p->info; /* struct siginfo32 * */
*n_args = 2;
break;
}
@@ -2916,7 +2916,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
uarg[4] = (intptr_t)p->status; /* int * */
iarg[5] = p->options; /* int */
uarg[6] = (intptr_t)p->wrusage; /* struct wrusage32 * */
- uarg[7] = (intptr_t)p->info; /* siginfo_t * */
+ uarg[7] = (intptr_t)p->info; /* struct siginfo32 * */
*n_args = 8;
break;
}
@@ -2953,7 +2953,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
uarg[3] = (intptr_t)p->status; /* int * */
iarg[4] = p->options; /* int */
uarg[5] = (intptr_t)p->wrusage; /* struct wrusage32 * */
- uarg[6] = (intptr_t)p->info; /* siginfo_t * */
+ uarg[6] = (intptr_t)p->info; /* struct siginfo32 * */
*n_args = 7;
break;
}
@@ -5929,7 +5929,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland const sigset_t *";
break;
case 1:
- p = "userland siginfo_t *";
+ p = "userland struct siginfo32 *";
break;
case 2:
p = "userland const struct timespec *";
@@ -5945,7 +5945,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland const sigset_t *";
break;
case 1:
- p = "userland siginfo_t *";
+ p = "userland struct siginfo32 *";
break;
default:
break;
@@ -8298,7 +8298,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland struct wrusage32 *";
break;
case 7:
- p = "userland siginfo_t *";
+ p = "userland struct siginfo32 *";
break;
default:
break;
@@ -8374,7 +8374,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland struct wrusage32 *";
break;
case 6:
- p = "userland siginfo_t *";
+ p = "userland struct siginfo32 *";
break;
default:
break;