lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240403171801.1774333-1-kanepyork@google.com>
Date: Wed,  3 Apr 2024 17:18:01 +0000
From: Kane York <kanepyork@...gle.com>
To: aliceryhl@...gle.com
Cc: a.hindborg@...sung.com, akpm@...ux-foundation.org, alex.gaynor@...il.com, 
	benno.lossin@...ton.me, bjorn3_gh@...tonmail.com, boqun.feng@...il.com, 
	colyli@...e.de, elver@...gle.com, gary@...yguo.net, keescook@...omium.org, 
	kuba@...nel.org, linux-kernel@...r.kernel.org, mingo@...nel.org, 
	ojeda@...nel.org, pabeni@...hat.com, pierre.gondois@....com, 
	richard.weiyang@...il.com, rust-for-linux@...r.kernel.org, wedsonaf@...il.com, 
	willy@...radead.org
Subject: Re: [PATCH 1/9] rust: list: add ListArc

> +impl<T: ListArcSafe<ID>, const ID: u64> ListArc<T, ID> {
> +    /// Constructs a new reference counted instance of `T`.
> +    pub fn try_new(contents: T) -> Result<Self, AllocError> {
> +        Ok(Self::from_unique(UniqueArc::try_new(contents)?))
> +    }

This needs to be updated for the `alloc` changes to accept allocator flags.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ