- provide central knob to turn off RPC related options.

This commit is contained in:
Bernhard Reutner-Fischer 2006-12-01 16:56:12 +00:00
parent 4c87d4f242
commit 732268fe69
3 changed files with 11 additions and 2 deletions

View File

@ -203,6 +203,14 @@ config FEATURE_SUID_CONFIG_QUIET
/etc/busybox.conf should be readable by the user needing the SUID, check /etc/busybox.conf should be readable by the user needing the SUID, check
this option to avoid users to be notified about missing permissions. this option to avoid users to be notified about missing permissions.
config FEATURE_HAVE_RPC
bool "RPC support"
default y
help
Select this if you have rpc support.
This automatically turns off all configuration options that rely
on RPC.
config SELINUX config SELINUX
bool "Support NSA Security Enhanced Linux" bool "Support NSA Security Enhanced Linux"
default n default n

View File

@ -324,9 +324,9 @@ config FEATURE_INETD_RPC
bool "Support RPC services" bool "Support RPC services"
default n default n
depends on INETD depends on INETD
depends on FEATURE_HAVE_RPC
help help
Suuport Sun-RPC based services Support Sun-RPC based services
config IP config IP
bool "ip" bool "ip"

View File

@ -369,6 +369,7 @@ config FEATURE_MOUNT_NFS
bool "Support mounting NFS file systems" bool "Support mounting NFS file systems"
default n default n
depends on MOUNT depends on MOUNT
depends on FEATURE_HAVE_RPC
select FEATURE_SYSLOG select FEATURE_SYSLOG
help help
Enable mounting of NFS file systems. Enable mounting of NFS file systems.