Carlos López
0a36760f7a
Respect user-defined exit signal in clone() and clone3()
...
When calling clone() and clone3(), the user is allowed to specify a
signal to be sent to the parent process on exit. Respect this value by
storing it in the Process struct and sending the signal on exit.
Add a test as well to verify that the signal is properly delivered to
the parent.
2024-09-26 20:07:43 +08:00
Ruihan Li
179705a3fc
Fix RamFS readahead
2024-09-24 20:34:19 +08:00
Jianfeng Jiang
c5009e38f1
Add pipe/short_rw test
...
Co-authored-by: Ruihan Li <lrh2000@pku.edu.cn>
2024-09-20 10:37:20 +08:00
Jianfeng Jiang
ea8327af0f
Add regression test for sendmsg/recvmsg
2024-09-20 10:37:20 +08:00
Ruihan Li
320092eda2
Implement blocking connect
properly
2024-09-13 22:09:46 +08:00
Ruihan Li
6f915133b5
Fix error codes in bind
2024-09-13 22:09:46 +08:00
Ruihan Li
a345e11b96
Fix error codes in send
, recv
, accept
2024-09-13 22:09:46 +08:00
Ruihan Li
a8592a16ea
Fix I/O events related to shutdown
2024-09-13 22:09:46 +08:00
Ruihan Li
421f6b8e5b
Fix I/O events cross different states
2024-09-13 22:09:46 +08:00
Ruihan Li
f831f5685f
Fix I/O events for UNIX connected sockets
2024-09-13 22:09:46 +08:00
Ruihan Li
7a13c0dff6
Fix behavior related to EPOLLONESHOT
2024-09-13 21:02:06 +08:00
Ruihan Li
6151d65cf5
Fix poll behavior
2024-09-13 21:02:06 +08:00
Ruihan Li
479d98c8b9
Use (fd, file)
as the key
2024-09-13 21:02:06 +08:00
Ruihan Li
21a1041d27
Clean up files generated by UNIX regression tests
2024-08-28 19:54:36 +08:00
Ruihan Li
65aa156e92
Implement UNIX abstract address namespace
2024-08-28 19:54:36 +08:00
Yuke Peng
7b58d97aa2
Add regression test for SO_REUSEADDR
2024-08-28 14:01:18 +08:00
Zhang Junyang
d313674a2b
Add SMP tests with a general test blocklist
2024-08-27 17:22:47 +08:00
Cautreoxit
86f09eef75
Fix all spelling mistakes in history by typos tool
2024-08-27 12:19:48 +08:00
Ruihan Li
47857fc10f
Fix remote addresses in connected UNIX sockets
2024-08-18 23:57:56 +08:00
Ruihan Li
a3d4748d6b
Fix behavior in UNIX socket listen()
2024-08-18 23:57:56 +08:00
Chen Chengjun
40c2acf29d
Add shared filebacked mmap test
2024-08-16 10:45:16 +08:00
Ruihan Li
f499f54cf5
Record the original bound name
2024-08-13 19:32:22 +08:00
Ruihan Li
6b50d28ba1
Remove unnecessary self-connecting check
2024-08-13 19:32:22 +08:00
Ruihan Li
5445a26ec5
Fix results of getting UNIX names
2024-08-13 19:32:22 +08:00
Ruihan Li
4deba9baca
Rewrite the whole net/addr.rs
file
2024-08-05 10:24:56 +08:00
Jianfeng Jiang
3981cd63cd
Wake up background polling thread when old_instant is 0
...
Co-authored-by: Ruihan Li <lrh2000@pku.edu.cn>
2024-07-29 16:56:29 +08:00
Ruihan Li
328ce9e92c
Properly close sockets
2024-07-29 16:56:29 +08:00
Ruihan Li
39cd4420f2
Fix many error codes in pipes
2024-07-18 20:45:16 +08:00
Fabing Li
990bd846cd
Enhance the stability of Asterinas compiling
2024-07-05 20:03:10 +08:00
Fabing Li
f675552c5a
Rename regression to test
2024-06-28 20:33:21 +08:00