Regen for ('6501370a7dfb358daf07555136742bc064e68cb7') Linux
clock_nanosleep_time64 system call. MFC after: 2 weeks
This commit is contained in:
parent
6501370a7d
commit
56b187005c
@ -1534,7 +1534,10 @@ struct linux_clock_getres_time64_args {
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_nanosleep_time64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char rqtp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * rqtp; char rqtp_r_[PADR_(struct l_timespec64 *)];
|
||||
char rmtp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * rmtp; char rmtp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_timer_gettime64_args {
|
||||
register_t dummy;
|
||||
|
@ -424,7 +424,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_settime64_args), .sy_call = (sy_call_t *)linux_clock_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 404 = linux_clock_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_adjtime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 405 = linux_clock_adjtime64 */
|
||||
{ .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 = 0, .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_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 = 0, .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 = 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 */
|
||||
|
@ -2991,7 +2991,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_nanosleep_time64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
iarg[1] = p->flags; /* l_int */
|
||||
uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
|
||||
uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_timer_gettime64 */
|
||||
@ -8042,6 +8047,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_timer_gettime64 */
|
||||
case 408:
|
||||
@ -9833,6 +9854,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_timer_gettime64 */
|
||||
case 408:
|
||||
/* linux_timer_settime64 */
|
||||
|
@ -1527,7 +1527,10 @@ struct linux_clock_getres_time64_args {
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_nanosleep_time64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
|
||||
char rqtp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * rqtp; char rqtp_r_[PADR_(struct l_timespec64 *)];
|
||||
char rmtp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * rmtp; char rmtp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_timer_gettime64_args {
|
||||
register_t dummy;
|
||||
|
@ -424,7 +424,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_settime64_args), .sy_call = (sy_call_t *)linux_clock_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 404 = linux_clock_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_adjtime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 405 = linux_clock_adjtime64 */
|
||||
{ .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 = 0, .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_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 = 0, .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 = 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 */
|
||||
|
@ -3030,7 +3030,12 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_nanosleep_time64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
iarg[1] = p->flags; /* l_int */
|
||||
uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
|
||||
uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* linux_timer_gettime64 */
|
||||
@ -8119,6 +8124,22 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "l_int";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_timer_gettime64 */
|
||||
case 408:
|
||||
@ -9939,6 +9960,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_timer_gettime64 */
|
||||
case 408:
|
||||
/* linux_timer_settime64 */
|
||||
|
Loading…
Reference in New Issue
Block a user