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] [day] [month] [year] [list]
Message-ID: <CANiq72kHd=Z3OvAxCsaEqdvytMjx2v8zRmsfYSwUjRWyNYwEhg@mail.gmail.com>
Date: Thu, 12 Jun 2025 11:42:10 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Burak Emir <bqe@...gle.com>
Cc: Pekka Ristola <pekkarr@...tonmail.com>, Yury Norov <yury.norov@...il.com>, 
	Kees Cook <kees@...nel.org>, Rasmus Villemoes <linux@...musvillemoes.dk>, 
	Viresh Kumar <viresh.kumar@...aro.org>, Miguel Ojeda <ojeda@...nel.org>, 
	Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>, 
	Gary Guo <gary@...yguo.net>, Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
	Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...nel.org>, 
	Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, 
	"Gustavo A . R . Silva" <gustavoars@...nel.org>, Carlos LLama <cmllamas@...gle.com>, 
	rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org, 
	linux-hardening@...r.kernel.org
Subject: Re: [PATCH v11 3/5] rust: add bitmap API.

On Wed, Jun 11, 2025 at 7:24 PM Burak Emir <bqe@...gle.com> wrote:
>
> I could not get kunit to enable RUST_BITMAP_HARDENED - now I understand why!
> Also added the missing test now, exercised the code and observed the
> fault (though [should_panic] does not seem to work).

Yeah, `should_panic` is not supported. Note that `assert!`s maps back
to KUnit in doctests and `#[test]`s, so you should not need it for
assertions anyway, i.e. you should see a KUnit assertion failure like
in C if the assert is not correct.

I hope that helps.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ