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
This commit is contained in:
Mike Frysinger 2015-10-09 18:48:51 -04:00
parent 487a1823e8
commit 68af0adeb9

View File

@ -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
{