Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for sockaddr_vm's svm_flags #3460

Closed
james-callahan opened this issue Dec 1, 2023 · 0 comments · Fixed by #3478
Closed

Missing support for sockaddr_vm's svm_flags #3460

james-callahan opened this issue Dec 1, 2023 · 0 comments · Fixed by #3478
Labels
C-API-request Category: API request

Comments

@james-callahan
Copy link

james-callahan commented Dec 1, 2023

sockaddr_vm is currently missing the svm_flags field. See https://lkml.org/lkml/2020/12/11/249

The structure is defined at

pub struct sockaddr_vm {
pub svm_family: ::sa_family_t,
pub svm_reserved1: ::c_ushort,
pub svm_port: ::c_uint,
pub svm_cid: ::c_uint,
pub svm_zero: [u8; 4]
}

See also rust-vsock/vsock-rs#29

@james-callahan james-callahan added the C-API-request Category: API request label Dec 1, 2023
bors added a commit that referenced this issue Jan 7, 2024
linux's sockaddr_vm update for kernel >= 5.11.

close #3460
@bors bors closed this as completed in 0d8671c Jan 7, 2024
Andy-Python-Programmer pushed a commit to Andy-Python-Programmer/libc that referenced this issue Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-API-request Category: API request
Projects
None yet
1 participant