Move utmp handling into utmp.c

This commit is contained in:
Todd C. Miller
2011-03-11 15:54:12 -05:00
parent 53da5e8cdf
commit 1e9def1efa
5 changed files with 216 additions and 161 deletions

View File

@@ -42,4 +42,8 @@ void pty_setup(uid_t uid, const char *tty);
void terminate_child(pid_t pid, int use_pgrp);
extern int signal_pipe[2];
/* utmp.c */
int utmp_clone(const char *from_line, const char *to_line);
int utmp_remove(const char *line);
#endif /* _SUDO_EXEC_H */