mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Regen for timerfd_settime64 syscall.
MFC after: 2 weeks
This commit is contained in:
parent
8545bcff31
commit
f4228fbb4e
6 changed files with 60 additions and 6 deletions
|
|
@ -1561,7 +1561,10 @@ struct linux_timerfd_gettime64_args {
|
|||
syscallarg_t dummy;
|
||||
};
|
||||
struct linux_timerfd_settime64_args {
|
||||
syscallarg_t dummy;
|
||||
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char new_value_l_[PADL_(const struct l_itimerspec64 *)]; const struct l_itimerspec64 * new_value; char new_value_r_[PADR_(const struct l_itimerspec64 *)];
|
||||
char old_value_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * old_value; char old_value_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_utimensat_time64_args {
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@ struct sysent linux32_sysent[] = {
|
|||
{ .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 = 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_timerfd_settime64_args), .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 */
|
||||
{ .sy_narg = AS(linux_pselect6_time64_args), .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 = AS(linux_ppoll_time64_args), .sy_call = (sy_call_t *)linux_ppoll_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 414 = linux_ppoll_time64 */
|
||||
|
|
|
|||
|
|
@ -3030,7 +3030,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
}
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411: {
|
||||
*n_args = 0;
|
||||
struct linux_timerfd_settime64_args *p = params;
|
||||
iarg[a++] = p->fd; /* l_int */
|
||||
iarg[a++] = p->flags; /* l_int */
|
||||
uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */
|
||||
uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_utimensat_time64 */
|
||||
|
|
@ -8174,6 +8179,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
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_utimensat_time64 */
|
||||
case 412:
|
||||
|
|
@ -10110,6 +10131,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
case 410:
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
|
|||
|
|
@ -1554,7 +1554,10 @@ struct linux_timerfd_gettime64_args {
|
|||
syscallarg_t dummy;
|
||||
};
|
||||
struct linux_timerfd_settime64_args {
|
||||
syscallarg_t dummy;
|
||||
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char new_value_l_[PADL_(const struct l_itimerspec64 *)]; const struct l_itimerspec64 * new_value; char new_value_r_[PADR_(const struct l_itimerspec64 *)];
|
||||
char old_value_l_[PADL_(struct l_itimerspec64 *)]; struct l_itimerspec64 * old_value; char old_value_r_[PADR_(struct l_itimerspec64 *)];
|
||||
};
|
||||
struct linux_utimensat_time64_args {
|
||||
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@ struct sysent linux_sysent[] = {
|
|||
{ .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 = 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_timerfd_settime64_args), .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 */
|
||||
{ .sy_narg = AS(linux_pselect6_time64_args), .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 = AS(linux_ppoll_time64_args), .sy_call = (sy_call_t *)linux_ppoll_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 414 = linux_ppoll_time64 */
|
||||
|
|
|
|||
|
|
@ -3069,7 +3069,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
}
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411: {
|
||||
*n_args = 0;
|
||||
struct linux_timerfd_settime64_args *p = params;
|
||||
iarg[a++] = p->fd; /* l_int */
|
||||
iarg[a++] = p->flags; /* l_int */
|
||||
uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */
|
||||
uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_utimensat_time64 */
|
||||
|
|
@ -8251,6 +8256,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "l_int";
|
||||
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_utimensat_time64 */
|
||||
case 412:
|
||||
|
|
@ -10216,6 +10237,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
case 410:
|
||||
/* linux_timerfd_settime64 */
|
||||
case 411:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_utimensat_time64 */
|
||||
case 412:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue