From 377ec1d1bb69b2d34592f33ad553c45bdd2ea577 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 15 Jun 2009 19:50:06 +0000 Subject: [PATCH] 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 --- configs/README.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/README.txt b/configs/README.txt index 36c422f466e..a5c6ca9d446 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -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 zero if no more than one thread is expected to wait for 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 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_ENVIRON, CONFIG_DISABLE_POLL - Misc libc settings CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a