patch-2.3.99-pre1 linux/drivers/net/hamradio/soundmodem/sm_wss.c
Next file: linux/drivers/net/hamradio/yam.c
Previous file: linux/drivers/net/hamradio/soundmodem/sm_sbc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Mar 13 09:50:16 2000
- Orig file:
v2.3.51/linux/drivers/net/hamradio/soundmodem/sm_wss.c
- Orig date:
Wed Aug 18 11:38:51 1999
diff -u --recursive --new-file v2.3.51/linux/drivers/net/hamradio/soundmodem/sm_wss.c linux/drivers/net/hamradio/soundmodem/sm_wss.c
@@ -637,7 +637,7 @@
return i;
case SMCTL_SETMIXER:
- if (!suser())
+ if (!capable(CAP_SYS_RAWIO))
return -EACCES;
if ((bi.data.mix.mixer_type != SM_MIXER_CRYSTAL ||
!SCSTATE->crystal) &&
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)