[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] dom0_ops -EPERM not -EACCES?
> Message: 2
> Date: Thu, 24 Nov 2005 12:35:42 +1100
> From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Subject: [Xen-devel] [PATCH] dom0_ops -EPERM not -EACCES?
> To: xense-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Message-ID: <1132796142.25612.8.camel@xxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain
> Hi all,
> dom0_ops return -EACCES when the interface version in wrong. I think
> that an acm failure is closer to being non-priv'ed, which returns
> -EPERM. Wouldn't want dom0 tools to report they were the wrong version
> just because ACM limited some operation, surely?
yes, -EPERM is the better return value here.
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
Lists.xenproject.org is hosted with RackSpace, monitoring our