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

From: Andy Lutomirski
Date: Mon Feb 10 2020 - 13:31:00 EST


On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov <gladkov.alexey@xxxxxxxxx> 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