nuttx/fs/procfs
liang.huang 6e979f841b fs/procfs: fix incorrect environ read for another task under CONFIG_ARCH_ADDRENV
Reading /proc/<pid>/group/env for another task dereferenced tg_envp
under the caller's own address environment instead of the target
task's, since tg_envp lives in the target's user heap. Switch to the
target's address environment around the traversal, and to the
caller's own environment only around the copy into the caller's
buffer.

Signed-off-by: liang.huang <liang.huang@houmo.ai>
2026-07-11 12:43:10 -03:00
..
CMakeLists.txt fs: Add Kernel-level VFS Performance Profiler 2026-04-26 11:50:09 -03:00
fs_procfs.c fs: Add Kernel-level VFS Performance Profiler 2026-04-26 11:50:09 -03:00
fs_procfscpuinfo.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_procfscpuload.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfscritmon.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfsfdt.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfsiobinfo.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfsmeminfo.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_procfspressure.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
fs_procfsproc.c fs/procfs: fix incorrect environ read for another task under CONFIG_ARCH_ADDRENV 2026-07-11 12:43:10 -03:00
fs_procfsprofile.c fs: Add Kernel-level VFS Performance Profiler 2026-04-26 11:50:09 -03:00
fs_procfstcbinfo.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfsuptime.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_procfsutil.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
fs_procfsversion.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
fs_skeleton.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
Kconfig fs: Add Kernel-level VFS Performance Profiler 2026-04-26 11:50:09 -03:00
Make.defs fs: Add Kernel-level VFS Performance Profiler 2026-04-26 11:50:09 -03:00