/* Determine whether the current process may set the system clock and timezone information, returning 0 if permission granted, -ve if denied.  */
int cap_settime(struct timespec *ts, struct timezone *tz)
/* Determine whether the current process may set the system clock and timezone information, returning 0 if permission granted, -ve if denied.  */
int cap_settime(struct timespec *ts, struct timezone *tz)
{
	if (!capable(CAP_SYS_TIME))
		return -EPERM;
	return 0;
}