Yes, I believe allowing read access to this file would be acceptable.

Alex

On Wed, Aug 27, 2025 at 11:09 AM Ian Pilcher <[email protected]> wrote:
>
> On 8/27/25 9:06 AM, Alex Gaynor wrote:
> > I'm not positive, but during cryptography's startup we use
> > `std::thread::available_parallelism()` in Rust to get the number of
> > cores for various things, and I suspect it is accessing the cgroups
> > configuration to know if the process has limited threads.
> >
> > If you wanted to really verify this, you could write a rust program
> > that just called `std::thread::available_parallelism()` and verify if
> > it shows the same behavior.
>
> No need to write a program.  gdb shows that your supposition is correct.
>
> Seems like this is something that should be allowed by the policy.
>
> Thanks!
>
> --
> ========================================================================
> If your user interface is intuitive in retrospect ... it isn't intuitive
> ========================================================================



-- 
All that is necessary for evil to succeed is for good people to do nothing.
_______________________________________________
Cryptography-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/cryptography-dev.python.org
Member address: [email protected]

Reply via email to