summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2018-07-04 14:52:51 +0200
committerJonas Schievink <jonasschievink@gmail.com>2018-07-05 16:40:06 +0200
commit594b924fb5a4c567828ce4a0e2f0fa678bd3b7fc (patch)
treef7623c723355a7fd22217ae0d5ad069281d91843 /src/sys/socket/mod.rs
parente0577cc89059267e996027f45578f09f34b7347b (diff)
downloadnix-594b924fb5a4c567828ce4a0e2f0fa678bd3b7fc.zip
Get `SO_PEERCRED` working on all Linux targets
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r--src/sys/socket/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index b46fa8b0..20de6af4 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -173,7 +173,7 @@ libc_bitflags!{
}
cfg_if! {
- if #[cfg(all(target_os = "linux", not(target_arch = "arm")))] {
+ if #[cfg(any(target_os = "android", target_os = "linux"))] {
/// Unix credentials of the sending process.
///
/// This struct is used with the `SO_PEERCRED` ancillary message for UNIX sockets.