linux/samples/rust
Linus Torvalds 2f0f6b0773 Modules changes for 7.3-rc1
- Remove unnecessary module::args. Nowadays, no parameter-handling code
   points into the module::args buffer. The last user of module::args in
   xtensa/simdisk is updated and the data is then removed.
 
 - Add Rust support for boolean parameters. This will initially be used by
   the Rust null block driver.
 
 - Fix clearing the current charp parameter value when setting a new one
   fails due to an allocation failure.
 
 - Improve the debugging code for kmod (request_module()) duplicates. Fix
   a potential use-after-free when waiting on a duplicate request and make
   several general improvements to the code.
 
 - Fix the symbol size returned when looking up a data symbol through
   kallsyms.
 
 - The remaining changes are smaller fixes and cleanups.
 -----BEGIN PGP SIGNATURE-----
 
 iQFkBAABCABOFiEEIduBR9MnFA82q/jtumpXJwqY6poFAmqG/rIbFIAAAAAABAAO
 bWFudTIsMi41KzEuMTIsMiwyFBxwZXRyLnBhdmx1QHN1c2UuY29tAAoJELpqVycK
 mOqaur8H/i1kJq+zQfUB6/ijvX4yRGXezX0O30iLJ2N/imVsnMe6xP2eqqFIb2Be
 r5gnCc8P1WRJrDIe3uMsQBpoWIxEpCJ0F+S6JXiFEdht66taco8ivpP4hJWGHerj
 dCIf7RA3JOFave/7mN4UsrSXtl3HUyrMXplYuycE/5l/pYUY06qXmetgpA2aWywu
 jVpnCW9I7OO55Tf8tto2X4h6TbXP7ukCnojnadFz+N8JlG2hs45CQYSl1wEzKaFv
 okqPWCHTexcWySaEbqWWogbzvzIL6lr9C+nKMzYggMDYH7TxMwfscvo4pmTO/nOx
 +EO4PArCenf+7nsV2wKl2YLbnbzM1oA=
 =p/Yx
 -----END PGP SIGNATURE-----

Merge tag 'modules-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux

Pull module updates from Petr Pavlu:

 - Remove unnecessary module::args. Nowadays, no parameter-handling code
   points into the module::args buffer. The last user of module::args in
   xtensa/simdisk is updated and the data is then removed

 - Add Rust support for boolean parameters. This will initially be used
   by the Rust null block driver

 - Fix clearing the current charp parameter value when setting a new one
   fails due to an allocation failure

 - Improve the debugging code for kmod (request_module()) duplicates.
   Fix a potential use-after-free when waiting on a duplicate request
   and make several general improvements to the code

 - Fix the symbol size returned when looking up a data symbol through
   kallsyms

 - Smaller fixes and cleanups

* tag 'modules-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux:
  params: fix charp corruption on allocation failure
  module: validate string table section types
  module/dups: Clean up includes
  module/dups: Use strcmp() to compare module names
  module/dups: Use scope-based cleanup helpers
  module/dups: Avoid unnecessary kmod_dup_req allocations
  module/dups: Fix use-after-free in kmod_dup_req lifetime handling
  module/dups: Inform duplicate requests about the result directly
  rust: module_param: support bool parameters
  rust: module_param: return value by copy from `value`
  module: Remove unnecessary module::args
  xtensa/simdisk: Avoid referring to module::args
  module: Remove unused DISCARD_EH_FRAME definition from module.lds.S
  module: procfs: use matching type for accumulator in module_total_size()
  module: use strscpy() to copy module names in stats and dup tracking
  params: fix path of /sys/module/XYZ/parameters/ in comment
  module/kallsyms: fix nextval for data symbol lookup
2026-08-21 12:47:25 -07:00
..
hostprogs
Kconfig samples: rust: add Rust serial device bus sample device driver 2026-07-23 22:48:31 +02:00
Makefile samples: rust: add Rust serial device bus sample device driver 2026-07-23 22:48:31 +02:00
rust_configfs.rs rust: configfs: replace kernel::c_str! with C-Strings 2026-01-15 09:26:49 +01:00
rust_debugfs_scoped.rs samples: rust: debugfs: fix excessive stack use 2026-07-21 00:48:25 +02:00
rust_debugfs.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_dma.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_auxiliary.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_faux.rs rust: faux: add Device type with AsBusDevice support 2026-07-12 15:55:51 +02:00
rust_driver_i2c.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_pci.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_platform.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_serdev.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_driver_usb.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_i2c_client.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00
rust_minimal.rs rust: module_param: support bool parameters 2026-08-06 13:29:03 +02:00
rust_misc_device.rs samples: rust_misc_device: use vertical import style 2026-05-23 13:47:32 +02:00
rust_print_events.c rust: samples: add tracepoint to Rust sample 2024-11-04 16:21:44 -05:00
rust_print_main.rs samples: rust: remove imports available via prelude 2026-01-26 18:15:20 +01:00
rust_soc.rs rust: driver: remove $module_table_name from module_device_table 2026-07-30 22:50:15 +02:00