All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] Add build-id to XENVER hypercall.
@ 2016-01-08  2:25 Konrad Rzeszutek Wilk
  2016-01-08  2:25 ` [PATCH v3 1/3] xsm/xen_version: Add XSM for the xen_version hypercall (v6) Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-01-08  2:25 UTC (permalink / raw)
  To: JBeulich, andrew.cooper3, ian.campbell, wei.liu2, ian.jackson,
	xen-devel, dgdegra, konrad, mpohlack

Since v2 (http://lists.xen.org/archives/html/xen-devel/2015-11/msg00630.html)
 - Made it work under ARM (build_id is part of the hypervisor).
 - Only made two sub-ops be 'priv' - commandline and build_id.
 - Applied all review comments.
 - Autodetect whether ld is able to use --build-id

v1 (http://lists.xen.org/archives/html/xen-devel/2015-10/msg01090.html)
 - Made it work on EFI
 - Compiles on ARM
 - Redid it per comments.

Attached are the three 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_commandline - to return the string '<denied>' for non-priv
guests. This is with XSM enabled or disabled.

The new sub-op - XENVER_build_id on the other hand will return
-EPERM (XSM or not) for !priv guests.

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

The patches are also at my git tree:

git://xenbits.xen.org/people/konradwilk/xen.git xenver.v3


 Config.mk                                    | 11 +++++++
 tools/flask/policy/policy/modules/xen/xen.te |  4 +++
 tools/libxc/xc_private.c                     |  7 ++++
 tools/libxc/xc_private.h                     | 10 ++++++
 tools/libxl/libxl.c                          | 24 ++++++++++++++
 tools/libxl/libxl.h                          |  5 +++
 tools/libxl/libxl_types.idl                  |  1 +
 tools/libxl/xl_cmdimpl.c                     |  1 +
 xen/arch/arm/Makefile                        |  6 ++--
 xen/arch/arm/xen.lds.S                       |  6 ++++
 xen/arch/x86/Makefile                        | 16 +++++++---
 xen/arch/x86/xen.lds.S                       |  6 ++++
 xen/common/kernel.c                          | 48 ++++++++++++++++++++++++++--
 xen/common/version.c                         | 47 +++++++++++++++++++++++++++
 xen/include/asm-arm/config.h                 |  2 ++
 xen/include/public/version.h                 | 16 +++++++++-
 xen/include/xen/version.h                    |  2 ++
 xen/include/xsm/dummy.h                      | 21 ++++++++++++
 xen/include/xsm/xsm.h                        |  5 +++
 xen/xsm/dummy.c                              |  1 +
 xen/xsm/flask/hooks.c                        | 24 ++++++++++++++
 xen/xsm/flask/policy/access_vectors          |  2 ++
 22 files changed, 254 insertions(+), 11 deletions(-)


Konrad Rzeszutek Wilk (3):
      xsm/xen_version: Add XSM for the xen_version hypercall (v6).
      XENVER_build_id: Provide ld-embedded build-ids (v8)
      libxl: info: Display build_id of the hypervisor.

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

end of thread, other threads:[~2016-02-17 11:37 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-08  2:25 [PATCH v3] Add build-id to XENVER hypercall Konrad Rzeszutek Wilk
2016-01-08  2:25 ` [PATCH v3 1/3] xsm/xen_version: Add XSM for the xen_version hypercall (v6) Konrad Rzeszutek Wilk
2016-01-08 17:57   ` Daniel De Graaf
2016-01-12 16:08   ` Jan Beulich
2016-01-08  2:25 ` [PATCH v3 2/3] XENVER_build_id: Provide ld-embedded build-ids (v8) Konrad Rzeszutek Wilk
2016-01-12 16:25   ` Jan Beulich
2016-01-12 16:43     ` Konrad Rzeszutek Wilk
2016-01-12 17:00       ` Jan Beulich
2016-01-14  2:02         ` Konrad Rzeszutek Wilk
2016-01-14  8:58           ` Jan Beulich
2016-01-14  9:07             ` Martin Pohlack
2016-01-14  9:14               ` Jan Beulich
2016-01-25 15:16         ` Konrad Rzeszutek Wilk
2016-01-25 16:10           ` Jan Beulich
2016-01-15 21:49     ` Konrad Rzeszutek Wilk
2016-01-18  8:51       ` Jan Beulich
2016-01-19 16:05         ` Konrad Rzeszutek Wilk
2016-01-19 16:36           ` Jan Beulich
2016-01-19 16:47             ` Konrad Rzeszutek Wilk
2016-02-17 11:37   ` Ian Jackson
2016-01-08  2:25 ` [PATCH v3 3/3] libxl: info: Display build_id of the hypervisor Konrad Rzeszutek Wilk
2016-01-11 14:12   ` Wei Liu
2016-01-14  2:58     ` Konrad Rzeszutek Wilk

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.