jiangjianfeng
|
bc230b24e1
|
Fix doc warnings
|
2026-01-02 11:26:43 -08:00 |
Zhang Junyang
|
c7a2c81366
|
Miscellaneous clippy fixes for Rust 2024
|
2025-12-09 09:23:58 +08:00 |
Zhang Junyang
|
559ce94aba
|
Fix elided lifetimes in return values
|
2025-12-09 09:23:58 +08:00 |
Zhang Junyang
|
dd410444e5
|
Format with new `rustfmt`
|
2025-12-09 09:23:58 +08:00 |
Cautreoxit
|
4f71f4bbe6
|
Add some ioctls for evdev
|
2025-12-07 17:30:04 +08:00 |
Ruihan Li
|
a176e4c3c6
|
Add ioctl enum support
|
2025-12-07 12:01:05 +08:00 |
Ruihan Li
|
99fefb7adf
|
Implement new ioctl infrastructure
|
2025-12-07 12:01:05 +08:00 |
Ruihan Li
|
04ef99cb82
|
Migrate existing code to use `VmIo`
|
2025-12-07 12:01:05 +08:00 |
jiangjianfeng
|
a0042f7d28
|
Add syscall sendmmsg
|
2025-12-05 17:18:15 +08:00 |
jiangjianfeng
|
188b20eb99
|
Support SO_BROADCAST for UDP sockets
|
2025-11-28 10:34:26 +08:00 |
jiangjianfeng
|
3208fcc101
|
Dummy support IP_RECVERR option
|
2025-11-28 10:34:26 +08:00 |
jiangjianfeng
|
e796c41546
|
Reorder the socket options according to CSocketOptionName
|
2025-11-28 10:34:26 +08:00 |
Ruihan Li
|
d99791ba57
|
Fix the handling when the buffer is full
|
2025-11-26 17:35:42 +08:00 |
Hsy-Intel
|
f8c94695d0
|
Add TDX hardware randomness requirement note
|
2025-11-26 17:26:55 +08:00 |
Ruihan Li
|
58070c4107
|
Introduce `CopyCompat`
|
2025-11-14 14:20:30 +08:00 |
jiangjianfeng
|
fe39a6803d
|
Unshare VM during execve
|
2025-10-25 10:36:30 +08:00 |
Ruihan Li
|
36a38c3f04
|
Bump `rand` version to 0.9.2
|
2025-09-30 11:36:37 +08:00 |
Ruihan Li
|
75f95cc1da
|
Remove some unnecessary `cfg_if` uses
|
2025-09-30 11:36:37 +08:00 |
Yang Zhichao
|
f869ed508f
|
Move `PerCpuCounter` to `aster-util` to broaden its scope of use,
and add/modify some methods to improve readability.
|
2025-09-27 21:02:23 +08:00 |
Ruihan Li
|
c90c081e86
|
Fix bugs due to bad `ReadCString` APIs
Co-authored-by: Wang Siyuan <wsy@stu.pku.edu.cn>
|
2025-09-18 17:19:51 +08:00 |
Ruihan Li
|
3acdc1e8b0
|
Move `ReadCString` to `util/`
Co-authored-by: Wang Siyuan <wsy@stu.pku.edu.cn>
|
2025-09-18 17:19:51 +08:00 |
Ruihan Li
|
3b606f5b6c
|
Use `size_of`/`align_of` in the prelude
|
2025-09-04 09:26:56 +08:00 |
Ruihan Li
|
419f31397f
|
Move checks from `syscall/` to `iovec.rs`
|
2025-09-02 15:43:09 +08:00 |
Ruihan Li
|
4e27e9d90b
|
Use "I/O" instead "IO"
|
2025-09-02 15:43:09 +08:00 |
jiangjianfeng
|
83b6e2da5c
|
Add basic namespace framework
|
2025-09-02 09:47:41 +08:00 |
Ruihan Li
|
5b91064316
|
Add a method that disables page fault handlers
|
2025-08-14 11:59:05 +08:00 |
Ruihan Li
|
2700d88bef
|
Provide efficient `VmIo` with VM readers/writers
|
2025-08-10 16:40:11 +08:00 |
王英泰
|
4562361ef0
|
Add the random support for LoongArch in kernel
|
2025-07-25 17:37:24 +08:00 |
Ruihan Li
|
5ccadb6253
|
Support SOCK_SEQPACKET
|
2025-07-23 20:02:15 +08:00 |
Ruihan Li
|
ab897ccd2f
|
Support SO_PASSCRED
Co-authored-by: Jianfeng Jiang <jiangjianfeng.jjf@antgroup.com>
|
2025-07-23 20:02:15 +08:00 |
Ruihan Li
|
4d8078166e
|
Send and receive UNIX control messages
|
2025-07-21 10:46:08 +08:00 |
jiangjianfeng
|
e4c5c36be9
|
Support SO_PEERCRED & SO_PEERGROUPS
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
d7e88f93bd
|
Support SO_ACCEPTCONN
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
ec8beab540
|
Support SO_PRIORITY
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
8f6bc07b23
|
Support SO_SNDBUFFORCE & SO_RCVBUFFORCE
|
2025-06-24 17:25:44 +08:00 |
Ruihan Li
|
bcf1e69878
|
Expose `head`/`tail` of `RingBuffer`
|
2025-06-19 16:30:02 +08:00 |
Ruihan Li
|
deab9b6f72
|
Truncate netlink messages
|
2025-06-13 11:27:22 +08:00 |
Ruihan Li
|
639bc91e31
|
Clean up public re-exports under `net/`
|
2025-06-13 11:07:11 +08:00 |
Ruihan Li
|
fe6b78058c
|
Correct the blocking behavior
|
2025-06-09 13:10:34 +08:00 |
jiangjianfeng
|
f0957d2f54
|
Fix clippy warnings in kernel crate
|
2025-06-06 18:22:09 +08:00 |
jiangjianfeng
|
f946f09ee4
|
Implement netlink uevent socket
|
2025-06-06 11:33:09 +08:00 |
Wang Siyuan
|
58e4f45bb1
|
Add per-CPU counters and track RSS for each `Vmar`
|
2025-06-03 23:24:32 +08:00 |
jiangjianfeng
|
3e66732889
|
Parse netlink message
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
ac42e83387
|
Add basic structure for netlink route socket
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
b833ec6ede
|
Implement ReadCString for MultiRead
|
2025-04-09 16:47:11 +08:00 |
jiangjianfeng
|
0e1c660225
|
Make VmReader's several methods accept `&mut self`
|
2025-03-25 14:25:08 +08:00 |
Chen Chengjun
|
135100a472
|
Modify the getting-VMAR usages in other syscalls
|
2025-03-20 14:20:47 +08:00 |
jiangjianfeng
|
388eec449a
|
Add ip level socket option
|
2025-03-07 13:38:02 +08:00 |
jiangjianfeng
|
3f951e0c0c
|
Enable gVisor tcp_socket_test
|
2025-02-11 10:50:20 +08:00 |
Ruihan Li
|
0dca168717
|
Use `#[expect(lint)]`, not `#[allow(lint)]`
|
2025-02-08 15:10:04 +08:00 |