Messages in this thread | | | From | "Ren, Qiaowei" <> | Subject | RE: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER | Date | Thu, 18 Sep 2014 02:37:50 +0000 |
| |
On 2014-09-18, Kevin Easton wrote: > On Thu, Sep 18, 2014 at 12:40:29AM +0000, Ren, Qiaowei wrote: >>> Would it be prudent to use an error code other than EINVAL for the >>> "hardware doesn't support it" case? >>> >> Seems like no specific error code for this case. > > ENXIO would probably be OK. It's not too important as long as it's > documented. > Yes. Looks like that ENXIO will be better.
Thanks, Qiaowei
| |