linux-mips
[Top] [All Lists]

Re: traditional signal support in 64-bit mips linux

To: Prasad B <bprasad@cs.arizona.edu>
Subject: Re: traditional signal support in 64-bit mips linux
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 18 Nov 2008 11:53:56 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <e8180c7f0811171324i35da6933mc29ce386afb7393a@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <e8180c7f0811171324i35da6933mc29ce386afb7393a@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Nov 17, 2008 at 01:24:07PM -0800, Prasad B wrote:

> Is traditional signal support, enabled by the flag CONFIG_TRAD_SIGNALS
> proscribed in 64-bit mode ?

Yes - and there is no reason to do so.  None of the libcs would use the
functionality and it's not experted through the syscall interface anyway.

> In arch/mips/kernel/signal.c, functions sys_sigsuspend(), sys_sigaction(),
> sys_sigreturn(), setup_frame() are conditionally compiled, depending on
> whether the flag CONFIG_TRAD_SIGNALS is defined or not. If one defines the
> constant, the compilation fails as the constants such as __NR_sigreturn are
> not defined in asm-mips/unistd.h for 64-bit mips.
> 
> 
> Does it mean that only realtime signals are supposed to be used in 64-bit
> mode ?

Yes - with the exception of O32 binary compatibility which uses a compat
implementation of these functions anyway.  Traditional signal support is
deprecated since like 10 years.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>