LoongArch: Fix missing fcsr in ptrace's fpr_set
mainline inclusion from mainline-v5.19 commit b0f3bdc0 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB CVE: NA -------------------------------- In file ptrace.c, function fpr_set does not copy fcsr data from ubuf to kbuf. That's the reason why fcsr cannot be modified by ptrace. This patch fixs this problem and allows users using ptrace to modify the fcsr. Co-developed-by: NXu Li <lixu@loongson.cn> Signed-off-by: NQi Hu <huqi@loongson.cn> Signed-off-by: NHuacai Chen <chenhuacai@loongson.cn>
Showing
想要评论请 注册 或 登录