diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2013-05-27 16:19:55 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-05-28 15:18:05 +0200 |
commit | b56433cb782d1cc7e44fc46d2ce3917fa75d2236 (patch) | |
tree | 4ef2bf321a213f0c5ad70c2967a2c5b94a82a8a5 /samples | |
parent | arch: s390: appldata: using strncpy() and strnlen() instead of sprintf() (diff) | |
download | linux-b56433cb782d1cc7e44fc46d2ce3917fa75d2236.tar.xz linux-b56433cb782d1cc7e44fc46d2ce3917fa75d2236.zip |
s390/pgtable: Fix check for pgste/storage key handling
pte_present might return true on PAGE_TYPE_NONE, even if
the invalid bit is on. Modify the existing check of the
pgste functions to avoid crashes.
[ Martin Schwidefsky: added ptep_modify_prot_[start|commit] bits ]
Reported-by: Martin Schwidefky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: stable@vger.kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions