Use timeval directly instead of converting to timespec when dealing

with file times and time of day.
This commit is contained in:
Todd C. Miller
2010-04-20 16:44:02 -04:00
parent 0a3a849ef4
commit b4a26b7691
9 changed files with 115 additions and 146 deletions

View File

@@ -247,13 +247,13 @@ void pass_warn(void);
void dump_defaults(void);
void dump_auth_methods(void);
int lock_file(int, int);
int touch(int, char *, struct timespec *);
int touch(int, char *, struct timeval *);
int user_is_exempt(void);
void set_fqdn(void);
char *sudo_getepw(const struct passwd *);
int pam_prep_user(struct passwd *);
void zero_bytes(volatile void *, size_t);
int gettime(struct timespec *);
int gettime(struct timeval *);
FILE *open_sudoers(const char *, int, int *);
void display_privs(struct sudo_nss_list *, struct passwd *);
int display_cmnd(struct sudo_nss_list *, struct passwd *);