Re: [GIT PULL FOR v5.6] y2038 safety in v4l2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

On 12/16/19 4:37 PM, Hans Verkuil wrote:
> Hi Mauro,
> 
> This series makes the V4L2 API y2038 safe. Many thanks to Arnd for working on
> this!
> 
> I have tested this using the test-media script and v4l2-ctl/v4l2-compliance
> binaries compiled for x86_64, i686, i686 with 64-bit time_t under both a
> 64 bit kernel (so the compat-ioctl32 code is called) and a native 32 bit
> kernel (to make sure both the 32 and 64-bit time_t versions are handled
> correctly).

For completeness: I have now also tested this on arm and arm64 architectures.
Everything looks fine!

Regards,

	Hans

> 
> Regards,
> 
> 	Hans
> 
> The following changes since commit 0885acd77eb4644fd88f6d9f41e433f4ee9bc37a:
> 
>   media: vivid: support multiplanar touch devices (2019-12-16 13:24:16 +0100)
> 
> are available in the Git repository at:
> 
>   git://linuxtv.org/hverkuil/media_tree.git tags/br-y2038
> 
> for you to fetch changes up to 416f076ff267d2208d4e09767080558cc619dd9c:
> 
>   media: v4l2-core: fix compat v4l2_buffer handling for time64 ABI (2019-12-16 15:27:20 +0100)
> 
> ----------------------------------------------------------------
> Tag branch
> 
> ----------------------------------------------------------------
> Arnd Bergmann (8):
>       media: documentation: fix video_event description
>       media: v4l2: abstract timeval handling in v4l2_buffer
>       media: v4l2-core: compat: ignore native command codes
>       media: v4l2-core: split out data copy from video_usercopy
>       media: v4l2-core: fix VIDIOC_DQEVENT for time64 ABI
>       media: v4l2-core: fix v4l2_buffer handling for time64 ABI
>       media: v4l2-core: fix compat VIDIOC_DQEVENT for time64 ABI
>       media: v4l2-core: fix compat v4l2_buffer handling for time64 ABI
> 
>  Documentation/media/uapi/dvb/video-get-event.rst |   2 +-
>  Documentation/media/uapi/dvb/video_types.rst     |   2 +-
>  drivers/media/common/videobuf2/videobuf2-v4l2.c  |   4 +-
>  drivers/media/pci/meye/meye.c                    |   4 +-
>  drivers/media/usb/cpia2/cpia2_v4l.c              |   4 +-
>  drivers/media/usb/stkwebcam/stk-webcam.c         |   2 +-
>  drivers/media/usb/usbvision/usbvision-video.c    |   4 +-
>  drivers/media/v4l2-core/v4l2-compat-ioctl32.c    | 476 +++++++++++++++++++++++++++++++++++++++++++++---------
>  drivers/media/v4l2-core/v4l2-event.c             |   5 +-
>  drivers/media/v4l2-core/v4l2-ioctl.c             | 211 +++++++++++++++++++-----
>  drivers/media/v4l2-core/v4l2-subdev.c            |  26 ++-
>  drivers/media/v4l2-core/videobuf-core.c          |   5 +-
>  include/media/v4l2-common.h                      |  21 +++
>  include/media/v4l2-ioctl.h                       |  55 +++++++
>  include/trace/events/v4l2.h                      |   2 +-
>  include/uapi/linux/videodev2.h                   |  29 ++++
>  16 files changed, 717 insertions(+), 135 deletions(-)
> 




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux