Re: [PATCH v3 3/4] x86, mpx: add prctl commands PR_MPX_INIT, PR_MPX_RELEASE

From: Ren Qiaowei
Date: Sun Jan 26 2014 - 21:22:32 EST


On 01/27/2014 10:10 AM, H. Peter Anvin wrote:
On 01/26/2014 05:55 PM, Ren Qiaowei wrote:

Peter, you mean we should remove these two call and do what they do in
user-space, right?


Unless we think there is a benefit to the kernel to have a on/off switch
for the #BR exception (if disabled, all #BR exceptions are signals,
regardless of source.)

There might be, would like other people's opinion.


These two syscalls are only used to release automaticlly the bound tables, and they will not set BNDSTATUS and BNDCFGU.

I want to remove them also. :) But if so, we have to release the bound tables in user-space.

Thanks,
Qiaowei
--
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/