From: Wei Liu <wei.liu2@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
philippe.gabriel@citrix.com, Jan Beulich <jbeulich@suse.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v4 1/2] gcov: add new interface and new formats support
Date: Thu, 13 Oct 2016 14:43:13 +0100 [thread overview]
Message-ID: <20161013134313.GK3687@citrix.com> (raw)
In-Reply-To: <20161013133845.GH4802@x230.dumpdata.com>
On Thu, Oct 13, 2016 at 09:38:45AM -0400, Konrad Rzeszutek Wilk wrote:
> > diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c
> > index 93f107c..2f64bb5 100644
> > --- a/xen/common/sysctl.c
> > +++ b/xen/common/sysctl.c
> > @@ -28,6 +28,7 @@
> > #include <xsm/xsm.h>
> > #include <xen/pmstat.h>
> > #include <xen/livepatch.h>
> > +#include <xen/gcov.h>
> >
> > long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl)
> > {
> > @@ -395,6 +396,13 @@ long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl)
> > }
> > break;
> >
> > +#ifdef CONFIG_GCOV
> > + case XEN_SYSCTL_gcov_op:
> > + ret = sysctl_gcov_op(&op->u.gcov_op);
> > + copyback = 1;
> > + break;
> > +#endif
>
> Should there be an XSM entry in flask_sysctl for this?
> And also in flask/policy/access_vectors
>
> And in tools/flask/policy/policy.conf
>
> Maybe that should be a seperate patch?
Yes. That's planned. Didn't want to cram in too much stuff in one single
patch.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-10-13 13:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 12:04 [PATCH v4 0/2] Rework gcov support in Xen Wei Liu
2016-10-13 12:04 ` [PATCH v4 1/2] gcov: add new interface and new formats support Wei Liu
2016-10-13 13:05 ` Jan Beulich
2016-10-13 13:19 ` Wei Liu
2016-10-13 13:38 ` Konrad Rzeszutek Wilk
2016-10-13 13:43 ` Wei Liu [this message]
2016-10-13 12:04 ` [PATCH v4 2/2] gcov: provide the capability to select gcov format automatically Wei Liu
2016-10-13 13:05 ` Jan Beulich
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=20161013134313.GK3687@citrix.com \
--to=wei.liu2@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=philippe.gabriel@citrix.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.