Shell
90917cc75a
[format] cleanup libcpu/aarch64 ( #8950 )
...
* [dfs] fixup compiler warning
Signed-off-by: Shell <smokewood@qq.com>
* [format] libcpu/arm64: separate context switching codes
Signed-off-by: Shell <smokewood@qq.com>
* [format] libcpu/arm64: separate vector
Signed-off-by: Shell <smokewood@qq.com>
* [format] libcpu/arm64: separate context_gcc.S
Signed-off-by: Shell <smokewood@qq.com>
* [format] libcpu/arm64: moving headers to include directory
Signed-off-by: Shell <smokewood@qq.com>
* style: replace tab with space
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-06-28 00:23:09 +08:00
zhuzhuzhu
1869c543a6
[fix]fix tmpfs bug ( #8970 )
...
* first
* second
* thrid
* Update SConscript
* tmpfs testcase default n
* Update dfs_tmpfs.c
* format document
---------
Co-authored-by: zhujiale <zhujiale@rt-thread.com>
2024-06-13 08:54:02 +08:00
Shell
5f947863b4
[dfsv2] fixup out-of-memory access ( #8973 )
...
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 <smokewood@qq.com>
2024-05-21 19:45:08 +08:00
xiao-mang
c359e93a9c
fix file mmap ( #8865 )
2024-04-28 15:21:02 +08:00
zms123456
be97a8ef25
[components][dfs]remove duplicate lseek in devfs ( #8859 )
...
remove duplicate lseek in devfs
2024-04-25 18:28:43 +08:00
latercomer
3ff2b08d82
[clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-04-21 01:18:37 -04:00
xiao-mang
98204c249b
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
4de96450be
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
b50a53129f
fix chdir for ash's cd ( #8824 )
2024-04-19 17:58:04 +08:00
geniusgogo
bdfa1ea20a
fix symlink ( #8755 )
...
Signed-off-by: geniusgogo <xpxyr@sina.com>
2024-04-10 23:55:29 +08:00
geniusgogo
651f23a604
[dfsv2] add dfs pwrite pread
2024-04-09 22:26:58 -04:00
Shell
83e95bdff4
sync smart & dfs ( #8672 )
...
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Shell
3237efd089
fixup d1s ( #8671 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-03-25 20:29:56 +08:00
Shell
bef4bbd50a
[dfs] fixup bugs in dfs_dentry_lookup ( #8612 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-03-15 14:57:38 +08:00
Shell
71560bafb5
🎯 Sync smart & scheduler codes ( #8537 )
...
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
Yuqiang Wang
a5d4425ea7
[components][dfs]修复FATFS文件系统使用cat命令导致断言bug
2023-12-28 18:51:56 +08:00
Meco Man
ed4d037d7b
[ci][stm32f407] add attach config CI check
2023-12-26 23:13:08 +08:00
geniusgogo
d19a15a5df
update smart kernel default select dfsv2.
2023-12-19 19:04:17 +08:00
geniusgogo
6b22a0a2b7
dfsv2 code tidy. ( #8374 )
2023-12-16 18:06:47 +08:00
geniusgogo
304ce5919c
sync update dfs v2. ( #8336 )
2023-12-12 18:05:39 +08:00
geniusgogo
073761fdbe
fix #8305 , symlink bug.
2023-12-06 20:19:20 +08:00
geniusgogo
74925f43ed
fix dfs path name overflow. ( #8305 )
2023-11-28 17:16:21 +08:00
rcitachi
c06f4e98fc
[SAL] Update SAL,Add socketpair sendmsg recvmsg function ( #8293 )
2023-11-28 13:56:06 +08:00
geniusgogo
5a438c818a
fix dfsv2 romfs dfs_romfs_getdents buffer overflow.
2023-11-23 06:20:17 -05:00
Shell
c2036e769a
[smart] fixup of lwp recycling and mm varea ( #8206 )
...
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2023-11-02 20:23:11 +08:00
xqyjlj
27aac584a5
✨ feat(dfs_v2/cromfs): add cromfs mmap ( #8218 )
2023-11-02 20:12:20 +08:00
kk
7066761510
[dfs][mqueue]Ensure that dev is initialized before mqueue ( #8197 )
2023-10-30 23:12:42 +08:00
Supper Thomas
65623777d5
[action] Doxygen ci fix ( #8191 )
2023-10-29 13:12:29 -04:00
xiao-mang
6b161bf3d5
update elmfat from r14b to r15 ( #8179 )
2023-10-26 17:26:48 +08:00
kk
01672f8627
[dfs_v2][mqueue] fix No mqueue mounted ( #8189 )
2023-10-26 10:43:49 +08:00
xqyjlj
3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable ( #8042 )
...
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
Shell
91fc52df36
fixup: merge condition
2023-10-25 18:40:44 +08:00
Shell
e94b759160
[quality] fixup: vulnerability in kernel
...
including out-of-bound access in dfs, and use-after-free in
aspace_traversal
Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 18:40:44 +08:00
Shell
fb78a71020
[smart] replace varea pgmgr and fixup of dfs mmap ( #8184 )
...
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 14:59:48 +08:00
xiao-mang
3c7b184f93
add exfat config
2023-10-24 18:02:02 +08:00
xiao-mang
93f350ae1f
add exfat config
2023-10-24 18:02:02 +08:00
xiao-mang
d3aa7406ed
add exfat config
2023-10-24 18:02:02 +08:00
xiao-mang
117d1f6324
add exfat config
2023-10-24 18:02:02 +08:00
shell
b40d106bdc
[dfs] fixup: file_mmap and page cache
...
Including cache maintenance, potential dereference of null pointer and
the use-after-free issue in page cache
Signed-off-by: shell <smokewood@qq.com>
2023-10-24 14:49:30 +08:00
xiao-mang
90c7089d47
fix ash echo ( #8150 )
2023-10-21 08:41:55 +08:00
XYZ
1f05b6b401
[dfs v2] support O_DIRECT and O_SYNC flags ( #8155 )
2023-10-20 13:24:56 +08:00
geniusgogo
ecd29fda60
Sync dfs lwp ( #8123 )
2023-10-17 13:07:59 +08:00
xqyjlj
1e0f406b4f
✨ feat(dfs_v2/cromfs): add symlink support ( #8132 )
2023-10-17 09:55:28 +08:00
xiao-mang
5d16042765
add sys_utimensat ( #8124 )
2023-10-13 19:21:49 +08:00
xqyjlj
e5c5ec4b2a
🐞 fix(dfs_v2/filesystems/elmfat): fix elm can not exec ( #8118 )
2023-10-09 13:26:58 +08:00
zhouminquan
75b4f3d83a
tmpfs adds truncate functionality and unlink adaptations
2023-09-25 13:23:25 +08:00
xiao-mang
12592458b9
fix tar -xzvf symbol link ( #8034 )
2023-09-14 11:29:03 +08:00
geniusgogo
d5b8e2843a
fix dfsv2 tmpfs lock fault. ( #8027 )
2023-09-13 10:37:00 +08:00
蒙蒙plus
0391b81bb5
Update dfs_tmpfs.c ( #8030 )
2023-09-12 21:04:21 +08:00
XYZ
012aa117af
[fix] copyfile dest file empty first ( #8012 )
2023-09-09 22:08:00 +08:00