summaryrefslogtreecommitdiff
path: root/components/dfs
AgeCommit message (Collapse)Author
2024-08-08[ci][bsp]fix same54&same70&ls1cdev build errors. (#9282)Rbb666
[ci][bsp]fix same54&same70&ls1cdev ci build errors.
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-18Merge pull request #9208 from zmshahaha/errnoBernard Xiong
[components][lwp]fix exec and mount error code
2024-07-18fix exec and mount error codezhao maosheng
2024-07-17[fix] fix cromfs read out of mem range (#9197)zhuzhuzhu
Update dfs_cromfs.c
2024-07-16[dfs] Mark dirty on unmap on shared mapping only (#9195)Shell
[dfs] feat: Mark dirty on unmap for shared mapping This patch optimizes the pcache varea management by refining the conditions under which pages are marked dirty, specifically targeting the unmap operations in the dfs_pcache component. These changes were necessary to enhance the efficiency of page cache management. Changes: - Adjusted include statements in `dfs_pcache.c` for better organization. - Modified `dfs_aspace_unmap` function: - Added a check to ensure `varea` is not privately locked before marking a page as dirty. - Updated `dfs_aspace_page_unmap` function: - Added a similar check for `varea` lock status before marking a page as dirty. Signed-off-by: Shell <[email protected]>
2024-06-28[format] cleanup libcpu/aarch64 (#8950)Shell
* [dfs] fixup compiler warning Signed-off-by: Shell <[email protected]> * [format] libcpu/arm64: separate context switching codes Signed-off-by: Shell <[email protected]> * [format] libcpu/arm64: separate vector Signed-off-by: Shell <[email protected]> * [format] libcpu/arm64: separate context_gcc.S Signed-off-by: Shell <[email protected]> * [format] libcpu/arm64: moving headers to include directory Signed-off-by: Shell <[email protected]> * style: replace tab with space --------- Signed-off-by: Shell <[email protected]>
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-28fix file mmap (#8865)xiao-mang
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-04-19fix for art-pi smartxiao-mang
2024-04-19fix for art-pi smartxiao-mang
2024-04-19fix chdir for ash's cd (#8824)xiao-mang
2024-04-10fix symlink (#8755)geniusgogo
Signed-off-by: geniusgogo <[email protected]>
2024-04-09[dfsv2] add dfs pwrite preadgeniusgogo
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-03-15[dfs] fixup bugs in dfs_dentry_lookup (#8612)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-28[components][dfs]修复FATFS文件系统使用cat命令导致断言bugYuqiang Wang
2023-12-26[ci][stm32f407] add attach config CI checkMeco Man
2023-12-19update smart kernel default select dfsv2.geniusgogo
2023-12-16dfsv2 code tidy. (#8374)geniusgogo
2023-12-12sync update dfs v2. (#8336)geniusgogo
2023-12-06fix #8305, symlink bug.geniusgogo
2023-11-28fix dfs path name overflow. (#8305)geniusgogo
2023-11-28[SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293)rcitachi
2023-11-23fix dfsv2 romfs dfs_romfs_getdents buffer overflow.geniusgogo
2023-11-02[smart] fixup of lwp recycling and mm varea (#8206)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
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-29[action] Doxygen ci fix (#8191)Supper Thomas
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-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-25fixup: merge conditionShell
2023-10-25[quality] fixup: vulnerability in kernelShell
including out-of-bound access in dfs, and use-after-free in aspace_traversal Signed-off-by: Shell <[email protected]>
2023-10-25[smart] replace varea pgmgr and fixup of dfs mmap (#8184)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]>
2023-10-24add exfat configxiao-mang
2023-10-24add exfat configxiao-mang
2023-10-24add exfat configxiao-mang
2023-10-24add exfat configxiao-mang
2023-10-24[dfs] fixup: file_mmap and page cacheshell
Including cache maintenance, potential dereference of null pointer and the use-after-free issue in page cache Signed-off-by: shell <[email protected]>
2023-10-21fix ash echo (#8150)xiao-mang
2023-10-20[dfs v2] support O_DIRECT and O_SYNC flags (#8155)XYZ
2023-10-17Sync dfs lwp (#8123)geniusgogo
2023-10-17✨ feat(dfs_v2/cromfs): add symlink support (#8132)xqyjlj
2023-10-13add sys_utimensat (#8124)xiao-mang