All of lore.kernel.org
 help / color / mirror / Atom feed
* traditional signal support in 64-bit mips linux
@ 2008-11-17 21:24 Prasad B
  2008-11-18 11:53 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Prasad B @ 2008-11-17 21:24 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

Hello All,

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

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 ?

thank you,
Prasad.

[-- Attachment #2: Type: text/html, Size: 651 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: traditional signal support in 64-bit mips linux
  2008-11-17 21:24 traditional signal support in 64-bit mips linux Prasad B
@ 2008-11-18 11:53 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-11-18 11:53 UTC (permalink / raw)
  To: Prasad B; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-18 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 21:24 traditional signal support in 64-bit mips linux Prasad B
2008-11-18 11:53 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.