yilin
yilin
> 这个对齐指的应该是结构体大小的对齐? > > and,由于之前一两个月的测例修复没有覆盖网络这块,因此这里可能有很多未修复的测例,欢迎验证,然后提issue~: https://docs.dragonos.org.cn/kernel/ktest/gvisor_syscall_test.html#id7 对的,这个结构体的对齐也是2字节,在上面提到的代码中,如果buf的起始地址是奇数,那么首次循环生成的`attr_header_bytes `就会不满足2字节对齐,但是传入的buf参数在上层经过多次处理,比较难以验证是否存在这种情况
> [@claude](https://github.com/claude) 理解issue内容并且修改issue标题 请问这是否是实现上的问题呢?
**关于这个问题的更详细描述** ```rust // kernel/src/net/socket/inet/stream/inner.rs: 18-31 fn new_smoltcp_socket() -> smoltcp::socket::tcp::Socket where T: Into, { let mut socket = new_smoltcp_socket(); socket.listen(local_endpoint).unwrap(); socket } ``` new_listen_smoltcp_socket()会返回一个生命周期为`'static`的socket。`socket::inet::BoundInner::bind` 会将socket绑定到指定的地址上,置入指定的网络接口中。在`kernel/src/driver/net/mod.rs`中可以找到iface.sockets()返回`&SpinLock, { if address.is_unspecified() { let Some(iface)...
> and,目前dragonos启用的gvisor系统调用兼容性测试没有覆盖网络相关的,这里可能还有更多问题~欢迎参与一起修测例~ 好的,我也是关注到这部分代码,觉得实现上面有点问题,我会再关注该模块
I generate the same miri report when testing the following rust code: ```rust #![feature(allocator_api)] extern crate alloc; use pathfinder_geometry::*; fn main() { let v1 = 98i32; let v2 = 76i32;...
补充题库: 1. 柔韧性是健康体能的重要组成部分 -- 对 2. 肌肉收缩的速度与外部阻力密切相关,外部负荷小时,肌肉收缩速度增加。 -- 对 3. 古代奥运会的项目主要都是体能类项目 -- 对 4. 血液流经血管,会对管壁一定的侧压力,生理学上将血液对单位面积血管壁的侧压力称为血压 -- 对 5. 以膈肌为主的呼吸称为腹式呼吸 -- 对 6. 体脂百分比过高,不会增加很多疾病的风险 -- 错 7. 心理因素会影响身体的柔韧性 -- 对 8....
Hi! I am the partner of the above team, and I found that the following code snippet is also reported as undefined behavior by Miri: ```rust use crossbeam_utils::*; fn main()...
> Hello! Just acknowledging this report, thank you for the testing. I'll have a look in the next few days :) Thank you!If you want to reproduce thie error using...
> I'm assuming this is within another project. My reproduction with this project was with `cargo +nightly-2025-09-10 miri test` The code snippet is a cargo project that we create for...
The device I use is `Ubuntu 22.04.5 LTS`. The rustc version is `rustc 1.98.0-nightly (9e2abe0c6 2026-06-16)`. After running these commands, you can get such output: ```shell trap_unaligned_wait32: RuntimeError: operation does...