linux/drivers/staging
Johan Hovold 8a80901a06 staging: fwserial: fix TIOCSSERIAL permission check
commit 2104eb283d upstream.

Changing the port close-delay parameter is a privileged operation so
make sure to return -EPERM if a regular user tries to change it.

Fixes: 7355ba3445 ("staging: fwserial: Add TTY-over-Firewire serial driver")
Cc: stable@vger.kernel.org      # 3.8
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210407102334.32361-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-14 09:49:56 +02:00
..
android
axis-fifo
board
clocking-wizard
comedi staging: comedi: cb_pcidas64: fix request_irq() warn 2021-04-07 15:00:05 +02:00
emxx_udc
fbtft
fieldbus staging: fieldbus: anybuss: jump to correct label in an error path 2020-10-27 13:24:51 +01:00
fsl-dpaa2
fwserial staging: fwserial: fix TIOCSSERIAL permission check 2021-05-14 09:49:56 +02:00
gasket staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c 2020-12-30 11:53:10 +01:00
gdm724x staging: gdm724x: Fix DMA from stack 2021-03-04 11:38:33 +01:00
goldfish
greybus staging: greybus: uart: fix TIOCSSERIAL jiffies conversions 2021-05-14 09:49:56 +02:00
gs_fpgaboot
hikey9xx staging: spmi: hisi-spmi-controller: Fix some error handling paths 2021-01-19 18:27:25 +01:00
iio
kpc2000
ks7010 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan() 2021-03-17 17:06:32 +01:00
media media: staging/intel-ipu3: Fix race condition during set_fmt 2021-05-11 14:47:38 +02:00
most staging: most: sound: add sanity check for function argument 2021-03-07 12:34:10 +01:00
mt7621-dma staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c 2021-03-04 11:38:33 +01:00
mt7621-dts
mt7621-pci staging: mt7621-pci: avoid to request pci bus resources 2020-11-06 11:11:28 +01:00
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon staging: octeon: Drop on uncorrectable alignment or FCS error 2020-10-27 13:18:50 +01:00
octeon-usb
olpc_dcon
pi433
qlge Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
ralink-gdma staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK 2020-11-06 11:12:49 +01:00
rtl8188eu staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() 2021-03-17 17:06:31 +01:00
rtl8192e staging: rtl8192e: Change state information from u16 to u8 2021-04-07 15:00:13 +02:00
rtl8192u staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() 2021-03-17 17:06:31 +01:00
rtl8712 staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd 2021-03-17 17:06:32 +01:00
rtl8723bs staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules 2021-03-04 11:37:26 +01:00
rts5208
sm750fb
unisys
vc04_services staging: bcm2835-audio: Replace unsafe strcpy() with strscpy() 2021-03-07 12:34:10 +01:00
vme
vt6655
vt6656
wfx staging: wfx: fix possible panic with re-queued frames 2021-03-04 11:37:28 +01:00
wlan-ng
Kconfig
Makefile