On Mon, Dec 22, 2014 at 12:21 PM, Dave Hansen <d...@sr71.net> wrote: > On 12/22/2014 12:17 PM, Andy Lutomirski wrote: >>> > /* >>> > + * 32-bit binaries on 64-bit kernels are currently >>> > + * unsupported. >>> > + */ >>> > + if (IS_ENABLED(CONFIG_X86_64) && test_thread_flag(TIF_IA32)) >>> > + return MPX_INVALID_BOUNDS_DIR; >> Should this check mm->ia32_compat instead? > > set_personality_64bit/ia32() seem to make that and TIF_IA32 awfully > equivalent. Is there a specific reason for wanting it done this way?
My general desire to remove various bogus TIF_IA32 references. But this is only temporary, so I don't really care. --Andy -- Andy Lutomirski AMA Capital Management, LLC -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/