APPLIED(C): [SRU][PATCH 0/1][C,D,u] fix EPERM bug in efi-lockdown

Khaled Elmously khalid.elmously at canonical.com
Wed Jan 9 23:34:33 UTC 2019


On 2019-01-09 12:52:34 , Kamal Mostafa wrote:
> BugLink: https://bugs.launchpad.net/bugs/1807686
> 
> A bug in the pre-release version of efi-lockdown patch* applied to Cosmic and
> later kernels improperly results in EPERM failures for some debugfs files.
> 
> Fixes: a1ba65da9cea ("UBUNTU: SAUCE: (efi-lockdown) debugfs: Restrict debugfs when the kernel is locked down")
> 
> Upstream's version of this code never introduced the bug, so the fix patch
> isn't upstream either.
> 
> The fix patch looks correct by inspection.
> 
>  -Kamal
> 
> ---
> 
> Vasily Gorbik (1):
>   UBUNTU: SAUCE: debugfs: avoid EPERM when no open file operation
>     defined
> 
>  fs/debugfs/file.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list