Skip to contentSkip to conversation

mplayer support for webcams

PATCH New Sven Vermeulen 2 participants 2 messages Mar 9, 2011 – Mar 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 8/15 mplayer support for webcams

In order to work with webcams, mplayer domain needs write access to the v4l_device_t (updates and reconfiguration of the video device)

---
 policy/modules/apps/mplayer.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/apps/mplayer.te +1 -0
index 931304b..d3e23ba 100644
@@ -197,6 +197,7 @@ dev_read_urand(mplayer_t)
 dev_rwx_zero(mplayer_t)
 # Access to DVD/CD/V4L
 dev_read_video_dev(mplayer_t)
+dev_write_video_dev(mplayer_t)
 # Audio, alsa.conf
 dev_read_sound_mixer(mplayer_t)
 dev_write_sound_mixer(mplayer_t)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 8/15 mplayer support for webcams

Quoted 2 lines · Sven Vermeulen

In order to work with webcams, mplayer domain needs write access to the v4l_device_t (updates and reconfiguration of the video device)

Merged.

Quoted 17 lines
---
 policy/modules/apps/mplayer.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/apps/mplayer.te +1 -0
index 931304b..d3e23ba 100644
@@ -197,6 +197,7 @@ dev_read_urand(mplayer_t)
 dev_rwx_zero(mplayer_t)
 # Access to DVD/CD/V4L
 dev_read_video_dev(mplayer_t)
+dev_write_video_dev(mplayer_t)
 # Audio, alsa.conf
 dev_read_sound_mixer(mplayer_t)
 dev_write_sound_mixer(mplayer_t)
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com