linux(4): Regen for clone syscall.
MFC after: 2 weeks
This commit is contained in:
parent
f1c450492f
commit
0c08f34f4d
@ -275,10 +275,10 @@ struct linux_getsockopt_args {
|
||||
};
|
||||
struct linux_clone_args {
|
||||
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
|
||||
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
|
||||
char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
|
||||
char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
|
||||
char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)];
|
||||
char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)];
|
||||
char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)];
|
||||
char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)];
|
||||
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
|
||||
};
|
||||
struct linux_fork_args {
|
||||
register_t dummy;
|
||||
|
@ -509,10 +509,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
case 56: {
|
||||
struct linux_clone_args *p = params;
|
||||
iarg[0] = p->flags; /* l_ulong */
|
||||
uarg[1] = (intptr_t)p->stack; /* void * */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
|
||||
uarg[3] = (intptr_t)p->child_tidptr; /* void * */
|
||||
uarg[4] = (intptr_t)p->tls; /* void * */
|
||||
iarg[1] = p->stack; /* l_ulong */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
|
||||
uarg[3] = (intptr_t)p->child_tidptr; /* l_int * */
|
||||
iarg[4] = p->tls; /* l_ulong */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
@ -3598,16 +3598,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 4:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -377,11 +377,11 @@ struct linux_sigreturn_args {
|
||||
char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
|
||||
};
|
||||
struct linux_clone_args {
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
|
||||
char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
|
||||
char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)];
|
||||
char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
|
||||
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
|
||||
char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)];
|
||||
char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)];
|
||||
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
|
||||
char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)];
|
||||
};
|
||||
struct linux_setdomainname_args {
|
||||
char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
|
||||
|
@ -808,11 +808,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
/* linux_clone */
|
||||
case 120: {
|
||||
struct linux_clone_args *p = params;
|
||||
iarg[0] = p->flags; /* l_int */
|
||||
uarg[1] = (intptr_t)p->stack; /* void * */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
|
||||
uarg[3] = (intptr_t)p->tls; /* void * */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* void * */
|
||||
iarg[0] = p->flags; /* l_ulong */
|
||||
iarg[1] = p->stack; /* l_ulong */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
|
||||
iarg[3] = p->tls; /* l_ulong */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
@ -4431,19 +4431,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 120:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 4:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -292,11 +292,11 @@ struct linux_sigreturn_args {
|
||||
char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
|
||||
};
|
||||
struct linux_clone_args {
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
|
||||
char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
|
||||
char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)];
|
||||
char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
|
||||
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
|
||||
char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)];
|
||||
char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)];
|
||||
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
|
||||
char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)];
|
||||
};
|
||||
struct linux_setdomainname_args {
|
||||
char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
|
||||
|
@ -651,11 +651,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
/* linux_clone */
|
||||
case 120: {
|
||||
struct linux_clone_args *p = params;
|
||||
iarg[0] = p->flags; /* l_int */
|
||||
uarg[1] = (intptr_t)p->stack; /* void * */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
|
||||
uarg[3] = (intptr_t)p->tls; /* void * */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* void * */
|
||||
iarg[0] = p->flags; /* l_ulong */
|
||||
iarg[1] = p->stack; /* l_ulong */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
|
||||
iarg[3] = p->tls; /* l_ulong */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
@ -3477,19 +3477,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 120:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 4:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -861,10 +861,10 @@ struct linux_keyctl_args {
|
||||
};
|
||||
struct linux_clone_args {
|
||||
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
|
||||
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
|
||||
char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
|
||||
char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)];
|
||||
char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
|
||||
char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)];
|
||||
char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)];
|
||||
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
|
||||
char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)];
|
||||
};
|
||||
struct linux_execve_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
|
@ -1746,10 +1746,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
case 220: {
|
||||
struct linux_clone_args *p = params;
|
||||
iarg[0] = p->flags; /* l_ulong */
|
||||
uarg[1] = (intptr_t)p->stack; /* void * */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
|
||||
uarg[3] = (intptr_t)p->tls; /* void * */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* void * */
|
||||
iarg[1] = p->stack; /* l_ulong */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
|
||||
iarg[3] = p->tls; /* l_ulong */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
@ -5222,16 +5222,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 4:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -380,11 +380,11 @@ struct linux_sigreturn_args {
|
||||
char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
|
||||
};
|
||||
struct linux_clone_args {
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
|
||||
char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
|
||||
char tls_l_[PADL_(void *)]; void * tls; char tls_r_[PADR_(void *)];
|
||||
char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
|
||||
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
|
||||
char stack_l_[PADL_(l_ulong)]; l_ulong stack; char stack_r_[PADR_(l_ulong)];
|
||||
char parent_tidptr_l_[PADL_(l_int *)]; l_int * parent_tidptr; char parent_tidptr_r_[PADR_(l_int *)];
|
||||
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
|
||||
char child_tidptr_l_[PADL_(l_int *)]; l_int * child_tidptr; char child_tidptr_r_[PADR_(l_int *)];
|
||||
};
|
||||
struct linux_setdomainname_args {
|
||||
char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
|
||||
|
@ -837,11 +837,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
/* linux_clone */
|
||||
case 120: {
|
||||
struct linux_clone_args *p = params;
|
||||
iarg[0] = p->flags; /* l_int */
|
||||
uarg[1] = (intptr_t)p->stack; /* void * */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
|
||||
uarg[3] = (intptr_t)p->tls; /* void * */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* void * */
|
||||
iarg[0] = p->flags; /* l_ulong */
|
||||
iarg[1] = p->stack; /* l_ulong */
|
||||
uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
|
||||
iarg[3] = p->tls; /* l_ulong */
|
||||
uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
@ -4512,19 +4512,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 120:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland void *";
|
||||
p = "l_ulong";
|
||||
break;
|
||||
case 4:
|
||||
p = "userland void *";
|
||||
p = "userland l_int *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user