diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-01-30 18:25:41 -0800 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-01-30 18:25:41 -0800 |
commit | 0b945b64fba3381dfc97c66722fe76193f0008d3 (patch) | |
tree | e1e4420bd109756179544bda17819bee53d32ba1 /linux/drivers/media/video/xc3028.c | |
parent | 89d170b32b5620e4c3be940b825188493bd8f597 (diff) | |
download | mediapointer-dvb-s2-0b945b64fba3381dfc97c66722fe76193f0008d3.tar.gz mediapointer-dvb-s2-0b945b64fba3381dfc97c66722fe76193f0008d3.tar.bz2 |
Add checks for CAP_SYS_ADMIN to VIDIOC_DBG_G_REGISTER
From: Trent Piepho <xyzzy@speakeasy.org>
Before, root privileges were only needed to set hardware registers, not
to read them. On some hardware, reading from the wrong place at the
wrong time can hang the machine. So, to be consistent, root privileges
are required to read registers on all hardware.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/xc3028.c')
0 files changed, 0 insertions, 0 deletions