#6704: SIGBUS and SIGSEGV must be different ---------------------------+------------------------------------------------ Reporter: scottmc | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/Development Resolution: | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: ---------------------------+------------------------------------------------ Comment (by bonefish): Replying to [comment:3 phoudoin]: > Can't we raise SIGBUS too when SIGSEGV signal is raised, making SIGBUS an alias of SIGSEGV but allowing two signal handlers as required by POSIX? The problem is that SIGSEGV == SIGBUS (i.e. the constants are equal). Redefining SIGBUS and actually raising the signal could be a binary compatibility issue, since old applications might expect that the signal is never thrown -- though I suspect there aren't that many programs that actually handle these signals anyway (at least all ported code could be updated accordingly). Redefining it and not raising it might work, but the signals do have a different meaning (cf. [http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html the specs]), so it would make most sense to implement them correctly. -- Ticket URL: <http://dev.haiku-os.org/ticket/6704#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.