summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:41:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:41:21 +0000
commit1e85d9e01030c7d841ad00d3b044b6ad1bf06011 (patch)
tree09e695c3473b19b669f01a13c1486f0b6ee76bc1 /extra
parent388e096fa68a1bb6186efb653e9538e12961d442 (diff)
New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in17
1 files changed, 17 insertions, 0 deletions
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