commit | 37dae5529cc4e3ef8e1b310e5d1d3f6dbe786be7 | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Fri Jan 31 19:28:04 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 31 19:28:04 2025 -0800 |
tree | 6cd256da40684163cb198de029cdaaad8e39b5e5 | |
parent | 9b2b5fd2990d219c992420a1737cccd581fad306 [diff] |
[kernel][user_copy] Tighten up user_ptr::reinterpret() for only void The reinterpret() method is only allowed on user_out_ptr<void> and user_in_ptr<const void>. Using those types is a clear sign that manual work and careful checking for correct sizes is vital in the callers. Change-Id: Ic34b338319bfc914163df71e6f5373e40ae5ecb3 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1195916 Commit-Queue: Roland McGrath <mcgrathr@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Nick Maniscalco <maniscalco@google.com> Fuchsia-Auto-Submit: Roland McGrath <mcgrathr@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.