Re: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl

From: Andi Kleen
Date: Tue Jan 06 2015 - 16:23:03 EST


> Given that it doesn't seen to have been committed yet, I'm not too
> worried about compatibility. And "prctl (43)" doesn't actually seem a
> whole lot better than "syscall(SYS_arch_prctl, ARCH_ENABLE_MPX, 0)"

This would actually fail with the EINVAL change you requested.

> (preprocessor macros ftw!). But I don't feel that strongly about this
> point.

-Andi
--
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/