From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Date: Wed, 10 Oct 2001 22:31:22 +0000 Subject: Re: [Linux-ia64] Re: prctl patch for fpu faults Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org 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 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 >