From 1e85d9e01030c7d841ad00d3b044b6ad1bf06011 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 8 Jul 2008 02:41:21 +0000 Subject: New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU --- extra/Configs/Config.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'extra/Configs') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 884a59e8b..1759586db 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -515,6 +515,23 @@ config UCLIBC_SUSV3_LEGACY_MACROS Currently applies to bcopy/bzero/bcmp/index/rindex et al. WARNING! ABI incompatibility. +config UCLIBC_HAS_STUBS + bool "Provide stubs for unavailable functionality" + default n + help + With this option uClibc provides non-functional stubs for + functions which are impossible to implement on the target + architecture. Otherwise, such functions are simply omitted. + + As of 2008-07, this option makes uClibc provide fork() stub + on NOMMU targets. It always sets errno to ENOSYS and returns -1. + + This may be useful if you port a lot of software and cannot + audit all of it and replace or disable fork() usage. + With this option, a program which uses fork() will build + successfully. Of course, it may be useless if fork() + is essential for its operation. + config UCLIBC_HAS_SHADOW bool "Shadow Password Support" default y -- cgit v1.2.3