summaryrefslogtreecommitdiff
path: root/src/sys/mman.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-01-14 23:06:21 -0700
committerAlan Somers <asomers@gmail.com>2019-02-14 10:15:49 -0700
commited1c90d6bc9871d9881e8fcb05370752b6a5d25b (patch)
tree730f4933304e1af72ef47787896da94a70f6aa73 /src/sys/mman.rs
parent842f5acf3e003e5600746c9f4ee0a3c02fbf3dd0 (diff)
downloadnix-ed1c90d6bc9871d9881e8fcb05370752b6a5d25b.zip
Replace hand-rolled cmsg logic with libc's cmsg(3) functions.
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.
Diffstat (limited to 'src/sys/mman.rs')
0 files changed, 0 insertions, 0 deletions