Add logic to clone socket descriptors when a new task is started.

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1885 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-06-15 19:50:06 +00:00
parent 0fb2101361
commit 377ec1d1bb
+7 -1
View File
@@ -215,6 +215,13 @@ defconfig -- This is a configuration file similar to the Linux
to release a count on a semaphore. This value may be set to release a count on a semaphore. This value may be set
to zero if no more than one thread is expected to wait for to zero if no more than one thread is expected to wait for
a semaphore. a semaphore.
CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors
by task_create() when a new task is started.
CONFIG_FDCLONE_STDIO. Disable cloning of all but the first
three file descriptors (stdin, stdout, stderr) by task_create()
when a new task is started.
CONFIG_SDCLONE_DISABLE. Disable cloning of all socket
desciptors by task_create() when a new task is started.
The following can be used to disable categories of APIs supported The following can be used to disable categories of APIs supported
by the OS. If the compiler supports weak functions, then it by the OS. If the compiler supports weak functions, then it
@@ -232,7 +239,6 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE, CONFIG_DISABLE_MOUNTPOUNT, CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE, CONFIG_DISABLE_MOUNTPOUNT,
CONFIG_DISABLE_ENVIRON, CONFIG_DISABLE_POLL CONFIG_DISABLE_ENVIRON, CONFIG_DISABLE_POLL
Misc libc settings Misc libc settings
CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a