ctx64 is not initiated in sys32_io_setup
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Yanmin
Kernel 2.6.9-rc3-mm3 has a bug in function
sys32_io_setupin filearch/x86_64/ia32/sys_ia32.c. Local variable ctx64 is not initiated beforesys32_io_setupcallssys_io_setup. If ctx64 is not zero, andsys_io_setupwill return-EINVAL. Generic functioncompat_sys_io_setuphas not the bug.Here is the patch against 2.6.9-rc3-mm3. Just use
compat_sys_io_setupto replacesys32_io_setup.
Thanks merged (by hand because your patch was MIME damaged) Please put me in cc in future x86-64 patches, otherwise it's possible that I miss them.
-Andi