Re: [PATCH] hostfs: convert hostfs to use the new mount api

2024-05-13 Thread kernel test robot
Hi Hongbo, kernel test robot noticed the following build warnings: [auto build test WARNING on uml/next] [also build test WARNING on wireless-next/main wireless/main linus/master v6.9 next-20240513] [cannot apply to uml/fixes] [If your patch is applied to the wrong git tree, kindly drop us a

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Roberto Sassu
On Mon, 2024-05-13 at 15:08 +0200, Johannes Berg wrote: > On Mon, 2024-05-13 at 14:58 +0200, Roberto Sassu wrote: > > On Mon, 2024-05-13 at 14:52 +0200, Johannes Berg wrote: > > > On Mon, 2024-05-13 at 14:42 +0200, Roberto Sassu wrote: > > > > On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote:

[PATCH v2] x86: um: vdso: Disable UBSAN instrumentation

2024-05-13 Thread Roberto Sassu
From: Roberto Sassu The UBSAN instrumentation cannot work in the vDSO since it is executing in userspace, so disable it in the Makefile. Fixes the build failures such as: CALLscripts/checksyscalls.sh VDSOarch/x86/um/vdso/vdso.so.dbg arch/x86/um/vdso/vdso.so.dbg: undefined symbols fou

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Johannes Berg
On Mon, 2024-05-13 at 14:58 +0200, Roberto Sassu wrote: > On Mon, 2024-05-13 at 14:52 +0200, Johannes Berg wrote: > > On Mon, 2024-05-13 at 14:42 +0200, Roberto Sassu wrote: > > > On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote: > > > > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote:

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Roberto Sassu
On Mon, 2024-05-13 at 14:52 +0200, Johannes Berg wrote: > On Mon, 2024-05-13 at 14:42 +0200, Roberto Sassu wrote: > > On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote: > > > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote: > > > > From: Roberto Sassu > > > > > > > > Disable UBSAN san

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Johannes Berg
On Mon, 2024-05-13 at 14:42 +0200, Roberto Sassu wrote: > On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote: > > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote: > > > From: Roberto Sassu > > > > > > Disable UBSAN sanitization on UML, since UML does not support it. > > > > > > > Luc

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Roberto Sassu
On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote: > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote: > > From: Roberto Sassu > > > > Disable UBSAN sanitization on UML, since UML does not support it. > > > > Luckily, that isn't actually true, nor does it actually do this at all. > P

[PATCH] hostfs: convert hostfs to use the new mount api

2024-05-13 Thread Hongbo Li
Convert the hostfs filesystem to use the new mount API. Signed-off-by: Hongbo Li --- fs/hostfs/hostfs_kern.c | 83 ++--- 1 file changed, 62 insertions(+), 21 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index a73d27c4dd58..24e64

Re: [PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Johannes Berg
On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote: > From: Roberto Sassu > > Disable UBSAN sanitization on UML, since UML does not support it. > Luckily, that isn't actually true, nor does it actually do this at all. Please fix the commit message. johannes

[PATCH] arch/x86/um: Disable UBSAN sanitization

2024-05-13 Thread Roberto Sassu
From: Roberto Sassu Disable UBSAN sanitization on UML, since UML does not support it. This fixes the error message when building the kernel: CALLscripts/checksyscalls.sh VDSOarch/x86/um/vdso/vdso.so.dbg arch/x86/um/vdso/vdso.so.dbg: undefined symbols found Signed-off-by: Roberto Sa