/* * SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, const struct timespec __user *, tp) * * return 0 for success, or -1 for failure (in which case errno is set appropriately). */ #include "sanitise.h" struct syscallentry syscall_clock_settime = { .name = "clock_settime", .num_args = 2, .arg1name = "which_clock", .arg2name = "tp", .arg2type = ARG_ADDRESS, .arg2misc.struct_type = STRUCT_ARG_timespec, .rettype = RET_ZERO_SUCCESS, }; .