mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00:00
SMARTFS_DIRENT_RESERVED uses bits that overlap S_ISUID, S_ISGID, and S_ISVTX. smartfs_stat_common() currently clears only S_IFMT, allowing reserved directory-entry flags to appear in st_mode and ls output as setuid and setgid bits. Preserve only SMARTFS_DIRENT_MODE when constructing st_mode. Assisted-by: GPT-5.6 Sol Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| smartfs.h | ||
| smartfs_procfs.c | ||
| smartfs_smart.c | ||
| smartfs_utils.c | ||