Re: [PSEUDOPATCH] rename is_compat_task

From: Al Viro
Date: Tue Dec 08 2015 - 00:15:16 EST


On Tue, Dec 08, 2015 at 06:01:48AM +0100, Ingo Molnar wrote:

> Hm, so if Sparc has no notion of compat-ness of the system call then how does it
> implement runtime compat checks, such as AUDIT_ARCH et al?

Badly. Things like compat_sys_ioctl() vs. ioctl() work (we use different
arrays of function pointers in 32bit and 64bit traps), but anything
dynamic assumes that things match the task. Not that we had a lot of
such dynamic checks, actually...
--
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/