nuttx/sched/group
Abhishek Mishra db6ab892a2
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene
Perform pseudo-filesystem permission checks inside inode_reserve() and
inode_remove() while the inode tree lock is held, and hold that lock across
pseudorename mutations so symlink swaps cannot bypass directory checks.
Hold a read lock around pseudo-fs open permission checks.

On setuid/setgid exec, update saved set-IDs, mark the task group secure,
sanitize dangerous environment variables, clear debug/dumpable flags, and
add issetugid(), secure_getenv(), and PR_SET/GET_DUMPABLE support.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
2026-08-01 15:32:03 -03:00
..
CMakeLists.txt fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
group.h sched:use tcb inside of pthread_tcb_s, remove all cast 2025-12-22 17:55:45 +08:00
group_childstatus.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_continue.c sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
group_create.c fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
group_foreachchild.c sched/group_foreachchild.c: fix warning 2026-03-24 10:56:23 -03:00
group_free.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getegid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_geteuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getgid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getresgid.c sched/group: add getresuid, getresgid, setreuid, and setregid 2026-07-30 09:48:10 +08:00
group_getresuid.c sched/group: add getresuid, getresgid, setreuid, and setregid 2026-07-30 09:48:10 +08:00
group_getuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_issetugid.c fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
group_join.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_killchildren.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_leave.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
group_malloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_realloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_setegid.c sched/group: implement POSIX saved-set-UID/GID semantics 2026-06-12 08:13:23 +08:00
group_seteuid.c sched/group: implement POSIX saved-set-UID/GID semantics 2026-06-12 08:13:23 +08:00
group_setgid.c sched/group: implement POSIX saved-set-UID/GID semantics 2026-06-12 08:13:23 +08:00
group_setregid.c sched/group: add getresuid, getresgid, setreuid, and setregid 2026-07-30 09:48:10 +08:00
group_setreuid.c sched/group: add getresuid, getresgid, setreuid, and setregid 2026-07-30 09:48:10 +08:00
group_setuid.c sched/group: implement POSIX saved-set-UID/GID semantics 2026-06-12 08:13:23 +08:00
group_setupidlefiles.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_setuptaskfiles.c sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
group_signal.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_suspendchildren.c sched/group: There is no need to use sched_[un]lock 2024-10-09 13:46:33 +08:00
group_waiter.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_zalloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00