Files
linux/rust/helpers
Yury Norov (NVIDIA) d99dc586ca uaccess: decouple INLINE_COPY_FROM_USER and CONFIG_RUST
Commit 1f9a8286bc ("uaccess: always export _copy_[from|to]_user with
CONFIG_RUST") exports _copy_{from,to}_user() unconditionally, if RUST is
enabled.  This pollutes exported symbols namespace, and spreads RUST
ifdefery in core files.

It's better to declare a corresponding helper under the rust/helpers,
similarly to how non-underscored copy_{from,to}_user() is handled.

[yury.norov@gmail.com: drop rust part of comment for _copy_from_user(), per Alice]
  Link: https://lkml.kernel.org/r/20251024154754.99768-1-yury.norov@gmail.com
Link: https://lkml.kernel.org/r/20251023171607.1171534-1-yury.norov@gmail.com
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Alice Ryhl <aliceryhl@google.com>
Cc: Alex Gaynor <alex.gaynor@gmail.com>
Cc: Andreas Hindborg <a.hindborg@kernel.org>
Cc: Björn Roy Baron <bjorn3_gh@protonmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Gary Guo <gary@garyguo.net>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Trevor Gross <tmgross@umich.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-11-12 10:00:16 -08:00
..
2025-09-15 09:38:32 +02:00
2025-09-15 09:38:34 +02:00
2025-09-19 09:40:46 +02:00
2025-09-22 15:52:44 -04:00
2025-09-22 15:52:44 -04:00
2025-07-23 02:05:58 +02:00
2025-05-19 12:55:40 +05:30
2025-05-19 12:55:40 +05:30
2025-07-09 00:04:33 +02:00
2025-09-21 14:22:19 -07:00
2025-05-11 17:48:24 -07:00
2025-09-19 09:40:46 +02:00
2024-10-08 15:44:36 +02:00
2025-08-21 16:58:07 +02:00
2024-12-20 17:19:26 +01:00
2025-09-19 09:40:46 +02:00
2025-09-24 13:13:04 +02:00