On Wed, Aug 09, 2023 at 12:49:52PM +0200, Joel Granados wrote: > What? > These commits set things up so we can start removing the sentinel elements. > They modify sysctl and net_sysctl internals so that registering a ctl_table > that contains a sentinel gives the same result as passing a table_size > calculated from the ctl_table array without a sentinel. We accomplish this by > introducing a table_size argument in the same place where procname is checked > for NULL. The idea is for it to keep stopping when it hits ->procname == NULL, > while the sentinel is still present. And when the sentinel is removed, it will > stop on the table_size (thx to jani.nikula@xxxxxxxxxxxxxxx for the discussion > that led to this). This allows us to remove sentinels from one (or several) > files at a time. > > These commits are part of a bigger set containing the removal of ctl_table sentinel > (https://github.com/Joelgranados/linux/tree/tag/sysctl_remove_empty_elem_V3). > The idea is to make the review process easier by chunking the 65+ commits into > manageable pieces. Thanks, I've dropped the old set and merged this updated one onto sysctl-next. Luis