diff options
| author | Petr Pavlu <[email protected]> | 2025-03-06 13:13:53 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-05-18 11:56:21 +0000 |
| commit | f7984942630b0508c44276ceaa3a3a47d8fd3d2c (patch) | |
| tree | 55f3700ba0c35f2fcb2bf62841a7a677675b7aac /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | module: Constify parameters of module_enforce_rwx_sections() (diff) | |
| download | kernel-f7984942630b0508c44276ceaa3a3a47d8fd3d2c.tar.gz kernel-f7984942630b0508c44276ceaa3a3a47d8fd3d2c.zip | |
module: Add a separate function to mark sections as read-only after init
Move the logic to mark special sections as read-only after module
initialization into a separate function, along other related code in
strict_rwx.c. Use a table with names of such sections to make it easier to
add more.
Reviewed-by: Sami Tolvanen <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
