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

From: Jesse Barnes <>
Date: 2001-10-11 08:57:21
Can't prctl take up to 5 args though?  If binary compatibility were an
issue, a new prctl could be made that accepts a pid as well, right?


On Wed, 10 Oct 2001, David Mosberger wrote:

> >>>>> On Wed, 10 Oct 2001 15:31:22 -0700, Jesse Barnes <> said:
>   Jesse> I was thinking of hacking up the 'prctl' tool to take a PID
>   Jesse> as an argument, that way it could set the flags for any task.
>   Jesse> It would allow an initscript to set init's flags, among other
>   Jesse> things.  Would such a change qualify as a cleaner solution?
> Yes, but how do you change the settings for the target process?
> prctl(2) can only change the setting of the calling process (there is
> no pid argument).  You can't do it via ptrace() either.
> 	--david
Received on Wed Oct 10 15:58:34 2001

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