Re: [PATCH] Generic is_compat_task helper

From: Paul Mackerras
Date: Fri Feb 17 2006 - 00:58:28 EST


Andrew Morton writes:

> What continues to bug me about this (in a high-level hand-wavy sort of way)
> is that this is an attribute of the mm_struct, not of the task_struct.

It's not only an attribute of the mm_struct; compat-ness doesn't just
imply a restricted address space, it implies a different setting of
the processor when the task is running, a different set of system
calls, different interpretation of syscall arguments, etc.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/