kernel-fxtec-pro1x/drivers/uio
Hamish Martin a93e7b3315 uio: Prevent device destruction while fds are open
Prevent destruction of a uio_device while user space apps hold open
file descriptors to that device. Further, access to the 'info' member
of the struct uio_device is protected by spinlock. This is to ensure
stale pointers to data not under control of the UIO subsystem are not
dereferenced.

Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-14 16:16:35 +02:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uio.c uio: Prevent device destruction while fds are open 2018-05-14 16:16:35 +02:00
uio_aec.c
uio_cif.c
uio_dmem_genirq.c
uio_fsl_elbc_gpcm.c uio: uio_fsl_elbc_gpcm: Remove owner assignment from platform_driver 2018-04-23 13:31:27 +02:00
uio_hv_generic.c uio_hv_generic: fix subchannel ring mmap 2018-04-23 12:43:48 +02:00
uio_mf624.c uio_mf624: Align memory regions to page size and set correct offsets 2017-04-08 18:13:28 +02:00
uio_netx.c
uio_pci_generic.c uio/uio_pci_generic: don't fail probe if pdev->irq == NULL 2017-05-18 16:59:06 +02:00
uio_pdrv_genirq.c
uio_pruss.c
uio_sercos3.c