Re: Wine breakage, sigaction syscall

Bernhard Rosenkraenzer (root@bero-online.ml.org)
Sat, 14 Feb 1998 02:46:19 +0100 (CET)


--382105395-1317366965-887420779=:11995
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 13 Feb 1998, Pavel Machek wrote:

> What is status of sigaction syscall? I could not find sys_sigaction
> anywhere, and binary compatibility definitely broke. Is it kernel's
> bug or is wine expected to do it some other way or ...?

It's not a good thing to mess with kernel structures, especially not when
using glibc.

The current definition of sigaction is

struct sigaction {
__sighandler_t sa_handler;
unsigned long sa_flags;
void (*sa_restorer)(void);
sigset_t sa_mask; /* mask last for extensibility */
};

The patch I've attached (against wine980201) should fix it.

LLaP
bero

-- bero@bero-online.ml.org - ICQ/UIN 6545964 - http://www.star-trek.ml.org/ --

ATTENTION: People sending unwanted advertising e-mail to this address
will be charged $25 for network traffic and computing time. By extracting
my address from this message or its header, you agree to these terms.

--382105395-1317366965-887420779=:11995
Content-Type: APPLICATION/octet-stream; name="wine-newkernel.diff.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.980214024619.11995B@ufp.in-trier.de>
Content-Description: Wine fix for new kernels

H4sICBH35DQCA3dpbmUtbmV3a2VybmVsLmRpZmYArVTbbtNAEH2uv2IkpCqp
HcfOpU3cFlJKkYDSoqYgJISsrT1OlmzW0a7dltu/M7s2SXGJeGEVRfZcz5wz
3pRnGXRKdQF3XOJ4FPSCsHs6Z3KG5/nsgbEj8W6x8TidTuevKTtTVsBLvIFw
AEEv6ofRsA/heDxyXNfdXq+Z1o96QZU2mUAn9Prght4IJhPHbUQGUVBFAjxH
JedMpXCVa5QLxVB+QwVHN6jyifnr5FIQAn8p/FzNnjqu4+7swSeRsxRVV/OZ
ZMJPPpN1Wq5WuSpAYYKygJ4f+vdwzmV5DwvqgkJTMnT+y3FgWko7EoQQ0uSD
aDioRzoReM9kqhBel0JwMxwcfakfJ0IlPq4ywjx/6oCT/k3MxnCPJGj4m8I2
3DsG6msmAQjhKBr0ouH+dnkfJf8p3UEUjDYi93vePrj0PzYyQ3ev5puyWVLw
XEJWyuphr0vTwhOeQYoZ9UxbwoS2YXd3bYlj3h/tx3HbcZ9wmYgyRTiyYd1b
VJrK+HO7AabM+auL9x/jD2dX01eXF/Hp5YszODomLcL+aGCQbDAkdmNT4NIu
xfDAgqGQ6znXQL9ijg/CdaHKpChJv0zlS+uspjLJtOLVMvlgq1TBtS1eF3Hg
uyVoEBiCBn0vHFqGzCmlIZfwiFzOQLM4E2ymDyvnbc5TaO2RVaEucoWq3WqT
7+chTU0rjI67raX73XFNidjYaORUoIoL06B+Oaz82/q72/obW7v2U6rGoiq7
ZHpB5gqapE02ChOtU77kgiko8gaz62UgJQS/STzA+wRXBfACBLJb1MAIFJo0
S8dvDJBxFKkHd3OezI1ipSb8VF+vMOHZ1999aGVJEZYsgKX0AWptNLK3UXDg
HdB9FI69MFwrsYVJUymmx1qS+s3fEAnHdpTHfsskmY5hehJfnU2vT66u4Qe0
rL0Nz4z54vLtyfQNRBAc/nuRH3UwnIPtEGw2oo7B5ar4Suq0dhsJ7QcKmUMa
vcs53ZG1QkW+gjyrSDTsebCkhdd0X3wpdWHUSphGD2h6WLJFpY05pBsT1TLZ
r6EBdi3fMTi/AJIygVa2BgAA
--382105395-1317366965-887420779=:11995--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu