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: <Yu5pUp5mfngAU7da@yadro.com>
Date:   Sat, 6 Aug 2022 16:14:58 +0300
From:   Konstantin Shelekhin <k.shelekhin@...ro.com>
To:     <ojeda@...nel.org>
CC:     <alex.gaynor@...il.com>, <bjorn3_gh@...tonmail.com>,
        <boqun.feng@...il.com>, <gary@...yguo.net>,
        <gregkh@...uxfoundation.org>, <jarkko@...nel.org>,
        <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <me@...enk.de>, <milan@...verde.com>, <patches@...ts.linux.dev>,
        <rust-for-linux@...r.kernel.org>, <torvalds@...ux-foundation.org>,
        <wedsonaf@...gle.com>
Subject: Re: [PATCH v9 26/27] samples: add first Rust examples

> +impl Drop for RustMinimal {
> +    fn drop(&mut self) {
> +        pr_info!("My numbers are {:?}\n", self.numbers);
> +        pr_info!("Rust minimal sample (exit)\n");
> +    }
> +}

I wonder if it would make more sense to implement exit() in
kernel::Module, just for the sake of uniformity.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ