[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH] qom: enforce readonly nature of link's check call
From: |
Fam Zheng |
Subject: |
Re: [Qemu-arm] [PATCH] qom: enforce readonly nature of link's check callback |
Date: |
Fri, 30 Jun 2017 22:21:53 +0800 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Fri, 06/30 12:41, Paolo Bonzini wrote:
>
>
> On 29/06/2017 13:14, Igor Mammedov wrote:
> > link's check callback is supposed to verify/permit setting it,
> > however currently nothing restricts it from misusing it
> > and modifying target object from within.
> > Make sure that readonly semantics are checked by compiler
> > to prevent callback's misuse.
> >
> > Signed-off-by: Igor Mammedov <address@hidden>
> > ---
> > Fam,
> > it probably conflicts with yours DEFINE_PROP_LINK series,
> > feel free to include this patch if you'll have to respin
>
> Since there will be a respin, I'm _not_ queuing this patch.
I am going to include this in my next version of DEFINE_PROP_LINK series.
Fam