<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/unix/kernel_copy, branch 1.58.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.58.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.58.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-02-22T20:41:32+00:00</updated>
<entry>
<title>add test for failing io::copy specialization</title>
<updated>2021-02-22T20:41:32+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2021-02-22T20:16:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5c0d76dbe1669c96f1959d7b0b1d4de7e9a47c43'/>
<id>urn:sha1:5c0d76dbe1669c96f1959d7b0b1d4de7e9a47c43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #79375 - vext01:kernel-copy-temps, r=bjorn3</title>
<updated>2020-12-11T05:33:02+00:00</updated>
<author>
<name>Tyler Mandry</name>
<email>tmandry@gmail.com</email>
</author>
<published>2020-12-11T05:33:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8c19e1b48cd16075c90b7a3a69f57298c83fb34'/>
<id>urn:sha1:a8c19e1b48cd16075c90b7a3a69f57298c83fb34</id>
<content type='text'>
Make the kernel_copy tests more robust/concurrent.

These tests write to the same filenames in /tmp and in some cases these files don't get cleaned up properly. This caused issues for us when different users run the tests on the same system, e.g.:

```
---- sys::unix::kernel_copy::tests::bench_file_to_file_copy stdout ----
thread 'sys::unix::kernel_copy::tests::bench_file_to_file_copy' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', library/std/src/sys/unix/kernel_copy/tests.rs:71:10
---- sys::unix::kernel_copy::tests::bench_file_to_socket_copy stdout ----
thread 'sys::unix::kernel_copy::tests::bench_file_to_socket_copy' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', library/std/src/sys/unix/kernel_copy/tests.rs💯10
```

Use `std::sys_common::io__test::tmpdir()` to solve this.

CC ``@the8472.``
</content>
</entry>
<entry>
<title>Make the kernel_copy tests more robust/concurrent.</title>
<updated>2020-12-03T13:49:24+00:00</updated>
<author>
<name>Edd Barrett</name>
<email>vext01@gmail.com</email>
</author>
<published>2020-11-24T11:29:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87c1fdbcfb227c1b7b3b85c146a549a54fea63e8'/>
<id>urn:sha1:87c1fdbcfb227c1b7b3b85c146a549a54fea63e8</id>
<content type='text'>
These tests write to the same filenames in /tmp and in some cases these
files don't get cleaned up properly. This caused issues for us when
different users run the tests on the same system, e.g.:

```
---- sys::unix::kernel_copy::tests::bench_file_to_file_copy stdout ----
thread 'sys::unix::kernel_copy::tests::bench_file_to_file_copy' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', library/std/src/sys/unix/kernel_copy/tests.rs:71:10
---- sys::unix::kernel_copy::tests::bench_file_to_socket_copy stdout ----
thread 'sys::unix::kernel_copy::tests::bench_file_to_socket_copy' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', library/std/src/sys/unix/kernel_copy/tests.rs:100:10
```

Use `std::sys_common::io__test::tmpdir()` to solve this.
</content>
</entry>
<entry>
<title>fix copy specialization not updating Take wrappers</title>
<updated>2020-12-02T23:02:01+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-12-02T22:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18'/>
<id>urn:sha1:a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update test to check Take limits after copying</title>
<updated>2020-12-02T22:34:59+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-12-02T22:33:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b390e73db26f17415dfeab2e49f13f04ad2474b'/>
<id>urn:sha1:9b390e73db26f17415dfeab2e49f13f04ad2474b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add benchmark for File to UnixStream copy</title>
<updated>2020-12-01T13:44:40+00:00</updated>
<author>
<name>Nicolas Koch</name>
<email>nioko1337@googlemail.com</email>
</author>
<published>2020-12-01T13:44:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eda4c63fdcfe4717ade45333b90bd1568ebcc949'/>
<id>urn:sha1:eda4c63fdcfe4717ade45333b90bd1568ebcc949</id>
<content type='text'>
</content>
</entry>
<entry>
<title>do direct splice syscall and probe availability to get android builds to work</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-11-06T22:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4854d418a5245b07eca7dbec92a29d18af13a821'/>
<id>urn:sha1:4854d418a5245b07eca7dbec92a29d18af13a821</id>
<content type='text'>
Android builds use feature level 14, the libc wrapper for splice is gated
on feature level 21+ so we have to invoke the syscall directly.
Additionally the emulator doesn't seem to support it so we also have to
add ENOSYS checks.
</content>
</entry>
<entry>
<title>move sendfile/splice/copy_file_range into kernel_copy module</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-10-15T01:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dfc377aa12293ace29f9a055f0aeb634d107ed9'/>
<id>urn:sha1:3dfc377aa12293ace29f9a055f0aeb634d107ed9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>limit visibility of copy offload helpers to sys::unix module</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-10-14T23:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=888b1031bc267132c66dbba49b43a55a83452ca4'/>
<id>urn:sha1:888b1031bc267132c66dbba49b43a55a83452ca4</id>
<content type='text'>
</content>
</entry>
</feed>
