Date: Thu, 12 Jun 1997 07:02:11 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Cc: hackers@freebsd.org Subject: Re: rtprio from non-root users ? Message-ID: <199706121102.HAA05372@hda.hda.com> In-Reply-To: <199706111352.PAA09210@labinfo.iet.unipi.it> from Luigi Rizzo at "Jun 11, 97 03:52:35 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I have (yesterday night) implemented a small change to rtprio (check > PRs in the last 24 hours, I don't remember the number) which reads > allowed users from /etc/rtprio.conf . Jordan suggests to use the > login.class database to add a rtprio capability, which seems a much > better approach. I am not very much in favour of modifying the kernel > if the desired functionality can be achieved in userspace. I looked at login.conf and it looks good. I assume it is the same as what I'm doing only general (I'm modifying sysctl settings when you successfully open the device and I assume that is how it works since the resource limits are now there - it is about as much user versus kernel in both cases only with the kernel work done). Thanks and I'll switch over. Unfortunately there is no history or standards sections on the related manpages and so I can't tell where these interfaces come from and how standard they are (I don't have the cvs stuff here). -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706121102.HAA05372>