am c2787015: am b6c48b20: Merge "Allow for better utmp logging."

* commit 'c27870158ae54e06c39384722b519f06c4521dc7':
  Allow for better utmp logging.
This commit is contained in:
Calin Juravle 2014-05-07 20:28:39 +00:00 committed by Android Git Automerger
commit 478a1b57bd

View File

@ -36,9 +36,15 @@
#define _PATH_WTMP "/var/log/wtmp"
#define _PATH_LASTLOG "/var/log/lastlog"
#define UT_NAMESIZE 8
#define UT_LINESIZE 8
#define UT_HOSTSIZE 16
#ifdef __LP64__
#define UT_NAMESIZE 32
#define UT_LINESIZE 32
#define UT_HOSTSIZE 256
#else
#define UT_NAMESIZE 8
#define UT_LINESIZE 8
#define UT_HOSTSIZE 16
#endif
#define USER_PROCESS 7