<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/command/command-pre-exec.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding ignore fuchsia tests for execvp (pre_exec)</title>
<updated>2022-09-21T00:26:43+00:00</updated>
<author>
<name>Andrew Pollack</name>
<email>andrewpollack@google.com</email>
</author>
<published>2022-09-21T00:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3d7e4edf61979007d116e9d2291e2b0ff01cfb4'/>
<id>urn:sha1:b3d7e4edf61979007d116e9d2291e2b0ff01cfb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Do not call getpid wrapper after fork in tests"</title>
<updated>2021-11-05T21:49:26+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2021-10-15T23:04:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e96a0a8681998caf78093b65e746bfd967cb87e9'/>
<id>urn:sha1:e96a0a8681998caf78093b65e746bfd967cb87e9</id>
<content type='text'>
This reverts commit 12fbabd27f700a59d0e7031f0839b220c3514bcb.

It was only needed because of using raw `clone3` instead of `fork`, but
we only do that now when a pidfd is requested.
</content>
</entry>
<entry>
<title>Do not call getpid wrapper after fork in tests</title>
<updated>2021-08-01T07:45:00+00:00</updated>
<author>
<name>Dominik Stolz</name>
<email>d.stolz@tum.de</email>
</author>
<published>2021-03-25T21:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12fbabd27f700a59d0e7031f0839b220c3514bcb'/>
<id>urn:sha1:12fbabd27f700a59d0e7031f0839b220c3514bcb</id>
<content type='text'>
The test calls libc::getpid() in the pre_exec hook and asserts that the returned value is different from the PID of the parent.
However, libc::getpid() returns the wrong value.
Before version 2.25, glibc caches the PID of the current process with the goal of avoiding additional syscalls.
The cached value is only updated when the wrapper functions for fork or clone are called.
In PR #81825 we switch to directly using the clone3 syscall.
Thus, the cache is not updated and getpid returns the PID of the parent.
source: https://man7.org/linux/man-pages/man2/getpid.2.html#NOTES
</content>
</entry>
<entry>
<title>Test THIR unsafeck for unsafe ops in closures</title>
<updated>2021-05-27T19:04:44+00:00</updated>
<author>
<name>LeSeulArtichaut</name>
<email>leseulartichaut@gmail.com</email>
</author>
<published>2021-05-27T18:37:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1f0e9f65ce537f8026fdc207a596909c1fe4ed8'/>
<id>urn:sha1:d1f0e9f65ce537f8026fdc207a596909c1fe4ed8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not attempt to unlock envlock in child process after a fork.</title>
<updated>2021-03-09T21:14:07+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2021-03-09T20:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d854789ce191be25f2953c60fd50ce711776d9eb'/>
<id>urn:sha1:d854789ce191be25f2953c60fd50ce711776d9eb</id>
<content type='text'>
This is a breaking change for cases where the environment is
accessed in a Command::pre_exec closure. Except for
single-threaded programs these uses were not correct
anyway since they aren't async-signal safe.
</content>
</entry>
<entry>
<title>Drop support for cloudabi targets</title>
<updated>2020-11-22T22:11:41+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-10-27T13:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6bfe27a3e0f1c4d77999ccc2350ab861327615a2'/>
<id>urn:sha1:6bfe27a3e0f1c4d77999ccc2350ab861327615a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move command-related tests into command/</title>
<updated>2019-12-16T22:44:16+00:00</updated>
<author>
<name>Jeremy Fitzhardinge</name>
<email>jeremy@goop.org</email>
</author>
<published>2019-12-12T05:39:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce56e7528359b9581cac0b59080d25468d60de20'/>
<id>urn:sha1:ce56e7528359b9581cac0b59080d25468d60de20</id>
<content type='text'>
</content>
</entry>
</feed>
