Re: [Linux-ia64] Re: prctl patch for fpu faults

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2001-10-11 08:31:22
I was thinking of hacking up the 'prctl' tool to take a PID as an
argument, that way it could set the flags for any task.  It would allow
an initscript to set init's flags, among other things.  Would such a
change qualify as a cleaner solution?

Jesse

On Wed, 10 Oct 2001, David Mosberger wrote:

> >>>>> On Wed, 10 Oct 2001 08:59:36 -0500 (CDT), Jack Steiner <steiner@sgi.com> said:
> 
>   Jack> There should be a way a site can change the default logging
>   Jack> behavior & have it apply to ALL tasks..
> 
> I agree.  In theory, if you can change the behavior of "init", you'll
> change the behavior of all subsequent tasks (the settings are
> inherited across fork).  If you're willing to hack /etc/inittab, you
> could probably do that with the "prctl" utility today (or perhaps even
> with prctl + a suitable kernel command line), but none of these
> solutions seem to be very pretty.  Perhaps someone can come up with a
> cleaner solution?
> 
> 	--david
> 
Received on Wed Oct 10 15:32:38 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST