linux(4): Regen for timer_settime64 syscall.
MFC after: 2 weeks
This commit is contained in:
parent
1508b1b6a0
commit
9038a0b74c
@ -1552,7 +1552,10 @@ struct linux_timer_gettime64_args {
|
||||
char setting_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * setting; char setting_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_timer_settime64_args {
|
||||
syscallarg_t dummy;
|
||||
char timerid_l_[PADL_(l_timer_t)]; l_timer_t timerid; char timerid_r_[PADR_(l_timer_t)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char new_l_[PADL_(const struct l_itimerspec64 *)]; const struct l_itimerspec64 * new; char new_r_[PADR_(const struct l_itimerspec64 *)];
|
||||
char old_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * old; char old_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_timerfd_gettime64_args {
|
||||
syscallarg_t dummy;
|
||||
|
@ -426,7 +426,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_getres_time64_args), .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = AS(linux_clock_nanosleep_time64_args), .sy_call = (sy_call_t *)linux_clock_nanosleep_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 407 = linux_clock_nanosleep_time64 */
|
||||
{ .sy_narg = AS(linux_timer_gettime64_args), .sy_call = (sy_call_t *)linux_timer_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 408 = linux_timer_gettime64 */
|
||||
{ .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 = AS(linux_timer_settime64_args), .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 = 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 */
|
||||
|
@ -3015,7 +3015,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_timer_settime64 */
|
||||
case 409: {
|
||||
*n_args = 0;
|
||||
struct linux_timer_settime64_args *p = params;
|
||||
iarg[a++] = p->timerid; /* l_timer_t */
|
||||
iarg[a++] = p->flags; /* l_int */
|
||||
uarg[a++] = (intptr_t)p->new; /* const struct l_itimerspec64 * */
|
||||
uarg[a++] = (intptr_t)p->old; /* struct l_itimerspec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_timerfd_gettime64 */
|
||||
@ -8147,6 +8152,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_timer_settime64 */
|
||||
case 409:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_timer_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland const struct l_itimerspec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland struct l_itimerspec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_timerfd_gettime64 */
|
||||
case 410:
|
||||
@ -10082,6 +10103,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_timer_settime64 */
|
||||
case 409:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_timerfd_gettime64 */
|
||||
case 410:
|
||||
/* linux_timerfd_settime64 */
|
||||
|
@ -1545,7 +1545,10 @@ struct linux_timer_gettime64_args {
|
||||
char setting_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * setting; char setting_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_timer_settime64_args {
|
||||
syscallarg_t dummy;
|
||||
char timerid_l_[PADL_(l_timer_t)]; l_timer_t timerid; char timerid_r_[PADR_(l_timer_t)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char new_l_[PADL_(const struct l_itimerspec64 *)]; const struct l_itimerspec64 * new; char new_r_[PADR_(const struct l_itimerspec64 *)];
|
||||
char old_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * old; char old_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_timerfd_gettime64_args {
|
||||
syscallarg_t dummy;
|
||||
|
@ -426,7 +426,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_getres_time64_args), .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = AS(linux_clock_nanosleep_time64_args), .sy_call = (sy_call_t *)linux_clock_nanosleep_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 407 = linux_clock_nanosleep_time64 */
|
||||
{ .sy_narg = AS(linux_timer_gettime64_args), .sy_call = (sy_call_t *)linux_timer_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 408 = linux_timer_gettime64 */
|
||||
{ .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 = AS(linux_timer_settime64_args), .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 = 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 */
|
||||
|
@ -3054,7 +3054,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_timer_settime64 */
|
||||
case 409: {
|
||||
*n_args = 0;
|
||||
struct linux_timer_settime64_args *p = params;
|
||||
iarg[a++] = p->timerid; /* l_timer_t */
|
||||
iarg[a++] = p->flags; /* l_int */
|
||||
uarg[a++] = (intptr_t)p->new; /* const struct l_itimerspec64 * */
|
||||
uarg[a++] = (intptr_t)p->old; /* struct l_itimerspec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_timerfd_gettime64 */
|
||||
@ -8224,6 +8229,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_timer_settime64 */
|
||||
case 409:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_timer_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland const struct l_itimerspec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland struct l_itimerspec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_timerfd_gettime64 */
|
||||
case 410:
|
||||
@ -10188,6 +10209,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_timer_settime64 */
|
||||
case 409:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_timerfd_gettime64 */
|
||||
case 410:
|
||||
/* linux_timerfd_settime64 */
|
||||
|
Loading…
Reference in New Issue
Block a user