syscalls: regen
This commit is contained in:
parent
6d37a1670b
commit
0e765d9b08
@ -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)];
|
||||
};
|
||||
|
@ -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";
|
||||
|
@ -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";
|
||||
|
@ -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)];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user