Re: traditional signal support in 64-bit mips linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux