Re: [PATCH 24/24] debugfs: Restrict debugfs when the kernel is locked down
From: David Howells
Date: Wed Apr 11 2018 - 16:08:28 EST
Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
> Why is mounting debugfs allowed at all? Last I checked (it has been a while)
> the code quality of debugfs was fine for debugging but debugfs was not
> safe to mount on a production system.
>
> Maybe the code quality is better now but for a filesystem that is
> not supposed to be needed for developers letting us mount debugfs
> seems odd.
I agree. But debugfs has been abused and it seems that there are some things
that use it as an interface between a kernel driver and the userspace side.
David