summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorPetr Pavlu <petr.pavlu@suse.com>2025-03-06 14:13:53 +0100
committerPetr Pavlu <petr.pavlu@suse.com>2025-05-18 13:56:21 +0200
commitf7984942630b0508c44276ceaa3a3a47d8fd3d2c (patch)
tree55f3700ba0c35f2fcb2bf62841a7a677675b7aac /scripts/lib/kdoc/kdoc_re.py
parent7bba3167c08a3bebda6e5fcc0179482b4517ba5b (diff)
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 <samitolvanen@google.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20250306131430.7016-3-petr.pavlu@suse.com Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions