summaryrefslogtreecommitdiff
path: root/components/dfs/dfs_v2/filesystems
AgeCommit message (Collapse)Author
2025-10-28[components]:utilize the clang-format-ignore mechanism (#10860)CYFS
2025-05-20[dfs] enable procfs and tempfs in default when using smart; fix LWIP_ROUTE ↵Bernard Xiong
warning issue.
2025-03-11fix dangling pointer in component pthread and dfs_elm (#9976)lingfengPeng
* [components/libc/posix][pthreads]fix the risk of dangling pointer * [components][dfs][dfs_elm]:fix risk of dangling pointer, unmount the temp driver then free the temp FATFS in dfs_elm_mkfs.
2025-03-02[components][dfs_v2]: Fix cromfs bug (#10054)wycwyhwyq
2025-01-14[components][fs]sync procfs (#9206)zms123456
* add procfs * fix ref count check error
2025-01-14[components][dfs]separate dfs fs data structure ops (#9205)zms123456
separate dfs fs data structure ops
2025-01-09[components][dfs_v2]: Fix dfs_devfs_open memory leakwycwyhwyq
2025-01-03[romfs/dfs_romfs.c] _rom_fops add ioctlyuqingli
2024-11-13feat: devfs: handling unit size in POSIX RW requestShell
POSIX.1 says: > read() attempts to read up to count bytes from file descriptor fd > into the buffer starting at buf. On the other hand, for rt_device_read, the `@size` is defined as the number of unit (block size for blk device, otherwise one byte). Changes: - Transferred unit size from POSIX R/W(in bytes) to rt_device_R/W during request of file R/W operations. Signed-off-by: Shell <[email protected]>
2024-09-15fixup: dfs_v2: Correct device mode permissions in devfsShell
The mode permissions for character, block, and pipe devices were previously set to 0777, which is overly permissive and not in line with standard practice. This change reduces the permissions to 0666, restricting execute permissions while still allowing read/write access. Changes: - Adjusted permissions for character/block/pipe devices from 0777 to 0666. Signed-off-by: Shell <[email protected]>
2024-09-01fixup: ptyfs: CI reported snprintf type issuesShell
2024-08-24fix_return_errzhujiale
2024-07-29bsp: cvitek/c906B: feat: add config of bootfsShell
To support more choice on bootfs. romfs, cromfs are now supported on risc_v_big platform. Changes: - added mount operations under port - added prototypes for cromfs init APIs Signed-off-by: Shell <[email protected]> Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9229 Reviewed-by: Chen Wang <[email protected]>
2024-07-17[fix] fix cromfs read out of mem range (#9197)zhuzhuzhu
Update dfs_cromfs.c
2024-06-13[fix]fix tmpfs bug (#8970)zhuzhuzhu
* first * second * thrid * Update SConscript * tmpfs testcase default n * Update dfs_tmpfs.c * format document --------- Co-authored-by: zhujiale <[email protected]>
2024-05-21[dfsv2] fixup out-of-memory access (#8973)Shell
This change addresses a potential out-of-memory access issue in the devfs filesystem component. The issue arises when the `rt_malloc` function allocates memory for a path string without accounting for the null terminator, leading to undefined behavior. As the manual documented: > DESCRIPTION > The strlen() function calculates the length of the string pointed to > by s, excluding the terminating null byte ('\0'). To fix this, the memory allocation size was increased by one byte to ensure space for the null terminator. This prevents potential out-of-memory access and ensures proper string termination. Signed-off-by: Shell <[email protected]>
2024-04-25[components][dfs]remove duplicate lseek in devfs (#8859)zms123456
remove duplicate lseek in devfs
2024-04-21[clang-format] ↵latercomer
增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-03-25fixup d1s (#8671)Shell
Signed-off-by: Shell <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2023-12-26[ci][stm32f407] add attach config CI checkMeco Man
2023-12-12sync update dfs v2. (#8336)geniusgogo
2023-11-28fix dfs path name overflow. (#8305)geniusgogo
2023-11-23fix dfsv2 romfs dfs_romfs_getdents buffer overflow.geniusgogo
2023-11-02✨ feat(dfs_v2/cromfs): add cromfs mmap (#8218)xqyjlj
2023-10-30[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197)kk
2023-10-26update elmfat from r14b to r15 (#8179)xiao-mang
2023-10-26[dfs_v2][mqueue] fix No mqueue mounted (#8189)kk
2023-10-17Sync dfs lwp (#8123)geniusgogo
2023-10-17✨ feat(dfs_v2/cromfs): add symlink support (#8132)xqyjlj
2023-10-09🐞 fix(dfs_v2/filesystems/elmfat): fix elm can not exec (#8118)xqyjlj
2023-09-25tmpfs adds truncate functionality and unlink adaptationszhouminquan
2023-09-13fix dfsv2 tmpfs lock fault. (#8027)geniusgogo
2023-09-01[smart][dfs v2] add cromfs (#7994)XYZ
Co-authored-by: xyz <[email protected]>
2023-08-02update dfs (#7887)geniusgogo
2023-07-24[smart] 修复用户态 mq_receive 不能阻塞 (#7836)zhkag
2023-07-24modify some function prototypes of the dfs_file_ops structure and the ↵xiao-mang
function declarations based on it (#7849)
2023-07-05[posix] posix 的 mqueue 对接到文件系统的 fd (#7768)zhkag
2023-07-04[DFS_V2]Update dfs_elm.c 修复变量使用错误 (#7776)zhkag
2023-06-11Add color ls for executable file. (#7654)Bernard Xiong
2023-06-10[dfs] Add DFS v2.0 (#7606)Bernard Xiong
2023-04-08[DFS] prepare for dfs_v2.0 (#7200)Bernard Xiong
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode. * [BSP] fix code analysis warning * [smart] fix the pointer overflow. * code format * [smart] fix the lwp->lwp_obj checking.
2023-04-08Fix nfs (#7194)geniusgogo
* fixed nfs 64bit arch fault * change mount cmd support nfs.
2023-04-04[DFS] add Kconfig for dfs-v2.0 (#7156)Bernard Xiong
* [DFS] add Kconfig for dfs-v2.0 * [DFS] Optimize the SConscript. * [dfs] move old dfs to dfs/dfs_v1