zmq810150896
2790ce5357
Updated issues related to uds capacity and eventfd macro redefinition ( #8329 )
2023-12-06 13:51:13 +08:00
rcitachi
58665c7f50
[AF_UNIX] Update AF_UNIX bind, connect entry ( #8314 )
2023-12-02 12:11:01 +08:00
rcitachi
1e6b2a81d0
修复 #8293 问题 ( #8307 )
2023-11-29 14:08:47 +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
9acebb07dc
fix rt_channel lock. ( #8244 )
2023-11-10 21:37:07 +08:00
xqyjlj
fa9b496b2a
✨ feat: fix pid recycling ( #8225 )
2023-11-06 13:22:27 +08:00
xqyjlj
5ad6a6f2c5
🐞 fix: fix taskset ( #8211 )
2023-11-02 23:12:44 +08: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
Shell
eafb04e011
[ctime] fixup of data racing ( #8187 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-10-26 13:56:27 +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
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
70a8d1d465
[kservice] improve backtrace service in kernel ( #8144 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-10-21 20:14:45 +08:00
geniusgogo
9dd1d73c94
update ldso pagecache kconfig
2023-10-20 12:35:06 -04:00
geniusgogo
ecd29fda60
Sync dfs lwp ( #8123 )
2023-10-17 13:07:59 +08:00
Shell
1e7add54d4
[smart] fixup: syscall.c ( #8131 )
...
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-14 13:09:17 +08:00
Shell
4158c8e88e
[smart] Replace irq disable/enable codes in futex ( #7941 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-10-14 13:07:45 +08:00
xiao-mang
5d16042765
add sys_utimensat ( #8124 )
2023-10-13 19:21:49 +08:00
Shell
8e57b5fdd4
[smart] fixup: lwp_free() ( #8126 )
...
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-13 14:21:06 +08:00
zmq810150896
e6eddfa711
Fix the problem that when dfs_v2 transmits fd, dentry or vnode does not exist ( #8089 )
2023-10-12 08:22:46 +08:00
Shell
a300cef2a8
[smart] split out part of lwp_new() to lwp_create()
...
Prev implementation of lwp_new() including the create of lwp object
and the pid allocation. But not every lwp object need a pid.
So this patch split out the business of lwp_new() to improve the
maintainability.
Signed-off-by: Shell <smokewood@qq.com>
2023-10-11 08:48:06 +08:00
skychen123
fcd0fecd3e
add sys_setitimer syscall ( #8096 )
2023-10-08 13:30:04 +08:00
zhouminquan
75b4f3d83a
tmpfs adds truncate functionality and unlink adaptations
2023-09-25 13:23:25 +08:00
zmq810150896
7c2f807a7c
Add the system call timerfd and update SConscript for signalfd ( #8067 )
2023-09-23 14:18:29 +08:00
zmq810150896
dc84765823
[smart] Updated the API for kernel access to user address issues and for calculating string length ( #8058 )
2023-09-23 14:06:00 +08:00
Shell
b826afe8f9
[smart] fix of cmd_kill ( #8071 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-09-22 15:06:07 +08:00
zmq810150896
092b52ab24
Adapt rt_channel, increase the generality of some rt_channel functionality on dfs v2, and standardize signalfd ( #8047 )
2023-09-20 07:54:11 +08:00
Shell
e7c3ca61fd
[smart] fix rt_memcpy to lwp_memcpy in smart source ( #8033 )
2023-09-15 15:57:08 +08:00
zmq810150896
7c3d966df6
Add the system call signalfd ( #8001 )
2023-09-11 14:06:08 +08:00
Shell
459024f306
[smart/signal] fixups of signal ( #7998 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-09-09 09:37:38 +08:00
Shell
47b183a297
[smart/syscall] fix exit(2) and add exit_group(2) ( #8005 )
...
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-09-09 09:35:56 +08:00
Shell
b8e332fa2d
[smart] add waitpid(-1) support ( #8020 )
...
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-09-09 09:35:33 +08:00
Meco Man
5f948690c9
[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT
2023-09-06 22:21:22 -04:00
xyz
341fb40c95
[smart][fix] lwp fork with data copy
2023-08-30 16:37:08 +08:00
geniusgogo
d55066e10d
cleanup: fix building warnings
2023-08-23 22:58:25 -04:00
Shell
d862816a51
[components/mm] add unmap page API ( #7834 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-08-16 15:38:59 +08:00
geniusgogo
a6959a9ef8
fix lwp_free tty switch to foreground error ( #7945 )
2023-08-12 10:50:45 +08:00
geniusgogo
4d20416b2f
update components & lwp. ( #7888 )
2023-08-07 12:22:14 -04:00
Shell
325c3d2a48
[smart] Fix bugs on lwp kill ( #7892 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-08-03 20:25:13 +08:00
zhkag
d5c9dc09a0
[lwp] 修复错误码误用 ( #7906 )
2023-08-03 15:34:42 +08:00
zmq810150896
3f0a5e76bf
Add the system call epoll ( #7893 )
2023-08-01 17:15:41 +08:00
zmq810150896
307e9e5e98
Add the system call eventfd ( #7835 )
2023-07-27 17:24:56 +08:00
Tennn11
43b451b27c
[syscall][socket]fix socket addr bug ( #7876 )
2023-07-27 17:24:26 +08:00
Shell
ef91876ee7
[smart] fix the setup of fake lwp in sys_execve ( #7855 )
2023-07-25 15:58:10 +08:00
Shell
acfa74f078
[libcpu/arm] fix race condition with ldrex,strex ( #7842 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-07-25 14:07:44 +08:00
Shell
52d3637fba
[smart] fix possible memory leak ( #7832 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-07-22 10:30:29 +08:00
Shell
58e0ddf287
[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 ( #7828 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-07-20 00:02:41 +08:00
GUI
b424169e17
AArch64: fixup fpu storage's size in stack and append Q16 ~ Q31 ( #7815 )
...
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-15 15:21:23 +08:00
geniusgogo
2aa4510aa8
execute elf add executable permissions check. ( #7769 )
2023-07-03 19:25:59 +08:00
Shell
0b79bea7cd
[components/lwp] clear ref to parent on waitpid() ( #7741 )
...
Signed-off-by: shell <smokewood@qq.com>
2023-06-29 00:00:27 +08:00
Shell
b66514686a
[components/tty] fix bug on foreground app switch ( #7726 )
2023-06-28 09:11:17 +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
Bernard Xiong
99e80f8d33
[dfs] Add DFS v2.0 ( #7606 )
2023-06-10 21:35:25 +08:00
geniusgogo
0315c0dee7
add lstat&sysinfo....syscall. ( #7555 )
2023-05-23 22:43:38 +08:00
xiao-mang
065a3e1b3a
[component] add sys_mount and umount2 ( #7516 )
2023-05-17 16:30:05 +08:00
geniusgogo
0e4a3142a8
[component] add openat syscall. ( #7488 )
2023-05-15 20:40:27 +08:00
Shell
b7554a70d2
[libcpu][component][debug] add debug info for gdb ( #7033 )
2023-05-14 23:48:16 +08:00
zhkag
a6a9b0dfcb
[components][posix] 完善 posix 接口消息队列 ( #7395 )
2023-05-05 18:14:07 +08:00
geniusgogo
18c452e4dd
fix lwp _load_script. ( #7405 )
2023-04-28 11:49:05 +08:00
zhkag
550b9282f9
[syscall] lwp_syscall 中 rt_err_t 改为 sysret_t ( #7374 )
2023-04-26 19:12:30 +08:00
xiao-mang
c043657353
fork子进程时,lwp_struct_copy函数增加拷贝working_directory功能 ( #7380 )
2023-04-26 17:21:00 +08:00
Shell
470454d201
[components/mm] support for scalable memory management ( #7277 )
...
* [mm/page] multi-list page manager
[mm/page] page debugger
[libcpu/aarch64] hugepage support
* [quality] remove void-arith
* [format] remove kasan codes
2023-04-22 23:59:11 +08:00
张世争
3f442bbe4a
[lwp_ipc] support file descriptor transmit ( #7318 )
2023-04-21 13:42:05 +08: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
Shicheng Chu
93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object ( #7131 )
2023-04-04 09:06:27 -04:00
Sparks-Pion
accab17fa5
[HUST CSE IoTS&P Lab] [fix] check rt_mutex_create return value ( #7169 )
2023-04-04 00:33:10 -04:00
xqyjlj
cd1e0a7901
✨ feat(components): add statfs, statfs64, fstatfs, fstatfs64 support
2023-03-31 10:56:37 +08:00
xqyjlj
e4bd8e00f0
✨ feat(components/lwp/lwp.c): add OS env to default environ
2023-03-31 10:56:37 +08:00
xqyjlj
63c7d0ceb4
🐞 fix(components/lwp/lwp_syscall.c): fix sys_readlink
2023-03-31 10:56:37 +08:00
xqyjlj
157dc0959c
✨ feat(components): add uname support
2023-03-31 10:56:37 +08:00
xqyjlj
c3b08d4288
✨ feat(components/lwp/lwp_syscall.c): add sys_lstat support
...
temporarily use sys_stat. should be replaced by sys_lstat if symbolic link are implemented
2023-03-31 10:56:37 +08:00
Shell
eec78d9f5d
[rt-smart] testcase & improvements for memory management ( #7099 )
...
* [utest/mm] add testcase for create/init
format codes of create/init in components/mm
* [libcpu/aarch64] fix user stack check routine
* [kservice] export API for utest
* [utest/mm] testcase for aspace_map
format & modify the files under components/mm related with aspace_map
* [lwp/user_mm] add user_map_varea for mmap feature
* [mm] rename rt_mm_fault_try_fix to rt_aspace_fault_try_fix
* [utest/mm] testcase for synchronization
* [mm] modify unmap api to improve throughput
* [utest/mm] testcases for cache and varea map
* [format] remove extra space
* [utest/mm] fix testcase problem in header
* [lwp] extend map_user_varea with a flag
* [utest/mm] testcase for lwp_map_user_varea
* [libcpu/arm/cortex-a] fix kernel space layout
* [utest/mm] adjust for armv7 arch
2023-03-30 08:25:15 +08:00
Shell
dd2f1a795a
[rt-smart] fix competition on aspace ( #7064 )
...
* [mm] mmu operations should be wrapped by _aspace_bst_insert & _aspace_bst_remove to avoid competition on page table
* [lwp] may not return null on failed
2023-03-19 14:41:50 +08:00
Shell
18a14cc935
[rt-smart] move sys_cacheflush to lwp_syscall.c ( #7048 )
...
* [syscall] move sys_cacheflush to lwp_syscall.c
* [syscall] improve assertion
* [format] rename to rt_ctassert
* [debug] modified ct assertion on mm_page.c
2023-03-17 15:11:38 +08:00
Meco Man
dfddd79b24
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
2023-03-16 20:21:43 -04:00
Shell
fcc01a617d
[rt-smart] Fix return value in syscall ( #7045 )
...
* [timer] fix sys return value to avoid outdated errno
* [rtdef] add wrap to stringify
* [syscall] return value in rt errno should be recycle immediately after call to posix layer
* [syscall] return type of syscall should be long
errno should be recycle immediately after call to rt posix layer to avoid
outdated value
* [format] move prototype to header file
* [fix] futex definition conflict
2023-03-13 19:09:34 +08:00
wangxiaoyao
34bf77b8e3
[format]
2023-03-11 19:01:33 +08:00
wangxiaoyao
cb60ef2c86
[lwp] clear vnode in fd after free
2023-03-11 19:01:33 +08:00
wangxiaoyao
672966cc41
[lwp] arch should recycle resource it allocated
2023-03-11 19:01:33 +08:00
wangxiaoyao
d1ed1c06cb
[timer] use int pointer to interpret notify func in sevp
2023-03-02 15:48:46 +08:00
wangxiaoyao
31bfc855c1
[syscall][fix] kernel overwrite ustack data in timer create
2023-03-02 15:48:46 +08:00
zhkag
111a5b88cb
smart select POSIX timer clock
2023-03-01 00:37:20 +08:00
wangxiaoyao
fef2607764
[lwp] save virtual addr in shm structure
2023-02-25 20:05:59 +08:00
geniusgogo
d3553e7220
fixed fstat/stat/readlink syscall.
2023-02-25 17:07:20 +08:00
Shell
382e9bcac7
[rt-smart] handling kernel from accessing unmapped user stack ( #6957 )
...
[rt-smart] handling kernel from accessing unmapped user stack
2023-02-24 14:52:16 +08:00
wangxiaoyao
484a0d602e
[fixup] add cache maintenance ops;
...
fix bugs on cache maintenance when starting user app
2023-02-21 08:48:49 +08:00
wangxiaoyao
855aef9c9c
[mm] distinguish NULL and MAP_FAILED
2023-02-21 08:48:49 +08:00
Bernard Xiong
0ea687e0cb
[lwP] fix _m_lock in posix mutex
2023-02-21 08:47:00 +08:00
zhkag
657cbfdac7
修复编译警告
2023-02-09 15:21:17 +08:00
Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
geniusgogo
890c1c9264
fixed syscall errno return.
2023-02-07 12:05:48 -05:00
Shell
b2402029b2
[rt-smart][fix/lwp] don't restore terminal for background lwp ( #6847 )
...
* [fix/lwp] don't restore term for background lwp
2023-01-13 09:48:43 +08:00
wangxiaoyao
93dd8c6c6e
[rt-smart] fix warnings
2023-01-10 09:37:22 +08:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Shell
7450ef6c4d
[rt-smart] kernel virtual memory management layer ( #6809 )
...
synchronize virtual memory system works.
adding kernel virtual memory management layer for page-based MMU enabled architecture
porting libcpu MMU codes
porting lwp memory related codes
2023-01-08 21:08:55 -05:00
zhkag
7f9ccd3c80
格式化代码
2023-01-09 09:32:07 +08:00
zhkag
7fc3b2d7b5
添加 sys_mq_close 函数
2023-01-09 09:32:07 +08:00
zhkag
ce308cd965
更新 mq syscall
2023-01-09 09:32:07 +08:00
guo
68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 ( #6740 )
...
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00