From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Wed, 9 Mar 2011 22:15:01 +0100 Subject: [refpolicy] [PATCH 08/15] mplayer support for webcams Message-ID: <20110309211500.GA4715@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com In order to work with webcams, mplayer domain needs write access to the v4l_device_t (updates and reconfiguration of the video device) Signed-off-by: Sven Vermeulen --- policy/modules/apps/mplayer.te | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/policy/modules/apps/mplayer.te b/policy/modules/apps/mplayer.te index 931304b..d3e23ba 100644 --- a/policy/modules/apps/mplayer.te +++ b/policy/modules/apps/mplayer.te @@ -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) -- 1.7.3.4