aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-10-21 15:55:12 -0700
committerBorislav Petkov <[email protected]>2021-10-26 10:18:09 +0200
commit4b7ca609a33dd8696bcbd2f1ad949e26a591592f (patch)
treef6a57508f14ddcbe80104396373f99cd8df55a2e /net/lapb/lapb_timer.c
parent23686ef25d4ae81bc12fe3994d1905191fcf71f8 (diff)
x86/signal: Use fpu::__state_user_size for sigalt stack validation
Use the current->group_leader->fpu to check for pending permissions to use extended features and validate against the resulting user space size which is stored in the group leaders fpu struct as well. This prevents a task from installing a too small sized sigaltstack after permissions to use dynamically enabled features have been granted, but the task has not (yet) used a related instruction. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Chang S. Bae <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions