bors
af69066aa6
Auto merge of #69864 - LinkTed:master, r=Amanieu
...
unix: Extend UnixStream and UnixDatagram to send and receive file descriptors
Add the functions `recv_vectored_fds` and `send_vectored_fds` to `UnixDatagram` and `UnixStream`. With this functions `UnixDatagram` and `UnixStream` can send and receive file descriptors, by using `recvmsg` and `sendmsg` system call.
2020-12-02 17:36:29 +00:00
Maarten de Vries
3bee37c290
Disable accept4 on Android.
2020-11-06 14:17:48 +01:00
Maarten de Vries
59c6ae615e
Use SOCK_CLOEXEC and accept4() on more platforms.
2020-10-30 14:20:10 +01:00
Mara Bos
dce405ae3d
Take sys/vxworks/net from sys/unix instead.
2020-10-16 06:19:00 +02:00
LinkTed
e9bf69954c
Remove passcred
for emscripten
2020-10-10 15:19:13 +02:00
LinkTed
31e6e3896d
Fix SO_PASSCRED
for macos
2020-10-10 15:19:13 +02:00
LinkTed
b01ce2cfd0
Fix MSG_CMSG_CLOEXEC
for macos
2020-10-10 15:19:13 +02:00
LinkTed
e61148f98a
Cast boolean into int directly in function set_passcred
2020-10-10 15:19:12 +02:00
LinkTed
686964f0f5
Add set_passcred
and passcred
methods to UnixStream
and UnixDatagram
2020-10-10 15:19:12 +02:00
LinkTed
8783b06bd2
Move add_to_ancillary_data
and AncillaryDataIter
to ancillary.rs
2020-10-10 15:19:11 +02:00
LinkTed
0b3c9d8465
unix: Extend UnixStream and UnixDatagram to send and receive file descriptors
...
Add the functions `recv_vectored_fds` and `send_vectored_fds` to send and receive file descriptors, by using `recvmsg` and `sendmsg` system call.
2020-10-10 15:19:11 +02:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00