Regen after r363304.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2020-07-18 11:31:31 +00:00
parent 8d1d017175
commit 3e9a214260
12 changed files with 160 additions and 12 deletions

View File

@ -1010,7 +1010,12 @@ struct linux_get_robust_list_args {
char len_l_[PADL_(l_size_t *)]; l_size_t * len; char len_r_[PADR_(l_size_t *)];
};
struct linux_splice_args {
register_t dummy;
char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)];
char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)];
char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)];
char off_out_l_[PADL_(l_loff_t *)]; l_loff_t * off_out; char off_out_r_[PADR_(l_loff_t *)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_tee_args {
register_t dummy;

View File

@ -292,7 +292,7 @@ struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)linux_unshare, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 272 = linux_unshare */
{ AS(linux_set_robust_list_args), (sy_call_t *)linux_set_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 273 = linux_set_robust_list */
{ AS(linux_get_robust_list_args), (sy_call_t *)linux_get_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 274 = linux_get_robust_list */
{ 0, (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 275 = linux_splice */
{ AS(linux_splice_args), (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 275 = linux_splice */
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 276 = linux_tee */
{ AS(linux_sync_file_range_args), (sy_call_t *)linux_sync_file_range, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 277 = linux_sync_file_range */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = linux_vmsplice */

View File

@ -2092,7 +2092,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_splice */
case 275: {
*n_args = 0;
struct linux_splice_args *p = params;
iarg[0] = p->fd_in; /* int */
uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
iarg[2] = p->fd_out; /* int */
uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
iarg[4] = p->len; /* l_size_t */
iarg[5] = p->flags; /* l_uint */
*n_args = 6;
break;
}
/* linux_tee */
@ -5962,6 +5969,28 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 275:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "userland l_loff_t *";
break;
case 2:
p = "int";
break;
case 3:
p = "userland l_loff_t *";
break;
case 4:
p = "l_size_t";
break;
case 5:
p = "l_uint";
break;
default:
break;
};
break;
/* linux_tee */
case 276:
@ -8008,6 +8037,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 275:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_tee */
case 276:
/* linux_sync_file_range */

View File

@ -1082,7 +1082,12 @@ struct linux_get_robust_list_args {
char len_l_[PADL_(l_size_t *)]; l_size_t * len; char len_r_[PADR_(l_size_t *)];
};
struct linux_splice_args {
register_t dummy;
char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)];
char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)];
char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)];
char off_out_l_[PADL_(l_loff_t *)]; l_loff_t * off_out; char off_out_r_[PADR_(l_loff_t *)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_sync_file_range_args {
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];

View File

@ -330,7 +330,7 @@ struct sysent linux32_sysent[] = {
{ 0, (sy_call_t *)linux_unshare, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 310 = linux_unshare */
{ AS(linux_set_robust_list_args), (sy_call_t *)linux_set_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 311 = linux_set_robust_list */
{ AS(linux_get_robust_list_args), (sy_call_t *)linux_get_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 312 = linux_get_robust_list */
{ 0, (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 313 = linux_splice */
{ AS(linux_splice_args), (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 313 = linux_splice */
{ AS(linux_sync_file_range_args), (sy_call_t *)linux_sync_file_range, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 314 = linux_sync_file_range */
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 315 = linux_tee */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 316 = linux_vmsplice */

View File

@ -2215,7 +2215,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_splice */
case 313: {
*n_args = 0;
struct linux_splice_args *p = params;
iarg[0] = p->fd_in; /* int */
uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
iarg[2] = p->fd_out; /* int */
uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
iarg[4] = p->len; /* l_size_t */
iarg[5] = p->flags; /* l_uint */
*n_args = 6;
break;
}
/* linux_sync_file_range */
@ -6590,6 +6597,28 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 313:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "userland l_loff_t *";
break;
case 2:
p = "int";
break;
case 3:
p = "userland l_loff_t *";
break;
case 4:
p = "l_size_t";
break;
case 5:
p = "l_uint";
break;
default:
break;
};
break;
/* linux_sync_file_range */
case 314:
@ -9184,6 +9213,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 313:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sync_file_range */
case 314:
if (ndx == 0 || ndx == 1)

View File

@ -322,7 +322,12 @@ struct linux_vmsplice_args {
register_t dummy;
};
struct linux_splice_args {
register_t dummy;
char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)];
char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)];
char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)];
char off_out_l_[PADL_(l_loff_t *)]; l_loff_t * off_out; char off_out_r_[PADR_(l_loff_t *)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_tee_args {
register_t dummy;

View File

@ -93,7 +93,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_ppoll_args), (sy_call_t *)linux_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 73 = linux_ppoll */
{ 0, (sy_call_t *)linux_signalfd4, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 74 = linux_signalfd4 */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 75 = linux_vmsplice */
{ 0, (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 76 = linux_splice */
{ AS(linux_splice_args), (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 76 = linux_splice */
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 77 = linux_tee */
{ AS(linux_readlinkat_args), (sy_call_t *)linux_readlinkat, AUE_READLINKAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 78 = linux_readlinkat */
{ AS(linux_newfstatat_args), (sy_call_t *)linux_newfstatat, AUE_FSTATAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 79 = linux_newfstatat */

View File

@ -599,7 +599,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_splice */
case 76: {
*n_args = 0;
struct linux_splice_args *p = params;
iarg[0] = p->fd_in; /* int */
uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
iarg[2] = p->fd_out; /* int */
uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
iarg[4] = p->len; /* l_size_t */
iarg[5] = p->flags; /* l_uint */
*n_args = 6;
break;
}
/* linux_tee */
@ -3207,6 +3214,28 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 76:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "userland l_loff_t *";
break;
case 2:
p = "int";
break;
case 3:
p = "userland l_loff_t *";
break;
case 4:
p = "l_size_t";
break;
case 5:
p = "l_uint";
break;
default:
break;
};
break;
/* linux_tee */
case 77:
@ -6139,6 +6168,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 75:
/* linux_splice */
case 76:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_tee */
case 77:
/* linux_readlinkat */

View File

@ -1079,7 +1079,12 @@ struct linux_get_robust_list_args {
char len_l_[PADL_(l_size_t *)]; l_size_t * len; char len_r_[PADR_(l_size_t *)];
};
struct linux_splice_args {
register_t dummy;
char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)];
char off_in_l_[PADL_(l_loff_t *)]; l_loff_t * off_in; char off_in_r_[PADR_(l_loff_t *)];
char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)];
char off_out_l_[PADL_(l_loff_t *)]; l_loff_t * off_out; char off_out_r_[PADR_(l_loff_t *)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_sync_file_range_args {
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];

View File

@ -330,7 +330,7 @@ struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)linux_unshare, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 310 = linux_unshare */
{ AS(linux_set_robust_list_args), (sy_call_t *)linux_set_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 311 = linux_set_robust_list */
{ AS(linux_get_robust_list_args), (sy_call_t *)linux_get_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 312 = linux_get_robust_list */
{ 0, (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 313 = linux_splice */
{ AS(linux_splice_args), (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 313 = linux_splice */
{ AS(linux_sync_file_range_args), (sy_call_t *)linux_sync_file_range, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 314 = linux_sync_file_range */
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 315 = linux_tee */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 316 = linux_vmsplice */

View File

@ -2258,7 +2258,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_splice */
case 313: {
*n_args = 0;
struct linux_splice_args *p = params;
iarg[0] = p->fd_in; /* int */
uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
iarg[2] = p->fd_out; /* int */
uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
iarg[4] = p->len; /* l_size_t */
iarg[5] = p->flags; /* l_uint */
*n_args = 6;
break;
}
/* linux_sync_file_range */
@ -6679,6 +6686,28 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 313:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "userland l_loff_t *";
break;
case 2:
p = "int";
break;
case 3:
p = "userland l_loff_t *";
break;
case 4:
p = "l_size_t";
break;
case 5:
p = "l_uint";
break;
default:
break;
};
break;
/* linux_sync_file_range */
case 314:
@ -9290,6 +9319,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_splice */
case 313:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sync_file_range */
case 314:
if (ndx == 0 || ndx == 1)