security: lockdown: remove trailing semicolon before function body
Bug #1880660 reported by
Andrea Righi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Andrea Righi | ||
Focal |
Fix Released
|
Medium
|
Andrea Righi | ||
Groovy |
Fix Released
|
Medium
|
Andrea Righi |
Bug Description
[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.
CVE References
affects: | linux-oem-5.6 (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | nobody → Andrea Righi (arighi) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Andrea Righi (arighi) |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!