tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.open head: 286c98c59fed312f4293540fd7a9097a567a3591 commit: e1c5eb5a56fa0315d5cbc95b98150219549ca36a [39/45] new wrapper: alloc_file_pseudo() config: x86_64-acpi-redef (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: git checkout e1c5eb5a56fa0315d5cbc95b98150219549ca36a # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): fs/aio.c: In function 'aio_mount': >> fs/aio.c:228:61: error: 'ops' undeclared (first use in this function) struct dentry *root = mount_pseudo(fs_type, "aio:", NULL, &ops, ^~~ fs/aio.c:228:61: note: each undeclared identifier is reported only once for each function it appears in vim +/ops +228 fs/aio.c 71ad7490 Benjamin LaHaise 2013-09-17 224 71ad7490 Benjamin LaHaise 2013-09-17 225 static struct dentry *aio_mount(struct file_system_type *fs_type, 71ad7490 Benjamin LaHaise 2013-09-17 226 int flags, const char *dev_name, void *data) 71ad7490 Benjamin LaHaise 2013-09-17 227 { 22f6b4d3 Jann Horn 2016-09-16 @228 struct dentry *root = mount_pseudo(fs_type, "aio:", NULL, &ops, 22f6b4d3 Jann Horn 2016-09-16 229 AIO_RING_MAGIC); 22f6b4d3 Jann Horn 2016-09-16 230 22f6b4d3 Jann Horn 2016-09-16 231 if (!IS_ERR(root)) 22f6b4d3 Jann Horn 2016-09-16 232 root->d_sb->s_iflags |= SB_I_NOEXEC; 22f6b4d3 Jann Horn 2016-09-16 233 return root; 71ad7490 Benjamin LaHaise 2013-09-17 234 } 71ad7490 Benjamin LaHaise 2013-09-17 235 :::::: The code at line 228 was first introduced by commit :::::: 22f6b4d34fcf039c63a94e7670e0da24f8575a5a aio: mark AIO pseudo-fs noexec :::::: TO: Jann Horn <jann@xxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip