linux-next: build failure after merge of the overlayfs tree
Subsystems (2)
Hi all,
After merging the overlayfs tree, today's linux-next build (x86_64 allmodconfig) failed like this:
ERROR: modpost: "security_file_ioctl" [fs/overlayfs/overlay.ko] undefined!
Caused by commit
b5940870e166 ("ovl: call secutiry hook in ovl_real_ioctl()")
I have applied this patch for today.
From: Stephen Rothwell <[email protected]>
Date: Wed, 3 Jun 2020 11:44:19 +1000
Subject: [PATCH] export security_file_ioctl
--- security/security.c | 1 + 1 file changed, 1 insertion(+)
security/security.c +1 -0
@@ -1459,6 +1459,7 @@ int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) {return call_int_hook (file_ioctl,0 , file, cmd, arg); } +EXPORT_SYMBOL_GPL (security_file_ioctl);static inline unsigned long mmap_prot (struct file *file,unsigned long prot) {
Signature · 5 lines
2.26.2 -- Cheers, Stephen Rothwell
Quoted 12 lines · Stephen Rothwell
Hi all,
After merging the overlayfs tree, today's linux-next build (
x86_64allmodconfig) failed like this:ERROR: modpost: "
security_file_ioctl" [fs/overlayfs/overlay.ko] undefined!Caused by commit
b5940870e166("ovl: call secutiry hook inovl_real_ioctl()")
Quoted 7 lines
I have applied this patch for today.
From: Stephen Rothwell <[email protected]>
Date: Wed, 3 Jun 2020 11:44:19 +1000
Subject: [PATCH] exportsecurity_file_ioctlSigned-off-by Stephen Rothwell <[email protected]>
Thanks, folded.
Miklos