On Sun, Feb 12, 2006 at 08:52:30PM -0500, Lee Revell wrote:
> No, it's not that bad, but IMHO it's more of a pain than the realtime
> LSM, or the PAM solution.
Does a process inherit its parent's RT rlimits? I would expect them
to work that way. If so, it should be enough to run your display or
window manager under set_rlimits. Then, any app you started in that X
session would automatically inherit the ability to request RT
scheduling and mlock pages.
Also removes the issue of overly fine-grained control. Anytime a user
with permission logged in, any app they ran will automatically work.
Of course, if rlimits are process specific and not inherited, then its
moot. I thought about testing this last night, but went to sleep instead,
heh.
-- Ross Vandegrift ross@email-addr-hidden "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell." --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37Received on Tue Feb 14 04:15:11 2006
This archive was generated by hypermail 2.1.8 : Tue Feb 14 2006 - 04:15:11 EET