summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-07 06:02:39 +0000
committerDenis Vlasenko2006-09-07 06:02:39 +0000
commit049d6b8c0812b20c024d714a9008cc94713a6175 (patch)
treeaf95f506cc36561eef6204a1bd915bc0467cdc24 /loginutils
parentb7d8dd9ab18c5001b5a86127c94a07e3ee0125c7 (diff)
downloadbusybox-049d6b8c0812b20c024d714a9008cc94713a6175.zip
busybox-049d6b8c0812b20c024d714a9008cc94713a6175.tar.gz
Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index 9926551..71e0a3a 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -80,6 +80,7 @@ config CONFIG_DELUSER
config CONFIG_GETTY
bool "getty"
default n
+ select CONFIG_FEATURE_SYSLOG
help
getty lets you log in on a tty, it is normally invoked by init.
@@ -103,6 +104,7 @@ config CONFIG_LOGIN
bool "login"
default n
select CONFIG_FEATURE_SUID
+ select CONFIG_FEATURE_SYSLOG
help
login is used when signing onto a system.
@@ -122,6 +124,7 @@ config CONFIG_PASSWD
bool "passwd"
default n
select CONFIG_FEATURE_SUID
+ select CONFIG_FEATURE_SYSLOG
help
passwd changes passwords for user and group accounts. A normal user
may only change the password for his/her own account, the super user
@@ -135,6 +138,7 @@ config CONFIG_SU
bool "su"
default n
select CONFIG_FEATURE_SUID
+ select CONFIG_FEATURE_SYSLOG
help
su is used to become another user during a login session.
Invoked without a username, su defaults to becoming the super user.
@@ -152,6 +156,7 @@ config CONFIG_SU_SYSLOG
config CONFIG_SULOGIN
bool "sulogin"
default n
+ select CONFIG_FEATURE_SYSLOG
help
sulogin is invoked when the system goes into single user
mode (this is done through an entry in inittab).