Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964866AbWAWVab (ORCPT ); Mon, 23 Jan 2006 16:30:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964876AbWAWVab (ORCPT ); Mon, 23 Jan 2006 16:30:31 -0500 Received: from mustang.oldcity.dca.net ([216.158.38.3]:12717 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S964866AbWAWVaa (ORCPT ); Mon, 23 Jan 2006 16:30:30 -0500 Subject: Re: CD writing in future Linux (stirring up a hornets' nest) (was: Rationale for RLIMIT_MEMLOCK?) From: Lee Revell To: Matthias Andree Cc: Joerg Schilling , linux-kernel@vger.kernel.org In-Reply-To: <20060123212119.GI1820@merlin.emma.line.org> References: <20060123105634.GA17439@merlin.emma.line.org> <1138014312.2977.37.camel@laptopd505.fenrus.org> <20060123165415.GA32178@merlin.emma.line.org> <1138035602.2977.54.camel@laptopd505.fenrus.org> <20060123180106.GA4879@merlin.emma.line.org> <1138039993.2977.62.camel@laptopd505.fenrus.org> <20060123185549.GA15985@merlin.emma.line.org> <43D530CC.nailC4Y11KE7A@burner> <1138048255.21481.15.camel@mindpipe> <20060123212119.GI1820@merlin.emma.line.org> Content-Type: text/plain Date: Mon, 23 Jan 2006 16:30:28 -0500 Message-Id: <1138051828.21481.41.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Evolution 2.5.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 23 On Mon, 2006-01-23 at 22:21 +0100, Matthias Andree wrote: > On Mon, 23 Jan 2006, Lee Revell wrote: > > > You will be happy to know that in future Linux distros, cdrecord will > > not require setuid to mlock() and get SCHED_FIFO - both are now > > controlled by rlimits, so if the distro ships with a sane PAM/group > > configuration, all you will need to do is add cdrecord users to the > > "realtime" or "cdrecord" or "audio" group. > > Sounds really good. Can you give a pointer as to the detailed rlimit > requirements? One thing I believe is still unresolved is that despite the new rlimits, sched_get_priority_max(SCHED_FIFO) always returns 99 rather than RLIMIT_RTPRIO. Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/