444 Commits

Author SHA1 Message Date
Hsy-Intel
9bad068215 Update conditional compilation for intel_tdx feature 2024-08-09 17:11:12 +08:00
Jianfeng Jiang
dc124351d2 Add gvisor pselect test 2024-08-09 15:46:05 +08:00
Jianfeng Jiang
8b73cc8761 Support sigmask in pselect6 2024-08-09 15:46:05 +08:00
Yuke Peng
c4e9a0db38 Remove the implementation of MADV_DONTNEED 2024-08-09 14:07:09 +08:00
YanWQ-monad
97fab9edea Prepare aster-time for platform-dependent implementations 2024-08-09 08:53:24 +08:00
Chen Chengjun
acb4833aae Optimize trim_mappings 2024-08-09 00:12:20 +08:00
Qingsong Chen
cd9e5d11d2 Optimize futex implementation 2024-08-08 23:11:58 +08:00
Shaowei Song
8dce83605f Add sys_fallocate 2024-08-08 21:10:38 +08:00
Zhang Junyang
37a9590cfe Refactor ostd::task::processor based on faster CPU-local cells 2024-08-08 19:21:03 +08:00
Zhang Junyang
fe68b4b510 Generalize single instruction CPU local operations by cpu_local_cell 2024-08-08 19:21:03 +08:00
Jianfeng Jiang
6414111cc5 Support flag SA_RESETHAND 2024-08-08 15:20:13 +08:00
Chen Chengjun
9a299b68f0 Make the behavior of sys_execve be consistent with Linux 2024-08-08 15:08:55 +08:00
Ruihan Li
b1ea422efa Fix accesses to VirtIO queue DMA 2024-08-06 11:34:15 +08:00
Ruihan Li
4deba9baca Rewrite the whole net/addr.rs file 2024-08-05 10:24:56 +08:00
Ruihan Li
d814603504 Move IpEndpoint to socket/ip/addr.rs 2024-08-05 10:24:56 +08:00
Chen Chengjun
b11628b9ce Remove destroy_all methods 2024-08-05 10:24:05 +08:00
Zhang Junyang
16690bc61b Implement atomic signal masks and refactor SigSet 2024-08-04 21:41:44 +08:00
Shaowei Song
20a856b07f Revise the naming of all sync/async io APIs 2024-07-30 20:58:07 +08:00
Zhang Junyang
870d542f60 Remove the error of BlkFeatures::MQ to support multi-processor startup
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
Zhang Junyang
460234a18b Check userspace NULL pointers without triggering kernel page faults 2024-07-29 22:46:32 +08:00
Qingsong Chen
077a9ac3ab Add fcntl subcommand F_GETOWN/F_SETOWN 2024-07-29 22:25:24 +08:00
Ruihan Li
c320552ae1 Remove clean_for_close/flush in FileLike 2024-07-29 22:13:02 +08:00
Yuke Peng
f57dcd814a Extend user heap limit to 64MB 2024-07-29 22:09:21 +08:00
Ruihan Li
fce5785af6 Fix socket lock IRQ behavior 2024-07-29 16:56:29 +08:00
Ruihan Li
a14ac1ccbf Fix socket lock ordering 2024-07-29 16:56:29 +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
94b23e077d Use relaxed ordering for polling instant 2024-07-29 16:56:29 +08:00
Ruihan Li
4df7654034 Repeat iface polling if necessary 2024-07-29 16:56:29 +08:00
Wang Siyuan
12ed40578d Add /proc/meminfo support 2024-07-29 13:55:20 +08:00
Shaowei Song
ff525112d0 Revise the BlockDevice trait 2024-07-29 13:54:13 +08:00
Ruihan Li
e83e1fc01b Unpack states from Arc in UNIX sockets 2024-07-25 21:38:18 +08:00
Ruihan Li
8df51ab001 Move status from channels to pipes 2024-07-25 21:38:18 +08:00
Ruihan Li
d24c7f8b9c Remove dead code in pipe.rs 2024-07-25 21:38:18 +08:00
Ruihan Li
31d99c66c2 Unpack Arc<Endpoint> in UNIX sockets 2024-07-25 21:38:18 +08:00
Chen Chengjun
7ee728e2c7 Fix robust list iteartion bug 2024-07-25 21:37:11 +08:00
Shaowei Song
9e57db7d54 [ext2] Introuce unified inode functions to read/write block(s) 2024-07-25 21:31:18 +08:00
Shaowei Song
b1cec501d8 [page_cache] Gap within one page should be filled with zeros in shrink case 2024-07-25 21:31:18 +08:00
StanPlatinum
0b8335c943 Add /proc/filesystems support 2024-07-25 13:21:37 +08:00
Yuke Peng
e7a75947ea Remove ETIME logic in sys_poll 2024-07-22 21:45:52 +08:00
Yuke Peng
6ada748b79 Remove ETIME logic in sys_select 2024-07-22 21:45:52 +08:00
Yuke Peng
faa4234c7d Return Ok when timer expired in do_poll 2024-07-22 21:45:52 +08:00
hongwen.chw
4dacff5be4 Fix a typo when assign 'dst.rbx' at copy_gp_regs 2024-07-21 22:34:58 +08:00
Zhang Junyang
668997ab51 Refactor the VmSpace API and work around misuses 2024-07-20 20:56:29 +08:00
Ruihan Li
9f125cd671 Remove the nonsense mutex in Poller 2024-07-19 18:37:54 +08:00
Ruihan Li
94eba6d85e Add unit tests about blocking behavior 2024-07-18 20:45:16 +08:00
Ruihan Li
a219b6a485 Rename Endpoint to Fifo 2024-07-18 20:45:16 +08:00
Ruihan Li
39cd4420f2 Fix many error codes in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li
8e72451448 Reuse the wait_events method in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li
1c0d865373 Refine the event lock for pipes 2024-07-18 20:45:16 +08:00