git: 0e765d9b08dc - main - syscalls: regen
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Nov 2021 22:05:41 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=0e765d9b08dcc2386b799815f2c835c97a93614c commit 0e765d9b08dcc2386b799815f2c835c97a93614c Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-11-29 22:03:00 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-11-29 22:04:58 +0000 syscalls: regen --- sys/compat/freebsd32/freebsd32_proto.h | 2 +- sys/compat/freebsd32/freebsd32_systrace_args.c | 4 ++-- sys/kern/systrace_args.c | 4 ++-- sys/sys/sysproto.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index e7912d2fea0c..ce583e9ac78d 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -74,7 +74,7 @@ struct freebsd32_execve_args { char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)]; }; struct freebsd32_mprotect_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; }; diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c index b5035a3868f6..4d075ca7470e 100644 --- a/sys/compat/freebsd32/freebsd32_systrace_args.c +++ b/sys/compat/freebsd32/freebsd32_systrace_args.c @@ -447,7 +447,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* freebsd32_mprotect */ case 74: { struct freebsd32_mprotect_args *p = params; - uarg[a++] = (intptr_t)p->addr; /* const void * */ + uarg[a++] = (intptr_t)p->addr; /* void * */ uarg[a++] = p->len; /* size_t */ iarg[a++] = p->prot; /* int */ *n_args = 3; @@ -3995,7 +3995,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 74: switch (ndx) { case 0: - p = "userland const void *"; + p = "userland void *"; break; case 1: p = "size_t"; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index d39c39050408..cb7b2ee503b9 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -444,7 +444,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* mprotect */ case 74: { struct mprotect_args *p = params; - uarg[a++] = (intptr_t)p->addr; /* const void * */ + uarg[a++] = (intptr_t)p->addr; /* void * */ uarg[a++] = p->len; /* size_t */ iarg[a++] = p->prot; /* int */ *n_args = 3; @@ -4091,7 +4091,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) case 74: switch (ndx) { case 0: - p = "userland const void *"; + p = "userland void *"; break; case 1: p = "size_t"; diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index fc56afba1239..5d8d3321680c 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -266,7 +266,7 @@ struct munmap_args { char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; }; struct mprotect_args { - char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)]; + char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; };