linux/drivers/media/dvb-core
Arnd Bergmann e95be15886 [media] dvb: use ktime_t for internal timeout
The dvb demuxer code uses a 'struct timespec' to pass a timeout
as absolute time. This will cause problems on 32-bit architectures
in 2038 when time_t overflows, and it is racy with a concurrent
settimeofday() call.

This patch changes the code to use ktime_get() instead, using
the monotonic time base to avoid both the race and the overflow.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-08 16:36:00 -03:00
..
Kconfig
Makefile
demux.h [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dmxdev.c [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dmxdev.h [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
dvb-usb-ids.h [media] az6027: Add support for Elgato EyeTV Sat v3 2016-05-06 15:53:23 -03:00
dvb_ca_en50221.c [media] drivers/media/dvb-core/en50221: move code to dvb_ca_private_free() 2016-06-07 17:14:43 -03:00
dvb_ca_en50221.h [media] dvb_ca_en50221.h: Make checkpatch.pl happy 2015-10-06 18:40:01 -03:00
dvb_demux.c [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dvb_demux.h [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dvb_filter.c
dvb_filter.h
dvb_frontend.c [media] media: dvb-frontend invoke enable/disable_source handlers 2016-02-27 09:34:06 -03:00
dvb_frontend.h [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dvb_math.c
dvb_math.h [media] DocBook: add dvb_math.h to documentation 2015-08-22 09:05:40 -03:00
dvb_net.c [media] dvb: use ktime_t for internal timeout 2016-07-08 16:36:00 -03:00
dvb_net.h [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
dvb_ringbuffer.c [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
dvb_ringbuffer.h [media] DocBook: add dvb_ringbuffer.h to documentation 2015-08-22 09:05:45 -03:00
dvbdev.c [media] media/dvb-core: forward media_create_pad_links() return value 2016-05-07 10:56:55 -03:00
dvbdev.h [media] mxl111sf: Add a tuner entity 2016-01-11 12:19:26 -02:00