You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best way to get the additional fields added? I'm mainly interested in Flags. Happy to do some legwork but am not an experienced rust developer so might need a bit of help :)
The text was updated successfully, but these errors were encountered:
Hi, can you give an example of a /proc/net/unix with some non-zero flags? Adding support to the Flags field should be pretty easy, but this field seems to be zero on all my machines. So having a version with non-zery entries will help when writing tests for this
ah, well having the a link to the source is great. I'd still like to see some real examples, if possible. Or a mini-research project for someone could be to figure out how to generate a unix socket with a non-zero flag. I'd be happy to accept a PR to add this field
In procfs on Linux - Num RefCount Protocol Flags Type St Inode Path
The docs say
#[non_exhaustive]
pub struct UnixNetEntry {
pub ref_count: u32,
pub socket_type: u16,
pub state: UnixState,
pub inode: u64,
pub path: Option<PathBuf>,
}
What is the best way to get the additional fields added? I'm mainly interested in Flags. Happy to do some legwork but am not an experienced rust developer so might need a bit of help :)
The text was updated successfully, but these errors were encountered: