[Top] [All Lists]

Re: traditional signal support in 64-bit mips linux

To: Prasad B <>
Subject: Re: traditional signal support in 64-bit mips linux
From: Ralf Baechle <>
Date: Tue, 18 Nov 2008 11:53:56 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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.


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