LinkTed
|
e0cedba63e
|
Fix cfg condition for test
|
2020-10-10 15:19:13 +02:00 |
|
LinkTed
|
d30508f95c
|
Remove target_os, which does not have SO_PASSCRED constant in libc
|
2020-10-10 15:19:13 +02:00 |
|
LinkTed
|
1f6d7dcc0a
|
Remove target_os, which does not have cmsghdr struct in libc
|
2020-10-10 15:19:13 +02:00 |
|
LinkTed
|
7b476d87fb
|
Remove target_os, which does not have MSG_CMSG_CLOEXEC constant in libc
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
cc085e9170
|
Replace assert with unreachable
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
1902711f38
|
Change name of struct to SocketCred
|
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
|
19c5fdda7c
|
Rename test.rs to tests.rs
|
2020-10-10 15:19:12 +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 |
|
rijenkii
|
64b8fd7920
|
Add peek and peek_from to UnixStream and UnixDatagram
|
2020-09-11 20:07:08 +07:00 |
|
Lzu Tao
|
a4e926daee
|
std: move "mod tests/benches" to separate files
Also doing fmt inplace as requested.
|
2020-08-31 02:56:59 +00:00 |
|