Fix implicit declaration warnings for kselftests/memfd test on newer releases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Groovy |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
[Impact]
While debugging bug 1910277, I found that the test compilation will
print some warnings:
memfd_
memfd_
memfd_
fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
fuse_
It's harmless but fixing this we can make the test report easier to
read.
[Fix]
* 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")
This fix can be cherry-picked into F/F-oem-5.6/G and compiled without
any problem. Older kernel does not have this issue since they're
missing some other commits.
[Test Case]
Build the memfd test in tools/testing/
sudo make TARGETS=memfd
With this fix, these warnings will be gone.
[Where problems could occur]
This fix is just for fixing the test case compilation, so it's not
affecting real kernel functionality.
CVE References
summary: |
- Fix implicit declaration warnings for kselftests/memfd + Fix implicit declaration warnings for kselftests/memfd test on newer + releases |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Hirsute): | |
status: | Incomplete → Fix Released |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | linux-oem (Ubuntu) |
no longer affects: | linux-oem (Ubuntu Focal) |
no longer affects: | linux-oem (Ubuntu Groovy) |
no longer affects: | linux-oem (Ubuntu Hirsute) |
no longer affects: | linux-oem-5.6 (Ubuntu Groovy) |
no longer affects: | linux-oem-5.6 (Ubuntu Hirsute) |
no longer affects: | linux-oem-5.10 (Ubuntu) |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux-oem-5.10 (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
description: | updated |
no longer affects: | linux-oem-5.10 (Ubuntu) |
description: | updated |
Changed in linux (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.6 (Ubuntu): | |
status: | New → Invalid |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1910323
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.