Regen for ('19f9a0e4df54f8d1e99234146024422bdcfa09ce') Linux
clock_settime64 system call. MFC after: 2 weeks
This commit is contained in:
parent
19f9a0e4df
commit
82e3848654
@ -1523,7 +1523,8 @@ struct linux_clock_gettime64_args {
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_settime64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_adjtime64_args {
|
||||
register_t dummy;
|
||||
|
@ -421,7 +421,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = AS(linux_msgrcv_args), .sy_call = (sy_call_t *)linux_msgrcv, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 401 = linux_msgrcv */
|
||||
{ .sy_narg = AS(linux_msgctl_args), .sy_call = (sy_call_t *)linux_msgctl, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 402 = linux_msgctl */
|
||||
{ .sy_narg = AS(linux_clock_gettime64_args), .sy_call = (sy_call_t *)linux_clock_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 403 = linux_clock_gettime64 */
|
||||
{ .sy_narg = 0, .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 = 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 = 0, .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 */
|
||||
|
@ -2970,7 +2970,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_settime64 */
|
||||
case 404: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_settime64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_clock_adjtime64 */
|
||||
@ -8007,6 +8010,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_settime64 */
|
||||
case 404:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_clock_adjtime64 */
|
||||
case 405:
|
||||
@ -9795,6 +9808,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_settime64 */
|
||||
case 404:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_clock_adjtime64 */
|
||||
case 405:
|
||||
/* linux_clock_getres_time64 */
|
||||
|
@ -1516,7 +1516,8 @@ struct linux_clock_gettime64_args {
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_settime64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_adjtime64_args {
|
||||
register_t dummy;
|
||||
|
@ -421,7 +421,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = AS(linux_msgrcv_args), .sy_call = (sy_call_t *)linux_msgrcv, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 401 = linux_msgrcv */
|
||||
{ .sy_narg = AS(linux_msgctl_args), .sy_call = (sy_call_t *)linux_msgctl, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 402 = linux_msgctl */
|
||||
{ .sy_narg = AS(linux_clock_gettime64_args), .sy_call = (sy_call_t *)linux_clock_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 403 = linux_clock_gettime64 */
|
||||
{ .sy_narg = 0, .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 = 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 = 0, .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 */
|
||||
|
@ -3009,7 +3009,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_settime64 */
|
||||
case 404: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_settime64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_clock_adjtime64 */
|
||||
@ -8084,6 +8087,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_settime64 */
|
||||
case 404:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_clock_adjtime64 */
|
||||
case 405:
|
||||
@ -9901,6 +9914,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_settime64 */
|
||||
case 404:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_clock_adjtime64 */
|
||||
case 405:
|
||||
/* linux_clock_getres_time64 */
|
||||
|
Loading…
Reference in New Issue
Block a user