Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote: > - path.dentry = vfs_tmpfile(&init_user_ns, fan, S_IFREG, O_RDWR); Is there any point passing S_IFREG in to vfs_tmpfile()? Can you actually make a tmpfile that isn't a regular file? David
Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote: > - path.dentry = vfs_tmpfile(&init_user_ns, fan, S_IFREG, O_RDWR); Is there any point passing S_IFREG in to vfs_tmpfile()? Can you actually make a tmpfile that isn't a regular file? David