summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2024-12-17 23:27:44 +0300
committerRichard Weinberger <richard@nod.at>2025-02-13 01:40:38 +0300
commit8891b176d350ec5ea9a39c6ef4c99bd63d68e64c (patch)
treeff78ecd550af765090dd95cf9a26ea7cbeb321ab /scripts/extract-fwblobs
parent5298b7cffa8461009a4410f4e23f1c50ade39182 (diff)
downloadlinux-8891b176d350ec5ea9a39c6ef4c99bd63d68e64c.tar.xz
um: avoid copying FP state from init_task
The init_task instance of struct task_struct is statically allocated and does not contain the dynamic area for the userspace FP registers. As such, limit the copy to the valid area of init_task and fill the rest with zero. Note that the FP state is only needed for userspace, and as such it is entirely reasonable for init_task to not contain it. Reported-by: Brian Norris <briannorris@chromium.org> Closes: https://lore.kernel.org/Z1ySXmjZm-xOqk90@google.com Fixes: 3f17fed21491 ("um: switch to regset API and depend on XSTATE") Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20241217202745.1402932-3-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions