<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/file_access.rs, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>Fix Windows compile warnings</title>
<updated>2025-08-05T06:10:18Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2025-08-03T08:44:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1623fd32272131c911ff53e8a2ea7b2516ffab07'/>
<id>urn:sha1:1623fd32272131c911ff53e8a2ea7b2516ffab07</id>
<content type='text'>
Use unix-specific crates only if needed and suppress clippy warnings of
unused variables if their usage is unix-specific.
</content>
</entry>
<entry>
<title>fs-mistrust: document that follow_final_links is not insecure</title>
<updated>2025-01-28T15:55:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-28T15:55:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba3b957961bd4dfb93bb471b3f1f99367c9b47e3'/>
<id>urn:sha1:ba3b957961bd4dfb93bb471b3f1f99367c9b47e3</id>
<content type='text'>
Since it makes an exception, we need to be clear about the
exceptions that it _doesn't_ make.
</content>
</entry>
<entry>
<title>fs-mistrust: link to documentation about "obeying constraints"</title>
<updated>2025-01-28T15:32:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-28T15:32:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b0e2280a402c38f2c2af612c7c8d766be0293a6f'/>
<id>urn:sha1:b0e2280a402c38f2c2af612c7c8d766be0293a6f</id>
<content type='text'>
Since "obeying the constraints of a FileAccess" is a term of art,
this commit introduces links from the places where it is used
to the place where it is defined.
</content>
</entry>
<entry>
<title>fs-mistrust: Fix test compilation on windows.</title>
<updated>2025-01-16T13:49:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-16T13:42:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c96ee76cf701335813dffbcd5b3dbe5b853890'/>
<id>urn:sha1:c0c96ee76cf701335813dffbcd5b3dbe5b853890</id>
<content type='text'>
`std::os::unix::fs::MetadataExt` was indeed the right trait to
import, but it doesn't exist on non-unix platforms.

This is another bugfix on !2707.  It should retain the fix of !2717.
I've confirmed that it builds on Windows and passes tests on Linux
and Mac.
</content>
</entry>
<entry>
<title>Fix: Tests fails to run on macos</title>
<updated>2025-01-16T10:37:15Z</updated>
<author>
<name>hhamud</name>
<email>self@hamzahamud.com</email>
</author>
<published>2025-01-16T10:37:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00489651b88f88960a07e4234ceb5869b36f81c9'/>
<id>urn:sha1:00489651b88f88960a07e4234ceb5869b36f81c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>file_access: Refactor APIs to consume self.</title>
<updated>2025-01-14T20:41:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-14T18:38:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baa1535328af6c5e5362c7b533cb20fbad1bc707'/>
<id>urn:sha1:baa1535328af6c5e5362c7b533cb20fbad1bc707</id>
<content type='text'>
This approach makes it even less likely for people to store a
FileAccess for repeated use.
</content>
</entry>
<entry>
<title>file_access: Make link-following behavior explicitly controlled.</title>
<updated>2025-01-14T20:41:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-14T18:28:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=75da8ad6518cd5218cb7289389431112bd6f5bbc'/>
<id>urn:sha1:75da8ad6518cd5218cb7289389431112bd6f5bbc</id>
<content type='text'>
</content>
</entry>
</feed>
