/* * Automatically generated C config: don't edit * Busybox version: 1.30.1 */ #define AUTOCONF_TIMESTAMP "" #define CONFIG_HAVE_DOT_CONFIG 1 #define ENABLE_HAVE_DOT_CONFIG 1 #ifdef MAKE_SUID # define IF_HAVE_DOT_CONFIG(...) __VA_ARGS__ "CONFIG_HAVE_DOT_CONFIG" #else # define IF_HAVE_DOT_CONFIG(...) __VA_ARGS__ #endif #define IF_NOT_HAVE_DOT_CONFIG(...) /* * Settings */ #undef CONFIG_DESKTOP #define ENABLE_DESKTOP 0 #define IF_DESKTOP(...) #define IF_NOT_DESKTOP(...) __VA_ARGS__ #undef CONFIG_EXTRA_COMPAT #define ENABLE_EXTRA_COMPAT 0 #define IF_EXTRA_COMPAT(...) #define IF_NOT_EXTRA_COMPAT(...) __VA_ARGS__ #undef CONFIG_FEDORA_COMPAT #define ENABLE_FEDORA_COMPAT 0 #define IF_FEDORA_COMPAT(...) #define IF_NOT_FEDORA_COMPAT(...) __VA_ARGS__ #define CONFIG_INCLUDE_SUSv2 1 #define ENABLE_INCLUDE_SUSv2 1 #ifdef MAKE_SUID # define IF_INCLUDE_SUSv2(...) __VA_ARGS__ "CONFIG_INCLUDE_SUSv2" #else # define IF_INCLUDE_SUSv2(...) __VA_ARGS__ #endif #define IF_NOT_INCLUDE_SUSv2(...) #define CONFIG_LONG_OPTS 1 #define ENABLE_LONG_OPTS 1 #ifdef MAKE_SUID # define IF_LONG_OPTS(...) __VA_ARGS__ "CONFIG_LONG_OPTS" #else # define IF_LONG_OPTS(...) __VA_ARGS__ #endif #define IF_NOT_LONG_OPTS(...) #define CONFIG_SHOW_USAGE 1 #define ENABLE_SHOW_USAGE 1 #ifdef MAKE_SUID # define IF_SHOW_USAGE(...) __VA_ARGS__ "CONFIG_SHOW_USAGE" #else # define IF_SHOW_USAGE(...) __VA_ARGS__ #endif #define IF_NOT_SHOW_USAGE(...) #define CONFIG_FEATURE_VERBOSE_USAGE 1 #define ENABLE_FEATURE_VERBOSE_USAGE 1 #ifdef MAKE_SUID # define IF_FEATURE_VERBOSE_USAGE(...) __VA_ARGS__ "CONFIG_FEATURE_VERBOSE_USAGE" #else # define IF_FEATURE_VERBOSE_USAGE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VERBOSE_USAGE(...) #define CONFIG_FEATURE_COMPRESS_USAGE 1 #define ENABLE_FEATURE_COMPRESS_USAGE 1 #ifdef MAKE_SUID # define IF_FEATURE_COMPRESS_USAGE(...) __VA_ARGS__ "CONFIG_FEATURE_COMPRESS_USAGE" #else # define IF_FEATURE_COMPRESS_USAGE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_COMPRESS_USAGE(...) #define CONFIG_LFS 1 #define ENABLE_LFS 1 #ifdef MAKE_SUID # define IF_LFS(...) __VA_ARGS__ "CONFIG_LFS" #else # define IF_LFS(...) __VA_ARGS__ #endif #define IF_NOT_LFS(...) #undef CONFIG_PAM #define ENABLE_PAM 0 #define IF_PAM(...) #define IF_NOT_PAM(...) __VA_ARGS__ #define CONFIG_FEATURE_DEVPTS 1 #define ENABLE_FEATURE_DEVPTS 1 #ifdef MAKE_SUID # define IF_FEATURE_DEVPTS(...) __VA_ARGS__ "CONFIG_FEATURE_DEVPTS" #else # define IF_FEATURE_DEVPTS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DEVPTS(...) #undef CONFIG_FEATURE_UTMP #define ENABLE_FEATURE_UTMP 0 #define IF_FEATURE_UTMP(...) #define IF_NOT_FEATURE_UTMP(...) __VA_ARGS__ #undef CONFIG_FEATURE_WTMP #define ENABLE_FEATURE_WTMP 0 #define IF_FEATURE_WTMP(...) #define IF_NOT_FEATURE_WTMP(...) __VA_ARGS__ #define CONFIG_FEATURE_PIDFILE 1 #define ENABLE_FEATURE_PIDFILE 1 #ifdef MAKE_SUID # define IF_FEATURE_PIDFILE(...) __VA_ARGS__ "CONFIG_FEATURE_PIDFILE" #else # define IF_FEATURE_PIDFILE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PIDFILE(...) #define CONFIG_PID_FILE_PATH "/var/run" #define ENABLE_PID_FILE_PATH 1 #ifdef MAKE_SUID # define IF_PID_FILE_PATH(...) __VA_ARGS__ "CONFIG_PID_FILE_PATH" #else # define IF_PID_FILE_PATH(...) __VA_ARGS__ #endif #define IF_NOT_PID_FILE_PATH(...) #undef CONFIG_BUSYBOX #define ENABLE_BUSYBOX 0 #define IF_BUSYBOX(...) #define IF_NOT_BUSYBOX(...) __VA_ARGS__ #undef CONFIG_FEATURE_SHOW_SCRIPT #define ENABLE_FEATURE_SHOW_SCRIPT 0 #define IF_FEATURE_SHOW_SCRIPT(...) #define IF_NOT_FEATURE_SHOW_SCRIPT(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSTALLER #define ENABLE_FEATURE_INSTALLER 0 #define IF_FEATURE_INSTALLER(...) #define IF_NOT_FEATURE_INSTALLER(...) __VA_ARGS__ #undef CONFIG_INSTALL_NO_USR #define ENABLE_INSTALL_NO_USR 0 #define IF_INSTALL_NO_USR(...) #define IF_NOT_INSTALL_NO_USR(...) __VA_ARGS__ #define CONFIG_FEATURE_SUID 1 #define ENABLE_FEATURE_SUID 1 #ifdef MAKE_SUID # define IF_FEATURE_SUID(...) __VA_ARGS__ "CONFIG_FEATURE_SUID" #else # define IF_FEATURE_SUID(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SUID(...) #undef CONFIG_FEATURE_SUID_CONFIG #define ENABLE_FEATURE_SUID_CONFIG 0 #define IF_FEATURE_SUID_CONFIG(...) #define IF_NOT_FEATURE_SUID_CONFIG(...) __VA_ARGS__ #undef CONFIG_FEATURE_SUID_CONFIG_QUIET #define ENABLE_FEATURE_SUID_CONFIG_QUIET 0 #define IF_FEATURE_SUID_CONFIG_QUIET(...) #define IF_NOT_FEATURE_SUID_CONFIG_QUIET(...) __VA_ARGS__ #define CONFIG_FEATURE_PREFER_APPLETS 1 #define ENABLE_FEATURE_PREFER_APPLETS 1 #ifdef MAKE_SUID # define IF_FEATURE_PREFER_APPLETS(...) __VA_ARGS__ "CONFIG_FEATURE_PREFER_APPLETS" #else # define IF_FEATURE_PREFER_APPLETS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PREFER_APPLETS(...) #define CONFIG_BUSYBOX_EXEC_PATH "/proc/self/exe" #define ENABLE_BUSYBOX_EXEC_PATH 1 #ifdef MAKE_SUID # define IF_BUSYBOX_EXEC_PATH(...) __VA_ARGS__ "CONFIG_BUSYBOX_EXEC_PATH" #else # define IF_BUSYBOX_EXEC_PATH(...) __VA_ARGS__ #endif #define IF_NOT_BUSYBOX_EXEC_PATH(...) #undef CONFIG_SELINUX #define ENABLE_SELINUX 0 #define IF_SELINUX(...) #define IF_NOT_SELINUX(...) __VA_ARGS__ #undef CONFIG_FEATURE_CLEAN_UP #define ENABLE_FEATURE_CLEAN_UP 0 #define IF_FEATURE_CLEAN_UP(...) #define IF_NOT_FEATURE_CLEAN_UP(...) __VA_ARGS__ #define CONFIG_FEATURE_SYSLOG 1 #define ENABLE_FEATURE_SYSLOG 1 #ifdef MAKE_SUID # define IF_FEATURE_SYSLOG(...) __VA_ARGS__ "CONFIG_FEATURE_SYSLOG" #else # define IF_FEATURE_SYSLOG(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SYSLOG(...) #define CONFIG_PLATFORM_LINUX 1 #define ENABLE_PLATFORM_LINUX 1 #ifdef MAKE_SUID # define IF_PLATFORM_LINUX(...) __VA_ARGS__ "CONFIG_PLATFORM_LINUX" #else # define IF_PLATFORM_LINUX(...) __VA_ARGS__ #endif #define IF_NOT_PLATFORM_LINUX(...) /* * Build Options */ #undef CONFIG_STATIC #define ENABLE_STATIC 0 #define IF_STATIC(...) #define IF_NOT_STATIC(...) __VA_ARGS__ #undef CONFIG_PIE #define ENABLE_PIE 0 #define IF_PIE(...) #define IF_NOT_PIE(...) __VA_ARGS__ #undef CONFIG_NOMMU #define ENABLE_NOMMU 0 #define IF_NOMMU(...) #define IF_NOT_NOMMU(...) __VA_ARGS__ #undef CONFIG_BUILD_LIBBUSYBOX #define ENABLE_BUILD_LIBBUSYBOX 0 #define IF_BUILD_LIBBUSYBOX(...) #define IF_NOT_BUILD_LIBBUSYBOX(...) __VA_ARGS__ #undef CONFIG_FEATURE_LIBBUSYBOX_STATIC #define ENABLE_FEATURE_LIBBUSYBOX_STATIC 0 #define IF_FEATURE_LIBBUSYBOX_STATIC(...) #define IF_NOT_FEATURE_LIBBUSYBOX_STATIC(...) __VA_ARGS__ #undef CONFIG_FEATURE_INDIVIDUAL #define ENABLE_FEATURE_INDIVIDUAL 0 #define IF_FEATURE_INDIVIDUAL(...) #define IF_NOT_FEATURE_INDIVIDUAL(...) __VA_ARGS__ #undef CONFIG_FEATURE_SHARED_BUSYBOX #define ENABLE_FEATURE_SHARED_BUSYBOX 0 #define IF_FEATURE_SHARED_BUSYBOX(...) #define IF_NOT_FEATURE_SHARED_BUSYBOX(...) __VA_ARGS__ #define CONFIG_CROSS_COMPILER_PREFIX "" #define ENABLE_CROSS_COMPILER_PREFIX 1 #ifdef MAKE_SUID # define IF_CROSS_COMPILER_PREFIX(...) __VA_ARGS__ "CONFIG_CROSS_COMPILER_PREFIX" #else # define IF_CROSS_COMPILER_PREFIX(...) __VA_ARGS__ #endif #define IF_NOT_CROSS_COMPILER_PREFIX(...) #define CONFIG_SYSROOT "" #define ENABLE_SYSROOT 1 #ifdef MAKE_SUID # define IF_SYSROOT(...) __VA_ARGS__ "CONFIG_SYSROOT" #else # define IF_SYSROOT(...) __VA_ARGS__ #endif #define IF_NOT_SYSROOT(...) #define CONFIG_EXTRA_CFLAGS "" #define ENABLE_EXTRA_CFLAGS 1 #ifdef MAKE_SUID # define IF_EXTRA_CFLAGS(...) __VA_ARGS__ "CONFIG_EXTRA_CFLAGS" #else # define IF_EXTRA_CFLAGS(...) __VA_ARGS__ #endif #define IF_NOT_EXTRA_CFLAGS(...) #define CONFIG_EXTRA_LDFLAGS "" #define ENABLE_EXTRA_LDFLAGS 1 #ifdef MAKE_SUID # define IF_EXTRA_LDFLAGS(...) __VA_ARGS__ "CONFIG_EXTRA_LDFLAGS" #else # define IF_EXTRA_LDFLAGS(...) __VA_ARGS__ #endif #define IF_NOT_EXTRA_LDFLAGS(...) #define CONFIG_EXTRA_LDLIBS "" #define ENABLE_EXTRA_LDLIBS 1 #ifdef MAKE_SUID # define IF_EXTRA_LDLIBS(...) __VA_ARGS__ "CONFIG_EXTRA_LDLIBS" #else # define IF_EXTRA_LDLIBS(...) __VA_ARGS__ #endif #define IF_NOT_EXTRA_LDLIBS(...) #undef CONFIG_USE_PORTABLE_CODE #define ENABLE_USE_PORTABLE_CODE 0 #define IF_USE_PORTABLE_CODE(...) #define IF_NOT_USE_PORTABLE_CODE(...) __VA_ARGS__ #undef CONFIG_STACK_OPTIMIZATION_386 #define ENABLE_STACK_OPTIMIZATION_386 0 #define IF_STACK_OPTIMIZATION_386(...) #define IF_NOT_STACK_OPTIMIZATION_386(...) __VA_ARGS__ /* * Installation Options ("make install" behavior) */ #define CONFIG_INSTALL_APPLET_SYMLINKS 1 #define ENABLE_INSTALL_APPLET_SYMLINKS 1 #ifdef MAKE_SUID # define IF_INSTALL_APPLET_SYMLINKS(...) __VA_ARGS__ "CONFIG_INSTALL_APPLET_SYMLINKS" #else # define IF_INSTALL_APPLET_SYMLINKS(...) __VA_ARGS__ #endif #define IF_NOT_INSTALL_APPLET_SYMLINKS(...) #undef CONFIG_INSTALL_APPLET_HARDLINKS #define ENABLE_INSTALL_APPLET_HARDLINKS 0 #define IF_INSTALL_APPLET_HARDLINKS(...) #define IF_NOT_INSTALL_APPLET_HARDLINKS(...) __VA_ARGS__ #undef CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS #define ENABLE_INSTALL_APPLET_SCRIPT_WRAPPERS 0 #define IF_INSTALL_APPLET_SCRIPT_WRAPPERS(...) #define IF_NOT_INSTALL_APPLET_SCRIPT_WRAPPERS(...) __VA_ARGS__ #undef CONFIG_INSTALL_APPLET_DONT #define ENABLE_INSTALL_APPLET_DONT 0 #define IF_INSTALL_APPLET_DONT(...) #define IF_NOT_INSTALL_APPLET_DONT(...) __VA_ARGS__ #undef CONFIG_INSTALL_SH_APPLET_SYMLINK #define ENABLE_INSTALL_SH_APPLET_SYMLINK 0 #define IF_INSTALL_SH_APPLET_SYMLINK(...) #define IF_NOT_INSTALL_SH_APPLET_SYMLINK(...) __VA_ARGS__ #undef CONFIG_INSTALL_SH_APPLET_HARDLINK #define ENABLE_INSTALL_SH_APPLET_HARDLINK 0 #define IF_INSTALL_SH_APPLET_HARDLINK(...) #define IF_NOT_INSTALL_SH_APPLET_HARDLINK(...) __VA_ARGS__ #undef CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER #define ENABLE_INSTALL_SH_APPLET_SCRIPT_WRAPPER 0 #define IF_INSTALL_SH_APPLET_SCRIPT_WRAPPER(...) #define IF_NOT_INSTALL_SH_APPLET_SCRIPT_WRAPPER(...) __VA_ARGS__ #define CONFIG_PREFIX "./_install" #define ENABLE_PREFIX 1 #ifdef MAKE_SUID # define IF_PREFIX(...) __VA_ARGS__ "CONFIG_PREFIX" #else # define IF_PREFIX(...) __VA_ARGS__ #endif #define IF_NOT_PREFIX(...) /* * Debugging Options */ #undef CONFIG_DEBUG #define ENABLE_DEBUG 0 #define IF_DEBUG(...) #define IF_NOT_DEBUG(...) __VA_ARGS__ #undef CONFIG_DEBUG_PESSIMIZE #define ENABLE_DEBUG_PESSIMIZE 0 #define IF_DEBUG_PESSIMIZE(...) #define IF_NOT_DEBUG_PESSIMIZE(...) __VA_ARGS__ #undef CONFIG_DEBUG_SANITIZE #define ENABLE_DEBUG_SANITIZE 0 #define IF_DEBUG_SANITIZE(...) #define IF_NOT_DEBUG_SANITIZE(...) __VA_ARGS__ #undef CONFIG_UNIT_TEST #define ENABLE_UNIT_TEST 0 #define IF_UNIT_TEST(...) #define IF_NOT_UNIT_TEST(...) __VA_ARGS__ #undef CONFIG_WERROR #define ENABLE_WERROR 0 #define IF_WERROR(...) #define IF_NOT_WERROR(...) __VA_ARGS__ #define CONFIG_NO_DEBUG_LIB 1 #define ENABLE_NO_DEBUG_LIB 1 #ifdef MAKE_SUID # define IF_NO_DEBUG_LIB(...) __VA_ARGS__ "CONFIG_NO_DEBUG_LIB" #else # define IF_NO_DEBUG_LIB(...) __VA_ARGS__ #endif #define IF_NOT_NO_DEBUG_LIB(...) #undef CONFIG_DMALLOC #define ENABLE_DMALLOC 0 #define IF_DMALLOC(...) #define IF_NOT_DMALLOC(...) __VA_ARGS__ #undef CONFIG_EFENCE #define ENABLE_EFENCE 0 #define IF_EFENCE(...) #define IF_NOT_EFENCE(...) __VA_ARGS__ /* * Library Tuning */ #undef CONFIG_FEATURE_USE_BSS_TAIL #define ENABLE_FEATURE_USE_BSS_TAIL 0 #define IF_FEATURE_USE_BSS_TAIL(...) #define IF_NOT_FEATURE_USE_BSS_TAIL(...) __VA_ARGS__ #undef CONFIG_FLOAT_DURATION #define ENABLE_FLOAT_DURATION 0 #define IF_FLOAT_DURATION(...) #define IF_NOT_FLOAT_DURATION(...) __VA_ARGS__ #undef CONFIG_FEATURE_RTMINMAX #define ENABLE_FEATURE_RTMINMAX 0 #define IF_FEATURE_RTMINMAX(...) #define IF_NOT_FEATURE_RTMINMAX(...) __VA_ARGS__ #undef CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS #define ENABLE_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS 0 #define IF_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS(...) #define IF_NOT_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_BUFFERS_USE_MALLOC #define ENABLE_FEATURE_BUFFERS_USE_MALLOC 0 #define IF_FEATURE_BUFFERS_USE_MALLOC(...) #define IF_NOT_FEATURE_BUFFERS_USE_MALLOC(...) __VA_ARGS__ #define CONFIG_FEATURE_BUFFERS_GO_ON_STACK 1 #define ENABLE_FEATURE_BUFFERS_GO_ON_STACK 1 #ifdef MAKE_SUID # define IF_FEATURE_BUFFERS_GO_ON_STACK(...) __VA_ARGS__ "CONFIG_FEATURE_BUFFERS_GO_ON_STACK" #else # define IF_FEATURE_BUFFERS_GO_ON_STACK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BUFFERS_GO_ON_STACK(...) #undef CONFIG_FEATURE_BUFFERS_GO_IN_BSS #define ENABLE_FEATURE_BUFFERS_GO_IN_BSS 0 #define IF_FEATURE_BUFFERS_GO_IN_BSS(...) #define IF_NOT_FEATURE_BUFFERS_GO_IN_BSS(...) __VA_ARGS__ #define CONFIG_PASSWORD_MINLEN 6 #define ENABLE_PASSWORD_MINLEN 1 #ifdef MAKE_SUID # define IF_PASSWORD_MINLEN(...) __VA_ARGS__ "CONFIG_PASSWORD_MINLEN" #else # define IF_PASSWORD_MINLEN(...) __VA_ARGS__ #endif #define IF_NOT_PASSWORD_MINLEN(...) #define CONFIG_MD5_SMALL 1 #define ENABLE_MD5_SMALL 1 #ifdef MAKE_SUID # define IF_MD5_SMALL(...) __VA_ARGS__ "CONFIG_MD5_SMALL" #else # define IF_MD5_SMALL(...) __VA_ARGS__ #endif #define IF_NOT_MD5_SMALL(...) #define CONFIG_SHA3_SMALL 1 #define ENABLE_SHA3_SMALL 1 #ifdef MAKE_SUID # define IF_SHA3_SMALL(...) __VA_ARGS__ "CONFIG_SHA3_SMALL" #else # define IF_SHA3_SMALL(...) __VA_ARGS__ #endif #define IF_NOT_SHA3_SMALL(...) #define CONFIG_FEATURE_FAST_TOP 1 #define ENABLE_FEATURE_FAST_TOP 1 #ifdef MAKE_SUID # define IF_FEATURE_FAST_TOP(...) __VA_ARGS__ "CONFIG_FEATURE_FAST_TOP" #else # define IF_FEATURE_FAST_TOP(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FAST_TOP(...) #undef CONFIG_FEATURE_ETC_NETWORKS #define ENABLE_FEATURE_ETC_NETWORKS 0 #define IF_FEATURE_ETC_NETWORKS(...) #define IF_NOT_FEATURE_ETC_NETWORKS(...) __VA_ARGS__ #undef CONFIG_FEATURE_ETC_SERVICES #define ENABLE_FEATURE_ETC_SERVICES 0 #define IF_FEATURE_ETC_SERVICES(...) #define IF_NOT_FEATURE_ETC_SERVICES(...) __VA_ARGS__ #define CONFIG_FEATURE_EDITING 1 #define ENABLE_FEATURE_EDITING 1 #ifdef MAKE_SUID # define IF_FEATURE_EDITING(...) __VA_ARGS__ "CONFIG_FEATURE_EDITING" #else # define IF_FEATURE_EDITING(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_EDITING(...) #define CONFIG_FEATURE_EDITING_MAX_LEN 512 #define ENABLE_FEATURE_EDITING_MAX_LEN 1 #ifdef MAKE_SUID # define IF_FEATURE_EDITING_MAX_LEN(...) __VA_ARGS__ "CONFIG_FEATURE_EDITING_MAX_LEN" #else # define IF_FEATURE_EDITING_MAX_LEN(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_EDITING_MAX_LEN(...) #undef CONFIG_FEATURE_EDITING_VI #define ENABLE_FEATURE_EDITING_VI 0 #define IF_FEATURE_EDITING_VI(...) #define IF_NOT_FEATURE_EDITING_VI(...) __VA_ARGS__ #define CONFIG_FEATURE_EDITING_HISTORY 256 #define ENABLE_FEATURE_EDITING_HISTORY 1 #ifdef MAKE_SUID # define IF_FEATURE_EDITING_HISTORY(...) __VA_ARGS__ "CONFIG_FEATURE_EDITING_HISTORY" #else # define IF_FEATURE_EDITING_HISTORY(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_EDITING_HISTORY(...) #undef CONFIG_FEATURE_EDITING_SAVEHISTORY #define ENABLE_FEATURE_EDITING_SAVEHISTORY 0 #define IF_FEATURE_EDITING_SAVEHISTORY(...) #define IF_NOT_FEATURE_EDITING_SAVEHISTORY(...) __VA_ARGS__ #undef CONFIG_FEATURE_EDITING_SAVE_ON_EXIT #define ENABLE_FEATURE_EDITING_SAVE_ON_EXIT 0 #define IF_FEATURE_EDITING_SAVE_ON_EXIT(...) #define IF_NOT_FEATURE_EDITING_SAVE_ON_EXIT(...) __VA_ARGS__ #undef CONFIG_FEATURE_REVERSE_SEARCH #define ENABLE_FEATURE_REVERSE_SEARCH 0 #define IF_FEATURE_REVERSE_SEARCH(...) #define IF_NOT_FEATURE_REVERSE_SEARCH(...) __VA_ARGS__ #define CONFIG_FEATURE_TAB_COMPLETION 1 #define ENABLE_FEATURE_TAB_COMPLETION 1 #ifdef MAKE_SUID # define IF_FEATURE_TAB_COMPLETION(...) __VA_ARGS__ "CONFIG_FEATURE_TAB_COMPLETION" #else # define IF_FEATURE_TAB_COMPLETION(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TAB_COMPLETION(...) #undef CONFIG_FEATURE_USERNAME_COMPLETION #define ENABLE_FEATURE_USERNAME_COMPLETION 0 #define IF_FEATURE_USERNAME_COMPLETION(...) #define IF_NOT_FEATURE_USERNAME_COMPLETION(...) __VA_ARGS__ #define CONFIG_FEATURE_EDITING_FANCY_PROMPT 1 #define ENABLE_FEATURE_EDITING_FANCY_PROMPT 1 #ifdef MAKE_SUID # define IF_FEATURE_EDITING_FANCY_PROMPT(...) __VA_ARGS__ "CONFIG_FEATURE_EDITING_FANCY_PROMPT" #else # define IF_FEATURE_EDITING_FANCY_PROMPT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_EDITING_FANCY_PROMPT(...) #undef CONFIG_FEATURE_EDITING_WINCH #define ENABLE_FEATURE_EDITING_WINCH 0 #define IF_FEATURE_EDITING_WINCH(...) #define IF_NOT_FEATURE_EDITING_WINCH(...) __VA_ARGS__ #undef CONFIG_FEATURE_EDITING_ASK_TERMINAL #define ENABLE_FEATURE_EDITING_ASK_TERMINAL 0 #define IF_FEATURE_EDITING_ASK_TERMINAL(...) #define IF_NOT_FEATURE_EDITING_ASK_TERMINAL(...) __VA_ARGS__ #undef CONFIG_LOCALE_SUPPORT #define ENABLE_LOCALE_SUPPORT 0 #define IF_LOCALE_SUPPORT(...) #define IF_NOT_LOCALE_SUPPORT(...) __VA_ARGS__ #undef CONFIG_UNICODE_SUPPORT #define ENABLE_UNICODE_SUPPORT 0 #define IF_UNICODE_SUPPORT(...) #define IF_NOT_UNICODE_SUPPORT(...) __VA_ARGS__ #undef CONFIG_UNICODE_USING_LOCALE #define ENABLE_UNICODE_USING_LOCALE 0 #define IF_UNICODE_USING_LOCALE(...) #define IF_NOT_UNICODE_USING_LOCALE(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHECK_UNICODE_IN_ENV #define ENABLE_FEATURE_CHECK_UNICODE_IN_ENV 0 #define IF_FEATURE_CHECK_UNICODE_IN_ENV(...) #define IF_NOT_FEATURE_CHECK_UNICODE_IN_ENV(...) __VA_ARGS__ #define CONFIG_SUBST_WCHAR 0 #define ENABLE_SUBST_WCHAR 1 #ifdef MAKE_SUID # define IF_SUBST_WCHAR(...) __VA_ARGS__ "CONFIG_SUBST_WCHAR" #else # define IF_SUBST_WCHAR(...) __VA_ARGS__ #endif #define IF_NOT_SUBST_WCHAR(...) #define CONFIG_LAST_SUPPORTED_WCHAR 0 #define ENABLE_LAST_SUPPORTED_WCHAR 1 #ifdef MAKE_SUID # define IF_LAST_SUPPORTED_WCHAR(...) __VA_ARGS__ "CONFIG_LAST_SUPPORTED_WCHAR" #else # define IF_LAST_SUPPORTED_WCHAR(...) __VA_ARGS__ #endif #define IF_NOT_LAST_SUPPORTED_WCHAR(...) #undef CONFIG_UNICODE_COMBINING_WCHARS #define ENABLE_UNICODE_COMBINING_WCHARS 0 #define IF_UNICODE_COMBINING_WCHARS(...) #define IF_NOT_UNICODE_COMBINING_WCHARS(...) __VA_ARGS__ #undef CONFIG_UNICODE_WIDE_WCHARS #define ENABLE_UNICODE_WIDE_WCHARS 0 #define IF_UNICODE_WIDE_WCHARS(...) #define IF_NOT_UNICODE_WIDE_WCHARS(...) __VA_ARGS__ #undef CONFIG_UNICODE_BIDI_SUPPORT #define ENABLE_UNICODE_BIDI_SUPPORT 0 #define IF_UNICODE_BIDI_SUPPORT(...) #define IF_NOT_UNICODE_BIDI_SUPPORT(...) __VA_ARGS__ #undef CONFIG_UNICODE_NEUTRAL_TABLE #define ENABLE_UNICODE_NEUTRAL_TABLE 0 #define IF_UNICODE_NEUTRAL_TABLE(...) #define IF_NOT_UNICODE_NEUTRAL_TABLE(...) __VA_ARGS__ #undef CONFIG_UNICODE_PRESERVE_BROKEN #define ENABLE_UNICODE_PRESERVE_BROKEN 0 #define IF_UNICODE_PRESERVE_BROKEN(...) #define IF_NOT_UNICODE_PRESERVE_BROKEN(...) __VA_ARGS__ #define CONFIG_FEATURE_NON_POSIX_CP 1 #define ENABLE_FEATURE_NON_POSIX_CP 1 #ifdef MAKE_SUID # define IF_FEATURE_NON_POSIX_CP(...) __VA_ARGS__ "CONFIG_FEATURE_NON_POSIX_CP" #else # define IF_FEATURE_NON_POSIX_CP(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_NON_POSIX_CP(...) #undef CONFIG_FEATURE_VERBOSE_CP_MESSAGE #define ENABLE_FEATURE_VERBOSE_CP_MESSAGE 0 #define IF_FEATURE_VERBOSE_CP_MESSAGE(...) #define IF_NOT_FEATURE_VERBOSE_CP_MESSAGE(...) __VA_ARGS__ #define CONFIG_FEATURE_USE_SENDFILE 1 #define ENABLE_FEATURE_USE_SENDFILE 1 #ifdef MAKE_SUID # define IF_FEATURE_USE_SENDFILE(...) __VA_ARGS__ "CONFIG_FEATURE_USE_SENDFILE" #else # define IF_FEATURE_USE_SENDFILE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_USE_SENDFILE(...) #define CONFIG_FEATURE_COPYBUF_KB 4 #define ENABLE_FEATURE_COPYBUF_KB 1 #ifdef MAKE_SUID # define IF_FEATURE_COPYBUF_KB(...) __VA_ARGS__ "CONFIG_FEATURE_COPYBUF_KB" #else # define IF_FEATURE_COPYBUF_KB(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_COPYBUF_KB(...) #undef CONFIG_FEATURE_SKIP_ROOTFS #define ENABLE_FEATURE_SKIP_ROOTFS 0 #define IF_FEATURE_SKIP_ROOTFS(...) #define IF_NOT_FEATURE_SKIP_ROOTFS(...) __VA_ARGS__ #undef CONFIG_MONOTONIC_SYSCALL #define ENABLE_MONOTONIC_SYSCALL 0 #define IF_MONOTONIC_SYSCALL(...) #define IF_NOT_MONOTONIC_SYSCALL(...) __VA_ARGS__ #define CONFIG_IOCTL_HEX2STR_ERROR 1 #define ENABLE_IOCTL_HEX2STR_ERROR 1 #ifdef MAKE_SUID # define IF_IOCTL_HEX2STR_ERROR(...) __VA_ARGS__ "CONFIG_IOCTL_HEX2STR_ERROR" #else # define IF_IOCTL_HEX2STR_ERROR(...) __VA_ARGS__ #endif #define IF_NOT_IOCTL_HEX2STR_ERROR(...) #undef CONFIG_FEATURE_HWIB #define ENABLE_FEATURE_HWIB 0 #define IF_FEATURE_HWIB(...) #define IF_NOT_FEATURE_HWIB(...) __VA_ARGS__ /* * Applets */ /* * Archival Utilities */ #undef CONFIG_FEATURE_SEAMLESS_XZ #define ENABLE_FEATURE_SEAMLESS_XZ 0 #define IF_FEATURE_SEAMLESS_XZ(...) #define IF_NOT_FEATURE_SEAMLESS_XZ(...) __VA_ARGS__ #undef CONFIG_FEATURE_SEAMLESS_LZMA #define ENABLE_FEATURE_SEAMLESS_LZMA 0 #define IF_FEATURE_SEAMLESS_LZMA(...) #define IF_NOT_FEATURE_SEAMLESS_LZMA(...) __VA_ARGS__ #undef CONFIG_FEATURE_SEAMLESS_BZ2 #define ENABLE_FEATURE_SEAMLESS_BZ2 0 #define IF_FEATURE_SEAMLESS_BZ2(...) #define IF_NOT_FEATURE_SEAMLESS_BZ2(...) __VA_ARGS__ #define CONFIG_FEATURE_SEAMLESS_GZ 1 #define ENABLE_FEATURE_SEAMLESS_GZ 1 #ifdef MAKE_SUID # define IF_FEATURE_SEAMLESS_GZ(...) __VA_ARGS__ "CONFIG_FEATURE_SEAMLESS_GZ" #else # define IF_FEATURE_SEAMLESS_GZ(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SEAMLESS_GZ(...) #undef CONFIG_FEATURE_SEAMLESS_Z #define ENABLE_FEATURE_SEAMLESS_Z 0 #define IF_FEATURE_SEAMLESS_Z(...) #define IF_NOT_FEATURE_SEAMLESS_Z(...) __VA_ARGS__ #undef CONFIG_AR #define ENABLE_AR 0 #define IF_AR(...) #define IF_NOT_AR(...) __VA_ARGS__ #undef CONFIG_FEATURE_AR_LONG_FILENAMES #define ENABLE_FEATURE_AR_LONG_FILENAMES 0 #define IF_FEATURE_AR_LONG_FILENAMES(...) #define IF_NOT_FEATURE_AR_LONG_FILENAMES(...) __VA_ARGS__ #undef CONFIG_FEATURE_AR_CREATE #define ENABLE_FEATURE_AR_CREATE 0 #define IF_FEATURE_AR_CREATE(...) #define IF_NOT_FEATURE_AR_CREATE(...) __VA_ARGS__ #undef CONFIG_UNCOMPRESS #define ENABLE_UNCOMPRESS 0 #define IF_UNCOMPRESS(...) #define IF_NOT_UNCOMPRESS(...) __VA_ARGS__ #define CONFIG_GUNZIP 1 #define ENABLE_GUNZIP 1 #ifdef MAKE_SUID # define IF_GUNZIP(...) __VA_ARGS__ "CONFIG_GUNZIP" #else # define IF_GUNZIP(...) __VA_ARGS__ #endif #define IF_NOT_GUNZIP(...) #define CONFIG_ZCAT 1 #define ENABLE_ZCAT 1 #ifdef MAKE_SUID # define IF_ZCAT(...) __VA_ARGS__ "CONFIG_ZCAT" #else # define IF_ZCAT(...) __VA_ARGS__ #endif #define IF_NOT_ZCAT(...) #undef CONFIG_FEATURE_GUNZIP_LONG_OPTIONS #define ENABLE_FEATURE_GUNZIP_LONG_OPTIONS 0 #define IF_FEATURE_GUNZIP_LONG_OPTIONS(...) #define IF_NOT_FEATURE_GUNZIP_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_BUNZIP2 1 #define ENABLE_BUNZIP2 1 #ifdef MAKE_SUID # define IF_BUNZIP2(...) __VA_ARGS__ "CONFIG_BUNZIP2" #else # define IF_BUNZIP2(...) __VA_ARGS__ #endif #define IF_NOT_BUNZIP2(...) #define CONFIG_BZCAT 1 #define ENABLE_BZCAT 1 #ifdef MAKE_SUID # define IF_BZCAT(...) __VA_ARGS__ "CONFIG_BZCAT" #else # define IF_BZCAT(...) __VA_ARGS__ #endif #define IF_NOT_BZCAT(...) #undef CONFIG_UNLZMA #define ENABLE_UNLZMA 0 #define IF_UNLZMA(...) #define IF_NOT_UNLZMA(...) __VA_ARGS__ #undef CONFIG_LZCAT #define ENABLE_LZCAT 0 #define IF_LZCAT(...) #define IF_NOT_LZCAT(...) __VA_ARGS__ #undef CONFIG_LZMA #define ENABLE_LZMA 0 #define IF_LZMA(...) #define IF_NOT_LZMA(...) __VA_ARGS__ #undef CONFIG_UNXZ #define ENABLE_UNXZ 0 #define IF_UNXZ(...) #define IF_NOT_UNXZ(...) __VA_ARGS__ #undef CONFIG_XZCAT #define ENABLE_XZCAT 0 #define IF_XZCAT(...) #define IF_NOT_XZCAT(...) __VA_ARGS__ #undef CONFIG_XZ #define ENABLE_XZ 0 #define IF_XZ(...) #define IF_NOT_XZ(...) __VA_ARGS__ #undef CONFIG_BZIP2 #define ENABLE_BZIP2 0 #define IF_BZIP2(...) #define IF_NOT_BZIP2(...) __VA_ARGS__ #define CONFIG_BZIP2_SMALL 0 #define ENABLE_BZIP2_SMALL 1 #ifdef MAKE_SUID # define IF_BZIP2_SMALL(...) __VA_ARGS__ "CONFIG_BZIP2_SMALL" #else # define IF_BZIP2_SMALL(...) __VA_ARGS__ #endif #define IF_NOT_BZIP2_SMALL(...) #define CONFIG_FEATURE_BZIP2_DECOMPRESS 1 #define ENABLE_FEATURE_BZIP2_DECOMPRESS 1 #ifdef MAKE_SUID # define IF_FEATURE_BZIP2_DECOMPRESS(...) __VA_ARGS__ "CONFIG_FEATURE_BZIP2_DECOMPRESS" #else # define IF_FEATURE_BZIP2_DECOMPRESS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BZIP2_DECOMPRESS(...) #undef CONFIG_CPIO #define ENABLE_CPIO 0 #define IF_CPIO(...) #define IF_NOT_CPIO(...) __VA_ARGS__ #undef CONFIG_FEATURE_CPIO_O #define ENABLE_FEATURE_CPIO_O 0 #define IF_FEATURE_CPIO_O(...) #define IF_NOT_FEATURE_CPIO_O(...) __VA_ARGS__ #undef CONFIG_FEATURE_CPIO_P #define ENABLE_FEATURE_CPIO_P 0 #define IF_FEATURE_CPIO_P(...) #define IF_NOT_FEATURE_CPIO_P(...) __VA_ARGS__ #undef CONFIG_DPKG #define ENABLE_DPKG 0 #define IF_DPKG(...) #define IF_NOT_DPKG(...) __VA_ARGS__ #undef CONFIG_DPKG_DEB #define ENABLE_DPKG_DEB 0 #define IF_DPKG_DEB(...) #define IF_NOT_DPKG_DEB(...) __VA_ARGS__ #define CONFIG_GZIP 1 #define ENABLE_GZIP 1 #ifdef MAKE_SUID # define IF_GZIP(...) __VA_ARGS__ "CONFIG_GZIP" #else # define IF_GZIP(...) __VA_ARGS__ #endif #define IF_NOT_GZIP(...) #undef CONFIG_FEATURE_GZIP_LONG_OPTIONS #define ENABLE_FEATURE_GZIP_LONG_OPTIONS 0 #define IF_FEATURE_GZIP_LONG_OPTIONS(...) #define IF_NOT_FEATURE_GZIP_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_GZIP_FAST 0 #define ENABLE_GZIP_FAST 1 #ifdef MAKE_SUID # define IF_GZIP_FAST(...) __VA_ARGS__ "CONFIG_GZIP_FAST" #else # define IF_GZIP_FAST(...) __VA_ARGS__ #endif #define IF_NOT_GZIP_FAST(...) #undef CONFIG_FEATURE_GZIP_LEVELS #define ENABLE_FEATURE_GZIP_LEVELS 0 #define IF_FEATURE_GZIP_LEVELS(...) #define IF_NOT_FEATURE_GZIP_LEVELS(...) __VA_ARGS__ #define CONFIG_FEATURE_GZIP_DECOMPRESS 1 #define ENABLE_FEATURE_GZIP_DECOMPRESS 1 #ifdef MAKE_SUID # define IF_FEATURE_GZIP_DECOMPRESS(...) __VA_ARGS__ "CONFIG_FEATURE_GZIP_DECOMPRESS" #else # define IF_FEATURE_GZIP_DECOMPRESS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_GZIP_DECOMPRESS(...) #undef CONFIG_LZOP #define ENABLE_LZOP 0 #define IF_LZOP(...) #define IF_NOT_LZOP(...) __VA_ARGS__ #undef CONFIG_UNLZOP #define ENABLE_UNLZOP 0 #define IF_UNLZOP(...) #define IF_NOT_UNLZOP(...) __VA_ARGS__ #undef CONFIG_LZOPCAT #define ENABLE_LZOPCAT 0 #define IF_LZOPCAT(...) #define IF_NOT_LZOPCAT(...) __VA_ARGS__ #undef CONFIG_LZOP_COMPR_HIGH #define ENABLE_LZOP_COMPR_HIGH 0 #define IF_LZOP_COMPR_HIGH(...) #define IF_NOT_LZOP_COMPR_HIGH(...) __VA_ARGS__ #undef CONFIG_RPM #define ENABLE_RPM 0 #define IF_RPM(...) #define IF_NOT_RPM(...) __VA_ARGS__ #undef CONFIG_RPM2CPIO #define ENABLE_RPM2CPIO 0 #define IF_RPM2CPIO(...) #define IF_NOT_RPM2CPIO(...) __VA_ARGS__ #define CONFIG_TAR 1 #define ENABLE_TAR 1 #ifdef MAKE_SUID # define IF_TAR(...) __VA_ARGS__ "CONFIG_TAR" #else # define IF_TAR(...) __VA_ARGS__ #endif #define IF_NOT_TAR(...) #undef CONFIG_FEATURE_TAR_LONG_OPTIONS #define ENABLE_FEATURE_TAR_LONG_OPTIONS 0 #define IF_FEATURE_TAR_LONG_OPTIONS(...) #define IF_NOT_FEATURE_TAR_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_FEATURE_TAR_CREATE 1 #define ENABLE_FEATURE_TAR_CREATE 1 #ifdef MAKE_SUID # define IF_FEATURE_TAR_CREATE(...) __VA_ARGS__ "CONFIG_FEATURE_TAR_CREATE" #else # define IF_FEATURE_TAR_CREATE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TAR_CREATE(...) #undef CONFIG_FEATURE_TAR_AUTODETECT #define ENABLE_FEATURE_TAR_AUTODETECT 0 #define IF_FEATURE_TAR_AUTODETECT(...) #define IF_NOT_FEATURE_TAR_AUTODETECT(...) __VA_ARGS__ #define CONFIG_FEATURE_TAR_FROM 1 #define ENABLE_FEATURE_TAR_FROM 1 #ifdef MAKE_SUID # define IF_FEATURE_TAR_FROM(...) __VA_ARGS__ "CONFIG_FEATURE_TAR_FROM" #else # define IF_FEATURE_TAR_FROM(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TAR_FROM(...) #undef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY #define ENABLE_FEATURE_TAR_OLDGNU_COMPATIBILITY 0 #define IF_FEATURE_TAR_OLDGNU_COMPATIBILITY(...) #define IF_NOT_FEATURE_TAR_OLDGNU_COMPATIBILITY(...) __VA_ARGS__ #undef CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY #define ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY 0 #define IF_FEATURE_TAR_OLDSUN_COMPATIBILITY(...) #define IF_NOT_FEATURE_TAR_OLDSUN_COMPATIBILITY(...) __VA_ARGS__ #define CONFIG_FEATURE_TAR_GNU_EXTENSIONS 1 #define ENABLE_FEATURE_TAR_GNU_EXTENSIONS 1 #ifdef MAKE_SUID # define IF_FEATURE_TAR_GNU_EXTENSIONS(...) __VA_ARGS__ "CONFIG_FEATURE_TAR_GNU_EXTENSIONS" #else # define IF_FEATURE_TAR_GNU_EXTENSIONS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TAR_GNU_EXTENSIONS(...) #undef CONFIG_FEATURE_TAR_TO_COMMAND #define ENABLE_FEATURE_TAR_TO_COMMAND 0 #define IF_FEATURE_TAR_TO_COMMAND(...) #define IF_NOT_FEATURE_TAR_TO_COMMAND(...) __VA_ARGS__ #undef CONFIG_FEATURE_TAR_UNAME_GNAME #define ENABLE_FEATURE_TAR_UNAME_GNAME 0 #define IF_FEATURE_TAR_UNAME_GNAME(...) #define IF_NOT_FEATURE_TAR_UNAME_GNAME(...) __VA_ARGS__ #undef CONFIG_FEATURE_TAR_NOPRESERVE_TIME #define ENABLE_FEATURE_TAR_NOPRESERVE_TIME 0 #define IF_FEATURE_TAR_NOPRESERVE_TIME(...) #define IF_NOT_FEATURE_TAR_NOPRESERVE_TIME(...) __VA_ARGS__ #undef CONFIG_FEATURE_TAR_SELINUX #define ENABLE_FEATURE_TAR_SELINUX 0 #define IF_FEATURE_TAR_SELINUX(...) #define IF_NOT_FEATURE_TAR_SELINUX(...) __VA_ARGS__ #undef CONFIG_UNZIP #define ENABLE_UNZIP 0 #define IF_UNZIP(...) #define IF_NOT_UNZIP(...) __VA_ARGS__ #undef CONFIG_FEATURE_UNZIP_CDF #define ENABLE_FEATURE_UNZIP_CDF 0 #define IF_FEATURE_UNZIP_CDF(...) #define IF_NOT_FEATURE_UNZIP_CDF(...) __VA_ARGS__ #undef CONFIG_FEATURE_UNZIP_BZIP2 #define ENABLE_FEATURE_UNZIP_BZIP2 0 #define IF_FEATURE_UNZIP_BZIP2(...) #define IF_NOT_FEATURE_UNZIP_BZIP2(...) __VA_ARGS__ #undef CONFIG_FEATURE_UNZIP_LZMA #define ENABLE_FEATURE_UNZIP_LZMA 0 #define IF_FEATURE_UNZIP_LZMA(...) #define IF_NOT_FEATURE_UNZIP_LZMA(...) __VA_ARGS__ #undef CONFIG_FEATURE_UNZIP_XZ #define ENABLE_FEATURE_UNZIP_XZ 0 #define IF_FEATURE_UNZIP_XZ(...) #define IF_NOT_FEATURE_UNZIP_XZ(...) __VA_ARGS__ #undef CONFIG_FEATURE_LZMA_FAST #define ENABLE_FEATURE_LZMA_FAST 0 #define IF_FEATURE_LZMA_FAST(...) #define IF_NOT_FEATURE_LZMA_FAST(...) __VA_ARGS__ /* * Coreutils */ #define CONFIG_BASENAME 1 #define ENABLE_BASENAME 1 #ifdef MAKE_SUID # define IF_BASENAME(...) __VA_ARGS__ "CONFIG_BASENAME" #else # define IF_BASENAME(...) __VA_ARGS__ #endif #define IF_NOT_BASENAME(...) #define CONFIG_CAT 1 #define ENABLE_CAT 1 #ifdef MAKE_SUID # define IF_CAT(...) __VA_ARGS__ "CONFIG_CAT" #else # define IF_CAT(...) __VA_ARGS__ #endif #define IF_NOT_CAT(...) #undef CONFIG_FEATURE_CATN #define ENABLE_FEATURE_CATN 0 #define IF_FEATURE_CATN(...) #define IF_NOT_FEATURE_CATN(...) __VA_ARGS__ #undef CONFIG_FEATURE_CATV #define ENABLE_FEATURE_CATV 0 #define IF_FEATURE_CATV(...) #define IF_NOT_FEATURE_CATV(...) __VA_ARGS__ #define CONFIG_CHGRP 1 #define ENABLE_CHGRP 1 #ifdef MAKE_SUID # define IF_CHGRP(...) __VA_ARGS__ "CONFIG_CHGRP" #else # define IF_CHGRP(...) __VA_ARGS__ #endif #define IF_NOT_CHGRP(...) #define CONFIG_CHMOD 1 #define ENABLE_CHMOD 1 #ifdef MAKE_SUID # define IF_CHMOD(...) __VA_ARGS__ "CONFIG_CHMOD" #else # define IF_CHMOD(...) __VA_ARGS__ #endif #define IF_NOT_CHMOD(...) #define CONFIG_CHOWN 1 #define ENABLE_CHOWN 1 #ifdef MAKE_SUID # define IF_CHOWN(...) __VA_ARGS__ "CONFIG_CHOWN" #else # define IF_CHOWN(...) __VA_ARGS__ #endif #define IF_NOT_CHOWN(...) #undef CONFIG_FEATURE_CHOWN_LONG_OPTIONS #define ENABLE_FEATURE_CHOWN_LONG_OPTIONS 0 #define IF_FEATURE_CHOWN_LONG_OPTIONS(...) #define IF_NOT_FEATURE_CHOWN_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_CHROOT 1 #define ENABLE_CHROOT 1 #ifdef MAKE_SUID # define IF_CHROOT(...) __VA_ARGS__ "CONFIG_CHROOT" #else # define IF_CHROOT(...) __VA_ARGS__ #endif #define IF_NOT_CHROOT(...) #undef CONFIG_CKSUM #define ENABLE_CKSUM 0 #define IF_CKSUM(...) #define IF_NOT_CKSUM(...) __VA_ARGS__ #undef CONFIG_COMM #define ENABLE_COMM 0 #define IF_COMM(...) #define IF_NOT_COMM(...) __VA_ARGS__ #define CONFIG_CP 1 #define ENABLE_CP 1 #ifdef MAKE_SUID # define IF_CP(...) __VA_ARGS__ "CONFIG_CP" #else # define IF_CP(...) __VA_ARGS__ #endif #define IF_NOT_CP(...) #undef CONFIG_FEATURE_CP_LONG_OPTIONS #define ENABLE_FEATURE_CP_LONG_OPTIONS 0 #define IF_FEATURE_CP_LONG_OPTIONS(...) #define IF_NOT_FEATURE_CP_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_CP_REFLINK #define ENABLE_FEATURE_CP_REFLINK 0 #define IF_FEATURE_CP_REFLINK(...) #define IF_NOT_FEATURE_CP_REFLINK(...) __VA_ARGS__ #define CONFIG_CUT 1 #define ENABLE_CUT 1 #ifdef MAKE_SUID # define IF_CUT(...) __VA_ARGS__ "CONFIG_CUT" #else # define IF_CUT(...) __VA_ARGS__ #endif #define IF_NOT_CUT(...) #define CONFIG_DATE 1 #define ENABLE_DATE 1 #ifdef MAKE_SUID # define IF_DATE(...) __VA_ARGS__ "CONFIG_DATE" #else # define IF_DATE(...) __VA_ARGS__ #endif #define IF_NOT_DATE(...) #define CONFIG_FEATURE_DATE_ISOFMT 1 #define ENABLE_FEATURE_DATE_ISOFMT 1 #ifdef MAKE_SUID # define IF_FEATURE_DATE_ISOFMT(...) __VA_ARGS__ "CONFIG_FEATURE_DATE_ISOFMT" #else # define IF_FEATURE_DATE_ISOFMT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DATE_ISOFMT(...) #undef CONFIG_FEATURE_DATE_NANO #define ENABLE_FEATURE_DATE_NANO 0 #define IF_FEATURE_DATE_NANO(...) #define IF_NOT_FEATURE_DATE_NANO(...) __VA_ARGS__ #undef CONFIG_FEATURE_DATE_COMPAT #define ENABLE_FEATURE_DATE_COMPAT 0 #define IF_FEATURE_DATE_COMPAT(...) #define IF_NOT_FEATURE_DATE_COMPAT(...) __VA_ARGS__ #define CONFIG_DD 1 #define ENABLE_DD 1 #ifdef MAKE_SUID # define IF_DD(...) __VA_ARGS__ "CONFIG_DD" #else # define IF_DD(...) __VA_ARGS__ #endif #define IF_NOT_DD(...) #define CONFIG_FEATURE_DD_SIGNAL_HANDLING 1 #define ENABLE_FEATURE_DD_SIGNAL_HANDLING 1 #ifdef MAKE_SUID # define IF_FEATURE_DD_SIGNAL_HANDLING(...) __VA_ARGS__ "CONFIG_FEATURE_DD_SIGNAL_HANDLING" #else # define IF_FEATURE_DD_SIGNAL_HANDLING(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DD_SIGNAL_HANDLING(...) #undef CONFIG_FEATURE_DD_THIRD_STATUS_LINE #define ENABLE_FEATURE_DD_THIRD_STATUS_LINE 0 #define IF_FEATURE_DD_THIRD_STATUS_LINE(...) #define IF_NOT_FEATURE_DD_THIRD_STATUS_LINE(...) __VA_ARGS__ #define CONFIG_FEATURE_DD_IBS_OBS 1 #define ENABLE_FEATURE_DD_IBS_OBS 1 #ifdef MAKE_SUID # define IF_FEATURE_DD_IBS_OBS(...) __VA_ARGS__ "CONFIG_FEATURE_DD_IBS_OBS" #else # define IF_FEATURE_DD_IBS_OBS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DD_IBS_OBS(...) #undef CONFIG_FEATURE_DD_STATUS #define ENABLE_FEATURE_DD_STATUS 0 #define IF_FEATURE_DD_STATUS(...) #define IF_NOT_FEATURE_DD_STATUS(...) __VA_ARGS__ #define CONFIG_DF 1 #define ENABLE_DF 1 #ifdef MAKE_SUID # define IF_DF(...) __VA_ARGS__ "CONFIG_DF" #else # define IF_DF(...) __VA_ARGS__ #endif #define IF_NOT_DF(...) #undef CONFIG_FEATURE_DF_FANCY #define ENABLE_FEATURE_DF_FANCY 0 #define IF_FEATURE_DF_FANCY(...) #define IF_NOT_FEATURE_DF_FANCY(...) __VA_ARGS__ #define CONFIG_DIRNAME 1 #define ENABLE_DIRNAME 1 #ifdef MAKE_SUID # define IF_DIRNAME(...) __VA_ARGS__ "CONFIG_DIRNAME" #else # define IF_DIRNAME(...) __VA_ARGS__ #endif #define IF_NOT_DIRNAME(...) #undef CONFIG_DOS2UNIX #define ENABLE_DOS2UNIX 0 #define IF_DOS2UNIX(...) #define IF_NOT_DOS2UNIX(...) __VA_ARGS__ #undef CONFIG_UNIX2DOS #define ENABLE_UNIX2DOS 0 #define IF_UNIX2DOS(...) #define IF_NOT_UNIX2DOS(...) __VA_ARGS__ #define CONFIG_DU 1 #define ENABLE_DU 1 #ifdef MAKE_SUID # define IF_DU(...) __VA_ARGS__ "CONFIG_DU" #else # define IF_DU(...) __VA_ARGS__ #endif #define IF_NOT_DU(...) #define CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K 1 #define ENABLE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K 1 #ifdef MAKE_SUID # define IF_FEATURE_DU_DEFAULT_BLOCKSIZE_1K(...) __VA_ARGS__ "CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K" #else # define IF_FEATURE_DU_DEFAULT_BLOCKSIZE_1K(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K(...) #define CONFIG_ECHO 1 #define ENABLE_ECHO 1 #ifdef MAKE_SUID # define IF_ECHO(...) __VA_ARGS__ "CONFIG_ECHO" #else # define IF_ECHO(...) __VA_ARGS__ #endif #define IF_NOT_ECHO(...) #define CONFIG_FEATURE_FANCY_ECHO 1 #define ENABLE_FEATURE_FANCY_ECHO 1 #ifdef MAKE_SUID # define IF_FEATURE_FANCY_ECHO(...) __VA_ARGS__ "CONFIG_FEATURE_FANCY_ECHO" #else # define IF_FEATURE_FANCY_ECHO(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FANCY_ECHO(...) #define CONFIG_ENV 1 #define ENABLE_ENV 1 #ifdef MAKE_SUID # define IF_ENV(...) __VA_ARGS__ "CONFIG_ENV" #else # define IF_ENV(...) __VA_ARGS__ #endif #define IF_NOT_ENV(...) #undef CONFIG_EXPAND #define ENABLE_EXPAND 0 #define IF_EXPAND(...) #define IF_NOT_EXPAND(...) __VA_ARGS__ #undef CONFIG_UNEXPAND #define ENABLE_UNEXPAND 0 #define IF_UNEXPAND(...) #define IF_NOT_UNEXPAND(...) __VA_ARGS__ #define CONFIG_EXPR 1 #define ENABLE_EXPR 1 #ifdef MAKE_SUID # define IF_EXPR(...) __VA_ARGS__ "CONFIG_EXPR" #else # define IF_EXPR(...) __VA_ARGS__ #endif #define IF_NOT_EXPR(...) #define CONFIG_EXPR_MATH_SUPPORT_64 1 #define ENABLE_EXPR_MATH_SUPPORT_64 1 #ifdef MAKE_SUID # define IF_EXPR_MATH_SUPPORT_64(...) __VA_ARGS__ "CONFIG_EXPR_MATH_SUPPORT_64" #else # define IF_EXPR_MATH_SUPPORT_64(...) __VA_ARGS__ #endif #define IF_NOT_EXPR_MATH_SUPPORT_64(...) #undef CONFIG_FACTOR #define ENABLE_FACTOR 0 #define IF_FACTOR(...) #define IF_NOT_FACTOR(...) __VA_ARGS__ #define CONFIG_FALSE 1 #define ENABLE_FALSE 1 #ifdef MAKE_SUID # define IF_FALSE(...) __VA_ARGS__ "CONFIG_FALSE" #else # define IF_FALSE(...) __VA_ARGS__ #endif #define IF_NOT_FALSE(...) #undef CONFIG_FOLD #define ENABLE_FOLD 0 #define IF_FOLD(...) #define IF_NOT_FOLD(...) __VA_ARGS__ #define CONFIG_FSYNC 1 #define ENABLE_FSYNC 1 #ifdef MAKE_SUID # define IF_FSYNC(...) __VA_ARGS__ "CONFIG_FSYNC" #else # define IF_FSYNC(...) __VA_ARGS__ #endif #define IF_NOT_FSYNC(...) #define CONFIG_HEAD 1 #define ENABLE_HEAD 1 #ifdef MAKE_SUID # define IF_HEAD(...) __VA_ARGS__ "CONFIG_HEAD" #else # define IF_HEAD(...) __VA_ARGS__ #endif #define IF_NOT_HEAD(...) #define CONFIG_FEATURE_FANCY_HEAD 1 #define ENABLE_FEATURE_FANCY_HEAD 1 #ifdef MAKE_SUID # define IF_FEATURE_FANCY_HEAD(...) __VA_ARGS__ "CONFIG_FEATURE_FANCY_HEAD" #else # define IF_FEATURE_FANCY_HEAD(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FANCY_HEAD(...) #undef CONFIG_HOSTID #define ENABLE_HOSTID 0 #define IF_HOSTID(...) #define IF_NOT_HOSTID(...) __VA_ARGS__ #define CONFIG_ID 1 #define ENABLE_ID 1 #ifdef MAKE_SUID # define IF_ID(...) __VA_ARGS__ "CONFIG_ID" #else # define IF_ID(...) __VA_ARGS__ #endif #define IF_NOT_ID(...) #undef CONFIG_GROUPS #define ENABLE_GROUPS 0 #define IF_GROUPS(...) #define IF_NOT_GROUPS(...) __VA_ARGS__ #undef CONFIG_INSTALL #define ENABLE_INSTALL 0 #define IF_INSTALL(...) #define IF_NOT_INSTALL(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSTALL_LONG_OPTIONS #define ENABLE_FEATURE_INSTALL_LONG_OPTIONS 0 #define IF_FEATURE_INSTALL_LONG_OPTIONS(...) #define IF_NOT_FEATURE_INSTALL_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_LINK #define ENABLE_LINK 0 #define IF_LINK(...) #define IF_NOT_LINK(...) __VA_ARGS__ #define CONFIG_LN 1 #define ENABLE_LN 1 #ifdef MAKE_SUID # define IF_LN(...) __VA_ARGS__ "CONFIG_LN" #else # define IF_LN(...) __VA_ARGS__ #endif #define IF_NOT_LN(...) #undef CONFIG_LOGNAME #define ENABLE_LOGNAME 0 #define IF_LOGNAME(...) #define IF_NOT_LOGNAME(...) __VA_ARGS__ #define CONFIG_LS 1 #define ENABLE_LS 1 #ifdef MAKE_SUID # define IF_LS(...) __VA_ARGS__ "CONFIG_LS" #else # define IF_LS(...) __VA_ARGS__ #endif #define IF_NOT_LS(...) #define CONFIG_FEATURE_LS_FILETYPES 1 #define ENABLE_FEATURE_LS_FILETYPES 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_FILETYPES(...) __VA_ARGS__ "CONFIG_FEATURE_LS_FILETYPES" #else # define IF_FEATURE_LS_FILETYPES(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_FILETYPES(...) #define CONFIG_FEATURE_LS_FOLLOWLINKS 1 #define ENABLE_FEATURE_LS_FOLLOWLINKS 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_FOLLOWLINKS(...) __VA_ARGS__ "CONFIG_FEATURE_LS_FOLLOWLINKS" #else # define IF_FEATURE_LS_FOLLOWLINKS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_FOLLOWLINKS(...) #define CONFIG_FEATURE_LS_RECURSIVE 1 #define ENABLE_FEATURE_LS_RECURSIVE 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_RECURSIVE(...) __VA_ARGS__ "CONFIG_FEATURE_LS_RECURSIVE" #else # define IF_FEATURE_LS_RECURSIVE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_RECURSIVE(...) #define CONFIG_FEATURE_LS_WIDTH 1 #define ENABLE_FEATURE_LS_WIDTH 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_WIDTH(...) __VA_ARGS__ "CONFIG_FEATURE_LS_WIDTH" #else # define IF_FEATURE_LS_WIDTH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_WIDTH(...) #define CONFIG_FEATURE_LS_SORTFILES 1 #define ENABLE_FEATURE_LS_SORTFILES 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_SORTFILES(...) __VA_ARGS__ "CONFIG_FEATURE_LS_SORTFILES" #else # define IF_FEATURE_LS_SORTFILES(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_SORTFILES(...) #define CONFIG_FEATURE_LS_TIMESTAMPS 1 #define ENABLE_FEATURE_LS_TIMESTAMPS 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_TIMESTAMPS(...) __VA_ARGS__ "CONFIG_FEATURE_LS_TIMESTAMPS" #else # define IF_FEATURE_LS_TIMESTAMPS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_TIMESTAMPS(...) #define CONFIG_FEATURE_LS_USERNAME 1 #define ENABLE_FEATURE_LS_USERNAME 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_USERNAME(...) __VA_ARGS__ "CONFIG_FEATURE_LS_USERNAME" #else # define IF_FEATURE_LS_USERNAME(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_USERNAME(...) #define CONFIG_FEATURE_LS_COLOR 1 #define ENABLE_FEATURE_LS_COLOR 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_COLOR(...) __VA_ARGS__ "CONFIG_FEATURE_LS_COLOR" #else # define IF_FEATURE_LS_COLOR(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_COLOR(...) #define CONFIG_FEATURE_LS_COLOR_IS_DEFAULT 1 #define ENABLE_FEATURE_LS_COLOR_IS_DEFAULT 1 #ifdef MAKE_SUID # define IF_FEATURE_LS_COLOR_IS_DEFAULT(...) __VA_ARGS__ "CONFIG_FEATURE_LS_COLOR_IS_DEFAULT" #else # define IF_FEATURE_LS_COLOR_IS_DEFAULT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LS_COLOR_IS_DEFAULT(...) #define CONFIG_MD5SUM 1 #define ENABLE_MD5SUM 1 #ifdef MAKE_SUID # define IF_MD5SUM(...) __VA_ARGS__ "CONFIG_MD5SUM" #else # define IF_MD5SUM(...) __VA_ARGS__ #endif #define IF_NOT_MD5SUM(...) #undef CONFIG_SHA1SUM #define ENABLE_SHA1SUM 0 #define IF_SHA1SUM(...) #define IF_NOT_SHA1SUM(...) __VA_ARGS__ #define CONFIG_SHA256SUM 1 #define ENABLE_SHA256SUM 1 #ifdef MAKE_SUID # define IF_SHA256SUM(...) __VA_ARGS__ "CONFIG_SHA256SUM" #else # define IF_SHA256SUM(...) __VA_ARGS__ #endif #define IF_NOT_SHA256SUM(...) #undef CONFIG_SHA512SUM #define ENABLE_SHA512SUM 0 #define IF_SHA512SUM(...) #define IF_NOT_SHA512SUM(...) __VA_ARGS__ #undef CONFIG_SHA3SUM #define ENABLE_SHA3SUM 0 #define IF_SHA3SUM(...) #define IF_NOT_SHA3SUM(...) __VA_ARGS__ /* * Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum */ #define CONFIG_FEATURE_MD5_SHA1_SUM_CHECK 1 #define ENABLE_FEATURE_MD5_SHA1_SUM_CHECK 1 #ifdef MAKE_SUID # define IF_FEATURE_MD5_SHA1_SUM_CHECK(...) __VA_ARGS__ "CONFIG_FEATURE_MD5_SHA1_SUM_CHECK" #else # define IF_FEATURE_MD5_SHA1_SUM_CHECK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MD5_SHA1_SUM_CHECK(...) #define CONFIG_MKDIR 1 #define ENABLE_MKDIR 1 #ifdef MAKE_SUID # define IF_MKDIR(...) __VA_ARGS__ "CONFIG_MKDIR" #else # define IF_MKDIR(...) __VA_ARGS__ #endif #define IF_NOT_MKDIR(...) #define CONFIG_MKFIFO 1 #define ENABLE_MKFIFO 1 #ifdef MAKE_SUID # define IF_MKFIFO(...) __VA_ARGS__ "CONFIG_MKFIFO" #else # define IF_MKFIFO(...) __VA_ARGS__ #endif #define IF_NOT_MKFIFO(...) #define CONFIG_MKNOD 1 #define ENABLE_MKNOD 1 #ifdef MAKE_SUID # define IF_MKNOD(...) __VA_ARGS__ "CONFIG_MKNOD" #else # define IF_MKNOD(...) __VA_ARGS__ #endif #define IF_NOT_MKNOD(...) #define CONFIG_MKTEMP 1 #define ENABLE_MKTEMP 1 #ifdef MAKE_SUID # define IF_MKTEMP(...) __VA_ARGS__ "CONFIG_MKTEMP" #else # define IF_MKTEMP(...) __VA_ARGS__ #endif #define IF_NOT_MKTEMP(...) #define CONFIG_MV 1 #define ENABLE_MV 1 #ifdef MAKE_SUID # define IF_MV(...) __VA_ARGS__ "CONFIG_MV" #else # define IF_MV(...) __VA_ARGS__ #endif #define IF_NOT_MV(...) #define CONFIG_NICE 1 #define ENABLE_NICE 1 #ifdef MAKE_SUID # define IF_NICE(...) __VA_ARGS__ "CONFIG_NICE" #else # define IF_NICE(...) __VA_ARGS__ #endif #define IF_NOT_NICE(...) #undef CONFIG_NL #define ENABLE_NL 0 #define IF_NL(...) #define IF_NOT_NL(...) __VA_ARGS__ #undef CONFIG_NOHUP #define ENABLE_NOHUP 0 #define IF_NOHUP(...) #define IF_NOT_NOHUP(...) __VA_ARGS__ #undef CONFIG_NPROC #define ENABLE_NPROC 0 #define IF_NPROC(...) #define IF_NOT_NPROC(...) __VA_ARGS__ #undef CONFIG_OD #define ENABLE_OD 0 #define IF_OD(...) #define IF_NOT_OD(...) __VA_ARGS__ #undef CONFIG_PASTE #define ENABLE_PASTE 0 #define IF_PASTE(...) #define IF_NOT_PASTE(...) __VA_ARGS__ #undef CONFIG_PRINTENV #define ENABLE_PRINTENV 0 #define IF_PRINTENV(...) #define IF_NOT_PRINTENV(...) __VA_ARGS__ #define CONFIG_PRINTF 1 #define ENABLE_PRINTF 1 #ifdef MAKE_SUID # define IF_PRINTF(...) __VA_ARGS__ "CONFIG_PRINTF" #else # define IF_PRINTF(...) __VA_ARGS__ #endif #define IF_NOT_PRINTF(...) #define CONFIG_PWD 1 #define ENABLE_PWD 1 #ifdef MAKE_SUID # define IF_PWD(...) __VA_ARGS__ "CONFIG_PWD" #else # define IF_PWD(...) __VA_ARGS__ #endif #define IF_NOT_PWD(...) #define CONFIG_READLINK 1 #define ENABLE_READLINK 1 #ifdef MAKE_SUID # define IF_READLINK(...) __VA_ARGS__ "CONFIG_READLINK" #else # define IF_READLINK(...) __VA_ARGS__ #endif #define IF_NOT_READLINK(...) #define CONFIG_FEATURE_READLINK_FOLLOW 1 #define ENABLE_FEATURE_READLINK_FOLLOW 1 #ifdef MAKE_SUID # define IF_FEATURE_READLINK_FOLLOW(...) __VA_ARGS__ "CONFIG_FEATURE_READLINK_FOLLOW" #else # define IF_FEATURE_READLINK_FOLLOW(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_READLINK_FOLLOW(...) #undef CONFIG_REALPATH #define ENABLE_REALPATH 0 #define IF_REALPATH(...) #define IF_NOT_REALPATH(...) __VA_ARGS__ #define CONFIG_RM 1 #define ENABLE_RM 1 #ifdef MAKE_SUID # define IF_RM(...) __VA_ARGS__ "CONFIG_RM" #else # define IF_RM(...) __VA_ARGS__ #endif #define IF_NOT_RM(...) #define CONFIG_RMDIR 1 #define ENABLE_RMDIR 1 #ifdef MAKE_SUID # define IF_RMDIR(...) __VA_ARGS__ "CONFIG_RMDIR" #else # define IF_RMDIR(...) __VA_ARGS__ #endif #define IF_NOT_RMDIR(...) #define CONFIG_SEQ 1 #define ENABLE_SEQ 1 #ifdef MAKE_SUID # define IF_SEQ(...) __VA_ARGS__ "CONFIG_SEQ" #else # define IF_SEQ(...) __VA_ARGS__ #endif #define IF_NOT_SEQ(...) #undef CONFIG_SHRED #define ENABLE_SHRED 0 #define IF_SHRED(...) #define IF_NOT_SHRED(...) __VA_ARGS__ #undef CONFIG_SHUF #define ENABLE_SHUF 0 #define IF_SHUF(...) #define IF_NOT_SHUF(...) __VA_ARGS__ #define CONFIG_SLEEP 1 #define ENABLE_SLEEP 1 #ifdef MAKE_SUID # define IF_SLEEP(...) __VA_ARGS__ "CONFIG_SLEEP" #else # define IF_SLEEP(...) __VA_ARGS__ #endif #define IF_NOT_SLEEP(...) #define CONFIG_FEATURE_FANCY_SLEEP 1 #define ENABLE_FEATURE_FANCY_SLEEP 1 #ifdef MAKE_SUID # define IF_FEATURE_FANCY_SLEEP(...) __VA_ARGS__ "CONFIG_FEATURE_FANCY_SLEEP" #else # define IF_FEATURE_FANCY_SLEEP(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FANCY_SLEEP(...) #define CONFIG_SORT 1 #define ENABLE_SORT 1 #ifdef MAKE_SUID # define IF_SORT(...) __VA_ARGS__ "CONFIG_SORT" #else # define IF_SORT(...) __VA_ARGS__ #endif #define IF_NOT_SORT(...) #undef CONFIG_FEATURE_SORT_BIG #define ENABLE_FEATURE_SORT_BIG 0 #define IF_FEATURE_SORT_BIG(...) #define IF_NOT_FEATURE_SORT_BIG(...) __VA_ARGS__ #undef CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY #define ENABLE_FEATURE_SORT_OPTIMIZE_MEMORY 0 #define IF_FEATURE_SORT_OPTIMIZE_MEMORY(...) #define IF_NOT_FEATURE_SORT_OPTIMIZE_MEMORY(...) __VA_ARGS__ #undef CONFIG_SPLIT #define ENABLE_SPLIT 0 #define IF_SPLIT(...) #define IF_NOT_SPLIT(...) __VA_ARGS__ #undef CONFIG_FEATURE_SPLIT_FANCY #define ENABLE_FEATURE_SPLIT_FANCY 0 #define IF_FEATURE_SPLIT_FANCY(...) #define IF_NOT_FEATURE_SPLIT_FANCY(...) __VA_ARGS__ #undef CONFIG_STAT #define ENABLE_STAT 0 #define IF_STAT(...) #define IF_NOT_STAT(...) __VA_ARGS__ #undef CONFIG_FEATURE_STAT_FORMAT #define ENABLE_FEATURE_STAT_FORMAT 0 #define IF_FEATURE_STAT_FORMAT(...) #define IF_NOT_FEATURE_STAT_FORMAT(...) __VA_ARGS__ #undef CONFIG_FEATURE_STAT_FILESYSTEM #define ENABLE_FEATURE_STAT_FILESYSTEM 0 #define IF_FEATURE_STAT_FILESYSTEM(...) #define IF_NOT_FEATURE_STAT_FILESYSTEM(...) __VA_ARGS__ #undef CONFIG_STTY #define ENABLE_STTY 0 #define IF_STTY(...) #define IF_NOT_STTY(...) __VA_ARGS__ #undef CONFIG_SUM #define ENABLE_SUM 0 #define IF_SUM(...) #define IF_NOT_SUM(...) __VA_ARGS__ #define CONFIG_SYNC 1 #define ENABLE_SYNC 1 #ifdef MAKE_SUID # define IF_SYNC(...) __VA_ARGS__ "CONFIG_SYNC" #else # define IF_SYNC(...) __VA_ARGS__ #endif #define IF_NOT_SYNC(...) #undef CONFIG_FEATURE_SYNC_FANCY #define ENABLE_FEATURE_SYNC_FANCY 0 #define IF_FEATURE_SYNC_FANCY(...) #define IF_NOT_FEATURE_SYNC_FANCY(...) __VA_ARGS__ #undef CONFIG_TAC #define ENABLE_TAC 0 #define IF_TAC(...) #define IF_NOT_TAC(...) __VA_ARGS__ #define CONFIG_TAIL 1 #define ENABLE_TAIL 1 #ifdef MAKE_SUID # define IF_TAIL(...) __VA_ARGS__ "CONFIG_TAIL" #else # define IF_TAIL(...) __VA_ARGS__ #endif #define IF_NOT_TAIL(...) #define CONFIG_FEATURE_FANCY_TAIL 1 #define ENABLE_FEATURE_FANCY_TAIL 1 #ifdef MAKE_SUID # define IF_FEATURE_FANCY_TAIL(...) __VA_ARGS__ "CONFIG_FEATURE_FANCY_TAIL" #else # define IF_FEATURE_FANCY_TAIL(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FANCY_TAIL(...) #define CONFIG_TEE 1 #define ENABLE_TEE 1 #ifdef MAKE_SUID # define IF_TEE(...) __VA_ARGS__ "CONFIG_TEE" #else # define IF_TEE(...) __VA_ARGS__ #endif #define IF_NOT_TEE(...) #define CONFIG_FEATURE_TEE_USE_BLOCK_IO 1 #define ENABLE_FEATURE_TEE_USE_BLOCK_IO 1 #ifdef MAKE_SUID # define IF_FEATURE_TEE_USE_BLOCK_IO(...) __VA_ARGS__ "CONFIG_FEATURE_TEE_USE_BLOCK_IO" #else # define IF_FEATURE_TEE_USE_BLOCK_IO(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TEE_USE_BLOCK_IO(...) #define CONFIG_TEST 1 #define ENABLE_TEST 1 #ifdef MAKE_SUID # define IF_TEST(...) __VA_ARGS__ "CONFIG_TEST" #else # define IF_TEST(...) __VA_ARGS__ #endif #define IF_NOT_TEST(...) #define CONFIG_TEST1 1 #define ENABLE_TEST1 1 #ifdef MAKE_SUID # define IF_TEST1(...) __VA_ARGS__ "CONFIG_TEST1" #else # define IF_TEST1(...) __VA_ARGS__ #endif #define IF_NOT_TEST1(...) #define CONFIG_TEST2 1 #define ENABLE_TEST2 1 #ifdef MAKE_SUID # define IF_TEST2(...) __VA_ARGS__ "CONFIG_TEST2" #else # define IF_TEST2(...) __VA_ARGS__ #endif #define IF_NOT_TEST2(...) #define CONFIG_FEATURE_TEST_64 1 #define ENABLE_FEATURE_TEST_64 1 #ifdef MAKE_SUID # define IF_FEATURE_TEST_64(...) __VA_ARGS__ "CONFIG_FEATURE_TEST_64" #else # define IF_FEATURE_TEST_64(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TEST_64(...) #undef CONFIG_TIMEOUT #define ENABLE_TIMEOUT 0 #define IF_TIMEOUT(...) #define IF_NOT_TIMEOUT(...) __VA_ARGS__ #define CONFIG_TOUCH 1 #define ENABLE_TOUCH 1 #ifdef MAKE_SUID # define IF_TOUCH(...) __VA_ARGS__ "CONFIG_TOUCH" #else # define IF_TOUCH(...) __VA_ARGS__ #endif #define IF_NOT_TOUCH(...) #undef CONFIG_FEATURE_TOUCH_NODEREF #define ENABLE_FEATURE_TOUCH_NODEREF 0 #define IF_FEATURE_TOUCH_NODEREF(...) #define IF_NOT_FEATURE_TOUCH_NODEREF(...) __VA_ARGS__ #define CONFIG_FEATURE_TOUCH_SUSV3 1 #define ENABLE_FEATURE_TOUCH_SUSV3 1 #ifdef MAKE_SUID # define IF_FEATURE_TOUCH_SUSV3(...) __VA_ARGS__ "CONFIG_FEATURE_TOUCH_SUSV3" #else # define IF_FEATURE_TOUCH_SUSV3(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TOUCH_SUSV3(...) #define CONFIG_TR 1 #define ENABLE_TR 1 #ifdef MAKE_SUID # define IF_TR(...) __VA_ARGS__ "CONFIG_TR" #else # define IF_TR(...) __VA_ARGS__ #endif #define IF_NOT_TR(...) #undef CONFIG_FEATURE_TR_CLASSES #define ENABLE_FEATURE_TR_CLASSES 0 #define IF_FEATURE_TR_CLASSES(...) #define IF_NOT_FEATURE_TR_CLASSES(...) __VA_ARGS__ #undef CONFIG_FEATURE_TR_EQUIV #define ENABLE_FEATURE_TR_EQUIV 0 #define IF_FEATURE_TR_EQUIV(...) #define IF_NOT_FEATURE_TR_EQUIV(...) __VA_ARGS__ #define CONFIG_TRUE 1 #define ENABLE_TRUE 1 #ifdef MAKE_SUID # define IF_TRUE(...) __VA_ARGS__ "CONFIG_TRUE" #else # define IF_TRUE(...) __VA_ARGS__ #endif #define IF_NOT_TRUE(...) #undef CONFIG_TRUNCATE #define ENABLE_TRUNCATE 0 #define IF_TRUNCATE(...) #define IF_NOT_TRUNCATE(...) __VA_ARGS__ #undef CONFIG_TTY #define ENABLE_TTY 0 #define IF_TTY(...) #define IF_NOT_TTY(...) __VA_ARGS__ #define CONFIG_UNAME 1 #define ENABLE_UNAME 1 #ifdef MAKE_SUID # define IF_UNAME(...) __VA_ARGS__ "CONFIG_UNAME" #else # define IF_UNAME(...) __VA_ARGS__ #endif #define IF_NOT_UNAME(...) #define CONFIG_UNAME_OSNAME "GNU/Linux" #define ENABLE_UNAME_OSNAME 1 #ifdef MAKE_SUID # define IF_UNAME_OSNAME(...) __VA_ARGS__ "CONFIG_UNAME_OSNAME" #else # define IF_UNAME_OSNAME(...) __VA_ARGS__ #endif #define IF_NOT_UNAME_OSNAME(...) #undef CONFIG_BB_ARCH #define ENABLE_BB_ARCH 0 #define IF_BB_ARCH(...) #define IF_NOT_BB_ARCH(...) __VA_ARGS__ #define CONFIG_UNIQ 1 #define ENABLE_UNIQ 1 #ifdef MAKE_SUID # define IF_UNIQ(...) __VA_ARGS__ "CONFIG_UNIQ" #else # define IF_UNIQ(...) __VA_ARGS__ #endif #define IF_NOT_UNIQ(...) #undef CONFIG_UNLINK #define ENABLE_UNLINK 0 #define IF_UNLINK(...) #define IF_NOT_UNLINK(...) __VA_ARGS__ #undef CONFIG_USLEEP #define ENABLE_USLEEP 0 #define IF_USLEEP(...) #define IF_NOT_USLEEP(...) __VA_ARGS__ #undef CONFIG_UUDECODE #define ENABLE_UUDECODE 0 #define IF_UUDECODE(...) #define IF_NOT_UUDECODE(...) __VA_ARGS__ #undef CONFIG_BASE64 #define ENABLE_BASE64 0 #define IF_BASE64(...) #define IF_NOT_BASE64(...) __VA_ARGS__ #undef CONFIG_UUENCODE #define ENABLE_UUENCODE 0 #define IF_UUENCODE(...) #define IF_NOT_UUENCODE(...) __VA_ARGS__ #define CONFIG_WC 1 #define ENABLE_WC 1 #ifdef MAKE_SUID # define IF_WC(...) __VA_ARGS__ "CONFIG_WC" #else # define IF_WC(...) __VA_ARGS__ #endif #define IF_NOT_WC(...) #undef CONFIG_FEATURE_WC_LARGE #define ENABLE_FEATURE_WC_LARGE 0 #define IF_FEATURE_WC_LARGE(...) #define IF_NOT_FEATURE_WC_LARGE(...) __VA_ARGS__ #undef CONFIG_WHO #define ENABLE_WHO 0 #define IF_WHO(...) #define IF_NOT_WHO(...) __VA_ARGS__ #undef CONFIG_W #define ENABLE_W 0 #define IF_W(...) #define IF_NOT_W(...) __VA_ARGS__ #undef CONFIG_USERS #define ENABLE_USERS 0 #define IF_USERS(...) #define IF_NOT_USERS(...) __VA_ARGS__ #undef CONFIG_WHOAMI #define ENABLE_WHOAMI 0 #define IF_WHOAMI(...) #define IF_NOT_WHOAMI(...) __VA_ARGS__ #define CONFIG_YES 1 #define ENABLE_YES 1 #ifdef MAKE_SUID # define IF_YES(...) __VA_ARGS__ "CONFIG_YES" #else # define IF_YES(...) __VA_ARGS__ #endif #define IF_NOT_YES(...) /* * Common options */ #undef CONFIG_FEATURE_VERBOSE #define ENABLE_FEATURE_VERBOSE 0 #define IF_FEATURE_VERBOSE(...) #define IF_NOT_FEATURE_VERBOSE(...) __VA_ARGS__ /* * Common options for cp and mv */ #define CONFIG_FEATURE_PRESERVE_HARDLINKS 1 #define ENABLE_FEATURE_PRESERVE_HARDLINKS 1 #ifdef MAKE_SUID # define IF_FEATURE_PRESERVE_HARDLINKS(...) __VA_ARGS__ "CONFIG_FEATURE_PRESERVE_HARDLINKS" #else # define IF_FEATURE_PRESERVE_HARDLINKS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PRESERVE_HARDLINKS(...) /* * Common options for df, du, ls */ #define CONFIG_FEATURE_HUMAN_READABLE 1 #define ENABLE_FEATURE_HUMAN_READABLE 1 #ifdef MAKE_SUID # define IF_FEATURE_HUMAN_READABLE(...) __VA_ARGS__ "CONFIG_FEATURE_HUMAN_READABLE" #else # define IF_FEATURE_HUMAN_READABLE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_HUMAN_READABLE(...) /* * Console Utilities */ #undef CONFIG_CHVT #define ENABLE_CHVT 0 #define IF_CHVT(...) #define IF_NOT_CHVT(...) __VA_ARGS__ #define CONFIG_CLEAR 1 #define ENABLE_CLEAR 1 #ifdef MAKE_SUID # define IF_CLEAR(...) __VA_ARGS__ "CONFIG_CLEAR" #else # define IF_CLEAR(...) __VA_ARGS__ #endif #define IF_NOT_CLEAR(...) #undef CONFIG_DEALLOCVT #define ENABLE_DEALLOCVT 0 #define IF_DEALLOCVT(...) #define IF_NOT_DEALLOCVT(...) __VA_ARGS__ #undef CONFIG_DUMPKMAP #define ENABLE_DUMPKMAP 0 #define IF_DUMPKMAP(...) #define IF_NOT_DUMPKMAP(...) __VA_ARGS__ #undef CONFIG_FGCONSOLE #define ENABLE_FGCONSOLE 0 #define IF_FGCONSOLE(...) #define IF_NOT_FGCONSOLE(...) __VA_ARGS__ #undef CONFIG_KBD_MODE #define ENABLE_KBD_MODE 0 #define IF_KBD_MODE(...) #define IF_NOT_KBD_MODE(...) __VA_ARGS__ #undef CONFIG_LOADFONT #define ENABLE_LOADFONT 0 #define IF_LOADFONT(...) #define IF_NOT_LOADFONT(...) __VA_ARGS__ #undef CONFIG_SETFONT #define ENABLE_SETFONT 0 #define IF_SETFONT(...) #define IF_NOT_SETFONT(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETFONT_TEXTUAL_MAP #define ENABLE_FEATURE_SETFONT_TEXTUAL_MAP 0 #define IF_FEATURE_SETFONT_TEXTUAL_MAP(...) #define IF_NOT_FEATURE_SETFONT_TEXTUAL_MAP(...) __VA_ARGS__ #define CONFIG_DEFAULT_SETFONT_DIR "" #define ENABLE_DEFAULT_SETFONT_DIR 1 #ifdef MAKE_SUID # define IF_DEFAULT_SETFONT_DIR(...) __VA_ARGS__ "CONFIG_DEFAULT_SETFONT_DIR" #else # define IF_DEFAULT_SETFONT_DIR(...) __VA_ARGS__ #endif #define IF_NOT_DEFAULT_SETFONT_DIR(...) #undef CONFIG_FEATURE_LOADFONT_PSF2 #define ENABLE_FEATURE_LOADFONT_PSF2 0 #define IF_FEATURE_LOADFONT_PSF2(...) #define IF_NOT_FEATURE_LOADFONT_PSF2(...) __VA_ARGS__ #undef CONFIG_FEATURE_LOADFONT_RAW #define ENABLE_FEATURE_LOADFONT_RAW 0 #define IF_FEATURE_LOADFONT_RAW(...) #define IF_NOT_FEATURE_LOADFONT_RAW(...) __VA_ARGS__ #undef CONFIG_LOADKMAP #define ENABLE_LOADKMAP 0 #define IF_LOADKMAP(...) #define IF_NOT_LOADKMAP(...) __VA_ARGS__ #undef CONFIG_OPENVT #define ENABLE_OPENVT 0 #define IF_OPENVT(...) #define IF_NOT_OPENVT(...) __VA_ARGS__ #define CONFIG_RESET 1 #define ENABLE_RESET 1 #ifdef MAKE_SUID # define IF_RESET(...) __VA_ARGS__ "CONFIG_RESET" #else # define IF_RESET(...) __VA_ARGS__ #endif #define IF_NOT_RESET(...) #undef CONFIG_RESIZE #define ENABLE_RESIZE 0 #define IF_RESIZE(...) #define IF_NOT_RESIZE(...) __VA_ARGS__ #undef CONFIG_FEATURE_RESIZE_PRINT #define ENABLE_FEATURE_RESIZE_PRINT 0 #define IF_FEATURE_RESIZE_PRINT(...) #define IF_NOT_FEATURE_RESIZE_PRINT(...) __VA_ARGS__ #undef CONFIG_SETCONSOLE #define ENABLE_SETCONSOLE 0 #define IF_SETCONSOLE(...) #define IF_NOT_SETCONSOLE(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS #define ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS 0 #define IF_FEATURE_SETCONSOLE_LONG_OPTIONS(...) #define IF_NOT_FEATURE_SETCONSOLE_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_SETKEYCODES #define ENABLE_SETKEYCODES 0 #define IF_SETKEYCODES(...) #define IF_NOT_SETKEYCODES(...) __VA_ARGS__ #undef CONFIG_SETLOGCONS #define ENABLE_SETLOGCONS 0 #define IF_SETLOGCONS(...) #define IF_NOT_SETLOGCONS(...) __VA_ARGS__ #undef CONFIG_SHOWKEY #define ENABLE_SHOWKEY 0 #define IF_SHOWKEY(...) #define IF_NOT_SHOWKEY(...) __VA_ARGS__ /* * Debian Utilities */ #undef CONFIG_PIPE_PROGRESS #define ENABLE_PIPE_PROGRESS 0 #define IF_PIPE_PROGRESS(...) #define IF_NOT_PIPE_PROGRESS(...) __VA_ARGS__ #undef CONFIG_RUN_PARTS #define ENABLE_RUN_PARTS 0 #define IF_RUN_PARTS(...) #define IF_NOT_RUN_PARTS(...) __VA_ARGS__ #undef CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS #define ENABLE_FEATURE_RUN_PARTS_LONG_OPTIONS 0 #define IF_FEATURE_RUN_PARTS_LONG_OPTIONS(...) #define IF_NOT_FEATURE_RUN_PARTS_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_RUN_PARTS_FANCY #define ENABLE_FEATURE_RUN_PARTS_FANCY 0 #define IF_FEATURE_RUN_PARTS_FANCY(...) #define IF_NOT_FEATURE_RUN_PARTS_FANCY(...) __VA_ARGS__ #define CONFIG_START_STOP_DAEMON 1 #define ENABLE_START_STOP_DAEMON 1 #ifdef MAKE_SUID # define IF_START_STOP_DAEMON(...) __VA_ARGS__ "CONFIG_START_STOP_DAEMON" #else # define IF_START_STOP_DAEMON(...) __VA_ARGS__ #endif #define IF_NOT_START_STOP_DAEMON(...) #undef CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS #define ENABLE_FEATURE_START_STOP_DAEMON_LONG_OPTIONS 0 #define IF_FEATURE_START_STOP_DAEMON_LONG_OPTIONS(...) #define IF_NOT_FEATURE_START_STOP_DAEMON_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_START_STOP_DAEMON_FANCY #define ENABLE_FEATURE_START_STOP_DAEMON_FANCY 0 #define IF_FEATURE_START_STOP_DAEMON_FANCY(...) #define IF_NOT_FEATURE_START_STOP_DAEMON_FANCY(...) __VA_ARGS__ #define CONFIG_WHICH 1 #define ENABLE_WHICH 1 #ifdef MAKE_SUID # define IF_WHICH(...) __VA_ARGS__ "CONFIG_WHICH" #else # define IF_WHICH(...) __VA_ARGS__ #endif #define IF_NOT_WHICH(...) /* * klibc-utils */ #undef CONFIG_MINIPS #define ENABLE_MINIPS 0 #define IF_MINIPS(...) #define IF_NOT_MINIPS(...) __VA_ARGS__ #undef CONFIG_NUKE #define ENABLE_NUKE 0 #define IF_NUKE(...) #define IF_NOT_NUKE(...) __VA_ARGS__ #undef CONFIG_RESUME #define ENABLE_RESUME 0 #define IF_RESUME(...) #define IF_NOT_RESUME(...) __VA_ARGS__ #undef CONFIG_RUN_INIT #define ENABLE_RUN_INIT 0 #define IF_RUN_INIT(...) #define IF_NOT_RUN_INIT(...) __VA_ARGS__ /* * Editors */ #define CONFIG_AWK 1 #define ENABLE_AWK 1 #ifdef MAKE_SUID # define IF_AWK(...) __VA_ARGS__ "CONFIG_AWK" #else # define IF_AWK(...) __VA_ARGS__ #endif #define IF_NOT_AWK(...) #define CONFIG_FEATURE_AWK_LIBM 1 #define ENABLE_FEATURE_AWK_LIBM 1 #ifdef MAKE_SUID # define IF_FEATURE_AWK_LIBM(...) __VA_ARGS__ "CONFIG_FEATURE_AWK_LIBM" #else # define IF_FEATURE_AWK_LIBM(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_AWK_LIBM(...) #define CONFIG_FEATURE_AWK_GNU_EXTENSIONS 1 #define ENABLE_FEATURE_AWK_GNU_EXTENSIONS 1 #ifdef MAKE_SUID # define IF_FEATURE_AWK_GNU_EXTENSIONS(...) __VA_ARGS__ "CONFIG_FEATURE_AWK_GNU_EXTENSIONS" #else # define IF_FEATURE_AWK_GNU_EXTENSIONS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_AWK_GNU_EXTENSIONS(...) #define CONFIG_CMP 1 #define ENABLE_CMP 1 #ifdef MAKE_SUID # define IF_CMP(...) __VA_ARGS__ "CONFIG_CMP" #else # define IF_CMP(...) __VA_ARGS__ #endif #define IF_NOT_CMP(...) #undef CONFIG_DIFF #define ENABLE_DIFF 0 #define IF_DIFF(...) #define IF_NOT_DIFF(...) __VA_ARGS__ #undef CONFIG_FEATURE_DIFF_LONG_OPTIONS #define ENABLE_FEATURE_DIFF_LONG_OPTIONS 0 #define IF_FEATURE_DIFF_LONG_OPTIONS(...) #define IF_NOT_FEATURE_DIFF_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_DIFF_DIR #define ENABLE_FEATURE_DIFF_DIR 0 #define IF_FEATURE_DIFF_DIR(...) #define IF_NOT_FEATURE_DIFF_DIR(...) __VA_ARGS__ #undef CONFIG_ED #define ENABLE_ED 0 #define IF_ED(...) #define IF_NOT_ED(...) __VA_ARGS__ #undef CONFIG_PATCH #define ENABLE_PATCH 0 #define IF_PATCH(...) #define IF_NOT_PATCH(...) __VA_ARGS__ #define CONFIG_SED 1 #define ENABLE_SED 1 #ifdef MAKE_SUID # define IF_SED(...) __VA_ARGS__ "CONFIG_SED" #else # define IF_SED(...) __VA_ARGS__ #endif #define IF_NOT_SED(...) #define CONFIG_VI 1 #define ENABLE_VI 1 #ifdef MAKE_SUID # define IF_VI(...) __VA_ARGS__ "CONFIG_VI" #else # define IF_VI(...) __VA_ARGS__ #endif #define IF_NOT_VI(...) #define CONFIG_FEATURE_VI_MAX_LEN 1024 #define ENABLE_FEATURE_VI_MAX_LEN 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_MAX_LEN(...) __VA_ARGS__ "CONFIG_FEATURE_VI_MAX_LEN" #else # define IF_FEATURE_VI_MAX_LEN(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_MAX_LEN(...) #undef CONFIG_FEATURE_VI_8BIT #define ENABLE_FEATURE_VI_8BIT 0 #define IF_FEATURE_VI_8BIT(...) #define IF_NOT_FEATURE_VI_8BIT(...) __VA_ARGS__ #define CONFIG_FEATURE_VI_COLON 1 #define ENABLE_FEATURE_VI_COLON 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_COLON(...) __VA_ARGS__ "CONFIG_FEATURE_VI_COLON" #else # define IF_FEATURE_VI_COLON(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_COLON(...) #define CONFIG_FEATURE_VI_YANKMARK 1 #define ENABLE_FEATURE_VI_YANKMARK 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_YANKMARK(...) __VA_ARGS__ "CONFIG_FEATURE_VI_YANKMARK" #else # define IF_FEATURE_VI_YANKMARK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_YANKMARK(...) #define CONFIG_FEATURE_VI_SEARCH 1 #define ENABLE_FEATURE_VI_SEARCH 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_SEARCH(...) __VA_ARGS__ "CONFIG_FEATURE_VI_SEARCH" #else # define IF_FEATURE_VI_SEARCH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_SEARCH(...) #undef CONFIG_FEATURE_VI_REGEX_SEARCH #define ENABLE_FEATURE_VI_REGEX_SEARCH 0 #define IF_FEATURE_VI_REGEX_SEARCH(...) #define IF_NOT_FEATURE_VI_REGEX_SEARCH(...) __VA_ARGS__ #define CONFIG_FEATURE_VI_USE_SIGNALS 1 #define ENABLE_FEATURE_VI_USE_SIGNALS 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_USE_SIGNALS(...) __VA_ARGS__ "CONFIG_FEATURE_VI_USE_SIGNALS" #else # define IF_FEATURE_VI_USE_SIGNALS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_USE_SIGNALS(...) #define CONFIG_FEATURE_VI_DOT_CMD 1 #define ENABLE_FEATURE_VI_DOT_CMD 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_DOT_CMD(...) __VA_ARGS__ "CONFIG_FEATURE_VI_DOT_CMD" #else # define IF_FEATURE_VI_DOT_CMD(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_DOT_CMD(...) #define CONFIG_FEATURE_VI_READONLY 1 #define ENABLE_FEATURE_VI_READONLY 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_READONLY(...) __VA_ARGS__ "CONFIG_FEATURE_VI_READONLY" #else # define IF_FEATURE_VI_READONLY(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_READONLY(...) #define CONFIG_FEATURE_VI_SETOPTS 1 #define ENABLE_FEATURE_VI_SETOPTS 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_SETOPTS(...) __VA_ARGS__ "CONFIG_FEATURE_VI_SETOPTS" #else # define IF_FEATURE_VI_SETOPTS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_SETOPTS(...) #define CONFIG_FEATURE_VI_SET 1 #define ENABLE_FEATURE_VI_SET 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_SET(...) __VA_ARGS__ "CONFIG_FEATURE_VI_SET" #else # define IF_FEATURE_VI_SET(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_SET(...) #define CONFIG_FEATURE_VI_WIN_RESIZE 1 #define ENABLE_FEATURE_VI_WIN_RESIZE 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_WIN_RESIZE(...) __VA_ARGS__ "CONFIG_FEATURE_VI_WIN_RESIZE" #else # define IF_FEATURE_VI_WIN_RESIZE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_WIN_RESIZE(...) #define CONFIG_FEATURE_VI_ASK_TERMINAL 1 #define ENABLE_FEATURE_VI_ASK_TERMINAL 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_ASK_TERMINAL(...) __VA_ARGS__ "CONFIG_FEATURE_VI_ASK_TERMINAL" #else # define IF_FEATURE_VI_ASK_TERMINAL(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_ASK_TERMINAL(...) #undef CONFIG_FEATURE_VI_UNDO #define ENABLE_FEATURE_VI_UNDO 0 #define IF_FEATURE_VI_UNDO(...) #define IF_NOT_FEATURE_VI_UNDO(...) __VA_ARGS__ #undef CONFIG_FEATURE_VI_UNDO_QUEUE #define ENABLE_FEATURE_VI_UNDO_QUEUE 0 #define IF_FEATURE_VI_UNDO_QUEUE(...) #define IF_NOT_FEATURE_VI_UNDO_QUEUE(...) __VA_ARGS__ #define CONFIG_FEATURE_VI_UNDO_QUEUE_MAX 0 #define ENABLE_FEATURE_VI_UNDO_QUEUE_MAX 1 #ifdef MAKE_SUID # define IF_FEATURE_VI_UNDO_QUEUE_MAX(...) __VA_ARGS__ "CONFIG_FEATURE_VI_UNDO_QUEUE_MAX" #else # define IF_FEATURE_VI_UNDO_QUEUE_MAX(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_VI_UNDO_QUEUE_MAX(...) #define CONFIG_FEATURE_ALLOW_EXEC 1 #define ENABLE_FEATURE_ALLOW_EXEC 1 #ifdef MAKE_SUID # define IF_FEATURE_ALLOW_EXEC(...) __VA_ARGS__ "CONFIG_FEATURE_ALLOW_EXEC" #else # define IF_FEATURE_ALLOW_EXEC(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_ALLOW_EXEC(...) /* * Finding Utilities */ #define CONFIG_FIND 1 #define ENABLE_FIND 1 #ifdef MAKE_SUID # define IF_FIND(...) __VA_ARGS__ "CONFIG_FIND" #else # define IF_FIND(...) __VA_ARGS__ #endif #define IF_NOT_FIND(...) #define CONFIG_FEATURE_FIND_PRINT0 1 #define ENABLE_FEATURE_FIND_PRINT0 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_PRINT0(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_PRINT0" #else # define IF_FEATURE_FIND_PRINT0(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_PRINT0(...) #define CONFIG_FEATURE_FIND_MTIME 1 #define ENABLE_FEATURE_FIND_MTIME 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_MTIME(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_MTIME" #else # define IF_FEATURE_FIND_MTIME(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_MTIME(...) #undef CONFIG_FEATURE_FIND_MMIN #define ENABLE_FEATURE_FIND_MMIN 0 #define IF_FEATURE_FIND_MMIN(...) #define IF_NOT_FEATURE_FIND_MMIN(...) __VA_ARGS__ #define CONFIG_FEATURE_FIND_PERM 1 #define ENABLE_FEATURE_FIND_PERM 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_PERM(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_PERM" #else # define IF_FEATURE_FIND_PERM(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_PERM(...) #define CONFIG_FEATURE_FIND_TYPE 1 #define ENABLE_FEATURE_FIND_TYPE 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_TYPE(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_TYPE" #else # define IF_FEATURE_FIND_TYPE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_TYPE(...) #undef CONFIG_FEATURE_FIND_EXECUTABLE #define ENABLE_FEATURE_FIND_EXECUTABLE 0 #define IF_FEATURE_FIND_EXECUTABLE(...) #define IF_NOT_FEATURE_FIND_EXECUTABLE(...) __VA_ARGS__ #define CONFIG_FEATURE_FIND_XDEV 1 #define ENABLE_FEATURE_FIND_XDEV 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_XDEV(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_XDEV" #else # define IF_FEATURE_FIND_XDEV(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_XDEV(...) #define CONFIG_FEATURE_FIND_MAXDEPTH 1 #define ENABLE_FEATURE_FIND_MAXDEPTH 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_MAXDEPTH(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_MAXDEPTH" #else # define IF_FEATURE_FIND_MAXDEPTH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_MAXDEPTH(...) #define CONFIG_FEATURE_FIND_NEWER 1 #define ENABLE_FEATURE_FIND_NEWER 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_NEWER(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_NEWER" #else # define IF_FEATURE_FIND_NEWER(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_NEWER(...) #undef CONFIG_FEATURE_FIND_INUM #define ENABLE_FEATURE_FIND_INUM 0 #define IF_FEATURE_FIND_INUM(...) #define IF_NOT_FEATURE_FIND_INUM(...) __VA_ARGS__ #define CONFIG_FEATURE_FIND_EXEC 1 #define ENABLE_FEATURE_FIND_EXEC 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_EXEC(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_EXEC" #else # define IF_FEATURE_FIND_EXEC(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_EXEC(...) #undef CONFIG_FEATURE_FIND_EXEC_PLUS #define ENABLE_FEATURE_FIND_EXEC_PLUS 0 #define IF_FEATURE_FIND_EXEC_PLUS(...) #define IF_NOT_FEATURE_FIND_EXEC_PLUS(...) __VA_ARGS__ #define CONFIG_FEATURE_FIND_USER 1 #define ENABLE_FEATURE_FIND_USER 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_USER(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_USER" #else # define IF_FEATURE_FIND_USER(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_USER(...) #define CONFIG_FEATURE_FIND_GROUP 1 #define ENABLE_FEATURE_FIND_GROUP 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_GROUP(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_GROUP" #else # define IF_FEATURE_FIND_GROUP(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_GROUP(...) #define CONFIG_FEATURE_FIND_NOT 1 #define ENABLE_FEATURE_FIND_NOT 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_NOT(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_NOT" #else # define IF_FEATURE_FIND_NOT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_NOT(...) #define CONFIG_FEATURE_FIND_DEPTH 1 #define ENABLE_FEATURE_FIND_DEPTH 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_DEPTH(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_DEPTH" #else # define IF_FEATURE_FIND_DEPTH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_DEPTH(...) #define CONFIG_FEATURE_FIND_PAREN 1 #define ENABLE_FEATURE_FIND_PAREN 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_PAREN(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_PAREN" #else # define IF_FEATURE_FIND_PAREN(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_PAREN(...) #define CONFIG_FEATURE_FIND_SIZE 1 #define ENABLE_FEATURE_FIND_SIZE 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_SIZE(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_SIZE" #else # define IF_FEATURE_FIND_SIZE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_SIZE(...) #define CONFIG_FEATURE_FIND_PRUNE 1 #define ENABLE_FEATURE_FIND_PRUNE 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_PRUNE(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_PRUNE" #else # define IF_FEATURE_FIND_PRUNE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_PRUNE(...) #undef CONFIG_FEATURE_FIND_QUIT #define ENABLE_FEATURE_FIND_QUIT 0 #define IF_FEATURE_FIND_QUIT(...) #define IF_NOT_FEATURE_FIND_QUIT(...) __VA_ARGS__ #undef CONFIG_FEATURE_FIND_DELETE #define ENABLE_FEATURE_FIND_DELETE 0 #define IF_FEATURE_FIND_DELETE(...) #define IF_NOT_FEATURE_FIND_DELETE(...) __VA_ARGS__ #define CONFIG_FEATURE_FIND_PATH 1 #define ENABLE_FEATURE_FIND_PATH 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_PATH(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_PATH" #else # define IF_FEATURE_FIND_PATH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_PATH(...) #define CONFIG_FEATURE_FIND_REGEX 1 #define ENABLE_FEATURE_FIND_REGEX 1 #ifdef MAKE_SUID # define IF_FEATURE_FIND_REGEX(...) __VA_ARGS__ "CONFIG_FEATURE_FIND_REGEX" #else # define IF_FEATURE_FIND_REGEX(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FIND_REGEX(...) #undef CONFIG_FEATURE_FIND_CONTEXT #define ENABLE_FEATURE_FIND_CONTEXT 0 #define IF_FEATURE_FIND_CONTEXT(...) #define IF_NOT_FEATURE_FIND_CONTEXT(...) __VA_ARGS__ #undef CONFIG_FEATURE_FIND_LINKS #define ENABLE_FEATURE_FIND_LINKS 0 #define IF_FEATURE_FIND_LINKS(...) #define IF_NOT_FEATURE_FIND_LINKS(...) __VA_ARGS__ #define CONFIG_GREP 1 #define ENABLE_GREP 1 #ifdef MAKE_SUID # define IF_GREP(...) __VA_ARGS__ "CONFIG_GREP" #else # define IF_GREP(...) __VA_ARGS__ #endif #define IF_NOT_GREP(...) #define CONFIG_EGREP 1 #define ENABLE_EGREP 1 #ifdef MAKE_SUID # define IF_EGREP(...) __VA_ARGS__ "CONFIG_EGREP" #else # define IF_EGREP(...) __VA_ARGS__ #endif #define IF_NOT_EGREP(...) #define CONFIG_FGREP 1 #define ENABLE_FGREP 1 #ifdef MAKE_SUID # define IF_FGREP(...) __VA_ARGS__ "CONFIG_FGREP" #else # define IF_FGREP(...) __VA_ARGS__ #endif #define IF_NOT_FGREP(...) #define CONFIG_FEATURE_GREP_CONTEXT 1 #define ENABLE_FEATURE_GREP_CONTEXT 1 #ifdef MAKE_SUID # define IF_FEATURE_GREP_CONTEXT(...) __VA_ARGS__ "CONFIG_FEATURE_GREP_CONTEXT" #else # define IF_FEATURE_GREP_CONTEXT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_GREP_CONTEXT(...) #define CONFIG_XARGS 1 #define ENABLE_XARGS 1 #ifdef MAKE_SUID # define IF_XARGS(...) __VA_ARGS__ "CONFIG_XARGS" #else # define IF_XARGS(...) __VA_ARGS__ #endif #define IF_NOT_XARGS(...) #define CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION 1 #define ENABLE_FEATURE_XARGS_SUPPORT_CONFIRMATION 1 #ifdef MAKE_SUID # define IF_FEATURE_XARGS_SUPPORT_CONFIRMATION(...) __VA_ARGS__ "CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION" #else # define IF_FEATURE_XARGS_SUPPORT_CONFIRMATION(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_XARGS_SUPPORT_CONFIRMATION(...) #define CONFIG_FEATURE_XARGS_SUPPORT_QUOTES 1 #define ENABLE_FEATURE_XARGS_SUPPORT_QUOTES 1 #ifdef MAKE_SUID # define IF_FEATURE_XARGS_SUPPORT_QUOTES(...) __VA_ARGS__ "CONFIG_FEATURE_XARGS_SUPPORT_QUOTES" #else # define IF_FEATURE_XARGS_SUPPORT_QUOTES(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_XARGS_SUPPORT_QUOTES(...) #define CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT 1 #define ENABLE_FEATURE_XARGS_SUPPORT_TERMOPT 1 #ifdef MAKE_SUID # define IF_FEATURE_XARGS_SUPPORT_TERMOPT(...) __VA_ARGS__ "CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT" #else # define IF_FEATURE_XARGS_SUPPORT_TERMOPT(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_XARGS_SUPPORT_TERMOPT(...) #define CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM 1 #define ENABLE_FEATURE_XARGS_SUPPORT_ZERO_TERM 1 #ifdef MAKE_SUID # define IF_FEATURE_XARGS_SUPPORT_ZERO_TERM(...) __VA_ARGS__ "CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM" #else # define IF_FEATURE_XARGS_SUPPORT_ZERO_TERM(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_XARGS_SUPPORT_ZERO_TERM(...) #undef CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR #define ENABLE_FEATURE_XARGS_SUPPORT_REPL_STR 0 #define IF_FEATURE_XARGS_SUPPORT_REPL_STR(...) #define IF_NOT_FEATURE_XARGS_SUPPORT_REPL_STR(...) __VA_ARGS__ #undef CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL #define ENABLE_FEATURE_XARGS_SUPPORT_PARALLEL 0 #define IF_FEATURE_XARGS_SUPPORT_PARALLEL(...) #define IF_NOT_FEATURE_XARGS_SUPPORT_PARALLEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE #define ENABLE_FEATURE_XARGS_SUPPORT_ARGS_FILE 0 #define IF_FEATURE_XARGS_SUPPORT_ARGS_FILE(...) #define IF_NOT_FEATURE_XARGS_SUPPORT_ARGS_FILE(...) __VA_ARGS__ /* * Init Utilities */ #undef CONFIG_BOOTCHARTD #define ENABLE_BOOTCHARTD 0 #define IF_BOOTCHARTD(...) #define IF_NOT_BOOTCHARTD(...) __VA_ARGS__ #undef CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER #define ENABLE_FEATURE_BOOTCHARTD_BLOATED_HEADER 0 #define IF_FEATURE_BOOTCHARTD_BLOATED_HEADER(...) #define IF_NOT_FEATURE_BOOTCHARTD_BLOATED_HEADER(...) __VA_ARGS__ #undef CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE #define ENABLE_FEATURE_BOOTCHARTD_CONFIG_FILE 0 #define IF_FEATURE_BOOTCHARTD_CONFIG_FILE(...) #define IF_NOT_FEATURE_BOOTCHARTD_CONFIG_FILE(...) __VA_ARGS__ #define CONFIG_HALT 1 #define ENABLE_HALT 1 #ifdef MAKE_SUID # define IF_HALT(...) __VA_ARGS__ "CONFIG_HALT" #else # define IF_HALT(...) __VA_ARGS__ #endif #define IF_NOT_HALT(...) #define CONFIG_POWEROFF 1 #define ENABLE_POWEROFF 1 #ifdef MAKE_SUID # define IF_POWEROFF(...) __VA_ARGS__ "CONFIG_POWEROFF" #else # define IF_POWEROFF(...) __VA_ARGS__ #endif #define IF_NOT_POWEROFF(...) #define CONFIG_REBOOT 1 #define ENABLE_REBOOT 1 #ifdef MAKE_SUID # define IF_REBOOT(...) __VA_ARGS__ "CONFIG_REBOOT" #else # define IF_REBOOT(...) __VA_ARGS__ #endif #define IF_NOT_REBOOT(...) #undef CONFIG_FEATURE_WAIT_FOR_INIT #define ENABLE_FEATURE_WAIT_FOR_INIT 0 #define IF_FEATURE_WAIT_FOR_INIT(...) #define IF_NOT_FEATURE_WAIT_FOR_INIT(...) __VA_ARGS__ #undef CONFIG_FEATURE_CALL_TELINIT #define ENABLE_FEATURE_CALL_TELINIT 0 #define IF_FEATURE_CALL_TELINIT(...) #define IF_NOT_FEATURE_CALL_TELINIT(...) __VA_ARGS__ #define CONFIG_TELINIT_PATH "" #define ENABLE_TELINIT_PATH 1 #ifdef MAKE_SUID # define IF_TELINIT_PATH(...) __VA_ARGS__ "CONFIG_TELINIT_PATH" #else # define IF_TELINIT_PATH(...) __VA_ARGS__ #endif #define IF_NOT_TELINIT_PATH(...) #undef CONFIG_INIT #define ENABLE_INIT 0 #define IF_INIT(...) #define IF_NOT_INIT(...) __VA_ARGS__ #undef CONFIG_LINUXRC #define ENABLE_LINUXRC 0 #define IF_LINUXRC(...) #define IF_NOT_LINUXRC(...) __VA_ARGS__ #undef CONFIG_FEATURE_USE_INITTAB #define ENABLE_FEATURE_USE_INITTAB 0 #define IF_FEATURE_USE_INITTAB(...) #define IF_NOT_FEATURE_USE_INITTAB(...) __VA_ARGS__ #undef CONFIG_FEATURE_KILL_REMOVED #define ENABLE_FEATURE_KILL_REMOVED 0 #define IF_FEATURE_KILL_REMOVED(...) #define IF_NOT_FEATURE_KILL_REMOVED(...) __VA_ARGS__ #define CONFIG_FEATURE_KILL_DELAY 0 #define ENABLE_FEATURE_KILL_DELAY 1 #ifdef MAKE_SUID # define IF_FEATURE_KILL_DELAY(...) __VA_ARGS__ "CONFIG_FEATURE_KILL_DELAY" #else # define IF_FEATURE_KILL_DELAY(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_KILL_DELAY(...) #undef CONFIG_FEATURE_INIT_SCTTY #define ENABLE_FEATURE_INIT_SCTTY 0 #define IF_FEATURE_INIT_SCTTY(...) #define IF_NOT_FEATURE_INIT_SCTTY(...) __VA_ARGS__ #undef CONFIG_FEATURE_INIT_SYSLOG #define ENABLE_FEATURE_INIT_SYSLOG 0 #define IF_FEATURE_INIT_SYSLOG(...) #define IF_NOT_FEATURE_INIT_SYSLOG(...) __VA_ARGS__ #undef CONFIG_FEATURE_INIT_QUIET #define ENABLE_FEATURE_INIT_QUIET 0 #define IF_FEATURE_INIT_QUIET(...) #define IF_NOT_FEATURE_INIT_QUIET(...) __VA_ARGS__ #undef CONFIG_FEATURE_INIT_COREDUMPS #define ENABLE_FEATURE_INIT_COREDUMPS 0 #define IF_FEATURE_INIT_COREDUMPS(...) #define IF_NOT_FEATURE_INIT_COREDUMPS(...) __VA_ARGS__ #define CONFIG_INIT_TERMINAL_TYPE "" #define ENABLE_INIT_TERMINAL_TYPE 1 #ifdef MAKE_SUID # define IF_INIT_TERMINAL_TYPE(...) __VA_ARGS__ "CONFIG_INIT_TERMINAL_TYPE" #else # define IF_INIT_TERMINAL_TYPE(...) __VA_ARGS__ #endif #define IF_NOT_INIT_TERMINAL_TYPE(...) #undef CONFIG_FEATURE_INIT_MODIFY_CMDLINE #define ENABLE_FEATURE_INIT_MODIFY_CMDLINE 0 #define IF_FEATURE_INIT_MODIFY_CMDLINE(...) #define IF_NOT_FEATURE_INIT_MODIFY_CMDLINE(...) __VA_ARGS__ /* * Login/Password Management Utilities */ #define CONFIG_FEATURE_SHADOWPASSWDS 1 #define ENABLE_FEATURE_SHADOWPASSWDS 1 #ifdef MAKE_SUID # define IF_FEATURE_SHADOWPASSWDS(...) __VA_ARGS__ "CONFIG_FEATURE_SHADOWPASSWDS" #else # define IF_FEATURE_SHADOWPASSWDS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SHADOWPASSWDS(...) #undef CONFIG_USE_BB_PWD_GRP #define ENABLE_USE_BB_PWD_GRP 0 #define IF_USE_BB_PWD_GRP(...) #define IF_NOT_USE_BB_PWD_GRP(...) __VA_ARGS__ #undef CONFIG_USE_BB_SHADOW #define ENABLE_USE_BB_SHADOW 0 #define IF_USE_BB_SHADOW(...) #define IF_NOT_USE_BB_SHADOW(...) __VA_ARGS__ #undef CONFIG_USE_BB_CRYPT #define ENABLE_USE_BB_CRYPT 0 #define IF_USE_BB_CRYPT(...) #define IF_NOT_USE_BB_CRYPT(...) __VA_ARGS__ #undef CONFIG_USE_BB_CRYPT_SHA #define ENABLE_USE_BB_CRYPT_SHA 0 #define IF_USE_BB_CRYPT_SHA(...) #define IF_NOT_USE_BB_CRYPT_SHA(...) __VA_ARGS__ #undef CONFIG_ADD_SHELL #define ENABLE_ADD_SHELL 0 #define IF_ADD_SHELL(...) #define IF_NOT_ADD_SHELL(...) __VA_ARGS__ #undef CONFIG_REMOVE_SHELL #define ENABLE_REMOVE_SHELL 0 #define IF_REMOVE_SHELL(...) #define IF_NOT_REMOVE_SHELL(...) __VA_ARGS__ #undef CONFIG_ADDGROUP #define ENABLE_ADDGROUP 0 #define IF_ADDGROUP(...) #define IF_NOT_ADDGROUP(...) __VA_ARGS__ #undef CONFIG_FEATURE_ADDUSER_TO_GROUP #define ENABLE_FEATURE_ADDUSER_TO_GROUP 0 #define IF_FEATURE_ADDUSER_TO_GROUP(...) #define IF_NOT_FEATURE_ADDUSER_TO_GROUP(...) __VA_ARGS__ #undef CONFIG_ADDUSER #define ENABLE_ADDUSER 0 #define IF_ADDUSER(...) #define IF_NOT_ADDUSER(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHECK_NAMES #define ENABLE_FEATURE_CHECK_NAMES 0 #define IF_FEATURE_CHECK_NAMES(...) #define IF_NOT_FEATURE_CHECK_NAMES(...) __VA_ARGS__ #define CONFIG_LAST_ID 0 #define ENABLE_LAST_ID 1 #ifdef MAKE_SUID # define IF_LAST_ID(...) __VA_ARGS__ "CONFIG_LAST_ID" #else # define IF_LAST_ID(...) __VA_ARGS__ #endif #define IF_NOT_LAST_ID(...) #define CONFIG_FIRST_SYSTEM_ID 0 #define ENABLE_FIRST_SYSTEM_ID 1 #ifdef MAKE_SUID # define IF_FIRST_SYSTEM_ID(...) __VA_ARGS__ "CONFIG_FIRST_SYSTEM_ID" #else # define IF_FIRST_SYSTEM_ID(...) __VA_ARGS__ #endif #define IF_NOT_FIRST_SYSTEM_ID(...) #define CONFIG_LAST_SYSTEM_ID 0 #define ENABLE_LAST_SYSTEM_ID 1 #ifdef MAKE_SUID # define IF_LAST_SYSTEM_ID(...) __VA_ARGS__ "CONFIG_LAST_SYSTEM_ID" #else # define IF_LAST_SYSTEM_ID(...) __VA_ARGS__ #endif #define IF_NOT_LAST_SYSTEM_ID(...) #undef CONFIG_CHPASSWD #define ENABLE_CHPASSWD 0 #define IF_CHPASSWD(...) #define IF_NOT_CHPASSWD(...) __VA_ARGS__ #define CONFIG_FEATURE_DEFAULT_PASSWD_ALGO "md5" #define ENABLE_FEATURE_DEFAULT_PASSWD_ALGO 1 #ifdef MAKE_SUID # define IF_FEATURE_DEFAULT_PASSWD_ALGO(...) __VA_ARGS__ "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO" #else # define IF_FEATURE_DEFAULT_PASSWD_ALGO(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DEFAULT_PASSWD_ALGO(...) #undef CONFIG_CRYPTPW #define ENABLE_CRYPTPW 0 #define IF_CRYPTPW(...) #define IF_NOT_CRYPTPW(...) __VA_ARGS__ #undef CONFIG_MKPASSWD #define ENABLE_MKPASSWD 0 #define IF_MKPASSWD(...) #define IF_NOT_MKPASSWD(...) __VA_ARGS__ #undef CONFIG_DELUSER #define ENABLE_DELUSER 0 #define IF_DELUSER(...) #define IF_NOT_DELUSER(...) __VA_ARGS__ #undef CONFIG_DELGROUP #define ENABLE_DELGROUP 0 #define IF_DELGROUP(...) #define IF_NOT_DELGROUP(...) __VA_ARGS__ #undef CONFIG_FEATURE_DEL_USER_FROM_GROUP #define ENABLE_FEATURE_DEL_USER_FROM_GROUP 0 #define IF_FEATURE_DEL_USER_FROM_GROUP(...) #define IF_NOT_FEATURE_DEL_USER_FROM_GROUP(...) __VA_ARGS__ #undef CONFIG_GETTY #define ENABLE_GETTY 0 #define IF_GETTY(...) #define IF_NOT_GETTY(...) __VA_ARGS__ #define CONFIG_LOGIN 1 #define ENABLE_LOGIN 1 #ifdef MAKE_SUID # define IF_LOGIN(...) __VA_ARGS__ "CONFIG_LOGIN" #else # define IF_LOGIN(...) __VA_ARGS__ #endif #define IF_NOT_LOGIN(...) #undef CONFIG_LOGIN_SESSION_AS_CHILD #define ENABLE_LOGIN_SESSION_AS_CHILD 0 #define IF_LOGIN_SESSION_AS_CHILD(...) #define IF_NOT_LOGIN_SESSION_AS_CHILD(...) __VA_ARGS__ #undef CONFIG_LOGIN_SCRIPTS #define ENABLE_LOGIN_SCRIPTS 0 #define IF_LOGIN_SCRIPTS(...) #define IF_NOT_LOGIN_SCRIPTS(...) __VA_ARGS__ #undef CONFIG_FEATURE_NOLOGIN #define ENABLE_FEATURE_NOLOGIN 0 #define IF_FEATURE_NOLOGIN(...) #define IF_NOT_FEATURE_NOLOGIN(...) __VA_ARGS__ #undef CONFIG_FEATURE_SECURETTY #define ENABLE_FEATURE_SECURETTY 0 #define IF_FEATURE_SECURETTY(...) #define IF_NOT_FEATURE_SECURETTY(...) __VA_ARGS__ #define CONFIG_PASSWD 1 #define ENABLE_PASSWD 1 #ifdef MAKE_SUID # define IF_PASSWD(...) __VA_ARGS__ "CONFIG_PASSWD" #else # define IF_PASSWD(...) __VA_ARGS__ #endif #define IF_NOT_PASSWD(...) #define CONFIG_FEATURE_PASSWD_WEAK_CHECK 1 #define ENABLE_FEATURE_PASSWD_WEAK_CHECK 1 #ifdef MAKE_SUID # define IF_FEATURE_PASSWD_WEAK_CHECK(...) __VA_ARGS__ "CONFIG_FEATURE_PASSWD_WEAK_CHECK" #else # define IF_FEATURE_PASSWD_WEAK_CHECK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PASSWD_WEAK_CHECK(...) #undef CONFIG_SU #define ENABLE_SU 0 #define IF_SU(...) #define IF_NOT_SU(...) __VA_ARGS__ #undef CONFIG_FEATURE_SU_SYSLOG #define ENABLE_FEATURE_SU_SYSLOG 0 #define IF_FEATURE_SU_SYSLOG(...) #define IF_NOT_FEATURE_SU_SYSLOG(...) __VA_ARGS__ #undef CONFIG_FEATURE_SU_CHECKS_SHELLS #define ENABLE_FEATURE_SU_CHECKS_SHELLS 0 #define IF_FEATURE_SU_CHECKS_SHELLS(...) #define IF_NOT_FEATURE_SU_CHECKS_SHELLS(...) __VA_ARGS__ #undef CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY #define ENABLE_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY 0 #define IF_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY(...) #define IF_NOT_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY(...) __VA_ARGS__ #undef CONFIG_SULOGIN #define ENABLE_SULOGIN 0 #define IF_SULOGIN(...) #define IF_NOT_SULOGIN(...) __VA_ARGS__ #undef CONFIG_VLOCK #define ENABLE_VLOCK 0 #define IF_VLOCK(...) #define IF_NOT_VLOCK(...) __VA_ARGS__ /* * Linux Ext2 FS Progs */ #undef CONFIG_CHATTR #define ENABLE_CHATTR 0 #define IF_CHATTR(...) #define IF_NOT_CHATTR(...) __VA_ARGS__ #undef CONFIG_FSCK #define ENABLE_FSCK 0 #define IF_FSCK(...) #define IF_NOT_FSCK(...) __VA_ARGS__ #undef CONFIG_LSATTR #define ENABLE_LSATTR 0 #define IF_LSATTR(...) #define IF_NOT_LSATTR(...) __VA_ARGS__ #undef CONFIG_TUNE2FS #define ENABLE_TUNE2FS 0 #define IF_TUNE2FS(...) #define IF_NOT_TUNE2FS(...) __VA_ARGS__ /* * Linux Module Utilities */ #undef CONFIG_MODPROBE_SMALL #define ENABLE_MODPROBE_SMALL 0 #define IF_MODPROBE_SMALL(...) #define IF_NOT_MODPROBE_SMALL(...) __VA_ARGS__ #undef CONFIG_DEPMOD #define ENABLE_DEPMOD 0 #define IF_DEPMOD(...) #define IF_NOT_DEPMOD(...) __VA_ARGS__ #undef CONFIG_INSMOD #define ENABLE_INSMOD 0 #define IF_INSMOD(...) #define IF_NOT_INSMOD(...) __VA_ARGS__ #undef CONFIG_LSMOD #define ENABLE_LSMOD 0 #define IF_LSMOD(...) #define IF_NOT_LSMOD(...) __VA_ARGS__ #undef CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT #define ENABLE_FEATURE_LSMOD_PRETTY_2_6_OUTPUT 0 #define IF_FEATURE_LSMOD_PRETTY_2_6_OUTPUT(...) #define IF_NOT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT(...) __VA_ARGS__ #undef CONFIG_MODINFO #define ENABLE_MODINFO 0 #define IF_MODINFO(...) #define IF_NOT_MODINFO(...) __VA_ARGS__ #undef CONFIG_MODPROBE #define ENABLE_MODPROBE 0 #define IF_MODPROBE(...) #define IF_NOT_MODPROBE(...) __VA_ARGS__ #undef CONFIG_FEATURE_MODPROBE_BLACKLIST #define ENABLE_FEATURE_MODPROBE_BLACKLIST 0 #define IF_FEATURE_MODPROBE_BLACKLIST(...) #define IF_NOT_FEATURE_MODPROBE_BLACKLIST(...) __VA_ARGS__ #undef CONFIG_RMMOD #define ENABLE_RMMOD 0 #define IF_RMMOD(...) #define IF_NOT_RMMOD(...) __VA_ARGS__ /* * Options common to multiple modutils */ #undef CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS #define ENABLE_FEATURE_CMDLINE_MODULE_OPTIONS 0 #define IF_FEATURE_CMDLINE_MODULE_OPTIONS(...) #define IF_NOT_FEATURE_CMDLINE_MODULE_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED #define ENABLE_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED 0 #define IF_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED(...) #define IF_NOT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED(...) __VA_ARGS__ #undef CONFIG_FEATURE_2_4_MODULES #define ENABLE_FEATURE_2_4_MODULES 0 #define IF_FEATURE_2_4_MODULES(...) #define IF_NOT_FEATURE_2_4_MODULES(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_VERSION_CHECKING #define ENABLE_FEATURE_INSMOD_VERSION_CHECKING 0 #define IF_FEATURE_INSMOD_VERSION_CHECKING(...) #define IF_NOT_FEATURE_INSMOD_VERSION_CHECKING(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS #define ENABLE_FEATURE_INSMOD_KSYMOOPS_SYMBOLS 0 #define IF_FEATURE_INSMOD_KSYMOOPS_SYMBOLS(...) #define IF_NOT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_LOADINKMEM #define ENABLE_FEATURE_INSMOD_LOADINKMEM 0 #define IF_FEATURE_INSMOD_LOADINKMEM(...) #define IF_NOT_FEATURE_INSMOD_LOADINKMEM(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_LOAD_MAP #define ENABLE_FEATURE_INSMOD_LOAD_MAP 0 #define IF_FEATURE_INSMOD_LOAD_MAP(...) #define IF_NOT_FEATURE_INSMOD_LOAD_MAP(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL #define ENABLE_FEATURE_INSMOD_LOAD_MAP_FULL 0 #define IF_FEATURE_INSMOD_LOAD_MAP_FULL(...) #define IF_NOT_FEATURE_INSMOD_LOAD_MAP_FULL(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHECK_TAINTED_MODULE #define ENABLE_FEATURE_CHECK_TAINTED_MODULE 0 #define IF_FEATURE_CHECK_TAINTED_MODULE(...) #define IF_NOT_FEATURE_CHECK_TAINTED_MODULE(...) __VA_ARGS__ #undef CONFIG_FEATURE_INSMOD_TRY_MMAP #define ENABLE_FEATURE_INSMOD_TRY_MMAP 0 #define IF_FEATURE_INSMOD_TRY_MMAP(...) #define IF_NOT_FEATURE_INSMOD_TRY_MMAP(...) __VA_ARGS__ #undef CONFIG_FEATURE_MODUTILS_ALIAS #define ENABLE_FEATURE_MODUTILS_ALIAS 0 #define IF_FEATURE_MODUTILS_ALIAS(...) #define IF_NOT_FEATURE_MODUTILS_ALIAS(...) __VA_ARGS__ #undef CONFIG_FEATURE_MODUTILS_SYMBOLS #define ENABLE_FEATURE_MODUTILS_SYMBOLS 0 #define IF_FEATURE_MODUTILS_SYMBOLS(...) #define IF_NOT_FEATURE_MODUTILS_SYMBOLS(...) __VA_ARGS__ #define CONFIG_DEFAULT_MODULES_DIR "" #define ENABLE_DEFAULT_MODULES_DIR 1 #ifdef MAKE_SUID # define IF_DEFAULT_MODULES_DIR(...) __VA_ARGS__ "CONFIG_DEFAULT_MODULES_DIR" #else # define IF_DEFAULT_MODULES_DIR(...) __VA_ARGS__ #endif #define IF_NOT_DEFAULT_MODULES_DIR(...) #define CONFIG_DEFAULT_DEPMOD_FILE "" #define ENABLE_DEFAULT_DEPMOD_FILE 1 #ifdef MAKE_SUID # define IF_DEFAULT_DEPMOD_FILE(...) __VA_ARGS__ "CONFIG_DEFAULT_DEPMOD_FILE" #else # define IF_DEFAULT_DEPMOD_FILE(...) __VA_ARGS__ #endif #define IF_NOT_DEFAULT_DEPMOD_FILE(...) /* * Linux System Utilities */ #undef CONFIG_ACPID #define ENABLE_ACPID 0 #define IF_ACPID(...) #define IF_NOT_ACPID(...) __VA_ARGS__ #undef CONFIG_FEATURE_ACPID_COMPAT #define ENABLE_FEATURE_ACPID_COMPAT 0 #define IF_FEATURE_ACPID_COMPAT(...) #define IF_NOT_FEATURE_ACPID_COMPAT(...) __VA_ARGS__ #undef CONFIG_BLKDISCARD #define ENABLE_BLKDISCARD 0 #define IF_BLKDISCARD(...) #define IF_NOT_BLKDISCARD(...) __VA_ARGS__ #undef CONFIG_BLKID #define ENABLE_BLKID 0 #define IF_BLKID(...) #define IF_NOT_BLKID(...) __VA_ARGS__ #undef CONFIG_FEATURE_BLKID_TYPE #define ENABLE_FEATURE_BLKID_TYPE 0 #define IF_FEATURE_BLKID_TYPE(...) #define IF_NOT_FEATURE_BLKID_TYPE(...) __VA_ARGS__ #undef CONFIG_BLOCKDEV #define ENABLE_BLOCKDEV 0 #define IF_BLOCKDEV(...) #define IF_NOT_BLOCKDEV(...) __VA_ARGS__ #undef CONFIG_CAL #define ENABLE_CAL 0 #define IF_CAL(...) #define IF_NOT_CAL(...) __VA_ARGS__ #undef CONFIG_CHRT #define ENABLE_CHRT 0 #define IF_CHRT(...) #define IF_NOT_CHRT(...) __VA_ARGS__ #define CONFIG_DMESG 1 #define ENABLE_DMESG 1 #ifdef MAKE_SUID # define IF_DMESG(...) __VA_ARGS__ "CONFIG_DMESG" #else # define IF_DMESG(...) __VA_ARGS__ #endif #define IF_NOT_DMESG(...) #define CONFIG_FEATURE_DMESG_PRETTY 1 #define ENABLE_FEATURE_DMESG_PRETTY 1 #ifdef MAKE_SUID # define IF_FEATURE_DMESG_PRETTY(...) __VA_ARGS__ "CONFIG_FEATURE_DMESG_PRETTY" #else # define IF_FEATURE_DMESG_PRETTY(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_DMESG_PRETTY(...) #undef CONFIG_EJECT #define ENABLE_EJECT 0 #define IF_EJECT(...) #define IF_NOT_EJECT(...) __VA_ARGS__ #undef CONFIG_FEATURE_EJECT_SCSI #define ENABLE_FEATURE_EJECT_SCSI 0 #define IF_FEATURE_EJECT_SCSI(...) #define IF_NOT_FEATURE_EJECT_SCSI(...) __VA_ARGS__ #undef CONFIG_FALLOCATE #define ENABLE_FALLOCATE 0 #define IF_FALLOCATE(...) #define IF_NOT_FALLOCATE(...) __VA_ARGS__ #undef CONFIG_FATATTR #define ENABLE_FATATTR 0 #define IF_FATATTR(...) #define IF_NOT_FATATTR(...) __VA_ARGS__ #undef CONFIG_FBSET #define ENABLE_FBSET 0 #define IF_FBSET(...) #define IF_NOT_FBSET(...) __VA_ARGS__ #undef CONFIG_FEATURE_FBSET_FANCY #define ENABLE_FEATURE_FBSET_FANCY 0 #define IF_FEATURE_FBSET_FANCY(...) #define IF_NOT_FEATURE_FBSET_FANCY(...) __VA_ARGS__ #undef CONFIG_FEATURE_FBSET_READMODE #define ENABLE_FEATURE_FBSET_READMODE 0 #define IF_FEATURE_FBSET_READMODE(...) #define IF_NOT_FEATURE_FBSET_READMODE(...) __VA_ARGS__ #undef CONFIG_FDFORMAT #define ENABLE_FDFORMAT 0 #define IF_FDFORMAT(...) #define IF_NOT_FDFORMAT(...) __VA_ARGS__ #undef CONFIG_FDISK #define ENABLE_FDISK 0 #define IF_FDISK(...) #define IF_NOT_FDISK(...) __VA_ARGS__ #undef CONFIG_FDISK_SUPPORT_LARGE_DISKS #define ENABLE_FDISK_SUPPORT_LARGE_DISKS 0 #define IF_FDISK_SUPPORT_LARGE_DISKS(...) #define IF_NOT_FDISK_SUPPORT_LARGE_DISKS(...) __VA_ARGS__ #undef CONFIG_FEATURE_FDISK_WRITABLE #define ENABLE_FEATURE_FDISK_WRITABLE 0 #define IF_FEATURE_FDISK_WRITABLE(...) #define IF_NOT_FEATURE_FDISK_WRITABLE(...) __VA_ARGS__ #undef CONFIG_FEATURE_AIX_LABEL #define ENABLE_FEATURE_AIX_LABEL 0 #define IF_FEATURE_AIX_LABEL(...) #define IF_NOT_FEATURE_AIX_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_SGI_LABEL #define ENABLE_FEATURE_SGI_LABEL 0 #define IF_FEATURE_SGI_LABEL(...) #define IF_NOT_FEATURE_SGI_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_SUN_LABEL #define ENABLE_FEATURE_SUN_LABEL 0 #define IF_FEATURE_SUN_LABEL(...) #define IF_NOT_FEATURE_SUN_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_OSF_LABEL #define ENABLE_FEATURE_OSF_LABEL 0 #define IF_FEATURE_OSF_LABEL(...) #define IF_NOT_FEATURE_OSF_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_GPT_LABEL #define ENABLE_FEATURE_GPT_LABEL 0 #define IF_FEATURE_GPT_LABEL(...) #define IF_NOT_FEATURE_GPT_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_FDISK_ADVANCED #define ENABLE_FEATURE_FDISK_ADVANCED 0 #define IF_FEATURE_FDISK_ADVANCED(...) #define IF_NOT_FEATURE_FDISK_ADVANCED(...) __VA_ARGS__ #undef CONFIG_FINDFS #define ENABLE_FINDFS 0 #define IF_FINDFS(...) #define IF_NOT_FINDFS(...) __VA_ARGS__ #define CONFIG_FLOCK 1 #define ENABLE_FLOCK 1 #ifdef MAKE_SUID # define IF_FLOCK(...) __VA_ARGS__ "CONFIG_FLOCK" #else # define IF_FLOCK(...) __VA_ARGS__ #endif #define IF_NOT_FLOCK(...) #undef CONFIG_FDFLUSH #define ENABLE_FDFLUSH 0 #define IF_FDFLUSH(...) #define IF_NOT_FDFLUSH(...) __VA_ARGS__ #undef CONFIG_FREERAMDISK #define ENABLE_FREERAMDISK 0 #define IF_FREERAMDISK(...) #define IF_NOT_FREERAMDISK(...) __VA_ARGS__ #undef CONFIG_FSCK_MINIX #define ENABLE_FSCK_MINIX 0 #define IF_FSCK_MINIX(...) #define IF_NOT_FSCK_MINIX(...) __VA_ARGS__ #undef CONFIG_FSFREEZE #define ENABLE_FSFREEZE 0 #define IF_FSFREEZE(...) #define IF_NOT_FSFREEZE(...) __VA_ARGS__ #undef CONFIG_FSTRIM #define ENABLE_FSTRIM 0 #define IF_FSTRIM(...) #define IF_NOT_FSTRIM(...) __VA_ARGS__ #undef CONFIG_GETOPT #define ENABLE_GETOPT 0 #define IF_GETOPT(...) #define IF_NOT_GETOPT(...) __VA_ARGS__ #undef CONFIG_FEATURE_GETOPT_LONG #define ENABLE_FEATURE_GETOPT_LONG 0 #define IF_FEATURE_GETOPT_LONG(...) #define IF_NOT_FEATURE_GETOPT_LONG(...) __VA_ARGS__ #define CONFIG_HEXDUMP 1 #define ENABLE_HEXDUMP 1 #ifdef MAKE_SUID # define IF_HEXDUMP(...) __VA_ARGS__ "CONFIG_HEXDUMP" #else # define IF_HEXDUMP(...) __VA_ARGS__ #endif #define IF_NOT_HEXDUMP(...) #undef CONFIG_FEATURE_HEXDUMP_REVERSE #define ENABLE_FEATURE_HEXDUMP_REVERSE 0 #define IF_FEATURE_HEXDUMP_REVERSE(...) #define IF_NOT_FEATURE_HEXDUMP_REVERSE(...) __VA_ARGS__ #undef CONFIG_HD #define ENABLE_HD 0 #define IF_HD(...) #define IF_NOT_HD(...) __VA_ARGS__ #undef CONFIG_XXD #define ENABLE_XXD 0 #define IF_XXD(...) #define IF_NOT_XXD(...) __VA_ARGS__ #define CONFIG_HWCLOCK 1 #define ENABLE_HWCLOCK 1 #ifdef MAKE_SUID # define IF_HWCLOCK(...) __VA_ARGS__ "CONFIG_HWCLOCK" #else # define IF_HWCLOCK(...) __VA_ARGS__ #endif #define IF_NOT_HWCLOCK(...) #undef CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS #define ENABLE_FEATURE_HWCLOCK_ADJTIME_FHS 0 #define IF_FEATURE_HWCLOCK_ADJTIME_FHS(...) #define IF_NOT_FEATURE_HWCLOCK_ADJTIME_FHS(...) __VA_ARGS__ #undef CONFIG_IONICE #define ENABLE_IONICE 0 #define IF_IONICE(...) #define IF_NOT_IONICE(...) __VA_ARGS__ #undef CONFIG_IPCRM #define ENABLE_IPCRM 0 #define IF_IPCRM(...) #define IF_NOT_IPCRM(...) __VA_ARGS__ #undef CONFIG_IPCS #define ENABLE_IPCS 0 #define IF_IPCS(...) #define IF_NOT_IPCS(...) __VA_ARGS__ #undef CONFIG_LAST #define ENABLE_LAST 0 #define IF_LAST(...) #define IF_NOT_LAST(...) __VA_ARGS__ #undef CONFIG_FEATURE_LAST_FANCY #define ENABLE_FEATURE_LAST_FANCY 0 #define IF_FEATURE_LAST_FANCY(...) #define IF_NOT_FEATURE_LAST_FANCY(...) __VA_ARGS__ #undef CONFIG_LOSETUP #define ENABLE_LOSETUP 0 #define IF_LOSETUP(...) #define IF_NOT_LOSETUP(...) __VA_ARGS__ #undef CONFIG_LSPCI #define ENABLE_LSPCI 0 #define IF_LSPCI(...) #define IF_NOT_LSPCI(...) __VA_ARGS__ #undef CONFIG_LSUSB #define ENABLE_LSUSB 0 #define IF_LSUSB(...) #define IF_NOT_LSUSB(...) __VA_ARGS__ #undef CONFIG_MDEV #define ENABLE_MDEV 0 #define IF_MDEV(...) #define IF_NOT_MDEV(...) __VA_ARGS__ #undef CONFIG_FEATURE_MDEV_CONF #define ENABLE_FEATURE_MDEV_CONF 0 #define IF_FEATURE_MDEV_CONF(...) #define IF_NOT_FEATURE_MDEV_CONF(...) __VA_ARGS__ #undef CONFIG_FEATURE_MDEV_RENAME #define ENABLE_FEATURE_MDEV_RENAME 0 #define IF_FEATURE_MDEV_RENAME(...) #define IF_NOT_FEATURE_MDEV_RENAME(...) __VA_ARGS__ #undef CONFIG_FEATURE_MDEV_RENAME_REGEXP #define ENABLE_FEATURE_MDEV_RENAME_REGEXP 0 #define IF_FEATURE_MDEV_RENAME_REGEXP(...) #define IF_NOT_FEATURE_MDEV_RENAME_REGEXP(...) __VA_ARGS__ #undef CONFIG_FEATURE_MDEV_EXEC #define ENABLE_FEATURE_MDEV_EXEC 0 #define IF_FEATURE_MDEV_EXEC(...) #define IF_NOT_FEATURE_MDEV_EXEC(...) __VA_ARGS__ #undef CONFIG_FEATURE_MDEV_LOAD_FIRMWARE #define ENABLE_FEATURE_MDEV_LOAD_FIRMWARE 0 #define IF_FEATURE_MDEV_LOAD_FIRMWARE(...) #define IF_NOT_FEATURE_MDEV_LOAD_FIRMWARE(...) __VA_ARGS__ #undef CONFIG_MESG #define ENABLE_MESG 0 #define IF_MESG(...) #define IF_NOT_MESG(...) __VA_ARGS__ #undef CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP #define ENABLE_FEATURE_MESG_ENABLE_ONLY_GROUP 0 #define IF_FEATURE_MESG_ENABLE_ONLY_GROUP(...) #define IF_NOT_FEATURE_MESG_ENABLE_ONLY_GROUP(...) __VA_ARGS__ #undef CONFIG_MKE2FS #define ENABLE_MKE2FS 0 #define IF_MKE2FS(...) #define IF_NOT_MKE2FS(...) __VA_ARGS__ #undef CONFIG_MKFS_EXT2 #define ENABLE_MKFS_EXT2 0 #define IF_MKFS_EXT2(...) #define IF_NOT_MKFS_EXT2(...) __VA_ARGS__ #undef CONFIG_MKFS_MINIX #define ENABLE_MKFS_MINIX 0 #define IF_MKFS_MINIX(...) #define IF_NOT_MKFS_MINIX(...) __VA_ARGS__ #undef CONFIG_FEATURE_MINIX2 #define ENABLE_FEATURE_MINIX2 0 #define IF_FEATURE_MINIX2(...) #define IF_NOT_FEATURE_MINIX2(...) __VA_ARGS__ #undef CONFIG_MKFS_REISER #define ENABLE_MKFS_REISER 0 #define IF_MKFS_REISER(...) #define IF_NOT_MKFS_REISER(...) __VA_ARGS__ #undef CONFIG_MKDOSFS #define ENABLE_MKDOSFS 0 #define IF_MKDOSFS(...) #define IF_NOT_MKDOSFS(...) __VA_ARGS__ #undef CONFIG_MKFS_VFAT #define ENABLE_MKFS_VFAT 0 #define IF_MKFS_VFAT(...) #define IF_NOT_MKFS_VFAT(...) __VA_ARGS__ #define CONFIG_MKSWAP 1 #define ENABLE_MKSWAP 1 #ifdef MAKE_SUID # define IF_MKSWAP(...) __VA_ARGS__ "CONFIG_MKSWAP" #else # define IF_MKSWAP(...) __VA_ARGS__ #endif #define IF_NOT_MKSWAP(...) #undef CONFIG_FEATURE_MKSWAP_UUID #define ENABLE_FEATURE_MKSWAP_UUID 0 #define IF_FEATURE_MKSWAP_UUID(...) #define IF_NOT_FEATURE_MKSWAP_UUID(...) __VA_ARGS__ #undef CONFIG_MORE #define ENABLE_MORE 0 #define IF_MORE(...) #define IF_NOT_MORE(...) __VA_ARGS__ #define CONFIG_MOUNT 1 #define ENABLE_MOUNT 1 #ifdef MAKE_SUID # define IF_MOUNT(...) __VA_ARGS__ "CONFIG_MOUNT" #else # define IF_MOUNT(...) __VA_ARGS__ #endif #define IF_NOT_MOUNT(...) #undef CONFIG_FEATURE_MOUNT_FAKE #define ENABLE_FEATURE_MOUNT_FAKE 0 #define IF_FEATURE_MOUNT_FAKE(...) #define IF_NOT_FEATURE_MOUNT_FAKE(...) __VA_ARGS__ #undef CONFIG_FEATURE_MOUNT_VERBOSE #define ENABLE_FEATURE_MOUNT_VERBOSE 0 #define IF_FEATURE_MOUNT_VERBOSE(...) #define IF_NOT_FEATURE_MOUNT_VERBOSE(...) __VA_ARGS__ #define CONFIG_FEATURE_MOUNT_HELPERS 1 #define ENABLE_FEATURE_MOUNT_HELPERS 1 #ifdef MAKE_SUID # define IF_FEATURE_MOUNT_HELPERS(...) __VA_ARGS__ "CONFIG_FEATURE_MOUNT_HELPERS" #else # define IF_FEATURE_MOUNT_HELPERS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MOUNT_HELPERS(...) #undef CONFIG_FEATURE_MOUNT_LABEL #define ENABLE_FEATURE_MOUNT_LABEL 0 #define IF_FEATURE_MOUNT_LABEL(...) #define IF_NOT_FEATURE_MOUNT_LABEL(...) __VA_ARGS__ #undef CONFIG_FEATURE_MOUNT_NFS #define ENABLE_FEATURE_MOUNT_NFS 0 #define IF_FEATURE_MOUNT_NFS(...) #define IF_NOT_FEATURE_MOUNT_NFS(...) __VA_ARGS__ #define CONFIG_FEATURE_MOUNT_CIFS 1 #define ENABLE_FEATURE_MOUNT_CIFS 1 #ifdef MAKE_SUID # define IF_FEATURE_MOUNT_CIFS(...) __VA_ARGS__ "CONFIG_FEATURE_MOUNT_CIFS" #else # define IF_FEATURE_MOUNT_CIFS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MOUNT_CIFS(...) #define CONFIG_FEATURE_MOUNT_FLAGS 1 #define ENABLE_FEATURE_MOUNT_FLAGS 1 #ifdef MAKE_SUID # define IF_FEATURE_MOUNT_FLAGS(...) __VA_ARGS__ "CONFIG_FEATURE_MOUNT_FLAGS" #else # define IF_FEATURE_MOUNT_FLAGS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MOUNT_FLAGS(...) #define CONFIG_FEATURE_MOUNT_FSTAB 1 #define ENABLE_FEATURE_MOUNT_FSTAB 1 #ifdef MAKE_SUID # define IF_FEATURE_MOUNT_FSTAB(...) __VA_ARGS__ "CONFIG_FEATURE_MOUNT_FSTAB" #else # define IF_FEATURE_MOUNT_FSTAB(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MOUNT_FSTAB(...) #undef CONFIG_FEATURE_MOUNT_OTHERTAB #define ENABLE_FEATURE_MOUNT_OTHERTAB 0 #define IF_FEATURE_MOUNT_OTHERTAB(...) #define IF_NOT_FEATURE_MOUNT_OTHERTAB(...) __VA_ARGS__ #undef CONFIG_MOUNTPOINT #define ENABLE_MOUNTPOINT 0 #define IF_MOUNTPOINT(...) #define IF_NOT_MOUNTPOINT(...) __VA_ARGS__ #undef CONFIG_NOLOGIN #define ENABLE_NOLOGIN 0 #define IF_NOLOGIN(...) #define IF_NOT_NOLOGIN(...) __VA_ARGS__ #undef CONFIG_NOLOGIN_DEPENDENCIES #define ENABLE_NOLOGIN_DEPENDENCIES 0 #define IF_NOLOGIN_DEPENDENCIES(...) #define IF_NOT_NOLOGIN_DEPENDENCIES(...) __VA_ARGS__ #undef CONFIG_NSENTER #define ENABLE_NSENTER 0 #define IF_NSENTER(...) #define IF_NOT_NSENTER(...) __VA_ARGS__ #define CONFIG_PIVOT_ROOT 1 #define ENABLE_PIVOT_ROOT 1 #ifdef MAKE_SUID # define IF_PIVOT_ROOT(...) __VA_ARGS__ "CONFIG_PIVOT_ROOT" #else # define IF_PIVOT_ROOT(...) __VA_ARGS__ #endif #define IF_NOT_PIVOT_ROOT(...) #undef CONFIG_RDATE #define ENABLE_RDATE 0 #define IF_RDATE(...) #define IF_NOT_RDATE(...) __VA_ARGS__ #undef CONFIG_RDEV #define ENABLE_RDEV 0 #define IF_RDEV(...) #define IF_NOT_RDEV(...) __VA_ARGS__ #undef CONFIG_READPROFILE #define ENABLE_READPROFILE 0 #define IF_READPROFILE(...) #define IF_NOT_READPROFILE(...) __VA_ARGS__ #undef CONFIG_RENICE #define ENABLE_RENICE 0 #define IF_RENICE(...) #define IF_NOT_RENICE(...) __VA_ARGS__ #undef CONFIG_REV #define ENABLE_REV 0 #define IF_REV(...) #define IF_NOT_REV(...) __VA_ARGS__ #undef CONFIG_RTCWAKE #define ENABLE_RTCWAKE 0 #define IF_RTCWAKE(...) #define IF_NOT_RTCWAKE(...) __VA_ARGS__ #undef CONFIG_SCRIPT #define ENABLE_SCRIPT 0 #define IF_SCRIPT(...) #define IF_NOT_SCRIPT(...) __VA_ARGS__ #undef CONFIG_SCRIPTREPLAY #define ENABLE_SCRIPTREPLAY 0 #define IF_SCRIPTREPLAY(...) #define IF_NOT_SCRIPTREPLAY(...) __VA_ARGS__ #undef CONFIG_SETARCH #define ENABLE_SETARCH 0 #define IF_SETARCH(...) #define IF_NOT_SETARCH(...) __VA_ARGS__ #undef CONFIG_LINUX32 #define ENABLE_LINUX32 0 #define IF_LINUX32(...) #define IF_NOT_LINUX32(...) __VA_ARGS__ #undef CONFIG_LINUX64 #define ENABLE_LINUX64 0 #define IF_LINUX64(...) #define IF_NOT_LINUX64(...) __VA_ARGS__ #undef CONFIG_SETPRIV #define ENABLE_SETPRIV 0 #define IF_SETPRIV(...) #define IF_NOT_SETPRIV(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETPRIV_DUMP #define ENABLE_FEATURE_SETPRIV_DUMP 0 #define IF_FEATURE_SETPRIV_DUMP(...) #define IF_NOT_FEATURE_SETPRIV_DUMP(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETPRIV_CAPABILITIES #define ENABLE_FEATURE_SETPRIV_CAPABILITIES 0 #define IF_FEATURE_SETPRIV_CAPABILITIES(...) #define IF_NOT_FEATURE_SETPRIV_CAPABILITIES(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES #define ENABLE_FEATURE_SETPRIV_CAPABILITY_NAMES 0 #define IF_FEATURE_SETPRIV_CAPABILITY_NAMES(...) #define IF_NOT_FEATURE_SETPRIV_CAPABILITY_NAMES(...) __VA_ARGS__ #undef CONFIG_SETSID #define ENABLE_SETSID 0 #define IF_SETSID(...) #define IF_NOT_SETSID(...) __VA_ARGS__ #define CONFIG_SWAPON 1 #define ENABLE_SWAPON 1 #ifdef MAKE_SUID # define IF_SWAPON(...) __VA_ARGS__ "CONFIG_SWAPON" #else # define IF_SWAPON(...) __VA_ARGS__ #endif #define IF_NOT_SWAPON(...) #define CONFIG_FEATURE_SWAPON_DISCARD 1 #define ENABLE_FEATURE_SWAPON_DISCARD 1 #ifdef MAKE_SUID # define IF_FEATURE_SWAPON_DISCARD(...) __VA_ARGS__ "CONFIG_FEATURE_SWAPON_DISCARD" #else # define IF_FEATURE_SWAPON_DISCARD(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SWAPON_DISCARD(...) #define CONFIG_FEATURE_SWAPON_PRI 1 #define ENABLE_FEATURE_SWAPON_PRI 1 #ifdef MAKE_SUID # define IF_FEATURE_SWAPON_PRI(...) __VA_ARGS__ "CONFIG_FEATURE_SWAPON_PRI" #else # define IF_FEATURE_SWAPON_PRI(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SWAPON_PRI(...) #define CONFIG_SWAPOFF 1 #define ENABLE_SWAPOFF 1 #ifdef MAKE_SUID # define IF_SWAPOFF(...) __VA_ARGS__ "CONFIG_SWAPOFF" #else # define IF_SWAPOFF(...) __VA_ARGS__ #endif #define IF_NOT_SWAPOFF(...) #undef CONFIG_FEATURE_SWAPONOFF_LABEL #define ENABLE_FEATURE_SWAPONOFF_LABEL 0 #define IF_FEATURE_SWAPONOFF_LABEL(...) #define IF_NOT_FEATURE_SWAPONOFF_LABEL(...) __VA_ARGS__ #define CONFIG_SWITCH_ROOT 1 #define ENABLE_SWITCH_ROOT 1 #ifdef MAKE_SUID # define IF_SWITCH_ROOT(...) __VA_ARGS__ "CONFIG_SWITCH_ROOT" #else # define IF_SWITCH_ROOT(...) __VA_ARGS__ #endif #define IF_NOT_SWITCH_ROOT(...) #undef CONFIG_TASKSET #define ENABLE_TASKSET 0 #define IF_TASKSET(...) #define IF_NOT_TASKSET(...) __VA_ARGS__ #undef CONFIG_FEATURE_TASKSET_FANCY #define ENABLE_FEATURE_TASKSET_FANCY 0 #define IF_FEATURE_TASKSET_FANCY(...) #define IF_NOT_FEATURE_TASKSET_FANCY(...) __VA_ARGS__ #undef CONFIG_UEVENT #define ENABLE_UEVENT 0 #define IF_UEVENT(...) #define IF_NOT_UEVENT(...) __VA_ARGS__ #define CONFIG_UMOUNT 1 #define ENABLE_UMOUNT 1 #ifdef MAKE_SUID # define IF_UMOUNT(...) __VA_ARGS__ "CONFIG_UMOUNT" #else # define IF_UMOUNT(...) __VA_ARGS__ #endif #define IF_NOT_UMOUNT(...) #define CONFIG_FEATURE_UMOUNT_ALL 1 #define ENABLE_FEATURE_UMOUNT_ALL 1 #ifdef MAKE_SUID # define IF_FEATURE_UMOUNT_ALL(...) __VA_ARGS__ "CONFIG_FEATURE_UMOUNT_ALL" #else # define IF_FEATURE_UMOUNT_ALL(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_UMOUNT_ALL(...) #undef CONFIG_UNSHARE #define ENABLE_UNSHARE 0 #define IF_UNSHARE(...) #define IF_NOT_UNSHARE(...) __VA_ARGS__ #undef CONFIG_WALL #define ENABLE_WALL 0 #define IF_WALL(...) #define IF_NOT_WALL(...) __VA_ARGS__ /* * Common options for mount/umount */ #define CONFIG_FEATURE_MOUNT_LOOP 1 #define ENABLE_FEATURE_MOUNT_LOOP 1 #ifdef MAKE_SUID # define IF_FEATURE_MOUNT_LOOP(...) __VA_ARGS__ "CONFIG_FEATURE_MOUNT_LOOP" #else # define IF_FEATURE_MOUNT_LOOP(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MOUNT_LOOP(...) #undef CONFIG_FEATURE_MOUNT_LOOP_CREATE #define ENABLE_FEATURE_MOUNT_LOOP_CREATE 0 #define IF_FEATURE_MOUNT_LOOP_CREATE(...) #define IF_NOT_FEATURE_MOUNT_LOOP_CREATE(...) __VA_ARGS__ #undef CONFIG_FEATURE_MTAB_SUPPORT #define ENABLE_FEATURE_MTAB_SUPPORT 0 #define IF_FEATURE_MTAB_SUPPORT(...) #define IF_NOT_FEATURE_MTAB_SUPPORT(...) __VA_ARGS__ #undef CONFIG_VOLUMEID #define ENABLE_VOLUMEID 0 #define IF_VOLUMEID(...) #define IF_NOT_VOLUMEID(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_BCACHE #define ENABLE_FEATURE_VOLUMEID_BCACHE 0 #define IF_FEATURE_VOLUMEID_BCACHE(...) #define IF_NOT_FEATURE_VOLUMEID_BCACHE(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_BTRFS #define ENABLE_FEATURE_VOLUMEID_BTRFS 0 #define IF_FEATURE_VOLUMEID_BTRFS(...) #define IF_NOT_FEATURE_VOLUMEID_BTRFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_CRAMFS #define ENABLE_FEATURE_VOLUMEID_CRAMFS 0 #define IF_FEATURE_VOLUMEID_CRAMFS(...) #define IF_NOT_FEATURE_VOLUMEID_CRAMFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_EXFAT #define ENABLE_FEATURE_VOLUMEID_EXFAT 0 #define IF_FEATURE_VOLUMEID_EXFAT(...) #define IF_NOT_FEATURE_VOLUMEID_EXFAT(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_EXT #define ENABLE_FEATURE_VOLUMEID_EXT 0 #define IF_FEATURE_VOLUMEID_EXT(...) #define IF_NOT_FEATURE_VOLUMEID_EXT(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_F2FS #define ENABLE_FEATURE_VOLUMEID_F2FS 0 #define IF_FEATURE_VOLUMEID_F2FS(...) #define IF_NOT_FEATURE_VOLUMEID_F2FS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_FAT #define ENABLE_FEATURE_VOLUMEID_FAT 0 #define IF_FEATURE_VOLUMEID_FAT(...) #define IF_NOT_FEATURE_VOLUMEID_FAT(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_HFS #define ENABLE_FEATURE_VOLUMEID_HFS 0 #define IF_FEATURE_VOLUMEID_HFS(...) #define IF_NOT_FEATURE_VOLUMEID_HFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_ISO9660 #define ENABLE_FEATURE_VOLUMEID_ISO9660 0 #define IF_FEATURE_VOLUMEID_ISO9660(...) #define IF_NOT_FEATURE_VOLUMEID_ISO9660(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_JFS #define ENABLE_FEATURE_VOLUMEID_JFS 0 #define IF_FEATURE_VOLUMEID_JFS(...) #define IF_NOT_FEATURE_VOLUMEID_JFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_LFS #define ENABLE_FEATURE_VOLUMEID_LFS 0 #define IF_FEATURE_VOLUMEID_LFS(...) #define IF_NOT_FEATURE_VOLUMEID_LFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_LINUXRAID #define ENABLE_FEATURE_VOLUMEID_LINUXRAID 0 #define IF_FEATURE_VOLUMEID_LINUXRAID(...) #define IF_NOT_FEATURE_VOLUMEID_LINUXRAID(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_LINUXSWAP #define ENABLE_FEATURE_VOLUMEID_LINUXSWAP 0 #define IF_FEATURE_VOLUMEID_LINUXSWAP(...) #define IF_NOT_FEATURE_VOLUMEID_LINUXSWAP(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_LUKS #define ENABLE_FEATURE_VOLUMEID_LUKS 0 #define IF_FEATURE_VOLUMEID_LUKS(...) #define IF_NOT_FEATURE_VOLUMEID_LUKS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_MINIX #define ENABLE_FEATURE_VOLUMEID_MINIX 0 #define IF_FEATURE_VOLUMEID_MINIX(...) #define IF_NOT_FEATURE_VOLUMEID_MINIX(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_NILFS #define ENABLE_FEATURE_VOLUMEID_NILFS 0 #define IF_FEATURE_VOLUMEID_NILFS(...) #define IF_NOT_FEATURE_VOLUMEID_NILFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_NTFS #define ENABLE_FEATURE_VOLUMEID_NTFS 0 #define IF_FEATURE_VOLUMEID_NTFS(...) #define IF_NOT_FEATURE_VOLUMEID_NTFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_OCFS2 #define ENABLE_FEATURE_VOLUMEID_OCFS2 0 #define IF_FEATURE_VOLUMEID_OCFS2(...) #define IF_NOT_FEATURE_VOLUMEID_OCFS2(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_REISERFS #define ENABLE_FEATURE_VOLUMEID_REISERFS 0 #define IF_FEATURE_VOLUMEID_REISERFS(...) #define IF_NOT_FEATURE_VOLUMEID_REISERFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_ROMFS #define ENABLE_FEATURE_VOLUMEID_ROMFS 0 #define IF_FEATURE_VOLUMEID_ROMFS(...) #define IF_NOT_FEATURE_VOLUMEID_ROMFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_SQUASHFS #define ENABLE_FEATURE_VOLUMEID_SQUASHFS 0 #define IF_FEATURE_VOLUMEID_SQUASHFS(...) #define IF_NOT_FEATURE_VOLUMEID_SQUASHFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_SYSV #define ENABLE_FEATURE_VOLUMEID_SYSV 0 #define IF_FEATURE_VOLUMEID_SYSV(...) #define IF_NOT_FEATURE_VOLUMEID_SYSV(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_UBIFS #define ENABLE_FEATURE_VOLUMEID_UBIFS 0 #define IF_FEATURE_VOLUMEID_UBIFS(...) #define IF_NOT_FEATURE_VOLUMEID_UBIFS(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_UDF #define ENABLE_FEATURE_VOLUMEID_UDF 0 #define IF_FEATURE_VOLUMEID_UDF(...) #define IF_NOT_FEATURE_VOLUMEID_UDF(...) __VA_ARGS__ #undef CONFIG_FEATURE_VOLUMEID_XFS #define ENABLE_FEATURE_VOLUMEID_XFS 0 #define IF_FEATURE_VOLUMEID_XFS(...) #define IF_NOT_FEATURE_VOLUMEID_XFS(...) __VA_ARGS__ /* * Miscellaneous Utilities */ #undef CONFIG_ADJTIMEX #define ENABLE_ADJTIMEX 0 #define IF_ADJTIMEX(...) #define IF_NOT_ADJTIMEX(...) __VA_ARGS__ #undef CONFIG_BBCONFIG #define ENABLE_BBCONFIG 0 #define IF_BBCONFIG(...) #define IF_NOT_BBCONFIG(...) __VA_ARGS__ #undef CONFIG_FEATURE_COMPRESS_BBCONFIG #define ENABLE_FEATURE_COMPRESS_BBCONFIG 0 #define IF_FEATURE_COMPRESS_BBCONFIG(...) #define IF_NOT_FEATURE_COMPRESS_BBCONFIG(...) __VA_ARGS__ #undef CONFIG_BC #define ENABLE_BC 0 #define IF_BC(...) #define IF_NOT_BC(...) __VA_ARGS__ #undef CONFIG_DC #define ENABLE_DC 0 #define IF_DC(...) #define IF_NOT_DC(...) __VA_ARGS__ #undef CONFIG_FEATURE_DC_BIG #define ENABLE_FEATURE_DC_BIG 0 #define IF_FEATURE_DC_BIG(...) #define IF_NOT_FEATURE_DC_BIG(...) __VA_ARGS__ #undef CONFIG_FEATURE_DC_LIBM #define ENABLE_FEATURE_DC_LIBM 0 #define IF_FEATURE_DC_LIBM(...) #define IF_NOT_FEATURE_DC_LIBM(...) __VA_ARGS__ #undef CONFIG_FEATURE_BC_INTERACTIVE #define ENABLE_FEATURE_BC_INTERACTIVE 0 #define IF_FEATURE_BC_INTERACTIVE(...) #define IF_NOT_FEATURE_BC_INTERACTIVE(...) __VA_ARGS__ #undef CONFIG_FEATURE_BC_LONG_OPTIONS #define ENABLE_FEATURE_BC_LONG_OPTIONS 0 #define IF_FEATURE_BC_LONG_OPTIONS(...) #define IF_NOT_FEATURE_BC_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_BEEP #define ENABLE_BEEP 0 #define IF_BEEP(...) #define IF_NOT_BEEP(...) __VA_ARGS__ #define CONFIG_FEATURE_BEEP_FREQ 0 #define ENABLE_FEATURE_BEEP_FREQ 1 #ifdef MAKE_SUID # define IF_FEATURE_BEEP_FREQ(...) __VA_ARGS__ "CONFIG_FEATURE_BEEP_FREQ" #else # define IF_FEATURE_BEEP_FREQ(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BEEP_FREQ(...) #define CONFIG_FEATURE_BEEP_LENGTH_MS 0 #define ENABLE_FEATURE_BEEP_LENGTH_MS 1 #ifdef MAKE_SUID # define IF_FEATURE_BEEP_LENGTH_MS(...) __VA_ARGS__ "CONFIG_FEATURE_BEEP_LENGTH_MS" #else # define IF_FEATURE_BEEP_LENGTH_MS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BEEP_LENGTH_MS(...) #undef CONFIG_CHAT #define ENABLE_CHAT 0 #define IF_CHAT(...) #define IF_NOT_CHAT(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_NOFAIL #define ENABLE_FEATURE_CHAT_NOFAIL 0 #define IF_FEATURE_CHAT_NOFAIL(...) #define IF_NOT_FEATURE_CHAT_NOFAIL(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_TTY_HIFI #define ENABLE_FEATURE_CHAT_TTY_HIFI 0 #define IF_FEATURE_CHAT_TTY_HIFI(...) #define IF_NOT_FEATURE_CHAT_TTY_HIFI(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_IMPLICIT_CR #define ENABLE_FEATURE_CHAT_IMPLICIT_CR 0 #define IF_FEATURE_CHAT_IMPLICIT_CR(...) #define IF_NOT_FEATURE_CHAT_IMPLICIT_CR(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_SWALLOW_OPTS #define ENABLE_FEATURE_CHAT_SWALLOW_OPTS 0 #define IF_FEATURE_CHAT_SWALLOW_OPTS(...) #define IF_NOT_FEATURE_CHAT_SWALLOW_OPTS(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_SEND_ESCAPES #define ENABLE_FEATURE_CHAT_SEND_ESCAPES 0 #define IF_FEATURE_CHAT_SEND_ESCAPES(...) #define IF_NOT_FEATURE_CHAT_SEND_ESCAPES(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_VAR_ABORT_LEN #define ENABLE_FEATURE_CHAT_VAR_ABORT_LEN 0 #define IF_FEATURE_CHAT_VAR_ABORT_LEN(...) #define IF_NOT_FEATURE_CHAT_VAR_ABORT_LEN(...) __VA_ARGS__ #undef CONFIG_FEATURE_CHAT_CLR_ABORT #define ENABLE_FEATURE_CHAT_CLR_ABORT 0 #define IF_FEATURE_CHAT_CLR_ABORT(...) #define IF_NOT_FEATURE_CHAT_CLR_ABORT(...) __VA_ARGS__ #undef CONFIG_CONSPY #define ENABLE_CONSPY 0 #define IF_CONSPY(...) #define IF_NOT_CONSPY(...) __VA_ARGS__ #define CONFIG_CROND 1 #define ENABLE_CROND 1 #ifdef MAKE_SUID # define IF_CROND(...) __VA_ARGS__ "CONFIG_CROND" #else # define IF_CROND(...) __VA_ARGS__ #endif #define IF_NOT_CROND(...) #undef CONFIG_FEATURE_CROND_D #define ENABLE_FEATURE_CROND_D 0 #define IF_FEATURE_CROND_D(...) #define IF_NOT_FEATURE_CROND_D(...) __VA_ARGS__ #undef CONFIG_FEATURE_CROND_CALL_SENDMAIL #define ENABLE_FEATURE_CROND_CALL_SENDMAIL 0 #define IF_FEATURE_CROND_CALL_SENDMAIL(...) #define IF_NOT_FEATURE_CROND_CALL_SENDMAIL(...) __VA_ARGS__ #undef CONFIG_FEATURE_CROND_SPECIAL_TIMES #define ENABLE_FEATURE_CROND_SPECIAL_TIMES 0 #define IF_FEATURE_CROND_SPECIAL_TIMES(...) #define IF_NOT_FEATURE_CROND_SPECIAL_TIMES(...) __VA_ARGS__ #define CONFIG_FEATURE_CROND_DIR "/etc" #define ENABLE_FEATURE_CROND_DIR 1 #ifdef MAKE_SUID # define IF_FEATURE_CROND_DIR(...) __VA_ARGS__ "CONFIG_FEATURE_CROND_DIR" #else # define IF_FEATURE_CROND_DIR(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_CROND_DIR(...) #define CONFIG_CRONTAB 1 #define ENABLE_CRONTAB 1 #ifdef MAKE_SUID # define IF_CRONTAB(...) __VA_ARGS__ "CONFIG_CRONTAB" #else # define IF_CRONTAB(...) __VA_ARGS__ #endif #define IF_NOT_CRONTAB(...) #undef CONFIG_DEVFSD #define ENABLE_DEVFSD 0 #define IF_DEVFSD(...) #define IF_NOT_DEVFSD(...) __VA_ARGS__ #undef CONFIG_DEVFSD_MODLOAD #define ENABLE_DEVFSD_MODLOAD 0 #define IF_DEVFSD_MODLOAD(...) #define IF_NOT_DEVFSD_MODLOAD(...) __VA_ARGS__ #undef CONFIG_DEVFSD_FG_NP #define ENABLE_DEVFSD_FG_NP 0 #define IF_DEVFSD_FG_NP(...) #define IF_NOT_DEVFSD_FG_NP(...) __VA_ARGS__ #undef CONFIG_DEVFSD_VERBOSE #define ENABLE_DEVFSD_VERBOSE 0 #define IF_DEVFSD_VERBOSE(...) #define IF_NOT_DEVFSD_VERBOSE(...) __VA_ARGS__ #undef CONFIG_FEATURE_DEVFS #define ENABLE_FEATURE_DEVFS 0 #define IF_FEATURE_DEVFS(...) #define IF_NOT_FEATURE_DEVFS(...) __VA_ARGS__ #define CONFIG_DEVMEM 1 #define ENABLE_DEVMEM 1 #ifdef MAKE_SUID # define IF_DEVMEM(...) __VA_ARGS__ "CONFIG_DEVMEM" #else # define IF_DEVMEM(...) __VA_ARGS__ #endif #define IF_NOT_DEVMEM(...) #undef CONFIG_FBSPLASH #define ENABLE_FBSPLASH 0 #define IF_FBSPLASH(...) #define IF_NOT_FBSPLASH(...) __VA_ARGS__ #undef CONFIG_FLASH_ERASEALL #define ENABLE_FLASH_ERASEALL 0 #define IF_FLASH_ERASEALL(...) #define IF_NOT_FLASH_ERASEALL(...) __VA_ARGS__ #undef CONFIG_FLASH_LOCK #define ENABLE_FLASH_LOCK 0 #define IF_FLASH_LOCK(...) #define IF_NOT_FLASH_LOCK(...) __VA_ARGS__ #undef CONFIG_FLASH_UNLOCK #define ENABLE_FLASH_UNLOCK 0 #define IF_FLASH_UNLOCK(...) #define IF_NOT_FLASH_UNLOCK(...) __VA_ARGS__ #undef CONFIG_FLASHCP #define ENABLE_FLASHCP 0 #define IF_FLASHCP(...) #define IF_NOT_FLASHCP(...) __VA_ARGS__ #undef CONFIG_HDPARM #define ENABLE_HDPARM 0 #define IF_HDPARM(...) #define IF_NOT_HDPARM(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_GET_IDENTITY #define ENABLE_FEATURE_HDPARM_GET_IDENTITY 0 #define IF_FEATURE_HDPARM_GET_IDENTITY(...) #define IF_NOT_FEATURE_HDPARM_GET_IDENTITY(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF #define ENABLE_FEATURE_HDPARM_HDIO_SCAN_HWIF 0 #define IF_FEATURE_HDPARM_HDIO_SCAN_HWIF(...) #define IF_NOT_FEATURE_HDPARM_HDIO_SCAN_HWIF(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF #define ENABLE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF 0 #define IF_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF(...) #define IF_NOT_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET #define ENABLE_FEATURE_HDPARM_HDIO_DRIVE_RESET 0 #define IF_FEATURE_HDPARM_HDIO_DRIVE_RESET(...) #define IF_NOT_FEATURE_HDPARM_HDIO_DRIVE_RESET(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF #define ENABLE_FEATURE_HDPARM_HDIO_TRISTATE_HWIF 0 #define IF_FEATURE_HDPARM_HDIO_TRISTATE_HWIF(...) #define IF_NOT_FEATURE_HDPARM_HDIO_TRISTATE_HWIF(...) __VA_ARGS__ #undef CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA #define ENABLE_FEATURE_HDPARM_HDIO_GETSET_DMA 0 #define IF_FEATURE_HDPARM_HDIO_GETSET_DMA(...) #define IF_NOT_FEATURE_HDPARM_HDIO_GETSET_DMA(...) __VA_ARGS__ #undef CONFIG_HEXEDIT #define ENABLE_HEXEDIT 0 #define IF_HEXEDIT(...) #define IF_NOT_HEXEDIT(...) __VA_ARGS__ #undef CONFIG_I2CGET #define ENABLE_I2CGET 0 #define IF_I2CGET(...) #define IF_NOT_I2CGET(...) __VA_ARGS__ #undef CONFIG_I2CSET #define ENABLE_I2CSET 0 #define IF_I2CSET(...) #define IF_NOT_I2CSET(...) __VA_ARGS__ #undef CONFIG_I2CDUMP #define ENABLE_I2CDUMP 0 #define IF_I2CDUMP(...) #define IF_NOT_I2CDUMP(...) __VA_ARGS__ #undef CONFIG_I2CDETECT #define ENABLE_I2CDETECT 0 #define IF_I2CDETECT(...) #define IF_NOT_I2CDETECT(...) __VA_ARGS__ #undef CONFIG_INOTIFYD #define ENABLE_INOTIFYD 0 #define IF_INOTIFYD(...) #define IF_NOT_INOTIFYD(...) __VA_ARGS__ #define CONFIG_LESS 1 #define ENABLE_LESS 1 #ifdef MAKE_SUID # define IF_LESS(...) __VA_ARGS__ "CONFIG_LESS" #else # define IF_LESS(...) __VA_ARGS__ #endif #define IF_NOT_LESS(...) #define CONFIG_FEATURE_LESS_MAXLINES 9999999 #define ENABLE_FEATURE_LESS_MAXLINES 1 #ifdef MAKE_SUID # define IF_FEATURE_LESS_MAXLINES(...) __VA_ARGS__ "CONFIG_FEATURE_LESS_MAXLINES" #else # define IF_FEATURE_LESS_MAXLINES(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_LESS_MAXLINES(...) #undef CONFIG_FEATURE_LESS_BRACKETS #define ENABLE_FEATURE_LESS_BRACKETS 0 #define IF_FEATURE_LESS_BRACKETS(...) #define IF_NOT_FEATURE_LESS_BRACKETS(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_FLAGS #define ENABLE_FEATURE_LESS_FLAGS 0 #define IF_FEATURE_LESS_FLAGS(...) #define IF_NOT_FEATURE_LESS_FLAGS(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_TRUNCATE #define ENABLE_FEATURE_LESS_TRUNCATE 0 #define IF_FEATURE_LESS_TRUNCATE(...) #define IF_NOT_FEATURE_LESS_TRUNCATE(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_MARKS #define ENABLE_FEATURE_LESS_MARKS 0 #define IF_FEATURE_LESS_MARKS(...) #define IF_NOT_FEATURE_LESS_MARKS(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_REGEXP #define ENABLE_FEATURE_LESS_REGEXP 0 #define IF_FEATURE_LESS_REGEXP(...) #define IF_NOT_FEATURE_LESS_REGEXP(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_WINCH #define ENABLE_FEATURE_LESS_WINCH 0 #define IF_FEATURE_LESS_WINCH(...) #define IF_NOT_FEATURE_LESS_WINCH(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_ASK_TERMINAL #define ENABLE_FEATURE_LESS_ASK_TERMINAL 0 #define IF_FEATURE_LESS_ASK_TERMINAL(...) #define IF_NOT_FEATURE_LESS_ASK_TERMINAL(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_DASHCMD #define ENABLE_FEATURE_LESS_DASHCMD 0 #define IF_FEATURE_LESS_DASHCMD(...) #define IF_NOT_FEATURE_LESS_DASHCMD(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_LINENUMS #define ENABLE_FEATURE_LESS_LINENUMS 0 #define IF_FEATURE_LESS_LINENUMS(...) #define IF_NOT_FEATURE_LESS_LINENUMS(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_RAW #define ENABLE_FEATURE_LESS_RAW 0 #define IF_FEATURE_LESS_RAW(...) #define IF_NOT_FEATURE_LESS_RAW(...) __VA_ARGS__ #undef CONFIG_FEATURE_LESS_ENV #define ENABLE_FEATURE_LESS_ENV 0 #define IF_FEATURE_LESS_ENV(...) #define IF_NOT_FEATURE_LESS_ENV(...) __VA_ARGS__ #define CONFIG_LOCK 1 #define ENABLE_LOCK 1 #ifdef MAKE_SUID # define IF_LOCK(...) __VA_ARGS__ "CONFIG_LOCK" #else # define IF_LOCK(...) __VA_ARGS__ #endif #define IF_NOT_LOCK(...) #undef CONFIG_LSSCSI #define ENABLE_LSSCSI 0 #define IF_LSSCSI(...) #define IF_NOT_LSSCSI(...) __VA_ARGS__ #undef CONFIG_MAKEDEVS #define ENABLE_MAKEDEVS 0 #define IF_MAKEDEVS(...) #define IF_NOT_MAKEDEVS(...) __VA_ARGS__ #undef CONFIG_FEATURE_MAKEDEVS_LEAF #define ENABLE_FEATURE_MAKEDEVS_LEAF 0 #define IF_FEATURE_MAKEDEVS_LEAF(...) #define IF_NOT_FEATURE_MAKEDEVS_LEAF(...) __VA_ARGS__ #undef CONFIG_FEATURE_MAKEDEVS_TABLE #define ENABLE_FEATURE_MAKEDEVS_TABLE 0 #define IF_FEATURE_MAKEDEVS_TABLE(...) #define IF_NOT_FEATURE_MAKEDEVS_TABLE(...) __VA_ARGS__ #undef CONFIG_MAN #define ENABLE_MAN 0 #define IF_MAN(...) #define IF_NOT_MAN(...) __VA_ARGS__ #undef CONFIG_MICROCOM #define ENABLE_MICROCOM 0 #define IF_MICROCOM(...) #define IF_NOT_MICROCOM(...) __VA_ARGS__ #undef CONFIG_MT #define ENABLE_MT 0 #define IF_MT(...) #define IF_NOT_MT(...) __VA_ARGS__ #undef CONFIG_NANDWRITE #define ENABLE_NANDWRITE 0 #define IF_NANDWRITE(...) #define IF_NOT_NANDWRITE(...) __VA_ARGS__ #undef CONFIG_NANDDUMP #define ENABLE_NANDDUMP 0 #define IF_NANDDUMP(...) #define IF_NOT_NANDDUMP(...) __VA_ARGS__ #undef CONFIG_PARTPROBE #define ENABLE_PARTPROBE 0 #define IF_PARTPROBE(...) #define IF_NOT_PARTPROBE(...) __VA_ARGS__ #undef CONFIG_RAIDAUTORUN #define ENABLE_RAIDAUTORUN 0 #define IF_RAIDAUTORUN(...) #define IF_NOT_RAIDAUTORUN(...) __VA_ARGS__ #undef CONFIG_READAHEAD #define ENABLE_READAHEAD 0 #define IF_READAHEAD(...) #define IF_NOT_READAHEAD(...) __VA_ARGS__ #undef CONFIG_RFKILL #define ENABLE_RFKILL 0 #define IF_RFKILL(...) #define IF_NOT_RFKILL(...) __VA_ARGS__ #undef CONFIG_RUNLEVEL #define ENABLE_RUNLEVEL 0 #define IF_RUNLEVEL(...) #define IF_NOT_RUNLEVEL(...) __VA_ARGS__ #undef CONFIG_RX #define ENABLE_RX 0 #define IF_RX(...) #define IF_NOT_RX(...) __VA_ARGS__ #undef CONFIG_SETFATTR #define ENABLE_SETFATTR 0 #define IF_SETFATTR(...) #define IF_NOT_SETFATTR(...) __VA_ARGS__ #undef CONFIG_SETSERIAL #define ENABLE_SETSERIAL 0 #define IF_SETSERIAL(...) #define IF_NOT_SETSERIAL(...) __VA_ARGS__ #define CONFIG_STRINGS 1 #define ENABLE_STRINGS 1 #ifdef MAKE_SUID # define IF_STRINGS(...) __VA_ARGS__ "CONFIG_STRINGS" #else # define IF_STRINGS(...) __VA_ARGS__ #endif #define IF_NOT_STRINGS(...) #define CONFIG_TIME 1 #define ENABLE_TIME 1 #ifdef MAKE_SUID # define IF_TIME(...) __VA_ARGS__ "CONFIG_TIME" #else # define IF_TIME(...) __VA_ARGS__ #endif #define IF_NOT_TIME(...) #undef CONFIG_TTYSIZE #define ENABLE_TTYSIZE 0 #define IF_TTYSIZE(...) #define IF_NOT_TTYSIZE(...) __VA_ARGS__ #undef CONFIG_UBIATTACH #define ENABLE_UBIATTACH 0 #define IF_UBIATTACH(...) #define IF_NOT_UBIATTACH(...) __VA_ARGS__ #undef CONFIG_UBIDETACH #define ENABLE_UBIDETACH 0 #define IF_UBIDETACH(...) #define IF_NOT_UBIDETACH(...) __VA_ARGS__ #undef CONFIG_UBIMKVOL #define ENABLE_UBIMKVOL 0 #define IF_UBIMKVOL(...) #define IF_NOT_UBIMKVOL(...) __VA_ARGS__ #undef CONFIG_UBIRMVOL #define ENABLE_UBIRMVOL 0 #define IF_UBIRMVOL(...) #define IF_NOT_UBIRMVOL(...) __VA_ARGS__ #undef CONFIG_UBIRSVOL #define ENABLE_UBIRSVOL 0 #define IF_UBIRSVOL(...) #define IF_NOT_UBIRSVOL(...) __VA_ARGS__ #undef CONFIG_UBIUPDATEVOL #define ENABLE_UBIUPDATEVOL 0 #define IF_UBIUPDATEVOL(...) #define IF_NOT_UBIUPDATEVOL(...) __VA_ARGS__ #undef CONFIG_UBIRENAME #define ENABLE_UBIRENAME 0 #define IF_UBIRENAME(...) #define IF_NOT_UBIRENAME(...) __VA_ARGS__ #undef CONFIG_VOLNAME #define ENABLE_VOLNAME 0 #define IF_VOLNAME(...) #define IF_NOT_VOLNAME(...) __VA_ARGS__ #undef CONFIG_WATCHDOG #define ENABLE_WATCHDOG 0 #define IF_WATCHDOG(...) #define IF_NOT_WATCHDOG(...) __VA_ARGS__ /* * Networking Utilities */ #define CONFIG_FEATURE_IPV6 1 #define ENABLE_FEATURE_IPV6 1 #ifdef MAKE_SUID # define IF_FEATURE_IPV6(...) __VA_ARGS__ "CONFIG_FEATURE_IPV6" #else # define IF_FEATURE_IPV6(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IPV6(...) #undef CONFIG_FEATURE_UNIX_LOCAL #define ENABLE_FEATURE_UNIX_LOCAL 0 #define IF_FEATURE_UNIX_LOCAL(...) #define IF_NOT_FEATURE_UNIX_LOCAL(...) __VA_ARGS__ #define CONFIG_FEATURE_PREFER_IPV4_ADDRESS 1 #define ENABLE_FEATURE_PREFER_IPV4_ADDRESS 1 #ifdef MAKE_SUID # define IF_FEATURE_PREFER_IPV4_ADDRESS(...) __VA_ARGS__ "CONFIG_FEATURE_PREFER_IPV4_ADDRESS" #else # define IF_FEATURE_PREFER_IPV4_ADDRESS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PREFER_IPV4_ADDRESS(...) #define CONFIG_VERBOSE_RESOLUTION_ERRORS 1 #define ENABLE_VERBOSE_RESOLUTION_ERRORS 1 #ifdef MAKE_SUID # define IF_VERBOSE_RESOLUTION_ERRORS(...) __VA_ARGS__ "CONFIG_VERBOSE_RESOLUTION_ERRORS" #else # define IF_VERBOSE_RESOLUTION_ERRORS(...) __VA_ARGS__ #endif #define IF_NOT_VERBOSE_RESOLUTION_ERRORS(...) #undef CONFIG_FEATURE_TLS_SHA1 #define ENABLE_FEATURE_TLS_SHA1 0 #define IF_FEATURE_TLS_SHA1(...) #define IF_NOT_FEATURE_TLS_SHA1(...) __VA_ARGS__ #undef CONFIG_ARP #define ENABLE_ARP 0 #define IF_ARP(...) #define IF_NOT_ARP(...) __VA_ARGS__ #undef CONFIG_ARPING #define ENABLE_ARPING 0 #define IF_ARPING(...) #define IF_NOT_ARPING(...) __VA_ARGS__ #define CONFIG_BRCTL 1 #define ENABLE_BRCTL 1 #ifdef MAKE_SUID # define IF_BRCTL(...) __VA_ARGS__ "CONFIG_BRCTL" #else # define IF_BRCTL(...) __VA_ARGS__ #endif #define IF_NOT_BRCTL(...) #define CONFIG_FEATURE_BRCTL_FANCY 1 #define ENABLE_FEATURE_BRCTL_FANCY 1 #ifdef MAKE_SUID # define IF_FEATURE_BRCTL_FANCY(...) __VA_ARGS__ "CONFIG_FEATURE_BRCTL_FANCY" #else # define IF_FEATURE_BRCTL_FANCY(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BRCTL_FANCY(...) #define CONFIG_FEATURE_BRCTL_SHOW 1 #define ENABLE_FEATURE_BRCTL_SHOW 1 #ifdef MAKE_SUID # define IF_FEATURE_BRCTL_SHOW(...) __VA_ARGS__ "CONFIG_FEATURE_BRCTL_SHOW" #else # define IF_FEATURE_BRCTL_SHOW(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_BRCTL_SHOW(...) #undef CONFIG_DNSD #define ENABLE_DNSD 0 #define IF_DNSD(...) #define IF_NOT_DNSD(...) __VA_ARGS__ #undef CONFIG_ETHER_WAKE #define ENABLE_ETHER_WAKE 0 #define IF_ETHER_WAKE(...) #define IF_NOT_ETHER_WAKE(...) __VA_ARGS__ #undef CONFIG_FTPD #define ENABLE_FTPD 0 #define IF_FTPD(...) #define IF_NOT_FTPD(...) __VA_ARGS__ #undef CONFIG_FEATURE_FTPD_WRITE #define ENABLE_FEATURE_FTPD_WRITE 0 #define IF_FEATURE_FTPD_WRITE(...) #define IF_NOT_FEATURE_FTPD_WRITE(...) __VA_ARGS__ #undef CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST #define ENABLE_FEATURE_FTPD_ACCEPT_BROKEN_LIST 0 #define IF_FEATURE_FTPD_ACCEPT_BROKEN_LIST(...) #define IF_NOT_FEATURE_FTPD_ACCEPT_BROKEN_LIST(...) __VA_ARGS__ #undef CONFIG_FEATURE_FTPD_AUTHENTICATION #define ENABLE_FEATURE_FTPD_AUTHENTICATION 0 #define IF_FEATURE_FTPD_AUTHENTICATION(...) #define IF_NOT_FEATURE_FTPD_AUTHENTICATION(...) __VA_ARGS__ #undef CONFIG_FTPGET #define ENABLE_FTPGET 0 #define IF_FTPGET(...) #define IF_NOT_FTPGET(...) __VA_ARGS__ #undef CONFIG_FTPPUT #define ENABLE_FTPPUT 0 #define IF_FTPPUT(...) #define IF_NOT_FTPPUT(...) __VA_ARGS__ #undef CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS #define ENABLE_FEATURE_FTPGETPUT_LONG_OPTIONS 0 #define IF_FEATURE_FTPGETPUT_LONG_OPTIONS(...) #define IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_HOSTNAME #define ENABLE_HOSTNAME 0 #define IF_HOSTNAME(...) #define IF_NOT_HOSTNAME(...) __VA_ARGS__ #undef CONFIG_DNSDOMAINNAME #define ENABLE_DNSDOMAINNAME 0 #define IF_DNSDOMAINNAME(...) #define IF_NOT_DNSDOMAINNAME(...) __VA_ARGS__ #undef CONFIG_HTTPD #define ENABLE_HTTPD 0 #define IF_HTTPD(...) #define IF_NOT_HTTPD(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_RANGES #define ENABLE_FEATURE_HTTPD_RANGES 0 #define IF_FEATURE_HTTPD_RANGES(...) #define IF_NOT_FEATURE_HTTPD_RANGES(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_SETUID #define ENABLE_FEATURE_HTTPD_SETUID 0 #define IF_FEATURE_HTTPD_SETUID(...) #define IF_NOT_FEATURE_HTTPD_SETUID(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_BASIC_AUTH #define ENABLE_FEATURE_HTTPD_BASIC_AUTH 0 #define IF_FEATURE_HTTPD_BASIC_AUTH(...) #define IF_NOT_FEATURE_HTTPD_BASIC_AUTH(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_AUTH_MD5 #define ENABLE_FEATURE_HTTPD_AUTH_MD5 0 #define IF_FEATURE_HTTPD_AUTH_MD5(...) #define IF_NOT_FEATURE_HTTPD_AUTH_MD5(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_CGI #define ENABLE_FEATURE_HTTPD_CGI 0 #define IF_FEATURE_HTTPD_CGI(...) #define IF_NOT_FEATURE_HTTPD_CGI(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR #define ENABLE_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR 0 #define IF_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR(...) #define IF_NOT_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV #define ENABLE_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV 0 #define IF_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV(...) #define IF_NOT_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_ENCODE_URL_STR #define ENABLE_FEATURE_HTTPD_ENCODE_URL_STR 0 #define IF_FEATURE_HTTPD_ENCODE_URL_STR(...) #define IF_NOT_FEATURE_HTTPD_ENCODE_URL_STR(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_ERROR_PAGES #define ENABLE_FEATURE_HTTPD_ERROR_PAGES 0 #define IF_FEATURE_HTTPD_ERROR_PAGES(...) #define IF_NOT_FEATURE_HTTPD_ERROR_PAGES(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_PROXY #define ENABLE_FEATURE_HTTPD_PROXY 0 #define IF_FEATURE_HTTPD_PROXY(...) #define IF_NOT_FEATURE_HTTPD_PROXY(...) __VA_ARGS__ #undef CONFIG_FEATURE_HTTPD_GZIP #define ENABLE_FEATURE_HTTPD_GZIP 0 #define IF_FEATURE_HTTPD_GZIP(...) #define IF_NOT_FEATURE_HTTPD_GZIP(...) __VA_ARGS__ #define CONFIG_IFCONFIG 1 #define ENABLE_IFCONFIG 1 #ifdef MAKE_SUID # define IF_IFCONFIG(...) __VA_ARGS__ "CONFIG_IFCONFIG" #else # define IF_IFCONFIG(...) __VA_ARGS__ #endif #define IF_NOT_IFCONFIG(...) #define CONFIG_FEATURE_IFCONFIG_STATUS 1 #define ENABLE_FEATURE_IFCONFIG_STATUS 1 #ifdef MAKE_SUID # define IF_FEATURE_IFCONFIG_STATUS(...) __VA_ARGS__ "CONFIG_FEATURE_IFCONFIG_STATUS" #else # define IF_FEATURE_IFCONFIG_STATUS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IFCONFIG_STATUS(...) #undef CONFIG_FEATURE_IFCONFIG_SLIP #define ENABLE_FEATURE_IFCONFIG_SLIP 0 #define IF_FEATURE_IFCONFIG_SLIP(...) #define IF_NOT_FEATURE_IFCONFIG_SLIP(...) __VA_ARGS__ #undef CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ #define ENABLE_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ 0 #define IF_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ(...) #define IF_NOT_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ(...) __VA_ARGS__ #define CONFIG_FEATURE_IFCONFIG_HW 1 #define ENABLE_FEATURE_IFCONFIG_HW 1 #ifdef MAKE_SUID # define IF_FEATURE_IFCONFIG_HW(...) __VA_ARGS__ "CONFIG_FEATURE_IFCONFIG_HW" #else # define IF_FEATURE_IFCONFIG_HW(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IFCONFIG_HW(...) #define CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS 1 #define ENABLE_FEATURE_IFCONFIG_BROADCAST_PLUS 1 #ifdef MAKE_SUID # define IF_FEATURE_IFCONFIG_BROADCAST_PLUS(...) __VA_ARGS__ "CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS" #else # define IF_FEATURE_IFCONFIG_BROADCAST_PLUS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IFCONFIG_BROADCAST_PLUS(...) #undef CONFIG_IFENSLAVE #define ENABLE_IFENSLAVE 0 #define IF_IFENSLAVE(...) #define IF_NOT_IFENSLAVE(...) __VA_ARGS__ #undef CONFIG_IFPLUGD #define ENABLE_IFPLUGD 0 #define IF_IFPLUGD(...) #define IF_NOT_IFPLUGD(...) __VA_ARGS__ #undef CONFIG_IFUP #define ENABLE_IFUP 0 #define IF_IFUP(...) #define IF_NOT_IFUP(...) __VA_ARGS__ #undef CONFIG_IFDOWN #define ENABLE_IFDOWN 0 #define IF_IFDOWN(...) #define IF_NOT_IFDOWN(...) __VA_ARGS__ #define CONFIG_IFUPDOWN_IFSTATE_PATH "" #define ENABLE_IFUPDOWN_IFSTATE_PATH 1 #ifdef MAKE_SUID # define IF_IFUPDOWN_IFSTATE_PATH(...) __VA_ARGS__ "CONFIG_IFUPDOWN_IFSTATE_PATH" #else # define IF_IFUPDOWN_IFSTATE_PATH(...) __VA_ARGS__ #endif #define IF_NOT_IFUPDOWN_IFSTATE_PATH(...) #undef CONFIG_FEATURE_IFUPDOWN_IP #define ENABLE_FEATURE_IFUPDOWN_IP 0 #define IF_FEATURE_IFUPDOWN_IP(...) #define IF_NOT_FEATURE_IFUPDOWN_IP(...) __VA_ARGS__ #undef CONFIG_FEATURE_IFUPDOWN_IPV4 #define ENABLE_FEATURE_IFUPDOWN_IPV4 0 #define IF_FEATURE_IFUPDOWN_IPV4(...) #define IF_NOT_FEATURE_IFUPDOWN_IPV4(...) __VA_ARGS__ #undef CONFIG_FEATURE_IFUPDOWN_IPV6 #define ENABLE_FEATURE_IFUPDOWN_IPV6 0 #define IF_FEATURE_IFUPDOWN_IPV6(...) #define IF_NOT_FEATURE_IFUPDOWN_IPV6(...) __VA_ARGS__ #undef CONFIG_FEATURE_IFUPDOWN_MAPPING #define ENABLE_FEATURE_IFUPDOWN_MAPPING 0 #define IF_FEATURE_IFUPDOWN_MAPPING(...) #define IF_NOT_FEATURE_IFUPDOWN_MAPPING(...) __VA_ARGS__ #undef CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP #define ENABLE_FEATURE_IFUPDOWN_EXTERNAL_DHCP 0 #define IF_FEATURE_IFUPDOWN_EXTERNAL_DHCP(...) #define IF_NOT_FEATURE_IFUPDOWN_EXTERNAL_DHCP(...) __VA_ARGS__ #undef CONFIG_INETD #define ENABLE_INETD 0 #define IF_INETD(...) #define IF_NOT_INETD(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO #define ENABLE_FEATURE_INETD_SUPPORT_BUILTIN_ECHO 0 #define IF_FEATURE_INETD_SUPPORT_BUILTIN_ECHO(...) #define IF_NOT_FEATURE_INETD_SUPPORT_BUILTIN_ECHO(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD #define ENABLE_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD 0 #define IF_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD(...) #define IF_NOT_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME #define ENABLE_FEATURE_INETD_SUPPORT_BUILTIN_TIME 0 #define IF_FEATURE_INETD_SUPPORT_BUILTIN_TIME(...) #define IF_NOT_FEATURE_INETD_SUPPORT_BUILTIN_TIME(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME #define ENABLE_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME 0 #define IF_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME(...) #define IF_NOT_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN #define ENABLE_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN 0 #define IF_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN(...) #define IF_NOT_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN(...) __VA_ARGS__ #undef CONFIG_FEATURE_INETD_RPC #define ENABLE_FEATURE_INETD_RPC 0 #define IF_FEATURE_INETD_RPC(...) #define IF_NOT_FEATURE_INETD_RPC(...) __VA_ARGS__ #define CONFIG_IP 1 #define ENABLE_IP 1 #ifdef MAKE_SUID # define IF_IP(...) __VA_ARGS__ "CONFIG_IP" #else # define IF_IP(...) __VA_ARGS__ #endif #define IF_NOT_IP(...) #undef CONFIG_IPADDR #define ENABLE_IPADDR 0 #define IF_IPADDR(...) #define IF_NOT_IPADDR(...) __VA_ARGS__ #undef CONFIG_IPLINK #define ENABLE_IPLINK 0 #define IF_IPLINK(...) #define IF_NOT_IPLINK(...) __VA_ARGS__ #undef CONFIG_IPROUTE #define ENABLE_IPROUTE 0 #define IF_IPROUTE(...) #define IF_NOT_IPROUTE(...) __VA_ARGS__ #undef CONFIG_IPTUNNEL #define ENABLE_IPTUNNEL 0 #define IF_IPTUNNEL(...) #define IF_NOT_IPTUNNEL(...) __VA_ARGS__ #undef CONFIG_IPRULE #define ENABLE_IPRULE 0 #define IF_IPRULE(...) #define IF_NOT_IPRULE(...) __VA_ARGS__ #undef CONFIG_IPNEIGH #define ENABLE_IPNEIGH 0 #define IF_IPNEIGH(...) #define IF_NOT_IPNEIGH(...) __VA_ARGS__ #define CONFIG_FEATURE_IP_ADDRESS 1 #define ENABLE_FEATURE_IP_ADDRESS 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_ADDRESS(...) __VA_ARGS__ "CONFIG_FEATURE_IP_ADDRESS" #else # define IF_FEATURE_IP_ADDRESS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_ADDRESS(...) #define CONFIG_FEATURE_IP_LINK 1 #define ENABLE_FEATURE_IP_LINK 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_LINK(...) __VA_ARGS__ "CONFIG_FEATURE_IP_LINK" #else # define IF_FEATURE_IP_LINK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_LINK(...) #define CONFIG_FEATURE_IP_ROUTE 1 #define ENABLE_FEATURE_IP_ROUTE 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_ROUTE(...) __VA_ARGS__ "CONFIG_FEATURE_IP_ROUTE" #else # define IF_FEATURE_IP_ROUTE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_ROUTE(...) #define CONFIG_FEATURE_IP_ROUTE_DIR "/etc/iproute2" #define ENABLE_FEATURE_IP_ROUTE_DIR 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_ROUTE_DIR(...) __VA_ARGS__ "CONFIG_FEATURE_IP_ROUTE_DIR" #else # define IF_FEATURE_IP_ROUTE_DIR(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_ROUTE_DIR(...) #undef CONFIG_FEATURE_IP_TUNNEL #define ENABLE_FEATURE_IP_TUNNEL 0 #define IF_FEATURE_IP_TUNNEL(...) #define IF_NOT_FEATURE_IP_TUNNEL(...) __VA_ARGS__ #define CONFIG_FEATURE_IP_RULE 1 #define ENABLE_FEATURE_IP_RULE 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_RULE(...) __VA_ARGS__ "CONFIG_FEATURE_IP_RULE" #else # define IF_FEATURE_IP_RULE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_RULE(...) #define CONFIG_FEATURE_IP_NEIGH 1 #define ENABLE_FEATURE_IP_NEIGH 1 #ifdef MAKE_SUID # define IF_FEATURE_IP_NEIGH(...) __VA_ARGS__ "CONFIG_FEATURE_IP_NEIGH" #else # define IF_FEATURE_IP_NEIGH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IP_NEIGH(...) #undef CONFIG_FEATURE_IP_RARE_PROTOCOLS #define ENABLE_FEATURE_IP_RARE_PROTOCOLS 0 #define IF_FEATURE_IP_RARE_PROTOCOLS(...) #define IF_NOT_FEATURE_IP_RARE_PROTOCOLS(...) __VA_ARGS__ #undef CONFIG_IPCALC #define ENABLE_IPCALC 0 #define IF_IPCALC(...) #define IF_NOT_IPCALC(...) __VA_ARGS__ #undef CONFIG_FEATURE_IPCALC_LONG_OPTIONS #define ENABLE_FEATURE_IPCALC_LONG_OPTIONS 0 #define IF_FEATURE_IPCALC_LONG_OPTIONS(...) #define IF_NOT_FEATURE_IPCALC_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_IPCALC_FANCY #define ENABLE_FEATURE_IPCALC_FANCY 0 #define IF_FEATURE_IPCALC_FANCY(...) #define IF_NOT_FEATURE_IPCALC_FANCY(...) __VA_ARGS__ #undef CONFIG_FAKEIDENTD #define ENABLE_FAKEIDENTD 0 #define IF_FAKEIDENTD(...) #define IF_NOT_FAKEIDENTD(...) __VA_ARGS__ #undef CONFIG_NAMEIF #define ENABLE_NAMEIF 0 #define IF_NAMEIF(...) #define IF_NOT_NAMEIF(...) __VA_ARGS__ #undef CONFIG_FEATURE_NAMEIF_EXTENDED #define ENABLE_FEATURE_NAMEIF_EXTENDED 0 #define IF_FEATURE_NAMEIF_EXTENDED(...) #define IF_NOT_FEATURE_NAMEIF_EXTENDED(...) __VA_ARGS__ #undef CONFIG_NBDCLIENT #define ENABLE_NBDCLIENT 0 #define IF_NBDCLIENT(...) #define IF_NOT_NBDCLIENT(...) __VA_ARGS__ #define CONFIG_NC 1 #define ENABLE_NC 1 #ifdef MAKE_SUID # define IF_NC(...) __VA_ARGS__ "CONFIG_NC" #else # define IF_NC(...) __VA_ARGS__ #endif #define IF_NOT_NC(...) #undef CONFIG_NETCAT #define ENABLE_NETCAT 0 #define IF_NETCAT(...) #define IF_NOT_NETCAT(...) __VA_ARGS__ #define CONFIG_NC_SERVER 1 #define ENABLE_NC_SERVER 1 #ifdef MAKE_SUID # define IF_NC_SERVER(...) __VA_ARGS__ "CONFIG_NC_SERVER" #else # define IF_NC_SERVER(...) __VA_ARGS__ #endif #define IF_NOT_NC_SERVER(...) #undef CONFIG_NC_EXTRA #define ENABLE_NC_EXTRA 0 #define IF_NC_EXTRA(...) #define IF_NOT_NC_EXTRA(...) __VA_ARGS__ #undef CONFIG_NC_110_COMPAT #define ENABLE_NC_110_COMPAT 0 #define IF_NC_110_COMPAT(...) #define IF_NOT_NC_110_COMPAT(...) __VA_ARGS__ #define CONFIG_NETMSG 1 #define ENABLE_NETMSG 1 #ifdef MAKE_SUID # define IF_NETMSG(...) __VA_ARGS__ "CONFIG_NETMSG" #else # define IF_NETMSG(...) __VA_ARGS__ #endif #define IF_NOT_NETMSG(...) #define CONFIG_NETSTAT 1 #define ENABLE_NETSTAT 1 #ifdef MAKE_SUID # define IF_NETSTAT(...) __VA_ARGS__ "CONFIG_NETSTAT" #else # define IF_NETSTAT(...) __VA_ARGS__ #endif #define IF_NOT_NETSTAT(...) #define CONFIG_FEATURE_NETSTAT_WIDE 1 #define ENABLE_FEATURE_NETSTAT_WIDE 1 #ifdef MAKE_SUID # define IF_FEATURE_NETSTAT_WIDE(...) __VA_ARGS__ "CONFIG_FEATURE_NETSTAT_WIDE" #else # define IF_FEATURE_NETSTAT_WIDE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_NETSTAT_WIDE(...) #define CONFIG_FEATURE_NETSTAT_PRG 1 #define ENABLE_FEATURE_NETSTAT_PRG 1 #ifdef MAKE_SUID # define IF_FEATURE_NETSTAT_PRG(...) __VA_ARGS__ "CONFIG_FEATURE_NETSTAT_PRG" #else # define IF_FEATURE_NETSTAT_PRG(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_NETSTAT_PRG(...) #undef CONFIG_NSLOOKUP #define ENABLE_NSLOOKUP 0 #define IF_NSLOOKUP(...) #define IF_NOT_NSLOOKUP(...) __VA_ARGS__ #undef CONFIG_FEATURE_NSLOOKUP_BIG #define ENABLE_FEATURE_NSLOOKUP_BIG 0 #define IF_FEATURE_NSLOOKUP_BIG(...) #define IF_NOT_FEATURE_NSLOOKUP_BIG(...) __VA_ARGS__ #undef CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS #define ENABLE_FEATURE_NSLOOKUP_LONG_OPTIONS 0 #define IF_FEATURE_NSLOOKUP_LONG_OPTIONS(...) #define IF_NOT_FEATURE_NSLOOKUP_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_NSLOOKUP_OPENWRT 1 #define ENABLE_NSLOOKUP_OPENWRT 1 #ifdef MAKE_SUID # define IF_NSLOOKUP_OPENWRT(...) __VA_ARGS__ "CONFIG_NSLOOKUP_OPENWRT" #else # define IF_NSLOOKUP_OPENWRT(...) __VA_ARGS__ #endif #define IF_NOT_NSLOOKUP_OPENWRT(...) #undef CONFIG_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS #define ENABLE_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS 0 #define IF_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS(...) #define IF_NOT_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS(...) __VA_ARGS__ #define CONFIG_NTPD 1 #define ENABLE_NTPD 1 #ifdef MAKE_SUID # define IF_NTPD(...) __VA_ARGS__ "CONFIG_NTPD" #else # define IF_NTPD(...) __VA_ARGS__ #endif #define IF_NOT_NTPD(...) #define CONFIG_FEATURE_NTPD_SERVER 1 #define ENABLE_FEATURE_NTPD_SERVER 1 #ifdef MAKE_SUID # define IF_FEATURE_NTPD_SERVER(...) __VA_ARGS__ "CONFIG_FEATURE_NTPD_SERVER" #else # define IF_FEATURE_NTPD_SERVER(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_NTPD_SERVER(...) #undef CONFIG_FEATURE_NTPD_CONF #define ENABLE_FEATURE_NTPD_CONF 0 #define IF_FEATURE_NTPD_CONF(...) #define IF_NOT_FEATURE_NTPD_CONF(...) __VA_ARGS__ #undef CONFIG_FEATURE_NTP_AUTH #define ENABLE_FEATURE_NTP_AUTH 0 #define IF_FEATURE_NTP_AUTH(...) #define IF_NOT_FEATURE_NTP_AUTH(...) __VA_ARGS__ #define CONFIG_PING 1 #define ENABLE_PING 1 #ifdef MAKE_SUID # define IF_PING(...) __VA_ARGS__ "CONFIG_PING" #else # define IF_PING(...) __VA_ARGS__ #endif #define IF_NOT_PING(...) #define CONFIG_PING6 1 #define ENABLE_PING6 1 #ifdef MAKE_SUID # define IF_PING6(...) __VA_ARGS__ "CONFIG_PING6" #else # define IF_PING6(...) __VA_ARGS__ #endif #define IF_NOT_PING6(...) #define CONFIG_FEATURE_FANCY_PING 1 #define ENABLE_FEATURE_FANCY_PING 1 #ifdef MAKE_SUID # define IF_FEATURE_FANCY_PING(...) __VA_ARGS__ "CONFIG_FEATURE_FANCY_PING" #else # define IF_FEATURE_FANCY_PING(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_FANCY_PING(...) #undef CONFIG_PSCAN #define ENABLE_PSCAN 0 #define IF_PSCAN(...) #define IF_NOT_PSCAN(...) __VA_ARGS__ #define CONFIG_ROUTE 1 #define ENABLE_ROUTE 1 #ifdef MAKE_SUID # define IF_ROUTE(...) __VA_ARGS__ "CONFIG_ROUTE" #else # define IF_ROUTE(...) __VA_ARGS__ #endif #define IF_NOT_ROUTE(...) #undef CONFIG_SLATTACH #define ENABLE_SLATTACH 0 #define IF_SLATTACH(...) #define IF_NOT_SLATTACH(...) __VA_ARGS__ #undef CONFIG_SSL_CLIENT #define ENABLE_SSL_CLIENT 0 #define IF_SSL_CLIENT(...) #define IF_NOT_SSL_CLIENT(...) __VA_ARGS__ #undef CONFIG_TC #define ENABLE_TC 0 #define IF_TC(...) #define IF_NOT_TC(...) __VA_ARGS__ #undef CONFIG_FEATURE_TC_INGRESS #define ENABLE_FEATURE_TC_INGRESS 0 #define IF_FEATURE_TC_INGRESS(...) #define IF_NOT_FEATURE_TC_INGRESS(...) __VA_ARGS__ #undef CONFIG_TCPSVD #define ENABLE_TCPSVD 0 #define IF_TCPSVD(...) #define IF_NOT_TCPSVD(...) __VA_ARGS__ #undef CONFIG_UDPSVD #define ENABLE_UDPSVD 0 #define IF_UDPSVD(...) #define IF_NOT_UDPSVD(...) __VA_ARGS__ #undef CONFIG_TELNET #define ENABLE_TELNET 0 #define IF_TELNET(...) #define IF_NOT_TELNET(...) __VA_ARGS__ #undef CONFIG_FEATURE_TELNET_TTYPE #define ENABLE_FEATURE_TELNET_TTYPE 0 #define IF_FEATURE_TELNET_TTYPE(...) #define IF_NOT_FEATURE_TELNET_TTYPE(...) __VA_ARGS__ #undef CONFIG_FEATURE_TELNET_AUTOLOGIN #define ENABLE_FEATURE_TELNET_AUTOLOGIN 0 #define IF_FEATURE_TELNET_AUTOLOGIN(...) #define IF_NOT_FEATURE_TELNET_AUTOLOGIN(...) __VA_ARGS__ #undef CONFIG_FEATURE_TELNET_WIDTH #define ENABLE_FEATURE_TELNET_WIDTH 0 #define IF_FEATURE_TELNET_WIDTH(...) #define IF_NOT_FEATURE_TELNET_WIDTH(...) __VA_ARGS__ #undef CONFIG_TELNETD #define ENABLE_TELNETD 0 #define IF_TELNETD(...) #define IF_NOT_TELNETD(...) __VA_ARGS__ #undef CONFIG_FEATURE_TELNETD_STANDALONE #define ENABLE_FEATURE_TELNETD_STANDALONE 0 #define IF_FEATURE_TELNETD_STANDALONE(...) #define IF_NOT_FEATURE_TELNETD_STANDALONE(...) __VA_ARGS__ #undef CONFIG_FEATURE_TELNETD_INETD_WAIT #define ENABLE_FEATURE_TELNETD_INETD_WAIT 0 #define IF_FEATURE_TELNETD_INETD_WAIT(...) #define IF_NOT_FEATURE_TELNETD_INETD_WAIT(...) __VA_ARGS__ #undef CONFIG_TFTP #define ENABLE_TFTP 0 #define IF_TFTP(...) #define IF_NOT_TFTP(...) __VA_ARGS__ #undef CONFIG_FEATURE_TFTP_PROGRESS_BAR #define ENABLE_FEATURE_TFTP_PROGRESS_BAR 0 #define IF_FEATURE_TFTP_PROGRESS_BAR(...) #define IF_NOT_FEATURE_TFTP_PROGRESS_BAR(...) __VA_ARGS__ #undef CONFIG_TFTPD #define ENABLE_TFTPD 0 #define IF_TFTPD(...) #define IF_NOT_TFTPD(...) __VA_ARGS__ #undef CONFIG_FEATURE_TFTP_GET #define ENABLE_FEATURE_TFTP_GET 0 #define IF_FEATURE_TFTP_GET(...) #define IF_NOT_FEATURE_TFTP_GET(...) __VA_ARGS__ #undef CONFIG_FEATURE_TFTP_PUT #define ENABLE_FEATURE_TFTP_PUT 0 #define IF_FEATURE_TFTP_PUT(...) #define IF_NOT_FEATURE_TFTP_PUT(...) __VA_ARGS__ #undef CONFIG_FEATURE_TFTP_BLOCKSIZE #define ENABLE_FEATURE_TFTP_BLOCKSIZE 0 #define IF_FEATURE_TFTP_BLOCKSIZE(...) #define IF_NOT_FEATURE_TFTP_BLOCKSIZE(...) __VA_ARGS__ #undef CONFIG_TFTP_DEBUG #define ENABLE_TFTP_DEBUG 0 #define IF_TFTP_DEBUG(...) #define IF_NOT_TFTP_DEBUG(...) __VA_ARGS__ #undef CONFIG_TLS #define ENABLE_TLS 0 #define IF_TLS(...) #define IF_NOT_TLS(...) __VA_ARGS__ #define CONFIG_TRACEROUTE 1 #define ENABLE_TRACEROUTE 1 #ifdef MAKE_SUID # define IF_TRACEROUTE(...) __VA_ARGS__ "CONFIG_TRACEROUTE" #else # define IF_TRACEROUTE(...) __VA_ARGS__ #endif #define IF_NOT_TRACEROUTE(...) #define CONFIG_TRACEROUTE6 1 #define ENABLE_TRACEROUTE6 1 #ifdef MAKE_SUID # define IF_TRACEROUTE6(...) __VA_ARGS__ "CONFIG_TRACEROUTE6" #else # define IF_TRACEROUTE6(...) __VA_ARGS__ #endif #define IF_NOT_TRACEROUTE6(...) #define CONFIG_FEATURE_TRACEROUTE_VERBOSE 1 #define ENABLE_FEATURE_TRACEROUTE_VERBOSE 1 #ifdef MAKE_SUID # define IF_FEATURE_TRACEROUTE_VERBOSE(...) __VA_ARGS__ "CONFIG_FEATURE_TRACEROUTE_VERBOSE" #else # define IF_FEATURE_TRACEROUTE_VERBOSE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TRACEROUTE_VERBOSE(...) #undef CONFIG_FEATURE_TRACEROUTE_USE_ICMP #define ENABLE_FEATURE_TRACEROUTE_USE_ICMP 0 #define IF_FEATURE_TRACEROUTE_USE_ICMP(...) #define IF_NOT_FEATURE_TRACEROUTE_USE_ICMP(...) __VA_ARGS__ #undef CONFIG_TUNCTL #define ENABLE_TUNCTL 0 #define IF_TUNCTL(...) #define IF_NOT_TUNCTL(...) __VA_ARGS__ #undef CONFIG_FEATURE_TUNCTL_UG #define ENABLE_FEATURE_TUNCTL_UG 0 #define IF_FEATURE_TUNCTL_UG(...) #define IF_NOT_FEATURE_TUNCTL_UG(...) __VA_ARGS__ #undef CONFIG_VCONFIG #define ENABLE_VCONFIG 0 #define IF_VCONFIG(...) #define IF_NOT_VCONFIG(...) __VA_ARGS__ #undef CONFIG_WGET #define ENABLE_WGET 0 #define IF_WGET(...) #define IF_NOT_WGET(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_LONG_OPTIONS #define ENABLE_FEATURE_WGET_LONG_OPTIONS 0 #define IF_FEATURE_WGET_LONG_OPTIONS(...) #define IF_NOT_FEATURE_WGET_LONG_OPTIONS(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_STATUSBAR #define ENABLE_FEATURE_WGET_STATUSBAR 0 #define IF_FEATURE_WGET_STATUSBAR(...) #define IF_NOT_FEATURE_WGET_STATUSBAR(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_AUTHENTICATION #define ENABLE_FEATURE_WGET_AUTHENTICATION 0 #define IF_FEATURE_WGET_AUTHENTICATION(...) #define IF_NOT_FEATURE_WGET_AUTHENTICATION(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_TIMEOUT #define ENABLE_FEATURE_WGET_TIMEOUT 0 #define IF_FEATURE_WGET_TIMEOUT(...) #define IF_NOT_FEATURE_WGET_TIMEOUT(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_HTTPS #define ENABLE_FEATURE_WGET_HTTPS 0 #define IF_FEATURE_WGET_HTTPS(...) #define IF_NOT_FEATURE_WGET_HTTPS(...) __VA_ARGS__ #undef CONFIG_FEATURE_WGET_OPENSSL #define ENABLE_FEATURE_WGET_OPENSSL 0 #define IF_FEATURE_WGET_OPENSSL(...) #define IF_NOT_FEATURE_WGET_OPENSSL(...) __VA_ARGS__ #undef CONFIG_WHOIS #define ENABLE_WHOIS 0 #define IF_WHOIS(...) #define IF_NOT_WHOIS(...) __VA_ARGS__ #undef CONFIG_ZCIP #define ENABLE_ZCIP 0 #define IF_ZCIP(...) #define IF_NOT_ZCIP(...) __VA_ARGS__ #undef CONFIG_UDHCPD #define ENABLE_UDHCPD 0 #define IF_UDHCPD(...) #define IF_NOT_UDHCPD(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC #define ENABLE_FEATURE_UDHCPD_BASE_IP_ON_MAC 0 #define IF_FEATURE_UDHCPD_BASE_IP_ON_MAC(...) #define IF_NOT_FEATURE_UDHCPD_BASE_IP_ON_MAC(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY #define ENABLE_FEATURE_UDHCPD_WRITE_LEASES_EARLY 0 #define IF_FEATURE_UDHCPD_WRITE_LEASES_EARLY(...) #define IF_NOT_FEATURE_UDHCPD_WRITE_LEASES_EARLY(...) __VA_ARGS__ #define CONFIG_DHCPD_LEASES_FILE "" #define ENABLE_DHCPD_LEASES_FILE 1 #ifdef MAKE_SUID # define IF_DHCPD_LEASES_FILE(...) __VA_ARGS__ "CONFIG_DHCPD_LEASES_FILE" #else # define IF_DHCPD_LEASES_FILE(...) __VA_ARGS__ #endif #define IF_NOT_DHCPD_LEASES_FILE(...) #undef CONFIG_DUMPLEASES #define ENABLE_DUMPLEASES 0 #define IF_DUMPLEASES(...) #define IF_NOT_DUMPLEASES(...) __VA_ARGS__ #undef CONFIG_DHCPRELAY #define ENABLE_DHCPRELAY 0 #define IF_DHCPRELAY(...) #define IF_NOT_DHCPRELAY(...) __VA_ARGS__ #define CONFIG_UDHCPC 1 #define ENABLE_UDHCPC 1 #ifdef MAKE_SUID # define IF_UDHCPC(...) __VA_ARGS__ "CONFIG_UDHCPC" #else # define IF_UDHCPC(...) __VA_ARGS__ #endif #define IF_NOT_UDHCPC(...) #undef CONFIG_FEATURE_UDHCPC_ARPING #define ENABLE_FEATURE_UDHCPC_ARPING 0 #define IF_FEATURE_UDHCPC_ARPING(...) #define IF_NOT_FEATURE_UDHCPC_ARPING(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPC_SANITIZEOPT #define ENABLE_FEATURE_UDHCPC_SANITIZEOPT 0 #define IF_FEATURE_UDHCPC_SANITIZEOPT(...) #define IF_NOT_FEATURE_UDHCPC_SANITIZEOPT(...) __VA_ARGS__ #define CONFIG_UDHCPC_DEFAULT_SCRIPT "/usr/share/udhcpc/default.script" #define ENABLE_UDHCPC_DEFAULT_SCRIPT 1 #ifdef MAKE_SUID # define IF_UDHCPC_DEFAULT_SCRIPT(...) __VA_ARGS__ "CONFIG_UDHCPC_DEFAULT_SCRIPT" #else # define IF_UDHCPC_DEFAULT_SCRIPT(...) __VA_ARGS__ #endif #define IF_NOT_UDHCPC_DEFAULT_SCRIPT(...) #undef CONFIG_UDHCPC6 #define ENABLE_UDHCPC6 0 #define IF_UDHCPC6(...) #define IF_NOT_UDHCPC6(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPC6_RFC3646 #define ENABLE_FEATURE_UDHCPC6_RFC3646 0 #define IF_FEATURE_UDHCPC6_RFC3646(...) #define IF_NOT_FEATURE_UDHCPC6_RFC3646(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPC6_RFC4704 #define ENABLE_FEATURE_UDHCPC6_RFC4704 0 #define IF_FEATURE_UDHCPC6_RFC4704(...) #define IF_NOT_FEATURE_UDHCPC6_RFC4704(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPC6_RFC4833 #define ENABLE_FEATURE_UDHCPC6_RFC4833 0 #define IF_FEATURE_UDHCPC6_RFC4833(...) #define IF_NOT_FEATURE_UDHCPC6_RFC4833(...) __VA_ARGS__ #undef CONFIG_FEATURE_UDHCPC6_RFC5970 #define ENABLE_FEATURE_UDHCPC6_RFC5970 0 #define IF_FEATURE_UDHCPC6_RFC5970(...) #define IF_NOT_FEATURE_UDHCPC6_RFC5970(...) __VA_ARGS__ /* * Common options for DHCP applets */ #undef CONFIG_FEATURE_UDHCP_PORT #define ENABLE_FEATURE_UDHCP_PORT 0 #define IF_FEATURE_UDHCP_PORT(...) #define IF_NOT_FEATURE_UDHCP_PORT(...) __VA_ARGS__ #define CONFIG_UDHCP_DEBUG 0 #define ENABLE_UDHCP_DEBUG 1 #ifdef MAKE_SUID # define IF_UDHCP_DEBUG(...) __VA_ARGS__ "CONFIG_UDHCP_DEBUG" #else # define IF_UDHCP_DEBUG(...) __VA_ARGS__ #endif #define IF_NOT_UDHCP_DEBUG(...) #define CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS 80 #define ENABLE_UDHCPC_SLACK_FOR_BUGGY_SERVERS 1 #ifdef MAKE_SUID # define IF_UDHCPC_SLACK_FOR_BUGGY_SERVERS(...) __VA_ARGS__ "CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS" #else # define IF_UDHCPC_SLACK_FOR_BUGGY_SERVERS(...) __VA_ARGS__ #endif #define IF_NOT_UDHCPC_SLACK_FOR_BUGGY_SERVERS(...) #define CONFIG_FEATURE_UDHCP_RFC3397 1 #define ENABLE_FEATURE_UDHCP_RFC3397 1 #ifdef MAKE_SUID # define IF_FEATURE_UDHCP_RFC3397(...) __VA_ARGS__ "CONFIG_FEATURE_UDHCP_RFC3397" #else # define IF_FEATURE_UDHCP_RFC3397(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_UDHCP_RFC3397(...) #undef CONFIG_FEATURE_UDHCP_8021Q #define ENABLE_FEATURE_UDHCP_8021Q 0 #define IF_FEATURE_UDHCP_8021Q(...) #define IF_NOT_FEATURE_UDHCP_8021Q(...) __VA_ARGS__ #define CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS "" #define ENABLE_IFUPDOWN_UDHCPC_CMD_OPTIONS 1 #ifdef MAKE_SUID # define IF_IFUPDOWN_UDHCPC_CMD_OPTIONS(...) __VA_ARGS__ "CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS" #else # define IF_IFUPDOWN_UDHCPC_CMD_OPTIONS(...) __VA_ARGS__ #endif #define IF_NOT_IFUPDOWN_UDHCPC_CMD_OPTIONS(...) /* * Print Utilities */ #undef CONFIG_LPD #define ENABLE_LPD 0 #define IF_LPD(...) #define IF_NOT_LPD(...) __VA_ARGS__ #undef CONFIG_LPR #define ENABLE_LPR 0 #define IF_LPR(...) #define IF_NOT_LPR(...) __VA_ARGS__ #undef CONFIG_LPQ #define ENABLE_LPQ 0 #define IF_LPQ(...) #define IF_NOT_LPQ(...) __VA_ARGS__ /* * Mail Utilities */ #undef CONFIG_MAKEMIME #define ENABLE_MAKEMIME 0 #define IF_MAKEMIME(...) #define IF_NOT_MAKEMIME(...) __VA_ARGS__ #undef CONFIG_POPMAILDIR #define ENABLE_POPMAILDIR 0 #define IF_POPMAILDIR(...) #define IF_NOT_POPMAILDIR(...) __VA_ARGS__ #undef CONFIG_FEATURE_POPMAILDIR_DELIVERY #define ENABLE_FEATURE_POPMAILDIR_DELIVERY 0 #define IF_FEATURE_POPMAILDIR_DELIVERY(...) #define IF_NOT_FEATURE_POPMAILDIR_DELIVERY(...) __VA_ARGS__ #undef CONFIG_REFORMIME #define ENABLE_REFORMIME 0 #define IF_REFORMIME(...) #define IF_NOT_REFORMIME(...) __VA_ARGS__ #undef CONFIG_FEATURE_REFORMIME_COMPAT #define ENABLE_FEATURE_REFORMIME_COMPAT 0 #define IF_FEATURE_REFORMIME_COMPAT(...) #define IF_NOT_FEATURE_REFORMIME_COMPAT(...) __VA_ARGS__ #undef CONFIG_SENDMAIL #define ENABLE_SENDMAIL 0 #define IF_SENDMAIL(...) #define IF_NOT_SENDMAIL(...) __VA_ARGS__ #define CONFIG_FEATURE_MIME_CHARSET "" #define ENABLE_FEATURE_MIME_CHARSET 1 #ifdef MAKE_SUID # define IF_FEATURE_MIME_CHARSET(...) __VA_ARGS__ "CONFIG_FEATURE_MIME_CHARSET" #else # define IF_FEATURE_MIME_CHARSET(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_MIME_CHARSET(...) /* * Process Utilities */ #define CONFIG_FREE 1 #define ENABLE_FREE 1 #ifdef MAKE_SUID # define IF_FREE(...) __VA_ARGS__ "CONFIG_FREE" #else # define IF_FREE(...) __VA_ARGS__ #endif #define IF_NOT_FREE(...) #undef CONFIG_FUSER #define ENABLE_FUSER 0 #define IF_FUSER(...) #define IF_NOT_FUSER(...) __VA_ARGS__ #undef CONFIG_IOSTAT #define ENABLE_IOSTAT 0 #define IF_IOSTAT(...) #define IF_NOT_IOSTAT(...) __VA_ARGS__ #define CONFIG_KILL 1 #define ENABLE_KILL 1 #ifdef MAKE_SUID # define IF_KILL(...) __VA_ARGS__ "CONFIG_KILL" #else # define IF_KILL(...) __VA_ARGS__ #endif #define IF_NOT_KILL(...) #define CONFIG_KILLALL 1 #define ENABLE_KILLALL 1 #ifdef MAKE_SUID # define IF_KILLALL(...) __VA_ARGS__ "CONFIG_KILLALL" #else # define IF_KILLALL(...) __VA_ARGS__ #endif #define IF_NOT_KILLALL(...) #undef CONFIG_KILLALL5 #define ENABLE_KILLALL5 0 #define IF_KILLALL5(...) #define IF_NOT_KILLALL5(...) __VA_ARGS__ #undef CONFIG_LSOF #define ENABLE_LSOF 0 #define IF_LSOF(...) #define IF_NOT_LSOF(...) __VA_ARGS__ #undef CONFIG_MPSTAT #define ENABLE_MPSTAT 0 #define IF_MPSTAT(...) #define IF_NOT_MPSTAT(...) __VA_ARGS__ #undef CONFIG_NMETER #define ENABLE_NMETER 0 #define IF_NMETER(...) #define IF_NOT_NMETER(...) __VA_ARGS__ #define CONFIG_PGREP 1 #define ENABLE_PGREP 1 #ifdef MAKE_SUID # define IF_PGREP(...) __VA_ARGS__ "CONFIG_PGREP" #else # define IF_PGREP(...) __VA_ARGS__ #endif #define IF_NOT_PGREP(...) #undef CONFIG_PKILL #define ENABLE_PKILL 0 #define IF_PKILL(...) #define IF_NOT_PKILL(...) __VA_ARGS__ #define CONFIG_PIDOF 1 #define ENABLE_PIDOF 1 #ifdef MAKE_SUID # define IF_PIDOF(...) __VA_ARGS__ "CONFIG_PIDOF" #else # define IF_PIDOF(...) __VA_ARGS__ #endif #define IF_NOT_PIDOF(...) #undef CONFIG_FEATURE_PIDOF_SINGLE #define ENABLE_FEATURE_PIDOF_SINGLE 0 #define IF_FEATURE_PIDOF_SINGLE(...) #define IF_NOT_FEATURE_PIDOF_SINGLE(...) __VA_ARGS__ #undef CONFIG_FEATURE_PIDOF_OMIT #define ENABLE_FEATURE_PIDOF_OMIT 0 #define IF_FEATURE_PIDOF_OMIT(...) #define IF_NOT_FEATURE_PIDOF_OMIT(...) __VA_ARGS__ #undef CONFIG_PMAP #define ENABLE_PMAP 0 #define IF_PMAP(...) #define IF_NOT_PMAP(...) __VA_ARGS__ #undef CONFIG_POWERTOP #define ENABLE_POWERTOP 0 #define IF_POWERTOP(...) #define IF_NOT_POWERTOP(...) __VA_ARGS__ #undef CONFIG_FEATURE_POWERTOP_INTERACTIVE #define ENABLE_FEATURE_POWERTOP_INTERACTIVE 0 #define IF_FEATURE_POWERTOP_INTERACTIVE(...) #define IF_NOT_FEATURE_POWERTOP_INTERACTIVE(...) __VA_ARGS__ #define CONFIG_PS 1 #define ENABLE_PS 1 #ifdef MAKE_SUID # define IF_PS(...) __VA_ARGS__ "CONFIG_PS" #else # define IF_PS(...) __VA_ARGS__ #endif #define IF_NOT_PS(...) #define CONFIG_FEATURE_PS_WIDE 1 #define ENABLE_FEATURE_PS_WIDE 1 #ifdef MAKE_SUID # define IF_FEATURE_PS_WIDE(...) __VA_ARGS__ "CONFIG_FEATURE_PS_WIDE" #else # define IF_FEATURE_PS_WIDE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_PS_WIDE(...) #undef CONFIG_FEATURE_PS_LONG #define ENABLE_FEATURE_PS_LONG 0 #define IF_FEATURE_PS_LONG(...) #define IF_NOT_FEATURE_PS_LONG(...) __VA_ARGS__ #undef CONFIG_FEATURE_PS_TIME #define ENABLE_FEATURE_PS_TIME 0 #define IF_FEATURE_PS_TIME(...) #define IF_NOT_FEATURE_PS_TIME(...) __VA_ARGS__ #undef CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS #define ENABLE_FEATURE_PS_UNUSUAL_SYSTEMS 0 #define IF_FEATURE_PS_UNUSUAL_SYSTEMS(...) #define IF_NOT_FEATURE_PS_UNUSUAL_SYSTEMS(...) __VA_ARGS__ #undef CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS #define ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS 0 #define IF_FEATURE_PS_ADDITIONAL_COLUMNS(...) #define IF_NOT_FEATURE_PS_ADDITIONAL_COLUMNS(...) __VA_ARGS__ #undef CONFIG_PSTREE #define ENABLE_PSTREE 0 #define IF_PSTREE(...) #define IF_NOT_PSTREE(...) __VA_ARGS__ #undef CONFIG_PWDX #define ENABLE_PWDX 0 #define IF_PWDX(...) #define IF_NOT_PWDX(...) __VA_ARGS__ #undef CONFIG_SMEMCAP #define ENABLE_SMEMCAP 0 #define IF_SMEMCAP(...) #define IF_NOT_SMEMCAP(...) __VA_ARGS__ #define CONFIG_BB_SYSCTL 1 #define ENABLE_BB_SYSCTL 1 #ifdef MAKE_SUID # define IF_BB_SYSCTL(...) __VA_ARGS__ "CONFIG_BB_SYSCTL" #else # define IF_BB_SYSCTL(...) __VA_ARGS__ #endif #define IF_NOT_BB_SYSCTL(...) #define CONFIG_TOP 1 #define ENABLE_TOP 1 #ifdef MAKE_SUID # define IF_TOP(...) __VA_ARGS__ "CONFIG_TOP" #else # define IF_TOP(...) __VA_ARGS__ #endif #define IF_NOT_TOP(...) #undef CONFIG_FEATURE_TOP_INTERACTIVE #define ENABLE_FEATURE_TOP_INTERACTIVE 0 #define IF_FEATURE_TOP_INTERACTIVE(...) #define IF_NOT_FEATURE_TOP_INTERACTIVE(...) __VA_ARGS__ #define CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE 1 #define ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE 1 #ifdef MAKE_SUID # define IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE(...) __VA_ARGS__ "CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE" #else # define IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TOP_CPU_USAGE_PERCENTAGE(...) #define CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS 1 #define ENABLE_FEATURE_TOP_CPU_GLOBAL_PERCENTS 1 #ifdef MAKE_SUID # define IF_FEATURE_TOP_CPU_GLOBAL_PERCENTS(...) __VA_ARGS__ "CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS" #else # define IF_FEATURE_TOP_CPU_GLOBAL_PERCENTS(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_TOP_CPU_GLOBAL_PERCENTS(...) #undef CONFIG_FEATURE_TOP_SMP_CPU #define ENABLE_FEATURE_TOP_SMP_CPU 0 #define IF_FEATURE_TOP_SMP_CPU(...) #define IF_NOT_FEATURE_TOP_SMP_CPU(...) __VA_ARGS__ #undef CONFIG_FEATURE_TOP_DECIMALS #define ENABLE_FEATURE_TOP_DECIMALS 0 #define IF_FEATURE_TOP_DECIMALS(...) #define IF_NOT_FEATURE_TOP_DECIMALS(...) __VA_ARGS__ #undef CONFIG_FEATURE_TOP_SMP_PROCESS #define ENABLE_FEATURE_TOP_SMP_PROCESS 0 #define IF_FEATURE_TOP_SMP_PROCESS(...) #define IF_NOT_FEATURE_TOP_SMP_PROCESS(...) __VA_ARGS__ #undef CONFIG_FEATURE_TOPMEM #define ENABLE_FEATURE_TOPMEM 0 #define IF_FEATURE_TOPMEM(...) #define IF_NOT_FEATURE_TOPMEM(...) __VA_ARGS__ #define CONFIG_UPTIME 1 #define ENABLE_UPTIME 1 #ifdef MAKE_SUID # define IF_UPTIME(...) __VA_ARGS__ "CONFIG_UPTIME" #else # define IF_UPTIME(...) __VA_ARGS__ #endif #define IF_NOT_UPTIME(...) #undef CONFIG_FEATURE_UPTIME_UTMP_SUPPORT #define ENABLE_FEATURE_UPTIME_UTMP_SUPPORT 0 #define IF_FEATURE_UPTIME_UTMP_SUPPORT(...) #define IF_NOT_FEATURE_UPTIME_UTMP_SUPPORT(...) __VA_ARGS__ #undef CONFIG_WATCH #define ENABLE_WATCH 0 #define IF_WATCH(...) #define IF_NOT_WATCH(...) __VA_ARGS__ #undef CONFIG_FEATURE_SHOW_THREADS #define ENABLE_FEATURE_SHOW_THREADS 0 #define IF_FEATURE_SHOW_THREADS(...) #define IF_NOT_FEATURE_SHOW_THREADS(...) __VA_ARGS__ /* * Runit Utilities */ #undef CONFIG_CHPST #define ENABLE_CHPST 0 #define IF_CHPST(...) #define IF_NOT_CHPST(...) __VA_ARGS__ #undef CONFIG_SETUIDGID #define ENABLE_SETUIDGID 0 #define IF_SETUIDGID(...) #define IF_NOT_SETUIDGID(...) __VA_ARGS__ #undef CONFIG_ENVUIDGID #define ENABLE_ENVUIDGID 0 #define IF_ENVUIDGID(...) #define IF_NOT_ENVUIDGID(...) __VA_ARGS__ #undef CONFIG_ENVDIR #define ENABLE_ENVDIR 0 #define IF_ENVDIR(...) #define IF_NOT_ENVDIR(...) __VA_ARGS__ #undef CONFIG_SOFTLIMIT #define ENABLE_SOFTLIMIT 0 #define IF_SOFTLIMIT(...) #define IF_NOT_SOFTLIMIT(...) __VA_ARGS__ #undef CONFIG_RUNSV #define ENABLE_RUNSV 0 #define IF_RUNSV(...) #define IF_NOT_RUNSV(...) __VA_ARGS__ #undef CONFIG_RUNSVDIR #define ENABLE_RUNSVDIR 0 #define IF_RUNSVDIR(...) #define IF_NOT_RUNSVDIR(...) __VA_ARGS__ #undef CONFIG_FEATURE_RUNSVDIR_LOG #define ENABLE_FEATURE_RUNSVDIR_LOG 0 #define IF_FEATURE_RUNSVDIR_LOG(...) #define IF_NOT_FEATURE_RUNSVDIR_LOG(...) __VA_ARGS__ #undef CONFIG_SV #define ENABLE_SV 0 #define IF_SV(...) #define IF_NOT_SV(...) __VA_ARGS__ #define CONFIG_SV_DEFAULT_SERVICE_DIR "" #define ENABLE_SV_DEFAULT_SERVICE_DIR 1 #ifdef MAKE_SUID # define IF_SV_DEFAULT_SERVICE_DIR(...) __VA_ARGS__ "CONFIG_SV_DEFAULT_SERVICE_DIR" #else # define IF_SV_DEFAULT_SERVICE_DIR(...) __VA_ARGS__ #endif #define IF_NOT_SV_DEFAULT_SERVICE_DIR(...) #undef CONFIG_SVC #define ENABLE_SVC 0 #define IF_SVC(...) #define IF_NOT_SVC(...) __VA_ARGS__ #undef CONFIG_SVOK #define ENABLE_SVOK 0 #define IF_SVOK(...) #define IF_NOT_SVOK(...) __VA_ARGS__ #undef CONFIG_SVLOGD #define ENABLE_SVLOGD 0 #define IF_SVLOGD(...) #define IF_NOT_SVLOGD(...) __VA_ARGS__ #undef CONFIG_CHCON #define ENABLE_CHCON 0 #define IF_CHCON(...) #define IF_NOT_CHCON(...) __VA_ARGS__ #undef CONFIG_GETENFORCE #define ENABLE_GETENFORCE 0 #define IF_GETENFORCE(...) #define IF_NOT_GETENFORCE(...) __VA_ARGS__ #undef CONFIG_GETSEBOOL #define ENABLE_GETSEBOOL 0 #define IF_GETSEBOOL(...) #define IF_NOT_GETSEBOOL(...) __VA_ARGS__ #undef CONFIG_LOAD_POLICY #define ENABLE_LOAD_POLICY 0 #define IF_LOAD_POLICY(...) #define IF_NOT_LOAD_POLICY(...) __VA_ARGS__ #undef CONFIG_MATCHPATHCON #define ENABLE_MATCHPATHCON 0 #define IF_MATCHPATHCON(...) #define IF_NOT_MATCHPATHCON(...) __VA_ARGS__ #undef CONFIG_RUNCON #define ENABLE_RUNCON 0 #define IF_RUNCON(...) #define IF_NOT_RUNCON(...) __VA_ARGS__ #undef CONFIG_SELINUXENABLED #define ENABLE_SELINUXENABLED 0 #define IF_SELINUXENABLED(...) #define IF_NOT_SELINUXENABLED(...) __VA_ARGS__ #undef CONFIG_SESTATUS #define ENABLE_SESTATUS 0 #define IF_SESTATUS(...) #define IF_NOT_SESTATUS(...) __VA_ARGS__ #undef CONFIG_SETENFORCE #define ENABLE_SETENFORCE 0 #define IF_SETENFORCE(...) #define IF_NOT_SETENFORCE(...) __VA_ARGS__ #undef CONFIG_SETFILES #define ENABLE_SETFILES 0 #define IF_SETFILES(...) #define IF_NOT_SETFILES(...) __VA_ARGS__ #undef CONFIG_FEATURE_SETFILES_CHECK_OPTION #define ENABLE_FEATURE_SETFILES_CHECK_OPTION 0 #define IF_FEATURE_SETFILES_CHECK_OPTION(...) #define IF_NOT_FEATURE_SETFILES_CHECK_OPTION(...) __VA_ARGS__ #undef CONFIG_RESTORECON #define ENABLE_RESTORECON 0 #define IF_RESTORECON(...) #define IF_NOT_RESTORECON(...) __VA_ARGS__ #undef CONFIG_SETSEBOOL #define ENABLE_SETSEBOOL 0 #define IF_SETSEBOOL(...) #define IF_NOT_SETSEBOOL(...) __VA_ARGS__ /* * Shells */ #define CONFIG_SH_IS_ASH 1 #define ENABLE_SH_IS_ASH 1 #ifdef MAKE_SUID # define IF_SH_IS_ASH(...) __VA_ARGS__ "CONFIG_SH_IS_ASH" #else # define IF_SH_IS_ASH(...) __VA_ARGS__ #endif #define IF_NOT_SH_IS_ASH(...) #undef CONFIG_SH_IS_HUSH #define ENABLE_SH_IS_HUSH 0 #define IF_SH_IS_HUSH(...) #define IF_NOT_SH_IS_HUSH(...) __VA_ARGS__ #undef CONFIG_SH_IS_NONE #define ENABLE_SH_IS_NONE 0 #define IF_SH_IS_NONE(...) #define IF_NOT_SH_IS_NONE(...) __VA_ARGS__ #undef CONFIG_BASH_IS_ASH #define ENABLE_BASH_IS_ASH 0 #define IF_BASH_IS_ASH(...) #define IF_NOT_BASH_IS_ASH(...) __VA_ARGS__ #undef CONFIG_BASH_IS_HUSH #define ENABLE_BASH_IS_HUSH 0 #define IF_BASH_IS_HUSH(...) #define IF_NOT_BASH_IS_HUSH(...) __VA_ARGS__ #define CONFIG_BASH_IS_NONE 1 #define ENABLE_BASH_IS_NONE 1 #ifdef MAKE_SUID # define IF_BASH_IS_NONE(...) __VA_ARGS__ "CONFIG_BASH_IS_NONE" #else # define IF_BASH_IS_NONE(...) __VA_ARGS__ #endif #define IF_NOT_BASH_IS_NONE(...) #define CONFIG_ASH 1 #define ENABLE_ASH 1 #ifdef MAKE_SUID # define IF_ASH(...) __VA_ARGS__ "CONFIG_ASH" #else # define IF_ASH(...) __VA_ARGS__ #endif #define IF_NOT_ASH(...) #undef CONFIG_ASH_OPTIMIZE_FOR_SIZE #define ENABLE_ASH_OPTIMIZE_FOR_SIZE 0 #define IF_ASH_OPTIMIZE_FOR_SIZE(...) #define IF_NOT_ASH_OPTIMIZE_FOR_SIZE(...) __VA_ARGS__ #define CONFIG_ASH_INTERNAL_GLOB 1 #define ENABLE_ASH_INTERNAL_GLOB 1 #ifdef MAKE_SUID # define IF_ASH_INTERNAL_GLOB(...) __VA_ARGS__ "CONFIG_ASH_INTERNAL_GLOB" #else # define IF_ASH_INTERNAL_GLOB(...) __VA_ARGS__ #endif #define IF_NOT_ASH_INTERNAL_GLOB(...) #define CONFIG_ASH_BASH_COMPAT 1 #define ENABLE_ASH_BASH_COMPAT 1 #ifdef MAKE_SUID # define IF_ASH_BASH_COMPAT(...) __VA_ARGS__ "CONFIG_ASH_BASH_COMPAT" #else # define IF_ASH_BASH_COMPAT(...) __VA_ARGS__ #endif #define IF_NOT_ASH_BASH_COMPAT(...) #undef CONFIG_ASH_BASH_SOURCE_CURDIR #define ENABLE_ASH_BASH_SOURCE_CURDIR 0 #define IF_ASH_BASH_SOURCE_CURDIR(...) #define IF_NOT_ASH_BASH_SOURCE_CURDIR(...) __VA_ARGS__ #undef CONFIG_ASH_BASH_NOT_FOUND_HOOK #define ENABLE_ASH_BASH_NOT_FOUND_HOOK 0 #define IF_ASH_BASH_NOT_FOUND_HOOK(...) #define IF_NOT_ASH_BASH_NOT_FOUND_HOOK(...) __VA_ARGS__ #define CONFIG_ASH_JOB_CONTROL 1 #define ENABLE_ASH_JOB_CONTROL 1 #ifdef MAKE_SUID # define IF_ASH_JOB_CONTROL(...) __VA_ARGS__ "CONFIG_ASH_JOB_CONTROL" #else # define IF_ASH_JOB_CONTROL(...) __VA_ARGS__ #endif #define IF_NOT_ASH_JOB_CONTROL(...) #define CONFIG_ASH_ALIAS 1 #define ENABLE_ASH_ALIAS 1 #ifdef MAKE_SUID # define IF_ASH_ALIAS(...) __VA_ARGS__ "CONFIG_ASH_ALIAS" #else # define IF_ASH_ALIAS(...) __VA_ARGS__ #endif #define IF_NOT_ASH_ALIAS(...) #define CONFIG_ASH_RANDOM_SUPPORT 1 #define ENABLE_ASH_RANDOM_SUPPORT 1 #ifdef MAKE_SUID # define IF_ASH_RANDOM_SUPPORT(...) __VA_ARGS__ "CONFIG_ASH_RANDOM_SUPPORT" #else # define IF_ASH_RANDOM_SUPPORT(...) __VA_ARGS__ #endif #define IF_NOT_ASH_RANDOM_SUPPORT(...) #define CONFIG_ASH_EXPAND_PRMT 1 #define ENABLE_ASH_EXPAND_PRMT 1 #ifdef MAKE_SUID # define IF_ASH_EXPAND_PRMT(...) __VA_ARGS__ "CONFIG_ASH_EXPAND_PRMT" #else # define IF_ASH_EXPAND_PRMT(...) __VA_ARGS__ #endif #define IF_NOT_ASH_EXPAND_PRMT(...) #undef CONFIG_ASH_IDLE_TIMEOUT #define ENABLE_ASH_IDLE_TIMEOUT 0 #define IF_ASH_IDLE_TIMEOUT(...) #define IF_NOT_ASH_IDLE_TIMEOUT(...) __VA_ARGS__ #undef CONFIG_ASH_MAIL #define ENABLE_ASH_MAIL 0 #define IF_ASH_MAIL(...) #define IF_NOT_ASH_MAIL(...) __VA_ARGS__ #define CONFIG_ASH_ECHO 1 #define ENABLE_ASH_ECHO 1 #ifdef MAKE_SUID # define IF_ASH_ECHO(...) __VA_ARGS__ "CONFIG_ASH_ECHO" #else # define IF_ASH_ECHO(...) __VA_ARGS__ #endif #define IF_NOT_ASH_ECHO(...) #define CONFIG_ASH_PRINTF 1 #define ENABLE_ASH_PRINTF 1 #ifdef MAKE_SUID # define IF_ASH_PRINTF(...) __VA_ARGS__ "CONFIG_ASH_PRINTF" #else # define IF_ASH_PRINTF(...) __VA_ARGS__ #endif #define IF_NOT_ASH_PRINTF(...) #define CONFIG_ASH_TEST 1 #define ENABLE_ASH_TEST 1 #ifdef MAKE_SUID # define IF_ASH_TEST(...) __VA_ARGS__ "CONFIG_ASH_TEST" #else # define IF_ASH_TEST(...) __VA_ARGS__ #endif #define IF_NOT_ASH_TEST(...) #undef CONFIG_ASH_HELP #define ENABLE_ASH_HELP 0 #define IF_ASH_HELP(...) #define IF_NOT_ASH_HELP(...) __VA_ARGS__ #define CONFIG_ASH_GETOPTS 1 #define ENABLE_ASH_GETOPTS 1 #ifdef MAKE_SUID # define IF_ASH_GETOPTS(...) __VA_ARGS__ "CONFIG_ASH_GETOPTS" #else # define IF_ASH_GETOPTS(...) __VA_ARGS__ #endif #define IF_NOT_ASH_GETOPTS(...) #define CONFIG_ASH_CMDCMD 1 #define ENABLE_ASH_CMDCMD 1 #ifdef MAKE_SUID # define IF_ASH_CMDCMD(...) __VA_ARGS__ "CONFIG_ASH_CMDCMD" #else # define IF_ASH_CMDCMD(...) __VA_ARGS__ #endif #define IF_NOT_ASH_CMDCMD(...) #undef CONFIG_CTTYHACK #define ENABLE_CTTYHACK 0 #define IF_CTTYHACK(...) #define IF_NOT_CTTYHACK(...) __VA_ARGS__ #undef CONFIG_HUSH #define ENABLE_HUSH 0 #define IF_HUSH(...) #define IF_NOT_HUSH(...) __VA_ARGS__ #undef CONFIG_HUSH_BASH_COMPAT #define ENABLE_HUSH_BASH_COMPAT 0 #define IF_HUSH_BASH_COMPAT(...) #define IF_NOT_HUSH_BASH_COMPAT(...) __VA_ARGS__ #undef CONFIG_HUSH_BRACE_EXPANSION #define ENABLE_HUSH_BRACE_EXPANSION 0 #define IF_HUSH_BRACE_EXPANSION(...) #define IF_NOT_HUSH_BRACE_EXPANSION(...) __VA_ARGS__ #undef CONFIG_HUSH_LINENO_VAR #define ENABLE_HUSH_LINENO_VAR 0 #define IF_HUSH_LINENO_VAR(...) #define IF_NOT_HUSH_LINENO_VAR(...) __VA_ARGS__ #undef CONFIG_HUSH_BASH_SOURCE_CURDIR #define ENABLE_HUSH_BASH_SOURCE_CURDIR 0 #define IF_HUSH_BASH_SOURCE_CURDIR(...) #define IF_NOT_HUSH_BASH_SOURCE_CURDIR(...) __VA_ARGS__ #undef CONFIG_HUSH_INTERACTIVE #define ENABLE_HUSH_INTERACTIVE 0 #define IF_HUSH_INTERACTIVE(...) #define IF_NOT_HUSH_INTERACTIVE(...) __VA_ARGS__ #undef CONFIG_HUSH_SAVEHISTORY #define ENABLE_HUSH_SAVEHISTORY 0 #define IF_HUSH_SAVEHISTORY(...) #define IF_NOT_HUSH_SAVEHISTORY(...) __VA_ARGS__ #undef CONFIG_HUSH_JOB #define ENABLE_HUSH_JOB 0 #define IF_HUSH_JOB(...) #define IF_NOT_HUSH_JOB(...) __VA_ARGS__ #undef CONFIG_HUSH_TICK #define ENABLE_HUSH_TICK 0 #define IF_HUSH_TICK(...) #define IF_NOT_HUSH_TICK(...) __VA_ARGS__ #undef CONFIG_HUSH_IF #define ENABLE_HUSH_IF 0 #define IF_HUSH_IF(...) #define IF_NOT_HUSH_IF(...) __VA_ARGS__ #undef CONFIG_HUSH_LOOPS #define ENABLE_HUSH_LOOPS 0 #define IF_HUSH_LOOPS(...) #define IF_NOT_HUSH_LOOPS(...) __VA_ARGS__ #undef CONFIG_HUSH_CASE #define ENABLE_HUSH_CASE 0 #define IF_HUSH_CASE(...) #define IF_NOT_HUSH_CASE(...) __VA_ARGS__ #undef CONFIG_HUSH_FUNCTIONS #define ENABLE_HUSH_FUNCTIONS 0 #define IF_HUSH_FUNCTIONS(...) #define IF_NOT_HUSH_FUNCTIONS(...) __VA_ARGS__ #undef CONFIG_HUSH_LOCAL #define ENABLE_HUSH_LOCAL 0 #define IF_HUSH_LOCAL(...) #define IF_NOT_HUSH_LOCAL(...) __VA_ARGS__ #undef CONFIG_HUSH_RANDOM_SUPPORT #define ENABLE_HUSH_RANDOM_SUPPORT 0 #define IF_HUSH_RANDOM_SUPPORT(...) #define IF_NOT_HUSH_RANDOM_SUPPORT(...) __VA_ARGS__ #undef CONFIG_HUSH_MODE_X #define ENABLE_HUSH_MODE_X 0 #define IF_HUSH_MODE_X(...) #define IF_NOT_HUSH_MODE_X(...) __VA_ARGS__ #undef CONFIG_HUSH_ECHO #define ENABLE_HUSH_ECHO 0 #define IF_HUSH_ECHO(...) #define IF_NOT_HUSH_ECHO(...) __VA_ARGS__ #undef CONFIG_HUSH_PRINTF #define ENABLE_HUSH_PRINTF 0 #define IF_HUSH_PRINTF(...) #define IF_NOT_HUSH_PRINTF(...) __VA_ARGS__ #undef CONFIG_HUSH_TEST #define ENABLE_HUSH_TEST 0 #define IF_HUSH_TEST(...) #define IF_NOT_HUSH_TEST(...) __VA_ARGS__ #undef CONFIG_HUSH_HELP #define ENABLE_HUSH_HELP 0 #define IF_HUSH_HELP(...) #define IF_NOT_HUSH_HELP(...) __VA_ARGS__ #undef CONFIG_HUSH_EXPORT #define ENABLE_HUSH_EXPORT 0 #define IF_HUSH_EXPORT(...) #define IF_NOT_HUSH_EXPORT(...) __VA_ARGS__ #undef CONFIG_HUSH_EXPORT_N #define ENABLE_HUSH_EXPORT_N 0 #define IF_HUSH_EXPORT_N(...) #define IF_NOT_HUSH_EXPORT_N(...) __VA_ARGS__ #undef CONFIG_HUSH_READONLY #define ENABLE_HUSH_READONLY 0 #define IF_HUSH_READONLY(...) #define IF_NOT_HUSH_READONLY(...) __VA_ARGS__ #undef CONFIG_HUSH_KILL #define ENABLE_HUSH_KILL 0 #define IF_HUSH_KILL(...) #define IF_NOT_HUSH_KILL(...) __VA_ARGS__ #undef CONFIG_HUSH_WAIT #define ENABLE_HUSH_WAIT 0 #define IF_HUSH_WAIT(...) #define IF_NOT_HUSH_WAIT(...) __VA_ARGS__ #undef CONFIG_HUSH_COMMAND #define ENABLE_HUSH_COMMAND 0 #define IF_HUSH_COMMAND(...) #define IF_NOT_HUSH_COMMAND(...) __VA_ARGS__ #undef CONFIG_HUSH_TRAP #define ENABLE_HUSH_TRAP 0 #define IF_HUSH_TRAP(...) #define IF_NOT_HUSH_TRAP(...) __VA_ARGS__ #undef CONFIG_HUSH_TYPE #define ENABLE_HUSH_TYPE 0 #define IF_HUSH_TYPE(...) #define IF_NOT_HUSH_TYPE(...) __VA_ARGS__ #undef CONFIG_HUSH_TIMES #define ENABLE_HUSH_TIMES 0 #define IF_HUSH_TIMES(...) #define IF_NOT_HUSH_TIMES(...) __VA_ARGS__ #undef CONFIG_HUSH_READ #define ENABLE_HUSH_READ 0 #define IF_HUSH_READ(...) #define IF_NOT_HUSH_READ(...) __VA_ARGS__ #undef CONFIG_HUSH_SET #define ENABLE_HUSH_SET 0 #define IF_HUSH_SET(...) #define IF_NOT_HUSH_SET(...) __VA_ARGS__ #undef CONFIG_HUSH_UNSET #define ENABLE_HUSH_UNSET 0 #define IF_HUSH_UNSET(...) #define IF_NOT_HUSH_UNSET(...) __VA_ARGS__ #undef CONFIG_HUSH_ULIMIT #define ENABLE_HUSH_ULIMIT 0 #define IF_HUSH_ULIMIT(...) #define IF_NOT_HUSH_ULIMIT(...) __VA_ARGS__ #undef CONFIG_HUSH_UMASK #define ENABLE_HUSH_UMASK 0 #define IF_HUSH_UMASK(...) #define IF_NOT_HUSH_UMASK(...) __VA_ARGS__ #undef CONFIG_HUSH_GETOPTS #define ENABLE_HUSH_GETOPTS 0 #define IF_HUSH_GETOPTS(...) #define IF_NOT_HUSH_GETOPTS(...) __VA_ARGS__ #undef CONFIG_HUSH_MEMLEAK #define ENABLE_HUSH_MEMLEAK 0 #define IF_HUSH_MEMLEAK(...) #define IF_NOT_HUSH_MEMLEAK(...) __VA_ARGS__ /* * Options common to all shells */ #define CONFIG_FEATURE_SH_MATH 1 #define ENABLE_FEATURE_SH_MATH 1 #ifdef MAKE_SUID # define IF_FEATURE_SH_MATH(...) __VA_ARGS__ "CONFIG_FEATURE_SH_MATH" #else # define IF_FEATURE_SH_MATH(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SH_MATH(...) #define CONFIG_FEATURE_SH_MATH_64 1 #define ENABLE_FEATURE_SH_MATH_64 1 #ifdef MAKE_SUID # define IF_FEATURE_SH_MATH_64(...) __VA_ARGS__ "CONFIG_FEATURE_SH_MATH_64" #else # define IF_FEATURE_SH_MATH_64(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SH_MATH_64(...) #undef CONFIG_FEATURE_SH_EXTRA_QUIET #define ENABLE_FEATURE_SH_EXTRA_QUIET 0 #define IF_FEATURE_SH_EXTRA_QUIET(...) #define IF_NOT_FEATURE_SH_EXTRA_QUIET(...) __VA_ARGS__ #undef CONFIG_FEATURE_SH_STANDALONE #define ENABLE_FEATURE_SH_STANDALONE 0 #define IF_FEATURE_SH_STANDALONE(...) #define IF_NOT_FEATURE_SH_STANDALONE(...) __VA_ARGS__ #define CONFIG_FEATURE_SH_NOFORK 1 #define ENABLE_FEATURE_SH_NOFORK 1 #ifdef MAKE_SUID # define IF_FEATURE_SH_NOFORK(...) __VA_ARGS__ "CONFIG_FEATURE_SH_NOFORK" #else # define IF_FEATURE_SH_NOFORK(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SH_NOFORK(...) #undef CONFIG_FEATURE_SH_READ_FRAC #define ENABLE_FEATURE_SH_READ_FRAC 0 #define IF_FEATURE_SH_READ_FRAC(...) #define IF_NOT_FEATURE_SH_READ_FRAC(...) __VA_ARGS__ #undef CONFIG_FEATURE_SH_HISTFILESIZE #define ENABLE_FEATURE_SH_HISTFILESIZE 0 #define IF_FEATURE_SH_HISTFILESIZE(...) #define IF_NOT_FEATURE_SH_HISTFILESIZE(...) __VA_ARGS__ #undef CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS #define ENABLE_FEATURE_SH_EMBEDDED_SCRIPTS 0 #define IF_FEATURE_SH_EMBEDDED_SCRIPTS(...) #define IF_NOT_FEATURE_SH_EMBEDDED_SCRIPTS(...) __VA_ARGS__ /* * System Logging Utilities */ #undef CONFIG_KLOGD #define ENABLE_KLOGD 0 #define IF_KLOGD(...) #define IF_NOT_KLOGD(...) __VA_ARGS__ #undef CONFIG_FEATURE_KLOGD_KLOGCTL #define ENABLE_FEATURE_KLOGD_KLOGCTL 0 #define IF_FEATURE_KLOGD_KLOGCTL(...) #define IF_NOT_FEATURE_KLOGD_KLOGCTL(...) __VA_ARGS__ #define CONFIG_LOGGER 1 #define ENABLE_LOGGER 1 #ifdef MAKE_SUID # define IF_LOGGER(...) __VA_ARGS__ "CONFIG_LOGGER" #else # define IF_LOGGER(...) __VA_ARGS__ #endif #define IF_NOT_LOGGER(...) #undef CONFIG_LOGREAD #define ENABLE_LOGREAD 0 #define IF_LOGREAD(...) #define IF_NOT_LOGREAD(...) __VA_ARGS__ #undef CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING #define ENABLE_FEATURE_LOGREAD_REDUCED_LOCKING 0 #define IF_FEATURE_LOGREAD_REDUCED_LOCKING(...) #define IF_NOT_FEATURE_LOGREAD_REDUCED_LOCKING(...) __VA_ARGS__ #undef CONFIG_SYSLOGD #define ENABLE_SYSLOGD 0 #define IF_SYSLOGD(...) #define IF_NOT_SYSLOGD(...) __VA_ARGS__ #undef CONFIG_FEATURE_ROTATE_LOGFILE #define ENABLE_FEATURE_ROTATE_LOGFILE 0 #define IF_FEATURE_ROTATE_LOGFILE(...) #define IF_NOT_FEATURE_ROTATE_LOGFILE(...) __VA_ARGS__ #undef CONFIG_FEATURE_REMOTE_LOG #define ENABLE_FEATURE_REMOTE_LOG 0 #define IF_FEATURE_REMOTE_LOG(...) #define IF_NOT_FEATURE_REMOTE_LOG(...) __VA_ARGS__ #undef CONFIG_FEATURE_SYSLOGD_DUP #define ENABLE_FEATURE_SYSLOGD_DUP 0 #define IF_FEATURE_SYSLOGD_DUP(...) #define IF_NOT_FEATURE_SYSLOGD_DUP(...) __VA_ARGS__ #undef CONFIG_FEATURE_SYSLOGD_CFG #define ENABLE_FEATURE_SYSLOGD_CFG 0 #define IF_FEATURE_SYSLOGD_CFG(...) #define IF_NOT_FEATURE_SYSLOGD_CFG(...) __VA_ARGS__ #define CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE 0 #define ENABLE_FEATURE_SYSLOGD_READ_BUFFER_SIZE 1 #ifdef MAKE_SUID # define IF_FEATURE_SYSLOGD_READ_BUFFER_SIZE(...) __VA_ARGS__ "CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE" #else # define IF_FEATURE_SYSLOGD_READ_BUFFER_SIZE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_SYSLOGD_READ_BUFFER_SIZE(...) #undef CONFIG_FEATURE_IPC_SYSLOG #define ENABLE_FEATURE_IPC_SYSLOG 0 #define IF_FEATURE_IPC_SYSLOG(...) #define IF_NOT_FEATURE_IPC_SYSLOG(...) __VA_ARGS__ #define CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE 0 #define ENABLE_FEATURE_IPC_SYSLOG_BUFFER_SIZE 1 #ifdef MAKE_SUID # define IF_FEATURE_IPC_SYSLOG_BUFFER_SIZE(...) __VA_ARGS__ "CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE" #else # define IF_FEATURE_IPC_SYSLOG_BUFFER_SIZE(...) __VA_ARGS__ #endif #define IF_NOT_FEATURE_IPC_SYSLOG_BUFFER_SIZE(...) #undef CONFIG_FEATURE_KMSG_SYSLOG #define ENABLE_FEATURE_KMSG_SYSLOG 0 #define IF_FEATURE_KMSG_SYSLOG(...) #define IF_NOT_FEATURE_KMSG_SYSLOG(...) __VA_ARGS__