From owner-freebsd-questions@freebsd.org Sun Dec 6 19:48:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7627374E6 for ; Sun, 6 Dec 2015 19:48:23 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 344431C3F for ; Sun, 6 Dec 2015 19:48:22 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id B0A8D290037E for ; Sun, 6 Dec 2015 17:48:18 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449431302; bh=6G3GYzf+5LI9NnTt5C1fWMYjJV++6YqPudfuZJkFu3k=; h=Date:From:To:Subject:References:In-Reply-To:From; b=SpU18IP5P1WfxZU2a6tKsiTnok6iLQ0Bk1VrNF52A79/7vFciaPVl22NJn5cA+WO9 1G98xVaKcEYdMu29giUkqLm39OJSr517Jwr6/ecGtFoj2h8DS4yD/qR4VQZZ94FfTs t47RXreHPXMDuIV8MrUTyeUeXpKWoVuGKL5JGm54= Date: Sun, 6 Dec 2015 17:49:58 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206194958.GB4044@hpmini> References: <20151206194401.GA3860@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:48:23 -0000 Sorry, I meant write-only mode. On Sun, Dec 06, 2015 at 09:45:12PM +0200, Anton Sayetsky wrote: > 2015-12-06 21:44 GMT+02:00 Luís Fernando Schultz Xavier da Silveira > : > > 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? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"