]> www.infradead.org Git - users/willy/linux.git/commit
vfs: Require specification of size of mount data for internal mounts
authorDavid Howells <dhowells@redhat.com>
Tue, 11 Sep 2018 21:20:53 +0000 (22:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 11 Sep 2018 21:20:53 +0000 (22:20 +0100)
commit307c6e5241b4b44076c016bc64d1748b93d1792b
tree6b60bd39e494ea09efdc54e57c4cad7dc80760ce
parent11da3a7f84f19c26da6f86af878298694ede0804
vfs: Require specification of size of mount data for internal mounts

Require specification of the size of the mount data passed to the VFS
mounting functions by internal mounts.  The problem is that the legacy
handling for the upcoming mount-context patches has to copy an entire page
as that's how big the buffer is defined as being, but some of the internal
calls pass in a short bit of stack space, with the result that the stack
guard page may get hit.

Signed-off-by: David Howells <dhowells@redhat.com>
134 files changed:
arch/ia64/kernel/perfmon.c
arch/powerpc/platforms/cell/spufs/inode.c
arch/s390/hypfs/inode.c
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c
drivers/base/devtmpfs.c
drivers/dax/super.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/i915/i915_gemfs.c
drivers/infiniband/hw/qib/qib_fs.c
drivers/misc/cxl/api.c
drivers/misc/ibmasm/ibmasmfs.c
drivers/mtd/mtdsuper.c
drivers/oprofile/oprofilefs.c
drivers/scsi/cxlflash/ocxl_hw.c
drivers/staging/erofs/super.c
drivers/usb/gadget/function/f_fs.c
drivers/usb/gadget/legacy/inode.c
drivers/virtio/virtio_balloon.c
drivers/xen/xenfs/super.c
fs/9p/vfs_super.c
fs/adfs/super.c
fs/affs/super.c
fs/afs/mntpt.c
fs/afs/super.c
fs/aio.c
fs/anon_inodes.c
fs/autofs/autofs_i.h
fs/autofs/init.c
fs/autofs/inode.c
fs/befs/linuxvfs.c
fs/bfs/inode.c
fs/binfmt_misc.c
fs/block_dev.c
fs/btrfs/super.c
fs/btrfs/tests/btrfs-tests.c
fs/ceph/super.c
fs/cifs/cifs_dfs_ref.c
fs/cifs/cifsfs.c
fs/coda/inode.c
fs/configfs/mount.c
fs/cramfs/inode.c
fs/debugfs/inode.c
fs/devpts/inode.c
fs/ecryptfs/main.c
fs/efivarfs/super.c
fs/efs/super.c
fs/exofs/super.c
fs/ext2/super.c
fs/ext4/super.c
fs/f2fs/super.c
fs/fat/inode.c
fs/fat/namei_msdos.c
fs/fat/namei_vfat.c
fs/freevxfs/vxfs_super.c
fs/fuse/control.c
fs/fuse/inode.c
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/hfs/super.c
fs/hfsplus/super.c
fs/hostfs/hostfs_kern.c
fs/hpfs/super.c
fs/hugetlbfs/inode.c
fs/internal.h
fs/isofs/inode.c
fs/jffs2/super.c
fs/jfs/super.c
fs/kernfs/mount.c
fs/libfs.c
fs/minix/inode.c
fs/namespace.c
fs/nfs/internal.h
fs/nfs/namespace.c
fs/nfs/nfs4namespace.c
fs/nfs/nfs4super.c
fs/nfs/super.c
fs/nfsd/nfsctl.c
fs/nilfs2/super.c
fs/nsfs.c
fs/ntfs/super.c
fs/ocfs2/dlmfs/dlmfs.c
fs/ocfs2/super.c
fs/omfs/inode.c
fs/openpromfs/inode.c
fs/orangefs/orangefs-kernel.h
fs/orangefs/super.c
fs/overlayfs/super.c
fs/pipe.c
fs/proc/inode.c
fs/proc/internal.h
fs/proc/root.c
fs/pstore/inode.c
fs/qnx4/inode.c
fs/qnx6/inode.c
fs/ramfs/inode.c
fs/reiserfs/super.c
fs/romfs/super.c
fs/squashfs/super.c
fs/super.c
fs/sysfs/mount.c
fs/sysv/inode.c
fs/sysv/super.c
fs/tracefs/inode.c
fs/ubifs/super.c
fs/udf/super.c
fs/ufs/super.c
fs/xfs/xfs_super.c
include/linux/debugfs.h
include/linux/fs.h
include/linux/lsm_hooks.h
include/linux/mount.h
include/linux/mtd/super.h
include/linux/ramfs.h
include/linux/security.h
include/linux/shmem_fs.h
init/do_mounts.c
ipc/mqueue.c
kernel/bpf/inode.c
kernel/cgroup/cgroup.c
kernel/cgroup/cpuset.c
kernel/trace/trace.c
mm/shmem.c
mm/zsmalloc.c
net/socket.c
net/sunrpc/rpc_pipe.c
security/apparmor/apparmorfs.c
security/apparmor/lsm.c
security/inode.c
security/security.c
security/selinux/hooks.c
security/selinux/selinuxfs.c
security/smack/smack_lsm.c
security/smack/smackfs.c
security/tomoyo/tomoyo.c