• Jeff Dike's avatar
    uml: fix signal frame alignment · 0ec7c9f8
    Jeff Dike authored
    Use the same signal frame alignment calculations as the underlying
    architecture.  x86_64 appeared to do this, but the "- 8" was really
    subtracting 8 * sizeof(struct rt_sigframe) rather than 8 bytes.
    
    UML/i386 might have been OK, but I changed the calculation to match
    i386 just to be sure.
    Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    0ec7c9f8
signal.c 10.6 KB