lucab / libsystemd-rs

A pure-Rust client library to work with systemd
https://crates.io/crates/libsystemd
Other
105 stars 19 forks source link

activation: split Unix socket type into UnixStream and UnixDgram #56

Open jabedude opened 4 years ago

jabedude commented 4 years ago

Closes #55.

jabedude commented 4 years ago

Hmm, this code is currently panicking my daemon. I used libc::getsockopt directly and it works. The nix code makes heavy use of macros and is a little hard for me to follow

lucab commented 4 years ago

@jabedude let me know when you get to the bottom of your panics. Are those perhaps happening on invalid (e.g. closed in the meanwhile) FDs?