[PATCH v8 05/11] proc: add helpers to set and get proc hidepid and gid mount options

Andy Lutomirski luto at kernel.org
Mon Feb 10 18:30:45 UTC 2020


On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov <gladkov.alexey at gmail.com> wrote:
>
> This is a cleaning patch to add helpers to set and get proc mount
> options instead of directly using them. This make it easy to track
> what's happening and easy to update in future.

On a cursory inspection, this looks like it obfuscates the code, and I
don't see where it does something useful later in the series.  What is
this abstraction for?

--Andy



More information about the Linux-security-module-archive mailing list