Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
arm64
/
kernel
/
signal.c
diff --git
a/kernel/arch/arm64/kernel/signal.c
b/kernel/arch/arm64/kernel/signal.c
index
e18c48c
..
a8eafdb
100644
(file)
--- a/
kernel/arch/arm64/kernel/signal.c
+++ b/
kernel/arch/arm64/kernel/signal.c
@@
-115,7
+115,7
@@
static int restore_sigframe(struct pt_regs *regs,
*/
regs->syscallno = ~0UL;
*/
regs->syscallno = ~0UL;
- err |= !valid_user_regs(®s->user_regs);
+ err |= !valid_user_regs(®s->user_regs
, current
);
if (err == 0) {
struct fpsimd_context *fpsimd_ctx =
if (err == 0) {
struct fpsimd_context *fpsimd_ctx =
@@
-307,7
+307,7
@@
static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
/*
* Check that the resulting registers are actually sane.
*/
/*
* Check that the resulting registers are actually sane.
*/
- ret |= !valid_user_regs(®s->user_regs);
+ ret |= !valid_user_regs(®s->user_regs
, current
);
/*
* Fast forward the stepping logic so we step into the signal
/*
* Fast forward the stepping logic so we step into the signal