xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Paul Durrant <Paul.Durrant@citrix.com>
To: Paul Durrant <Paul.Durrant@citrix.com>,
	Andrew Cooper <Andrew.Cooper3@citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: Ian Jackson <Ian.Jackson@citrix.com>,
	Julien Grall <julien.grall@arm.com>,
	Wei Liu <wei.liu2@citrix.com>
Subject: Re: [PATCH] tools/libxenforeignmemory: add a call to restrict the handle
Date: Mon, 27 Mar 2017 08:06:20 +0000	[thread overview]
Message-ID: <5c4991448c9d4dad8fcb22e5dcb9235a@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <0dec744ef8124590a0d7ca8a8ee57104@AMSPEX02CL03.citrite.net>

> -----Original Message-----
> From: Xen-devel [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of
> Paul Durrant
> Sent: 24 March 2017 20:24
> To: Andrew Cooper <Andrew.Cooper3@citrix.com>; xen-
> devel@lists.xenproject.org
> Cc: Ian Jackson <Ian.Jackson@citrix.com>; Julien Grall
> <julien.grall@arm.com>; Wei Liu <wei.liu2@citrix.com>
> Subject: Re: [Xen-devel] [PATCH] tools/libxenforeignmemory: add a call to
> restrict the handle
> 
> > -----Original Message-----
> > From: Andrew Cooper
> > Sent: 24 March 2017 20:10
> > To: Paul Durrant <Paul.Durrant@citrix.com>; xen-
> devel@lists.xenproject.org
> > Cc: Wei Liu <wei.liu2@citrix.com>; Ian Jackson <Ian.Jackson@citrix.com>;
> > Julien Grall <julien.grall@arm.com>
> > Subject: Re: [Xen-devel] [PATCH] tools/libxenforeignmemory: add a call to
> > restrict the handle
> >
> > On 22/03/17 11:25, Paul Durrant wrote:
> > > diff --git a/tools/libs/foreignmemory/libxenforeignmemory.map
> > b/tools/libs/foreignmemory/libxenforeignmemory.map
> > > index df206b3..5c9806c 100644
> > > --- a/tools/libs/foreignmemory/libxenforeignmemory.map
> > > +++ b/tools/libs/foreignmemory/libxenforeignmemory.map
> > > @@ -4,5 +4,6 @@ VERS_1.0 {
> > >  		xenforeignmemory_close;
> > >  		xenforeignmemory_map;
> > >  		xenforeignmemory_unmap;
> > > +		xenforeignmemory_restrict;
> > >  	local: *; /* Do not expose anything by default */
> > >  };
> >
> > This isn't correct.
> >
> > New functions like this need to bump at least the SO minor version, like
> > c/s f1446de4ba
> >
> 
> Sorry, yes, I forgot these libraries are supposed to be stable now.
> 
> > Fixing this is a blocker to releasing 4.9
> >
> 
> I'll submit a patch on Monday.

Actually, on second thoughts, do we want to bump the version for all changes or just incompatible ones? I added a call here so it shouldn't break any older application compiling against this library.

  Paul

> 
> > Also, we should really get automatic ABI checking built into the release
> > process, to prevent mistakes like this from happening accidentally.
> >
> 
> Yes, definitely.
> 
>   Paul
> 
> > ~Andrew
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-03-27  8:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22 11:25 [PATCH] tools/libxenforeignmemory: add a call to restrict the handle Paul Durrant
2017-03-24 11:40 ` Wei Liu
2017-03-24 20:10 ` Andrew Cooper
2017-03-24 20:24   ` Paul Durrant
2017-03-27  8:06     ` Paul Durrant [this message]
2017-03-27  8:16       ` Andrew Cooper
2017-03-27  8:20         ` Paul Durrant
2017-03-27 18:03   ` Julien Grall
2017-03-27 22:54     ` Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c4991448c9d4dad8fcb22e5dcb9235a@AMSPEX02CL03.citrite.net \
    --to=paul.durrant@citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=julien.grall@arm.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).