From e687a59c8a6b5962b9b27cc8f7a683bab99e5006 Mon Sep 17 00:00:00 2001 From: Greg V <greg@unrelenting.technology> Date: Wed, 15 Apr 2020 01:01:13 +0300 Subject: [PATCH] freebsdlike: add SCM_CREDS It is present on both FreeBSD and DragonFly --- src/unix/bsd/freebsdlike/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs index 509bf8c0..b10f60f1 100644 --- a/src/unix/bsd/freebsdlike/mod.rs +++ b/src/unix/bsd/freebsdlike/mod.rs @@ -738,6 +738,7 @@ pub const MSG_DONTWAIT: ::c_int = 0x00000080; pub const MSG_EOF: ::c_int = 0x00000100; pub const SCM_TIMESTAMP: ::c_int = 0x02; +pub const SCM_CREDS: ::c_int = 0x03; pub const SOCK_STREAM: ::c_int = 1; pub const SOCK_DGRAM: ::c_int = 2; -- GitLab