Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 May 2020 09:51:29 -0700
From: enh <enh@...gle.com>
To: musl@...ts.openwall.com
Subject: remove SIGSTKFLT on mips?

(context: https://github.com/landley/toybox/issues/194)

seems like musl defines SIGSTKFLT for mips as signal 7. the kernel
disagrees and says SIGEMT is 7, and that mips doesn't have a
SIGSTKFLT:

arch/mips/include/uapi/asm/signal.h:#define SIGEMT 7

git blame says SIGSTKFLT was introduced in the original commit:

commit 6315004f6102dca44c4ba50654a36967b8b9c2a6
Author: Rich Felker <dalias@...ifal.cx>
Date:   Wed Jul 11 04:22:13 2012 -0400

    initial version of mips (o32) port, based on work by Richard
Pennington (rdp)

    basically, this version of the code was obtained by starting with
    rdp's work from his ellcc source tree, adapting it to musl's build
    system and coding style, auditing the bits headers for discrepencies
    with kernel definitions or glibc/LSB ABI or large file issues, fixing
    up incompatibility with the old binutils from aboriginal linux, and
    adding some new special cases to deal with the oddities of sigaction
    and pipe syscall interfaces on mips.

    at present, minimal test programs work, but some interfaces are broken
    or missing. threaded programs probably will not link.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.