aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2023-05-29 09:18:30 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2023-05-29 09:18:30 +0000
commiteb98f7791040dbb072912c19d5ae3b629e3628d4 (patch)
tree3123b9e353eb4906393d3169f2fde0e095709595 /sys/arm64
parent8340b03425cfa61ec17ad6a9b576590df3afd509 (diff)
downloadsrc-eb98f7791040dbb072912c19d5ae3b629e3628d4.tar.gz
src-eb98f7791040dbb072912c19d5ae3b629e3628d4.zip
linux(4): Regen for linux_execve
MFC after: 2 month
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/linux/linux_proto.h4
-rw-r--r--sys/arm64/linux/linux_systrace_args.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arm64/linux/linux_proto.h b/sys/arm64/linux/linux_proto.h
index e677b9f13839..951ef93c6f99 100644
--- a/sys/arm64/linux/linux_proto.h
+++ b/sys/arm64/linux/linux_proto.h
@@ -866,8 +866,8 @@ struct linux_clone_args {
};
struct linux_execve_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
- char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
- char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
+ char argp_l_[PADL_(l_uintptr_t *)]; l_uintptr_t * argp; char argp_r_[PADR_(l_uintptr_t *)];
+ char envp_l_[PADL_(l_uintptr_t *)]; l_uintptr_t * envp; char envp_r_[PADR_(l_uintptr_t *)];
};
struct linux_mmap2_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
diff --git a/sys/arm64/linux/linux_systrace_args.c b/sys/arm64/linux/linux_systrace_args.c
index 8e256e2b718a..ecc3241df319 100644
--- a/sys/arm64/linux/linux_systrace_args.c
+++ b/sys/arm64/linux/linux_systrace_args.c
@@ -1763,8 +1763,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
case 221: {
struct linux_execve_args *p = params;
uarg[a++] = (intptr_t)p->path; /* char * */
- uarg[a++] = (intptr_t)p->argp; /* char ** */
- uarg[a++] = (intptr_t)p->envp; /* char ** */
+ uarg[a++] = (intptr_t)p->argp; /* l_uintptr_t * */
+ uarg[a++] = (intptr_t)p->envp; /* l_uintptr_t * */
*n_args = 3;
break;
}
@@ -5285,10 +5285,10 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland char *";
break;
case 1:
- p = "userland char **";
+ p = "userland l_uintptr_t *";
break;
case 2:
- p = "userland char **";
+ p = "userland l_uintptr_t *";
break;
default:
break;