linux(4): Regen for faccessat2 system call.
MFC after: 2 weeks
This commit is contained in:
parent
13d79be995
commit
bee191e46f
@ -1370,7 +1370,10 @@ struct linux_pidfd_getfd_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_faccessat2_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
|
||||
char amode_l_[PADL_(l_int)]; l_int amode; char amode_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_process_madvise_args {
|
||||
register_t dummy;
|
||||
|
@ -456,7 +456,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .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 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = AS(linux_faccessat2_args), .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_process_madvise, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 440 = linux_process_madvise */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_epoll_pwait2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 441 = linux_epoll_pwait2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_mount_setattr, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 442 = linux_mount_setattr */
|
||||
|
@ -2697,7 +2697,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_faccessat2 */
|
||||
case 439: {
|
||||
*n_args = 0;
|
||||
struct linux_faccessat2_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->filename; /* const char * */
|
||||
iarg[2] = p->amode; /* l_int */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_process_madvise */
|
||||
@ -7019,6 +7024,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
@ -8499,6 +8520,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 438:
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
/* linux_epoll_pwait2 */
|
||||
|
@ -1658,7 +1658,10 @@ struct linux_pidfd_getfd_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_faccessat2_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
|
||||
char amode_l_[PADL_(l_int)]; l_int amode; char amode_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_process_madvise_args {
|
||||
register_t dummy;
|
||||
|
@ -456,7 +456,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .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 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = AS(linux_faccessat2_args), .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_process_madvise, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 440 = linux_process_madvise */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_epoll_pwait2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 441 = linux_epoll_pwait2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_mount_setattr, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 442 = linux_mount_setattr */
|
||||
|
@ -3186,7 +3186,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_faccessat2 */
|
||||
case 439: {
|
||||
*n_args = 0;
|
||||
struct linux_faccessat2_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->filename; /* const char * */
|
||||
iarg[2] = p->amode; /* l_int */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_process_madvise */
|
||||
@ -8292,6 +8297,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
@ -10041,6 +10062,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 438:
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
/* linux_epoll_pwait2 */
|
||||
|
@ -1180,7 +1180,10 @@ struct linux_pidfd_getfd_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_faccessat2_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
|
||||
char amode_l_[PADL_(l_int)]; l_int amode; char amode_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_process_madvise_args {
|
||||
register_t dummy;
|
||||
|
@ -456,7 +456,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .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 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = AS(linux_faccessat2_args), .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_process_madvise, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 440 = linux_process_madvise */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_epoll_pwait2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 441 = linux_epoll_pwait2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_mount_setattr, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 442 = linux_mount_setattr */
|
||||
|
@ -2319,7 +2319,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_faccessat2 */
|
||||
case 439: {
|
||||
*n_args = 0;
|
||||
struct linux_faccessat2_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->filename; /* const char * */
|
||||
iarg[2] = p->amode; /* l_int */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_process_madvise */
|
||||
@ -6094,6 +6099,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
@ -7359,6 +7380,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 438:
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
/* linux_epoll_pwait2 */
|
||||
|
@ -1651,7 +1651,10 @@ struct linux_pidfd_getfd_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_faccessat2_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
|
||||
char amode_l_[PADL_(l_int)]; l_int amode; char amode_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_process_madvise_args {
|
||||
register_t dummy;
|
||||
|
@ -456,7 +456,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .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 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = AS(linux_faccessat2_args), .sy_call = (sy_call_t *)linux_faccessat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 439 = linux_faccessat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_process_madvise, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 440 = linux_process_madvise */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_epoll_pwait2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 441 = linux_epoll_pwait2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_mount_setattr, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 442 = linux_mount_setattr */
|
||||
|
@ -3225,7 +3225,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_faccessat2 */
|
||||
case 439: {
|
||||
*n_args = 0;
|
||||
struct linux_faccessat2_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->filename; /* const char * */
|
||||
iarg[2] = p->amode; /* l_int */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_process_madvise */
|
||||
@ -8369,6 +8374,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
@ -10147,6 +10168,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 438:
|
||||
/* linux_faccessat2 */
|
||||
case 439:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_process_madvise */
|
||||
case 440:
|
||||
/* linux_epoll_pwait2 */
|
||||
|
Loading…
Reference in New Issue
Block a user