mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
UTMP: Add support for INIT_PROCESS & DEAD_PROCESS
Services started by Finit are now properly accounted for in UTMP. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
8c54fde36c
commit
2718c709aa
4 files changed
+67
-20
No files matched your search
+3
-1
@@ -21,9 +21,11 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
int utmp_set (int type, int pid, char *user, char *line, char *id);
|
||||
int utmp_set (int type, int pid, char *line, char *id, char *user);
|
||||
int utmp_set_boot (void);
|
||||
int utmp_set_halt (void);
|
||||
int utmp_set_init (char *tty, char *id);
|
||||
int utmp_set_dead (int pid);
|
||||
int utmp_set_runlevel(int pre, int now);
|
||||
int utmp_show (char *file);
|
||||
|
||||
|
||||
Reference in new issue
Block a user