Regen for ('e4bffb80bbc6a2e4b3be89aefcbd5bb2c2fc0ba0') Linux
utimensat_time64 syscall. MFC after: 2 weeks
This commit is contained in:
parent
e4bffb80bb
commit
ea7fa5583c
@ -1546,7 +1546,10 @@ struct linux_timerfd_settime64_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_utimensat_time64_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)];
|
||||
char times64_l_[PADL_(const struct l_timespec64 *)]; const struct l_timespec64 * times64; char times64_r_[PADR_(const struct l_timespec64 *)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_pselect6_time64_args {
|
||||
register_t dummy;
|
||||
|
@ -429,7 +429,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 409 = linux_timer_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timerfd_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 410 = linux_timerfd_gettime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timerfd_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 411 = linux_timerfd_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_utimensat_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 412 = linux_utimensat_time64 */
|
||||
{ .sy_narg = AS(linux_utimensat_time64_args), .sy_call = (sy_call_t *)linux_utimensat_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 412 = linux_utimensat_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pselect6_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 413 = linux_pselect6_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_ppoll_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 414 = linux_ppoll_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 415 = nosys */
|
||||
|
@ -3007,7 +3007,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_utimensat_time64 */
|
||||
case 412: {
|
||||
*n_args = 0;
|
||||
struct linux_utimensat_time64_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->pathname; /* const char * */
|
||||
uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_pselect6_time64 */
|
||||
@ -8013,6 +8018,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland const struct l_timespec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_pselect6_time64 */
|
||||
case 413:
|
||||
@ -9774,6 +9795,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 411:
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_pselect6_time64 */
|
||||
case 413:
|
||||
/* linux_ppoll_time64 */
|
||||
|
@ -1539,7 +1539,10 @@ struct linux_timerfd_settime64_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_utimensat_time64_args {
|
||||
register_t dummy;
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)];
|
||||
char times64_l_[PADL_(const struct l_timespec64 *)]; const struct l_timespec64 * times64; char times64_r_[PADR_(const struct l_timespec64 *)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
};
|
||||
struct linux_pselect6_time64_args {
|
||||
register_t dummy;
|
||||
|
@ -429,7 +429,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 409 = linux_timer_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timerfd_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 410 = linux_timerfd_gettime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timerfd_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 411 = linux_timerfd_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_utimensat_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 412 = linux_utimensat_time64 */
|
||||
{ .sy_narg = AS(linux_utimensat_time64_args), .sy_call = (sy_call_t *)linux_utimensat_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 412 = linux_utimensat_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_pselect6_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 413 = linux_pselect6_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_ppoll_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 414 = linux_ppoll_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 415 = nosys */
|
||||
|
@ -3046,7 +3046,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_utimensat_time64 */
|
||||
case 412: {
|
||||
*n_args = 0;
|
||||
struct linux_utimensat_time64_args *p = params;
|
||||
iarg[0] = p->dfd; /* l_int */
|
||||
uarg[1] = (intptr_t)p->pathname; /* const char * */
|
||||
uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
|
||||
iarg[3] = p->flags; /* l_int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_pselect6_time64 */
|
||||
@ -8090,6 +8095,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland const char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland const struct l_timespec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "l_int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_pselect6_time64 */
|
||||
case 413:
|
||||
@ -9880,6 +9901,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 411:
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_pselect6_time64 */
|
||||
case 413:
|
||||
/* linux_ppoll_time64 */
|
||||
|
Loading…
Reference in New Issue
Block a user