Commit Graph

34 Commits

Author SHA1 Message Date
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
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
XYZ 012aa117af
[fix] copyfile dest file empty first (#8012) 2023-09-09 22:08:00 +08:00
XYZ 3602f89121
[smart][dfs v2] add cromfs (#7994)
Co-authored-by: xyz <xyz@rtt.com>
2023-09-01 00:20:55 +08:00
geniusgogo 1b5ed06d38
fix mkdir error code. (#7944) 2023-08-12 10:50:15 +08:00
geniusgogo deb0b031fc
fix dfs_file_open error code (#7942) 2023-08-12 10:49:26 +08:00
geniusgogo 69d94315b8
update dfs (#7887) 2023-08-02 13:59:43 +08:00
Tennn11 fb1faa0746
[dfs v2]fix fcntl(F_SETFL) bug,and modify the error code when opening… (#7878) 2023-07-27 17:23:39 +08:00
zhkag 7e5620edc3
[smart] 修复用户态 mq_receive 不能阻塞 (#7836) 2023-07-24 17:01:45 +08:00
xiao-mang befa951451
modify some function prototypes of the dfs_file_ops structure and the function declarations based on it (#7849) 2023-07-24 09:12:35 +08:00
zhkag d6adf6708f
[posix] posix 的 mqueue 对接到文件系统的 fd (#7768) 2023-07-05 14:49:31 +08:00
zhkag 7b4e52bd79
[DFS_V2]Update dfs_elm.c 修复变量使用错误 (#7776) 2023-07-04 20:56:37 +08:00
yangfasheng b4e59bac4e
dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait 超时时间换算异常; (#7705)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-20 23:09:58 +08:00
yangfasheng e36b97ff94
[dfs v2] fix dentry hash lookup bug; update dentry dump msh cmd; (#7655)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-11 18:07:06 +08:00
Bernard Xiong cd3f0f9c8a
Add color ls for executable file. (#7654) 2023-06-11 13:12:40 +08:00
Bernard Xiong 99e80f8d33
[dfs] Add DFS v2.0 (#7606) 2023-06-10 21:35:25 +08:00
geniusgogo de567b8fb3 fixed dfsv2 openat. 2023-05-16 18:21:24 +08:00
geniusgogo 0e4a3142a8
[component] add openat syscall. (#7488) 2023-05-15 20:40:27 +08:00
goldengrandpa efbdeb25ee
[dfs]释放fd_slot之前将子节点释放避免内存泄漏 (#7378) 2023-04-26 08:47:21 +08:00
Xu Biang 2c98ce4605
[HUST CSE][document] Fix some comments, invalid grouping commands and warnings in Doxygen.
将Doxygen输入文件(由Doxyfile中的INPUT定义)中的失效Doxygen分组指令(如/*@*/和/*@}*/)更改为有效的分组指令(如/**@*/和/**@}*/);(此处只对INPUT中的文件做了修改,bsp目录下和libcpu目录下存在近万个失效的Doxygen分组指令,但由于不作为文档的输入文件且这些文件过于庞大老旧,没有对这些文件中的无效指令做修改)
将图片文件统一放入了images目录下;
修改了Doxyfile和部分Doxygen注释,使得Doxyfile能够定位到新的代码路径且不受重复实现的影响;
解决了一些注释中的参数名不匹配、参数多余/缺失等问题。
2023-04-14 12:33:43 -04:00
Bernard Xiong 9600b75b55
[DFS] prepare for dfs_v2.0 (#7200)
* [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-08 22:25:51 +08:00
geniusgogo 3ea1ce9e46
Fix nfs (#7194)
* fixed nfs 64bit arch fault

* change mount cmd support nfs.
2023-04-08 12:22:19 +08:00
Bernard Xiong 23955edf53
[DFS] add Kconfig for dfs-v2.0 (#7156)
* [DFS] add Kconfig for dfs-v2.0

* [DFS] Optimize the SConscript.

* [dfs] move old dfs to dfs/dfs_v1
2023-04-04 15:02:56 +08:00