summaryrefslogtreecommitdiff
path: root/src/errno.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-02 18:04:25 +0000
committerGitHub <noreply@github.com>2020-05-02 18:04:25 +0000
commit539c5705ad6b8c372be8108ef6c6940ccfb6a417 (patch)
treee7c39dc69a2b5ddf52c88149bae3048045c4a007 /src/errno.rs
parent3ae6b180ddba4b28582662312bfb56402fb096a0 (diff)
parentb2a9c4f18c3e2314bf737ef842e5d5c7de94f33a (diff)
downloadnix-539c5705ad6b8c372be8108ef6c6940ccfb6a417.zip
Merge #1216
1216: Add UnixCredentials support on FreeBSD/DragonFly r=asomers a=myfreeweb This allows working with `SCM_CREDS` messages, which are like `SCM_CREDENTIALS` on Linux, but slightly different (always overwritten by the kernel, contain a bit more info — euid and groups). With this PR, it is possible to write portable code that would use the appropriate message for the platform, but one remaining quirk is that `PassCred` thing still has to be present and `cfg`'d to Linux. Adding the `SCM_CREDS` constant to libc: https://github.com/rust-lang/libc/pull/1740 Co-authored-by: Greg V <greg@unrelenting.technology>
Diffstat (limited to 'src/errno.rs')
0 files changed, 0 insertions, 0 deletions