From: guido@trentalancia.net (Guido Trentalancia) Date: Fri, 09 Dec 2016 16:23:25 +0100 Subject: [refpolicy] [PATCH 1/2] games: general update and improved pulseaudio integration In-Reply-To: <6f6a7bd9-45f2-9f77-b8d8-ff2c93301acc@gmail.com> References: <1481216996.20182.5.camel@trentalancia.net> <6f6a7bd9-45f2-9f77-b8d8-ff2c93301acc@gmail.com> Message-ID: <1481297005.21097.2.camel@trentalancia.net> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Hello. On Thu, 08/12/2016 at 18.36 +0100, Dominick Grift via refpolicy wrote: > On 12/08/2016 06:09 PM, Guido Trentalancia via refpolicy wrote: > > > > Update for the games module and improved integration with > > pulseaudio. > > > > This patch also introduces a new interface needed by later versions > > of a recently posted window manager (wm) patch. > > > > It has been a while since i looked at the pulseaudio policy but i > suspect you only need: > > pulseaudio_tmpfs_content(games_tmpfs_t) > pulseaudio_run(games_t, games_roles) The pulseaudio_tmpfs_content() interface does not work. It keeps creating files with the games_tmpfs_t type... > The above should take care of everything except > dbus_all_session_bus_client(games_t). It relies heavily on the use of > type attributes. > > have a close look at pulseaudio module, and focus on the > pulseaudio_client and pulseaudio_tmpfsfile type attributes Guido