<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/imp.rs, branch arti-v2.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-08-07T15:28:36Z</updated>
<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>Update code for Edition 2024</title>
<updated>2025-08-07T15:28:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-07T12:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0453fb4be8cf618b94230812957ce1db1afe74bd'/>
<id>urn:sha1:0453fb4be8cf618b94230812957ce1db1afe74bd</id>
<content type='text'>
1. Run cargo fix --edition

2. Selectively revert the "if let"-&gt;"match" changes.
   These changes are meant to protect us from the lifetime changes
   for "if let" bindings in Rust 2024.
   But we're not actually relying on the old lifetime rules
   anywhere, and the match syntax here is quite ugly.

3. Automatically revert `$pat:expr_2021` to `$pat:expr`.
   (We don't actually want to restrict the expression syntax
   that our macros accept).
   Done with
   `git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'`

4. Run cargo fmt.
</content>
</entry>
<entry>
<title>fix compiling fs-misstrust on tvOS</title>
<updated>2025-03-26T15:27:09Z</updated>
<author>
<name>yaucp</name>
<email>thomas.yau@kape.com</email>
</author>
<published>2025-03-26T15:27:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a4c1e155a926da2c568c92ef9338fc8eefed6c4'/>
<id>urn:sha1:0a4c1e155a926da2c568c92ef9338fc8eefed6c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix fs-misstrust on android</title>
<updated>2022-08-08T20:32:07Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-08T20:32:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3cb5d27fb7970b391588c17da4277a5abdb79c64'/>
<id>urn:sha1:3cb5d27fb7970b391588c17da4277a5abdb79c64</id>
<content type='text'>
it would fail to link at runtime due to missing getgrnam_r in bionic

and then it would fail again because some directory is group writeable
</content>
</entry>
<entry>
<title>fix runtime issues on ios</title>
<updated>2022-07-30T13:42:37Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-07-30T13:17:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19a71534ec6f3f43462c197c9bb964e03356bded'/>
<id>urn:sha1:19a71534ec6f3f43462c197c9bb964e03356bded</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove dependancy 'users' on iOS</title>
<updated>2022-07-30T09:28:03Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-07-30T09:28:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68ad22a9852b242e6b87e21bdb51b538fbcd81bc'/>
<id>urn:sha1:68ad22a9852b242e6b87e21bdb51b538fbcd81bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: API to disable based on environment</title>
<updated>2022-07-19T19:21:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-15T16:08:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03b5efbd6e83d9e6c97f7b46507b1ad925566859'/>
<id>urn:sha1:03b5efbd6e83d9e6c97f7b46507b1ad925566859</id>
<content type='text'>
By default we look at `$FS_MISTRUST_DISABLE_PERMISSIONS_CHECKS`.

Optionally, the user can provide another variable as well, or
disable looking at the environment entirely.
</content>
</entry>
<entry>
<title>fs-mistrust: Improve BadPermission string</title>
<updated>2022-05-31T18:23:01Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-30T18:18:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc6b02045ee4e5515f0f057998ef257638bffaf4'/>
<id>urn:sha1:bc6b02045ee4e5515f0f057998ef257638bffaf4</id>
<content type='text'>
To me, "Incorrect permissions on file or directory /path: g=w o=w"
implies that the current permissions on /path are 022.

Change the message to "Incorrect permissions: /path is
u=rwx,g=rwx,o=rwx; need g-w,o-w", which is closer to chmod syntax and is
more useful in non-interactive environments such as CI and support.
</content>
</entry>
<entry>
<title>fs-mistrust: allow symlinks to have any permissions</title>
<updated>2022-05-25T14:27:45Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-24T20:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85b4b5620d294b27cdee01989d4f2a936f6f32f4'/>
<id>urn:sha1:85b4b5620d294b27cdee01989d4f2a936f6f32f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: rename fields</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T15:52:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baa58daace392eee68f8ff82841631e9114c9918'/>
<id>urn:sha1:baa58daace392eee68f8ff82841631e9114c9918</id>
<content type='text'>
This renaming will make things slightly simpler for declaring a
builder.
</content>
</entry>
</feed>
