This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit bc894c85df7a1dbcd490403bf5c62acd292e063a
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Oct 19 15:40:28 2026 +0200

    Documentation: Describe the file mode creation mask of a task.
    
    A task keeps its file mode creation mask, and the tasks that it creates
    get the same mask.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/reference/user/01_task_control.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/reference/user/01_task_control.rst 
b/Documentation/reference/user/01_task_control.rst
index f817311dde8..50df43ba4f1 100644
--- a/Documentation/reference/user/01_task_control.rst
+++ b/Documentation/reference/user/01_task_control.rst
@@ -48,6 +48,10 @@ it creates get the same limits. NuttX enforces two of them:
 ``getrlimit()`` reports the other resources as ``RLIM_INFINITY``, and
 ``setrlimit()`` fails with ``EINVAL`` for them.
 
+**File Mode Creation Mask**. A task keeps its file mode creation mask
+(``umask()``), and the tasks that it creates get the same mask. All the
+threads of a task use one mask. Kernel threads use the mask 0.
+
 **Task Control Interfaces**. The following task control interfaces are
 provided by NuttX:
 

Reply via email to