Date: Sun, 6 Dec 2015 21:45:12 +0200 From: Anton Sayetsky <vsasjason@gmail.com> To: =?UTF-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= <schultz@ime.usp.br> Cc: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <CAA2O=b_isQOHepigMgDyDGtOidpbYkLOmvEayCbETfLEbUsDKA@mail.gmail.com> In-Reply-To: <20151206194401.GA3860@hpmini> References: <20151206194401.GA3860@hpmini>
next in thread | previous in thread | raw e-mail | index | archive | help
2015-12-06 21:44 GMT+02:00 Lu=C3=ADs Fernando Schultz Xavier da Silveira <schultz@ime.usp.br>: > Hi, > > I would like one of my jails to have the ability to play back sound, > but not to record it. As I understand, sound is played back by writing > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > a solution since the jail superuser can override permissions on these > devices and even read from them when they lack read permission. > > Is there a way to give a device to a jail in read-only mode? How do you want to write sound output to read-only device?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA2O=b_isQOHepigMgDyDGtOidpbYkLOmvEayCbETfLEbUsDKA>