From: patchwork-bot+linux-riscv@kernel.org
To: Andy Chiu <andy.chiu@sifive.com>
Cc: linux-riscv@lists.infradead.org, palmer@dabbelt.com,
greentime.hu@sifive.com, guoren@linux.alibaba.com,
bjorn@kernel.org, prashanthsw@google.com,
paul.walmsley@sifive.com, aou@eecs.berkeley.edu, heiko@sntech.de,
conor.dooley@microchip.com, vincent.chen@sifive.com,
mathis.salmen@matsal.de, guoren@kernel.org,
abrestic@rivosinc.com, vineetg@rivosinc.com
Subject: Re: [PATCH] riscv: signal: fix sigaltstack frame size checking
Date: Wed, 30 Aug 2023 20:30:28 +0000 [thread overview]
Message-ID: <169342742856.1913.346835695901191456.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230822164904.21660-1-andy.chiu@sifive.com>
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Tue, 22 Aug 2023 16:49:03 +0000 you wrote:
> The alternative stack checking in get_sigframe introduced by the Vector
> support is not needed and has a problem. It is not needed as we have
> already validate it at the beginning of the function if we are already
> on an altstack. If not, the size of an altstack is always validated at
> its allocation stage with sigaltstack_size_valid().
>
> Besides, we must only regard the size of an altstack if the handler of a
> signal is registered with SA_ONSTACK. So, blindly checking overflow of
> an altstack if sas_ss_size not equals to zero will check against wrong
> signal handlers if only a subset of signals are registered with
> SA_ONSTACK.
>
> [...]
Here is the summary with links:
- riscv: signal: fix sigaltstack frame size checking
https://git.kernel.org/riscv/c/0caa0b447398
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2023-08-30 20:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 16:49 [PATCH] riscv: signal: fix sigaltstack frame size checking Andy Chiu
[not found] ` <CAHdA9BxbLyvxObiQqW=M-Rh3PaGqWsdVHUuDc_x5ZZqBOUzhcQ@mail.gmail.com>
2023-08-23 16:35 ` Prashanth Swaminathan
2023-08-30 20:30 ` patchwork-bot+linux-riscv [this message]
2023-08-31 21:58 ` Palmer Dabbelt
2023-09-25 10:07 ` Linux regression tracking (Thorsten Leemhuis)
2023-09-25 10:07 ` Linux regression tracking (Thorsten Leemhuis)
2023-09-27 14:46 ` Palmer Dabbelt
2023-09-27 14:46 ` Palmer Dabbelt
2023-10-15 10:52 ` Aurelien Jarno
2023-10-15 17:47 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169342742856.1913.346835695901191456.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-riscv@kernel.org \
--cc=abrestic@rivosinc.com \
--cc=andy.chiu@sifive.com \
--cc=aou@eecs.berkeley.edu \
--cc=bjorn@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=greentime.hu@sifive.com \
--cc=guoren@kernel.org \
--cc=guoren@linux.alibaba.com \
--cc=heiko@sntech.de \
--cc=linux-riscv@lists.infradead.org \
--cc=mathis.salmen@matsal.de \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=prashanthsw@google.com \
--cc=vincent.chen@sifive.com \
--cc=vineetg@rivosinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.