Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 009494ef authored by Guy Martin's avatar Guy Martin Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3296): Fixes a bug at compat_ioctl32 kernel module



- There is a bug in the ioctl translations from 32bit userspace
to 64bit kernelspace in do_set_window().
- The video window (vw) should be passed to native_ioctl()
instead of the video clip.

Signed-off-by: default avatarGuy Martin <gmsoft@tuxicoman.be>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 4aa6ba51
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -489,7 +489,7 @@ static int do_set_window(struct file *file, unsigned int cmd, unsigned long arg)
		}
		}
	}
	}


	return native_ioctl(file, VIDIOCSWIN, (unsigned long)p);
	return native_ioctl(file, VIDIOCSWIN, (unsigned long)vw);
}
}


static int do_video_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static int do_video_ioctl(struct file *file, unsigned int cmd, unsigned long arg)