OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487a182
)
utmp.h: add more ut_type defines
author
Mike Frysinger
<vapier@google.com>
Fri, 9 Oct 2015 22:48:51 +0000
(18:48 -0400)
committer
Mike Frysinger
<vapier@google.com>
Fri, 9 Oct 2015 22:52:49 +0000
(18:52 -0400)
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
patch
|
blob
|
history
diff --git
a/libc/include/utmp.h
b/libc/include/utmp.h
index
ebf2372
..
7eeea41
100644
(file)
--- 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
{