nuttx/fs/inode
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: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_files.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_foreachinode.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inode.c fs: enforce permission checks when opening IPC pseudo-inodes 2026-07-30 09:48:10 +08:00
fs_inodeaddref.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodebasename.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodefind.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodefree.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inodegetpath.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_inoderelease.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_inoderemove.c fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
fs_inodereserve.c fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
fs_inodesearch.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
inode.h fs/binfmt: close symlink TOCTOU and harden setuid/setgid exec hygiene 2026-08-01 15:32:03 -03:00
Make.defs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00