Regen after r362440.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2020-06-20 18:31:02 +00:00
parent 52c81be11a
commit bafd96b8dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362441
20 changed files with 56 additions and 28 deletions

View File

@ -136,6 +136,11 @@ struct linux_mincore_args {
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
};
struct linux_madvise_args {
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 behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
};
struct linux_shmget_args {
char key_l_[PADL_(l_key_t)]; l_key_t key; char key_r_[PADR_(l_key_t)];
char size_l_[PADL_(l_size_t)]; l_size_t size; char size_r_[PADR_(l_size_t)];
@ -1292,6 +1297,7 @@ int linux_select(struct thread *, struct linux_select_args *);
int linux_mremap(struct thread *, struct linux_mremap_args *);
int linux_msync(struct thread *, struct linux_msync_args *);
int linux_mincore(struct thread *, struct linux_mincore_args *);
int linux_madvise(struct thread *, struct linux_madvise_args *);
int linux_shmget(struct thread *, struct linux_shmget_args *);
int linux_shmat(struct thread *, struct linux_shmat_args *);
int linux_shmctl(struct thread *, struct linux_shmctl_args *);
@ -1622,6 +1628,7 @@ int linux_io_uring_register(struct thread *, struct linux_io_uring_register_args
#define LINUX_SYS_AUE_linux_mremap AUE_NULL
#define LINUX_SYS_AUE_linux_msync AUE_MSYNC
#define LINUX_SYS_AUE_linux_mincore AUE_MINCORE
#define LINUX_SYS_AUE_linux_madvise AUE_MADVISE
#define LINUX_SYS_AUE_linux_shmget AUE_NULL
#define LINUX_SYS_AUE_linux_shmat AUE_NULL
#define LINUX_SYS_AUE_linux_shmctl AUE_NULL

View File

@ -33,7 +33,7 @@
#define LINUX_SYS_linux_mremap 25
#define LINUX_SYS_linux_msync 26
#define LINUX_SYS_linux_mincore 27
#define LINUX_SYS_madvise 28
#define LINUX_SYS_linux_madvise 28
#define LINUX_SYS_linux_shmget 29
#define LINUX_SYS_linux_shmat 30
#define LINUX_SYS_linux_shmctl 31

View File

@ -35,7 +35,7 @@ const char *linux_syscallnames[] = {
"linux_mremap", /* 25 = linux_mremap */
"linux_msync", /* 26 = linux_msync */
"linux_mincore", /* 27 = linux_mincore */
"madvise", /* 28 = madvise */
"linux_madvise", /* 28 = linux_madvise */
"linux_shmget", /* 29 = linux_shmget */
"linux_shmat", /* 30 = linux_shmat */
"linux_shmctl", /* 31 = linux_shmctl */

View File

@ -45,7 +45,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_mremap_args), (sy_call_t *)linux_mremap, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 25 = linux_mremap */
{ AS(linux_msync_args), (sy_call_t *)linux_msync, AUE_MSYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 26 = linux_msync */
{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 27 = linux_mincore */
{ AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 28 = madvise */
{ AS(linux_madvise_args), (sy_call_t *)linux_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 28 = linux_madvise */
{ AS(linux_shmget_args), (sy_call_t *)linux_shmget, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 29 = linux_shmget */
{ AS(linux_shmat_args), (sy_call_t *)linux_shmat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 30 = linux_shmat */
{ AS(linux_shmctl_args), (sy_call_t *)linux_shmctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 31 = linux_shmctl */

View File

@ -258,9 +258,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 3;
break;
}
/* madvise */
/* linux_madvise */
case 28: {
struct madvise_args *p = params;
struct linux_madvise_args *p = params;
uarg[0] = (intptr_t) p->addr; /* void * */
uarg[1] = p->len; /* size_t */
iarg[2] = p->behav; /* int */
@ -2983,7 +2983,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* madvise */
/* linux_madvise */
case 28:
switch(ndx) {
case 0:
@ -6649,7 +6649,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* madvise */
/* linux_madvise */
case 28:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -687,6 +687,11 @@ struct linux_mincore_args {
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
};
struct linux_madvise_args {
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 behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
};
struct linux_getdents64_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
@ -1691,6 +1696,7 @@ int linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
int linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
int linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
int linux_mincore(struct thread *, struct linux_mincore_args *);
int linux_madvise(struct thread *, struct linux_madvise_args *);
int linux_getdents64(struct thread *, struct linux_getdents64_args *);
int linux_fcntl64(struct thread *, struct linux_fcntl64_args *);
int linux_gettid(struct thread *, struct linux_gettid_args *);
@ -2086,6 +2092,7 @@ int linux_io_uring_register(struct thread *, struct linux_io_uring_register_args
#define LINUX32_SYS_AUE_linux_setfsgid AUE_SETFSGID
#define LINUX32_SYS_AUE_linux_pivot_root AUE_PIVOT_ROOT
#define LINUX32_SYS_AUE_linux_mincore AUE_MINCORE
#define LINUX32_SYS_AUE_linux_madvise AUE_MADVISE
#define LINUX32_SYS_AUE_linux_getdents64 AUE_GETDIRENTRIES
#define LINUX32_SYS_AUE_linux_fcntl64 AUE_FCNTL
#define LINUX32_SYS_AUE_linux_gettid AUE_NULL

View File

@ -199,7 +199,7 @@
#define LINUX32_SYS_linux_setfsgid 216
#define LINUX32_SYS_linux_pivot_root 217
#define LINUX32_SYS_linux_mincore 218
#define LINUX32_SYS_madvise 219
#define LINUX32_SYS_linux_madvise 219
#define LINUX32_SYS_linux_getdents64 220
#define LINUX32_SYS_linux_fcntl64 221
#define LINUX32_SYS_linux_gettid 224

View File

@ -226,7 +226,7 @@ const char *linux32_syscallnames[] = {
"linux_setfsgid", /* 216 = linux_setfsgid */
"linux_pivot_root", /* 217 = linux_pivot_root */
"linux_mincore", /* 218 = linux_mincore */
"madvise", /* 219 = madvise */
"linux_madvise", /* 219 = linux_madvise */
"linux_getdents64", /* 220 = linux_getdents64 */
"linux_fcntl64", /* 221 = linux_fcntl64 */
"#222", /* 222 = */

View File

@ -236,7 +236,7 @@ struct sysent linux32_sysent[] = {
{ AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_SETFSGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 216 = linux_setfsgid */
{ AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root, AUE_PIVOT_ROOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 217 = linux_pivot_root */
{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 218 = linux_mincore */
{ AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = madvise */
{ AS(linux_madvise_args), (sy_call_t *)linux_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = linux_madvise */
{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_GETDIRENTRIES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 220 = linux_getdents64 */
{ AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64, AUE_FCNTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 221 = linux_fcntl64 */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 222 = */

View File

@ -1525,9 +1525,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 3;
break;
}
/* madvise */
/* linux_madvise */
case 219: {
struct madvise_args *p = params;
struct linux_madvise_args *p = params;
uarg[0] = (intptr_t) p->addr; /* void * */
uarg[1] = p->len; /* size_t */
iarg[2] = p->behav; /* int */
@ -5363,7 +5363,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* madvise */
/* linux_madvise */
case 219:
switch(ndx) {
case 0:
@ -8485,7 +8485,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* madvise */
/* linux_madvise */
case 219:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -854,6 +854,11 @@ struct linux_mincore_args {
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
};
struct linux_madvise_args {
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 behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
};
struct linux_remap_file_pages_args {
register_t dummy;
};
@ -1240,6 +1245,7 @@ int linux_swapoff(struct thread *, struct linux_swapoff_args *);
int linux_mprotect(struct thread *, struct linux_mprotect_args *);
int linux_msync(struct thread *, struct linux_msync_args *);
int linux_mincore(struct thread *, struct linux_mincore_args *);
int linux_madvise(struct thread *, struct linux_madvise_args *);
int linux_remap_file_pages(struct thread *, struct linux_remap_file_pages_args *);
int linux_mbind(struct thread *, struct linux_mbind_args *);
int linux_get_mempolicy(struct thread *, struct linux_get_mempolicy_args *);
@ -1514,6 +1520,7 @@ int linux_pkey_free(struct thread *, struct linux_pkey_free_args *);
#define LINUX_SYS_AUE_linux_mprotect AUE_MPROTECT
#define LINUX_SYS_AUE_linux_msync AUE_MSYNC
#define LINUX_SYS_AUE_linux_mincore AUE_MINCORE
#define LINUX_SYS_AUE_linux_madvise AUE_MADVISE
#define LINUX_SYS_AUE_linux_remap_file_pages AUE_NULL
#define LINUX_SYS_AUE_linux_mbind AUE_NULL
#define LINUX_SYS_AUE_linux_get_mempolicy AUE_NULL

View File

@ -227,7 +227,7 @@
#define LINUX_SYS_mlockall 230
#define LINUX_SYS_munlockall 231
#define LINUX_SYS_linux_mincore 232
#define LINUX_SYS_madvise 233
#define LINUX_SYS_linux_madvise 233
#define LINUX_SYS_linux_remap_file_pages 234
#define LINUX_SYS_linux_mbind 235
#define LINUX_SYS_linux_get_mempolicy 236

View File

@ -240,7 +240,7 @@ const char *linux_syscallnames[] = {
"mlockall", /* 230 = mlockall */
"munlockall", /* 231 = munlockall */
"linux_mincore", /* 232 = linux_mincore */
"madvise", /* 233 = madvise */
"linux_madvise", /* 233 = linux_madvise */
"linux_remap_file_pages", /* 234 = linux_remap_file_pages */
"linux_mbind", /* 235 = linux_mbind */
"linux_get_mempolicy", /* 236 = linux_get_mempolicy */

View File

@ -250,7 +250,7 @@ struct sysent linux_sysent[] = {
{ AS(mlockall_args), (sy_call_t *)sys_mlockall, AUE_MLOCKALL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 230 = mlockall */
{ 0, (sy_call_t *)sys_munlockall, AUE_MUNLOCKALL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 231 = munlockall */
{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 232 = linux_mincore */
{ AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 233 = madvise */
{ AS(linux_madvise_args), (sy_call_t *)linux_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 233 = linux_madvise */
{ 0, (sy_call_t *)linux_remap_file_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 234 = linux_remap_file_pages */
{ 0, (sy_call_t *)linux_mbind, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 235 = linux_mbind */
{ 0, (sy_call_t *)linux_get_mempolicy, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 236 = linux_get_mempolicy */

View File

@ -1766,9 +1766,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 3;
break;
}
/* madvise */
/* linux_madvise */
case 233: {
struct madvise_args *p = params;
struct linux_madvise_args *p = params;
uarg[0] = (intptr_t) p->addr; /* void * */
uarg[1] = p->len; /* size_t */
iarg[2] = p->behav; /* int */
@ -4898,7 +4898,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* madvise */
/* linux_madvise */
case 233:
switch(ndx) {
case 0:
@ -6449,7 +6449,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* madvise */
/* linux_madvise */
case 233:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -684,6 +684,11 @@ struct linux_mincore_args {
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
};
struct linux_madvise_args {
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 behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
};
struct linux_getdents64_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
@ -1699,6 +1704,7 @@ int linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
int linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
int linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
int linux_mincore(struct thread *, struct linux_mincore_args *);
int linux_madvise(struct thread *, struct linux_madvise_args *);
int linux_getdents64(struct thread *, struct linux_getdents64_args *);
int linux_fcntl64(struct thread *, struct linux_fcntl64_args *);
int linux_gettid(struct thread *, struct linux_gettid_args *);
@ -2096,6 +2102,7 @@ int linux_io_uring_register(struct thread *, struct linux_io_uring_register_args
#define LINUX_SYS_AUE_linux_setfsgid AUE_SETFSGID
#define LINUX_SYS_AUE_linux_pivot_root AUE_PIVOT_ROOT
#define LINUX_SYS_AUE_linux_mincore AUE_MINCORE
#define LINUX_SYS_AUE_linux_madvise AUE_MADVISE
#define LINUX_SYS_AUE_linux_getdents64 AUE_GETDIRENTRIES
#define LINUX_SYS_AUE_linux_fcntl64 AUE_FCNTL
#define LINUX_SYS_AUE_linux_gettid AUE_NULL

View File

@ -205,7 +205,7 @@
#define LINUX_SYS_linux_setfsgid 216
#define LINUX_SYS_linux_pivot_root 217
#define LINUX_SYS_linux_mincore 218
#define LINUX_SYS_madvise 219
#define LINUX_SYS_linux_madvise 219
#define LINUX_SYS_linux_getdents64 220
#define LINUX_SYS_linux_fcntl64 221
#define LINUX_SYS_linux_gettid 224

View File

@ -226,7 +226,7 @@ const char *linux_syscallnames[] = {
"linux_setfsgid", /* 216 = linux_setfsgid */
"linux_pivot_root", /* 217 = linux_pivot_root */
"linux_mincore", /* 218 = linux_mincore */
"madvise", /* 219 = madvise */
"linux_madvise", /* 219 = linux_madvise */
"linux_getdents64", /* 220 = linux_getdents64 */
"linux_fcntl64", /* 221 = linux_fcntl64 */
"#222", /* 222 = */

View File

@ -236,7 +236,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_SETFSGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 216 = linux_setfsgid */
{ AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root, AUE_PIVOT_ROOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 217 = linux_pivot_root */
{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 218 = linux_mincore */
{ AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = madvise */
{ AS(linux_madvise_args), (sy_call_t *)linux_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = linux_madvise */
{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_GETDIRENTRIES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 220 = linux_getdents64 */
{ AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64, AUE_FCNTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 221 = linux_fcntl64 */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 222 = */

View File

@ -1564,9 +1564,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 3;
break;
}
/* madvise */
/* linux_madvise */
case 219: {
struct madvise_args *p = params;
struct linux_madvise_args *p = params;
uarg[0] = (intptr_t) p->addr; /* void * */
uarg[1] = p->len; /* size_t */
iarg[2] = p->behav; /* int */
@ -5477,7 +5477,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* madvise */
/* linux_madvise */
case 219:
switch(ndx) {
case 0:
@ -8696,7 +8696,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* madvise */
/* linux_madvise */
case 219:
if (ndx == 0 || ndx == 1)
p = "int";