[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 4/7] kconfig/gcov: rename to coverage



Wei Liu writes ("Re: [PATCH v3 4/7] kconfig/gcov: rename to coverage"):
> On Wed, Jan 24, 2018 at 11:27:22AM +0000, Ian Jackson wrote:
> > This hunk seems erroneous ?  Surely the name should be updated, but
> > the #ifdef should remain.
> 
> No the ifdef needs to go.
> 
> There is a new stub introduced in this patch.

Oh, hrm.  Yes, there is.  But why is this better ?

One reason for all this Kconfig stuff is to be able to disable unused
interfaces for security reasons.  That also means being able to easily
audit what interfaces are enabled, which is a lot simpler if you can
read the main switch statement for the relevant hypercall, than if you
have to go chasing off after definitions.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.