aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJohn David Anglin <[email protected]>2013-10-05 14:55:36 +0000
committerHelge Deller <[email protected]>2013-10-13 15:45:40 +0000
commit2d8b22de6e5241a6f27f7f290f027223156a7d3f (patch)
tree6d81d56b2cae2f2b50acd1210222d036fddd22ae /security/selinux/hooks.c
parentparisc: fix interruption handler to respect pagefault_disable() (diff)
downloadkernel-2d8b22de6e5241a6f27f7f290f027223156a7d3f.tar.gz
kernel-2d8b22de6e5241a6f27f7f290f027223156a7d3f.zip
parisc: optimize variable initialization in do_page_fault
The attached change defers the initialization of the variables tsk, mm and flags until they are needed. As a result, the code won't crash if a kernel probe is done with a corrupt context and the code will be better optimized. Signed-off-by: John David Anglin <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions