LinkTed
|
c2a1b50140
|
Add conditional compilation for import
|
2020-10-10 15:19:13 +02:00 |
|
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
|
db902bca3a
|
Add the code of the tracking issue
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
cc085e9170
|
Replace assert with unreachable
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
d0b133cdc6
|
Remove unsupported target_os for SocketCred
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
5964d599ac
|
Change standard types to libc types
|
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
|
eeea5c23b4
|
Change API to unsafe and add doc comments
|
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
|
a91fd7328c
|
Add doc comments
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
46764d48bb
|
Add doc(cfg(...))
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
1869141e54
|
Reduce impl trait by using macro in raw_fd.rs
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
53791b3ff4
|
Move conditional compilation to the upper module and sort the target OS list alphabetically
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
07ed6afc6d
|
Remove unnecessary path
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
6ed9bface6
|
Use fill instead of memset
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
1f3195a5df
|
Remove inner function in bind, connect and send_to
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
4c929a00ee
|
Remove lifetime annotation in messages function
|
2020-10-10 15:19:12 +02:00 |
|
LinkTed
|
b82f29d780
|
Remove Clone trait bound in add_to_ancillary_data
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
3dfab6fb64
|
Add integer overflow check
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
e1084052a7
|
Replace TryFrom of AncillaryData with a private method.
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
8784ffbb4e
|
Using read_unaligned instead of memcpy.
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
8783b06bd2
|
Move add_to_ancillary_data and AncillaryDataIter to ancillary.rs
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
e6984eee6f
|
Add UCred struct
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
6f82ddf18e
|
Add AncillaryError
|
2020-10-10 15:19:11 +02:00 |
|
LinkTed
|
6fa7c3f79e
|
Split net.rs into multiple files
|
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 |
|
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 |
|