Skip to content

Commit

Permalink
Replace hand-rolled cmsg logic with libc's cmsg(3) functions.
Browse files Browse the repository at this point in the history
Our hand-rolled logic had subtle alignment bugs that caused
test_scm_rights to fail on OpenBSD (and probably could cause problems on
other platforms too).  Using cmsg(3) is much cleaner, shorter, and more
portable.  No user-visible changes.
  • Loading branch information
asomers committed Feb 14, 2019
1 parent 842f5ac commit ed1c90d
Showing 1 changed file with 227 additions and 261 deletions.
Loading

0 comments on commit ed1c90d

Please sign in to comment.