/* * SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, 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_gettime = { .name = "clock_gettime", .num_args = 2, .arg1name = "which_clock", .arg2name = "tp", .arg2type = ARG_ADDRESS, .rettype = RET_ZERO_SUCCESS, }; .