summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:45 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:45 +0100
commit6ff9c31abc14f207265ab214370982ecb3bfe428 (patch)
treeafdaf5624e71c939c39abe8ef3aba5980aa4d911 /extra
parent2b33716c08cc506e57115e34b5fe11d8d5477398 (diff)
utmp: favour POSIX utmpx over SVID utmp
Note: _PATH_UTMPX == _PATH_UTMP and the utmp struct is identical to the utmpx struct so this only changes the external API entrypoints and NOT the underlying data source. This saves about 500b (~1300b from previously ~1950) while at it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 7546e96ea..1ef13667f 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -701,23 +701,23 @@ config COMPAT_ATEXIT
else you will be missing atexit() until you rebuild all apps.
config UCLIBC_HAS_UTMPX
- bool "utmpx based support for tracking login/logouts to/from the system"
- depends on UCLIBC_HAS_UTMP # TODO, remove this, it's backward
- help
- Answer y to enable support for accessing user accounting database.
- It can be used to track all login/logout to the system.
+ bool "utmpx based support for tracking login/logouts to/from the system"
+ help
+ Answer y to enable support for accessing user accounting database.
+ It can be used to track all login/logout to the system.
config UCLIBC_HAS_UTMP
- bool "utmp support (XPG2, SVr4 compat)"
- help
- Answer y to enable legacy SVID support for accessing
- user accounting database:
+ bool "utmp support (XPG2 compat, SVr4 compat)"
+ #depends on UCLIBC_HAS_UTMPX # for educational purposes..
+ help
+ Answer y to enable legacy SVID support for accessing
+ user accounting database:
getutent(), getutid(), getutline(), pututline(),
setutent(), endutent(), utmpname() in utmp.h
- It can be used to track all login/logout to the system.
+ It can be used to track all login/logout to the system.
- If unsure, just answer N and use utmpx.h and corresponding
- POSIX functions.
+ If unsure, answer N and use corresponding POSIX functions
+ from utmpx.h
config UCLIBC_SUSV2_LEGACY
bool "Enable SuSv2 LEGACY functions"