summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2009-12-07 12:51:42 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2009-12-07 12:51:33 +0100
commit61365e132ef987f7719af5d2e434db4465957637 (patch)
tree4814cc93c782f933e52cf8e7f5e8549f86358d3b /lib/nlattr.c
parentd40f7b75a23d1e59b6ec9d6701231fd4c6992ac6 (diff)
downloadop-kernel-dev-61365e132ef987f7719af5d2e434db4465957637.zip
op-kernel-dev-61365e132ef987f7719af5d2e434db4465957637.tar.gz
[S390] Improve address space check.
A data access in access-register mode always is a user mode access, the code to inspect the access-registers can be removed. The second change is to use a different test to check for no-execute fault. The third change is to pass the translation exception identification as parameter, in theory the trans_exc_code in the lowcore could have been overwritten by the time the call to check_space from do_no_context is done. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud