Public bug reported:

[Impact]

In focal commit 40fc208c8aae ("UBUNTU: SAUCE: (lockdown) security:
lockdown: expose a hook to lock the kernel down") adds an inline
function with a trailing semicolon before the function body, that can
potentially cause build errors.

[Test case]

Build anything that includes linux/security.h and check for
warnings/errors.

[Fix]

Fix by removing the trailing semicolon.

[Regression potential]

The problem is an obvious syntax error, fix is trivial, so regression
potential is minimal.

** Affects: linux (Ubuntu)
     Importance: Medium
     Assignee: Andrea Righi (arighi)
         Status: Confirmed

** Affects: linux (Ubuntu Focal)
     Importance: Medium
     Assignee: Andrea Righi (arighi)
         Status: Confirmed

** Package changed: linux-oem-5.6 (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Andrea Righi (arighi)

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Focal)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Focal)
     Assignee: (unassigned) => Andrea Righi (arighi)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880660

Title:
  security: lockdown: remove trailing semicolon before function body

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1880660/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to