Re: [PATCH v4 01/10] modules: make .module_license read-only

2024-06-24 Thread Daniel Kiper
On Wed, Jun 12, 2024 at 04:57:04PM +0100, Mate Kukri wrote: > From: Peter Jones > > Currently .module_license is set writable (that is, the section has the > SHF_WRITE flag set) in the module's ELF headers. This probably never > actually matters, but it can't possibly be correct. > > This patch s

[PATCH v4 01/10] modules: make .module_license read-only

2024-06-12 Thread Mate Kukri
From: Peter Jones Currently .module_license is set writable (that is, the section has the SHF_WRITE flag set) in the module's ELF headers. This probably never actually matters, but it can't possibly be correct. This patch sets that data as "const", which causes that flag not to be set. Signed-