Re: [PATCH] macintosh: declare ctl_table as const

2024-12-17 Thread Felipe Hernandez
Will do, thank you for the review Ricardo! Best, Felipe

[PATCH] macintosh: declare ctl_table as const

2024-12-16 Thread Luis Felipe Hernandez
Since commit 7abc9b53bd51 ("sysctl: allow registration of const struct ctl_table"), the sysctl registration API allows struct ctl_table variables to be placed into read-only memory. mac_hid_files is registered as a sysctl table and should be treated as read-only. By declaring the mac_hid_files str