s390/kprobes: enable kretprobes framepointer verification
authorVasily Gorbik <gor@linux.ibm.com>
Sat, 5 Mar 2022 14:02:07 +0000 (15:02 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 27 Mar 2022 20:18:39 +0000 (22:18 +0200)
commit09bc20c8fb35cf1afed1612b287e9ddbe6a7d73c
tree99638e7ddc2b49eb882d7e2b9476e7c106efc1f3
parent0b452520477efbe4370cb747572c3c63c7cb3176
s390/kprobes: enable kretprobes framepointer verification

Use regs->gprs[15] for framepointer verification. This enables
additional sanity checks for nested kretprobes.

Reviewed-by: Tobias Huschle <huschle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/kprobes.c