2021-09-22 19:09:21 |
Luke Nowakowski-Krijger |
bug |
|
|
added bug |
2021-09-22 19:09:30 |
Luke Nowakowski-Krijger |
ubuntu-kernel-tests: assignee |
|
Luke Nowakowski-Krijger (lukenow) |
|
2021-09-22 19:50:40 |
Luke Nowakowski-Krijger |
description |
Failed to build on B/linux-hwe-5.4 5.4.0-85.95~18.04.1. This was observed in previous cycles.
I am working on a fix for it right now.
13203 fuse_test.c:63:8: error: unknown type name ‘__u64’
13204 static __u64 mfd_assert_get_seals(int fd)
13205 ^~~~~
13206 fuse_test.c:76:42: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13207 static void mfd_assert_has_seals(int fd, __u64 seals)
13208 ^~~~~
13209 __f64
13210 fuse_test.c:88:42: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13211 static void mfd_assert_add_seals(int fd, __u64 seals)
13212 ^~~~~
13213 __f64
13214 fuse_test.c:102:39: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13215 static int mfd_busy_add_seals(int fd, __u64 seals)
13216 ^~~~~
13217 __f64
13218 fuse_test.c: In function ‘sealing_thread_fn’:
13219 fuse_test.c:185:6: warning: implicit declaration of function ‘mfd_busy_add_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13220 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE);
13221 ^~~~~~~~~~~~~~~~~~
13222 mfd_assert_get_seals
13223 fuse_test.c:193:3: warning: implicit declaration of function ‘mfd_assert_add_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13224 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE);
13225 ^~~~~~~~~~~~~~~~~~~~
13226 mfd_assert_get_seals
13227 fuse_test.c: In function ‘main’:
13228 fuse_test.c:302:2: warning: implicit declaration of function ‘mfd_assert_has_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13229 mfd_assert_has_seals(mfd, F_SEAL_WRITE);
13230 ^~~~~~~~~~~~~~~~~~~~
13231 mfd_assert_get_seals
13232 make[1]: *** [/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_test] Error 1
13233 make: *** [all] Error 2 |
[Impact]
BugLink: https://bugs.launchpad.net/bugs/1944613
There are build issues in selftests/memfd/fuse_test.c where __u64 is not
defined. This is issue is probably due to the fact that in 5.4 there is
a type include in one of the includes in the file, however this include
probably was not there for 4.15. Regardless we fix this by including the
type file directly.
[Fix]
* selftests/memfd: fix __u64 not defined build issue
Add #include <asm/types.h> to define the type
[Test Plan]
Recompile tests to make sure they build and tests pass.
[Where problems could occur]
Should be no problems since we are adding an include file that userspace
files always have access to.
--------------------------------------------------------------------------
Failed to build on B/linux-hwe-5.4 5.4.0-85.95~18.04.1. This was observed in previous cycles.
I am working on a fix for it right now.
13203 fuse_test.c:63:8: error: unknown type name ‘__u64’
13204 static __u64 mfd_assert_get_seals(int fd)
13205 ^~~~~
13206 fuse_test.c:76:42: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13207 static void mfd_assert_has_seals(int fd, __u64 seals)
13208 ^~~~~
13209 __f64
13210 fuse_test.c:88:42: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13211 static void mfd_assert_add_seals(int fd, __u64 seals)
13212 ^~~~~
13213 __f64
13214 fuse_test.c:102:39: error: unknown type name ‘__u64’; did you mean ‘__f64’?
13215 static int mfd_busy_add_seals(int fd, __u64 seals)
13216 ^~~~~
13217 __f64
13218 fuse_test.c: In function ‘sealing_thread_fn’:
13219 fuse_test.c:185:6: warning: implicit declaration of function ‘mfd_busy_add_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13220 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE);
13221 ^~~~~~~~~~~~~~~~~~
13222 mfd_assert_get_seals
13223 fuse_test.c:193:3: warning: implicit declaration of function ‘mfd_assert_add_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13224 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE);
13225 ^~~~~~~~~~~~~~~~~~~~
13226 mfd_assert_get_seals
13227 fuse_test.c: In function ‘main’:
13228 fuse_test.c:302:2: warning: implicit declaration of function ‘mfd_assert_has_seals’; did you mean ‘mfd_assert_get_seals’? [-Wimplicit-function-declaration]
13229 mfd_assert_has_seals(mfd, F_SEAL_WRITE);
13230 ^~~~~~~~~~~~~~~~~~~~
13231 mfd_assert_get_seals
13232 make[1]: *** [/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_test] Error 1
13233 make: *** [all] Error 2 |
|
2021-09-23 01:38:00 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu) |
|
2021-09-23 02:00:09 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2021-10-08 10:48:34 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Focal |
|
2021-10-08 10:48:34 |
Kleber Sacilotto de Souza |
bug task added |
|
linux (Ubuntu Focal) |
|
2021-10-08 10:48:39 |
Kleber Sacilotto de Souza |
linux (Ubuntu Focal): status |
New |
In Progress |
|
2021-10-08 10:48:45 |
Kleber Sacilotto de Souza |
linux (Ubuntu): status |
Incomplete |
Fix Released |
|
2021-10-08 10:49:03 |
Kleber Sacilotto de Souza |
bug task added |
|
linux-hwe-5.4 (Ubuntu) |
|
2021-10-08 10:49:09 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Bionic |
|
2021-10-08 10:49:09 |
Kleber Sacilotto de Souza |
bug task added |
|
linux (Ubuntu Bionic) |
|
2021-10-08 10:49:09 |
Kleber Sacilotto de Souza |
bug task added |
|
linux-hwe-5.4 (Ubuntu Bionic) |
|
2021-10-08 10:49:19 |
Kleber Sacilotto de Souza |
linux-hwe-5.4 (Ubuntu Focal): status |
New |
Invalid |
|
2021-10-08 10:49:24 |
Kleber Sacilotto de Souza |
linux-hwe-5.4 (Ubuntu Bionic): status |
New |
In Progress |
|
2021-10-08 10:49:26 |
Kleber Sacilotto de Souza |
linux (Ubuntu Bionic): status |
New |
Invalid |
|
2021-10-08 10:49:31 |
Kleber Sacilotto de Souza |
linux-hwe-5.4 (Ubuntu): status |
New |
Invalid |
|
2021-10-12 22:57:07 |
Kelsey Steele |
linux (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-10-19 12:01:18 |
Ubuntu Kernel Bot |
tags |
|
verification-needed-focal |
|
2021-10-29 18:45:23 |
Luke Nowakowski-Krijger |
tags |
verification-needed-focal |
verification-done-focal |
|
2021-11-08 14:19:37 |
Launchpad Janitor |
linux-hwe-5.4 (Ubuntu Bionic): status |
In Progress |
Fix Released |
|
2021-11-08 14:19:37 |
Launchpad Janitor |
cve linked |
|
2019-19449 |
|
2021-11-08 14:19:37 |
Launchpad Janitor |
cve linked |
|
2020-36385 |
|
2021-11-08 14:19:37 |
Launchpad Janitor |
cve linked |
|
2021-3428 |
|
2021-11-08 14:19:37 |
Launchpad Janitor |
cve linked |
|
2021-3759 |
|
2021-11-08 14:21:32 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|