From 68af0adeb9df27b3f538b0a57db426dea060db99 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@google.com> Date: Fri, 9 Oct 2015 18:48:51 -0400 Subject: [PATCH] utmp.h: add more ut_type defines This fills out the defines that utmp.h normally offers on other systems such as glibc. BUG=24810744 Change-Id: If57f9ced22e8673f072245fce3f5c0f8e1f591e5 --- libc/include/utmp.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libc/include/utmp.h b/libc/include/utmp.h index ebf23726a..7eeea41e2 100644 --- a/libc/include/utmp.h +++ b/libc/include/utmp.h @@ -46,7 +46,16 @@ #define UT_HOSTSIZE 16 #endif -#define USER_PROCESS 7 +#define EMPTY 0 +#define RUN_LVL 1 +#define BOOT_TIME 2 +#define NEW_TIME 3 +#define OLD_TIME 4 +#define INIT_PROCESS 5 +#define LOGIN_PROCESS 6 +#define USER_PROCESS 7 +#define DEAD_PROCESS 8 +#define ACCOUNTING 9 struct lastlog {