Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>,
	axp-list@redhat.com
Subject: Re: Unaligned traps et al
Date: Wed, 18 Aug 1999 16:11:05 -0700	[thread overview]
Message-ID: <19990818161105.B15520@twiddle.net> (raw)
In-Reply-To: <19990818222349.W28508@henry.uncarved.co.uk>; from Sean Hunter on Wed, Aug 18, 1999 at 10:23:49PM +0100

On Wed, Aug 18, 1999 at 10:23:49PM +0100, Sean Hunter wrote:
> The trouble is, you need to use setsysinfo to get your program to do
> this, which is fine for stuff you're writing, but a pain for other
> programs.  What I propose is to set up a sysctl so that it will
> automatically set this behaviour as desired.  This means that normally 
> you just leave this as is, bit if you feel like doing a spot o'
> debugging you can echo "some_magic" >> /proc/sys/kernel/uac_control...

The DU syscall allows to set the system default too --

#define SSIN_UACSYS     4       /* set system printing on/off */
#define SSIN_UACPARNT   5       /* set parent proc on/off */
#define SSIN_UACPROC    6       /* set current proc on/off */

I only implemented the SSIN_UACPROC case.  If you'd like to
implement the rest, be my guest.  ;-)

I don't remember at the moment, but I believe that the value is
(or should be) inherited across exec.  (Guessed from SSIN_UACPARNT --
you run a program which changes your shell's default, then run
another program which inherits the value.)


r~


  reply	other threads:[~1999-08-18 23:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-18 13:47 Unaligned traps et al Sean Hunter
1999-08-18 15:29 ` gnome install under RH5.2 on AS200 Peter Howell Jr
1999-08-18 22:23   ` Sean Hunter
1999-08-25 17:45   ` Adam C. Powell, IV
1999-08-18 16:26 ` Unaligned traps et al Dan Morrill
     [not found] ` <199908181556.JAA28448@ellpspace.math.ualberta.ca>
1999-08-18 21:23   ` Sean Hunter
1999-08-18 23:11     ` Richard Henderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-18 16:38 Paul Jakma
1999-08-18 21:50 Jano Lukac
1999-08-18 22:10 ` Sean Hunter
1999-08-19  9:52 Christian Groessler
1999-08-19 10:12 ` Sean Hunter
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox