xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] Add build-id to XENVER hypercall.
@ 2015-10-09  2:56 Konrad Rzeszutek Wilk
  2015-10-09  2:56 ` [PATCH v1 1/4] xsm/libxl/xen_version: Add XSM for some of the xen_version commands Konrad Rzeszutek Wilk
                   ` (4 more replies)
  0 siblings, 5 replies; 40+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-10-09  2:56 UTC (permalink / raw)
  To: ian.campbell, xen-devel, wei.liu2, ian.jackson, jbeulich,
	andrew.cooper3, mpohlack, dgdegra

Hey,

Attached are the four patches that will add XENVER_build_id and
add the proper bits in libxl/libxc.

However they also change the behavior of the existing hypercall
for XENVER_[compile_info|changeset|commandline] and make them
dom0 accessible. This is if XSM is built in or not (though with
XSM one can expose it to a guest if desired).

Please take a look and provide your feedback at your leisure.

Note:
 * Hadn't tried compiling it on ARM cross compiler lately. In
   the past I had to #ifdef CONFIG_ARM as the ARM code did not
   use any ELF code so none of the ELF parts made any sense.
 * The EFI build works kindof. It is missing an build_id.o stanza.


 tools/flask/policy/policy/modules/xen/xen.te |  3 +-
 tools/libxc/include/xenctrl.h                |  2 ++
 tools/libxc/xc_private.c                     | 37 ++++++++++++-----------
 tools/libxc/xc_private.h                     |  4 ++-
 tools/libxl/libxl.c                          | 20 ++++++++++++
 tools/libxl/libxl_types.idl                  |  1 +
 tools/libxl/xl_cmdimpl.c                     |  1 +
 xen/arch/arm/traps.c                         |  2 +-
 xen/arch/x86/Makefile                        | 11 +++----
 xen/arch/x86/xen.lds.S                       |  6 ++++
 xen/common/kernel.c                          | 44 ++++++++++++++++++++++++++--
 xen/common/version.c                         | 37 +++++++++++++++++++++++
 xen/include/public/version.h                 |  9 +++++-
 xen/include/xen/hypercall.h                  |  6 ++--
 xen/include/xen/version.h                    |  1 +
 xen/include/xsm/dummy.h                      | 25 ++++++++++++++++
 xen/include/xsm/xsm.h                        |  6 ++++
 xen/xsm/dummy.c                              |  1 +
 xen/xsm/flask/hooks.c                        | 28 ++++++++++++++++++
 xen/xsm/flask/policy/access_vectors          |  4 +++
 20 files changed, 217 insertions(+), 30 deletions(-)

Konrad Rzeszutek Wilk (3):
      xsm/libxl/xen_version: Add XSM for some of the xen_version commands.
      xen-version: Add third parameter (len) to the do_version hypercall.
      libxl: info: Display build_id of the hypervisor.

Martin Pohlack (1):
      XENVER_build_id: Provide ld-embedded build-ids

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2016-01-06 18:07 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09  2:56 [PATCH v1] Add build-id to XENVER hypercall Konrad Rzeszutek Wilk
2015-10-09  2:56 ` [PATCH v1 1/4] xsm/libxl/xen_version: Add XSM for some of the xen_version commands Konrad Rzeszutek Wilk
2015-10-09  9:31   ` Ian Campbell
2015-10-30 10:24     ` Martin Pohlack
2015-10-09 12:20   ` Andrew Cooper
2015-10-30 10:24   ` Martin Pohlack
2015-10-09  2:56 ` [PATCH v1 2/4] xen-version: Add third parameter (len) to the do_version hypercall Konrad Rzeszutek Wilk
2015-10-09  8:25   ` Jan Beulich
2015-10-09 12:29     ` Andrew Cooper
2015-10-09 12:46       ` Ian Campbell
2015-10-09 12:58         ` Andrew Cooper
2015-10-09 14:38         ` Jan Beulich
2015-10-09 14:48           ` Ian Campbell
2015-10-28 17:55           ` Konrad Rzeszutek Wilk
2015-10-28 18:34             ` Andrew Cooper
2015-10-28 18:58               ` Konrad Rzeszutek Wilk
2015-10-29  9:06               ` Jan Beulich
2015-10-09  2:56 ` [PATCH v1 3/4] XENVER_build_id: Provide ld-embedded build-ids Konrad Rzeszutek Wilk
2015-10-09  9:35   ` Ian Campbell
2015-10-09 11:40   ` Martin Pohlack
2015-10-09 12:47   ` Andrew Cooper
2015-10-09 15:18   ` Jan Beulich
2016-01-06 18:07     ` Konrad Rzeszutek Wilk
2015-10-09  2:56 ` [PATCH v1 4/4] libxl: info: Display build_id of the hypervisor Konrad Rzeszutek Wilk
2015-10-09  9:36   ` Ian Campbell
2015-10-09 12:59   ` Andrew Cooper
2015-10-09 13:06     ` Ian Campbell
2015-10-09 13:11       ` Andrew Cooper
2015-10-09 13:14       ` Ian Campbell
2015-10-09 13:16   ` Ian Campbell
2015-10-09  8:17 ` [PATCH v1] Add build-id to XENVER hypercall Jan Beulich
2015-10-09 12:15   ` Andrew Cooper
2015-10-09 13:25     ` Konrad Rzeszutek Wilk
2015-10-09 15:14       ` Jan Beulich
2015-10-28 15:42         ` Konrad Rzeszutek Wilk
2015-10-28 19:00           ` Konrad Rzeszutek Wilk
2015-10-29  8:55             ` Jan Beulich
2015-10-29 19:47               ` Konrad Rzeszutek Wilk
2015-10-30  8:11                 ` Jan Beulich
2015-10-09 14:32     ` Jan Beulich

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).