linux(4): Regen for clone3 system call.
MFC after: 2 weeks
This commit is contained in:
parent
17913b0b6b
commit
b356030e67
@ -1358,7 +1358,8 @@ struct linux_pidfd_open_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clone3_args {
|
||||
register_t dummy;
|
||||
char uargs_l_[PADL_(struct l_user_clone_args *)]; struct l_user_clone_args * uargs; char uargs_r_[PADR_(struct l_user_clone_args *)];
|
||||
char usize_l_[PADL_(l_size_t)]; l_size_t usize; char usize_r_[PADR_(l_size_t)];
|
||||
};
|
||||
struct linux_close_range_args {
|
||||
register_t dummy;
|
||||
|
@ -452,7 +452,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fsmount, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 432 = linux_fsmount */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fspick, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 433 = linux_fspick */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_open, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 434 = linux_pidfd_open */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = AS(linux_clone3_args), .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_close_range, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 436 = linux_close_range */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_openat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 437 = linux_openat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_getfd, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 438 = linux_pidfd_getfd */
|
||||
|
@ -2677,7 +2677,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clone3 */
|
||||
case 435: {
|
||||
*n_args = 0;
|
||||
struct linux_clone3_args *p = params;
|
||||
uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
|
||||
iarg[1] = p->usize; /* l_size_t */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_close_range */
|
||||
@ -7012,6 +7015,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "userland struct l_user_clone_args *";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
@ -8512,6 +8525,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 434:
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
/* linux_openat2 */
|
||||
|
@ -1646,7 +1646,8 @@ struct linux_pidfd_open_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clone3_args {
|
||||
register_t dummy;
|
||||
char uargs_l_[PADL_(struct l_user_clone_args *)]; struct l_user_clone_args * uargs; char uargs_r_[PADR_(struct l_user_clone_args *)];
|
||||
char usize_l_[PADL_(l_size_t)]; l_size_t usize; char usize_r_[PADR_(l_size_t)];
|
||||
};
|
||||
struct linux_close_range_args {
|
||||
register_t dummy;
|
||||
|
@ -452,7 +452,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fsmount, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 432 = linux_fsmount */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fspick, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 433 = linux_fspick */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_open, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 434 = linux_pidfd_open */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = AS(linux_clone3_args), .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_close_range, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 436 = linux_close_range */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_openat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 437 = linux_openat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_getfd, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 438 = linux_pidfd_getfd */
|
||||
|
@ -3166,7 +3166,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clone3 */
|
||||
case 435: {
|
||||
*n_args = 0;
|
||||
struct linux_clone3_args *p = params;
|
||||
uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
|
||||
iarg[1] = p->usize; /* l_size_t */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_close_range */
|
||||
@ -8285,6 +8288,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "userland struct l_user_clone_args *";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
@ -10054,6 +10067,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 434:
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
/* linux_openat2 */
|
||||
|
@ -1168,7 +1168,8 @@ struct linux_pidfd_open_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clone3_args {
|
||||
register_t dummy;
|
||||
char uargs_l_[PADL_(struct l_user_clone_args *)]; struct l_user_clone_args * uargs; char uargs_r_[PADR_(struct l_user_clone_args *)];
|
||||
char usize_l_[PADL_(l_size_t)]; l_size_t usize; char usize_r_[PADR_(l_size_t)];
|
||||
};
|
||||
struct linux_close_range_args {
|
||||
register_t dummy;
|
||||
|
@ -452,7 +452,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fsmount, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 432 = linux_fsmount */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fspick, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 433 = linux_fspick */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_open, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 434 = linux_pidfd_open */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = AS(linux_clone3_args), .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_close_range, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 436 = linux_close_range */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_openat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 437 = linux_openat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_getfd, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 438 = linux_pidfd_getfd */
|
||||
|
@ -2299,7 +2299,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clone3 */
|
||||
case 435: {
|
||||
*n_args = 0;
|
||||
struct linux_clone3_args *p = params;
|
||||
uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
|
||||
iarg[1] = p->usize; /* l_size_t */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_close_range */
|
||||
@ -6087,6 +6090,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "userland struct l_user_clone_args *";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
@ -7372,6 +7385,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 434:
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
/* linux_openat2 */
|
||||
|
@ -1639,7 +1639,8 @@ struct linux_pidfd_open_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clone3_args {
|
||||
register_t dummy;
|
||||
char uargs_l_[PADL_(struct l_user_clone_args *)]; struct l_user_clone_args * uargs; char uargs_r_[PADR_(struct l_user_clone_args *)];
|
||||
char usize_l_[PADL_(l_size_t)]; l_size_t usize; char usize_r_[PADR_(l_size_t)];
|
||||
};
|
||||
struct linux_close_range_args {
|
||||
register_t dummy;
|
||||
|
@ -452,7 +452,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fsmount, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 432 = linux_fsmount */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fspick, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 433 = linux_fspick */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_open, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 434 = linux_pidfd_open */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = AS(linux_clone3_args), .sy_call = (sy_call_t *)linux_clone3, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 435 = linux_clone3 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_close_range, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 436 = linux_close_range */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_openat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 437 = linux_openat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pidfd_getfd, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 438 = linux_pidfd_getfd */
|
||||
|
@ -3205,7 +3205,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clone3 */
|
||||
case 435: {
|
||||
*n_args = 0;
|
||||
struct linux_clone3_args *p = params;
|
||||
uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
|
||||
iarg[1] = p->usize; /* l_size_t */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_close_range */
|
||||
@ -8362,6 +8365,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "userland struct l_user_clone_args *";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
@ -10160,6 +10173,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 434:
|
||||
/* linux_clone3 */
|
||||
case 435:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_close_range */
|
||||
case 436:
|
||||
/* linux_openat2 */
|
||||
|
Loading…
Reference in New Issue
Block a user