|
Message-ID: <CAA2zVHpSiKgq8tBpjy5Zjbb1UtoJ++UtT8EvFDJqFmb+mtDLBQ@mail.gmail.com> Date: Tue, 9 Jul 2019 15:01:50 -0400 From: James Y Knight <jyknight@...gle.com> To: musl@...ts.openwall.com Subject: [PATCH] Fix the use of sigaltstack to return to the saved main stack. Previously, musl would reject the call, because the main stack has ss_size == 0 and ss_flags == SS_DISABLE. We could condition on ss_flags not containing SS_DISABLE, but instead, simply remove the ss_size check, as the kernel performs the same check, anyhow. [[Note: I've also included the corresponding patch to libc-tests. I'm not sure if this is OK, or if I should send it separately?]] Content of type "text/html" skipped View attachment "0001-Fix-the-use-of-sigaltstack-to-return-to-the-saved-ma.patch" of type "text/x-patch" (1162 bytes) View attachment "0001-Verify-that-returning-to-the-original-stack-doesn-t-.patch" of type "text/x-patch" (1165 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.