xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] Merge IS_PRIV checks into XSM hooks
@ 2012-11-30 15:36 Daniel De Graaf
  2012-11-30 15:36 ` [PATCH 01/23] libxl: introduce XSM relabel on build Daniel De Graaf
                   ` (22 more replies)
  0 siblings, 23 replies; 27+ messages in thread
From: Daniel De Graaf @ 2012-11-30 15:36 UTC (permalink / raw)
  To: xen-devel

Changes from v5:
 * Add a few comments/docs
 * Remove CPP hackery so ctags can find dummy XSM hook implementations
 * Clean up XSM hooks that are redundant after the introduction of the
   generic domctl, sysctl, and platform_hypercall sub-operation hooks.
 * Add a parameter of type enum xsm_default to XSM hook invocations to
   document the default action of an XSM hook at the call site.

Changes from v4:
 * Removed patches that have been applied
 * Rename __do_xsm_op to do_xsm_op
 * Rebased on current xen-unstable
 * Policy headers moved under hypervisor

Changes from v3:
 * Moved x86-specific sysctls inside #ifdef CONFIG_X86
 * Removed pt_domain parameter from mmu_update hook when unused
 * Renamed xsm___do_xsm_op to xsm_do_xsm_op
 * Added struct domain* argument to arch_do_domctl
 * Cleaned up mem_event code duplication

Changes from v2:
 * Added overall hooks for domctl, sysctl, and platform_hypercall so
   that new sub-operations are protected by IS_PRIV checks
 * Reorganized the IS_PRIV additions to dummy.h so they are added in the
   same patch that removes the IS_PRIV they are replacing
 * Reworked hooks in the MM hotpath to increase efficiency
 * Dropped some unneeded XSM hook additions due to do_domctl hook
 * Dropped the rcu_lock*target_domain_by_id function removal patch
 * Restore IS_PRIV check in PHYSDEVOP_alloc_irq_vector
 * Use the existing hook function structure for tmem


Toolstack updates:
    [PATCH 01/23] libxl: introduce XSM relabel on build

Miscellaneous updates to FLASK:
    [PATCH 02/23] flask/policy: Add domain relabel example
    [PATCH 04/23] xsm/flask: Add checks on the domain performing the
    [PATCH 13/23] xsm/flask: add distinct SIDs for self/target access
    [PATCH 19/23] flask: move policy headers into hypervisor
    [PATCH 23/23] xen/xsm: Add xsm_default parameter to XSM hooks

IS_PRIV removal:
    [PATCH 05/23] xsm: Use the dummy XSM module if XSM is disabled
    [PATCH 06/23] xen: use XSM instead of IS_PRIV where duplicated
    [PATCH 07/23] xen: avoid calling rcu_lock_*target_domain when an XSM
    [PATCH 08/23] arch/x86: convert platform_hypercall to use XSM
    [PATCH 10/23] xen: convert do_domctl to use XSM
    [PATCH 11/23] xen: convert do_sysctl to use XSM

Refactoring not directly related to IS_PRIV:
    [PATCH 09/23] xen: lock target domain in do_domctl common code
    [PATCH 18/23] xen/arch/*: add struct domain parameter to arch_do_domctl

New or updated XSM hooks:
    [PATCH 03/23] arch/x86: add distinct XSM hooks for map/unmap
    [PATCH 12/23] xsm/flask: add missing hooks
    [PATCH 14/23] arch/x86: Add missing mem_sharing XSM hooks
    [PATCH 15/23] arch/x86: use XSM hooks for get_pg_owner access checks
    [PATCH 16/23] xen: Add XSM hook for XENMEM_exchange
    [PATCH 17/23] tmem: add XSM hooks

Deletion of now-redundant XSM hooks:
    [PATCH 20/23] xen: domctl XSM hook removal
    [PATCH 21/23] xen: sysctl XSM hook removal
    [PATCH 22/23] xen: platform_hypercall XSM hook removal

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

end of thread, other threads:[~2012-12-06  9:51 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 15:36 [PATCH v6] Merge IS_PRIV checks into XSM hooks Daniel De Graaf
2012-11-30 15:36 ` [PATCH 01/23] libxl: introduce XSM relabel on build Daniel De Graaf
2012-11-30 15:36 ` [PATCH 02/23] flask/policy: Add domain relabel example Daniel De Graaf
2012-11-30 15:36 ` [PATCH 03/23] arch/x86: add distinct XSM hooks for map/unmap Daniel De Graaf
2012-11-30 15:36 ` [PATCH 04/23] xsm/flask: Add checks on the domain performing the set_target operation Daniel De Graaf
2012-11-30 15:36 ` [PATCH 05/23] xsm: Use the dummy XSM module if XSM is disabled Daniel De Graaf
2012-11-30 15:36 ` [PATCH 06/23] xen: use XSM instead of IS_PRIV where duplicated Daniel De Graaf
2012-11-30 15:36 ` [PATCH 07/23] xen: avoid calling rcu_lock_*target_domain when an XSM hook exists Daniel De Graaf
2012-11-30 15:36 ` [PATCH 08/23] arch/x86: convert platform_hypercall to use XSM Daniel De Graaf
2012-11-30 15:36 ` [PATCH 09/23] xen: lock target domain in do_domctl common code Daniel De Graaf
2012-11-30 15:36 ` [PATCH 10/23] xen: convert do_domctl to use XSM Daniel De Graaf
2012-11-30 15:36 ` [PATCH 11/23] xen: convert do_sysctl " Daniel De Graaf
2012-11-30 15:36 ` [PATCH 12/23] xsm/flask: add missing hooks Daniel De Graaf
2012-11-30 15:37 ` [PATCH 13/23] xsm/flask: add distinct SIDs for self/target access Daniel De Graaf
2012-11-30 15:37 ` [PATCH 14/23] arch/x86: Add missing mem_sharing XSM hooks Daniel De Graaf
2012-11-30 15:37 ` [PATCH 15/23] arch/x86: use XSM hooks for get_pg_owner access checks Daniel De Graaf
2012-12-06  9:51   ` Tim Deegan
2012-11-30 15:37 ` [PATCH 16/23] xen: Add XSM hook for XENMEM_exchange Daniel De Graaf
2012-11-30 15:37 ` [PATCH 17/23] tmem: add XSM hooks Daniel De Graaf
2012-11-30 15:37 ` [PATCH 18/23] xen/arch/*: add struct domain parameter to arch_do_domctl Daniel De Graaf
2012-12-06  9:51   ` Tim Deegan
2012-11-30 15:37 ` [PATCH 19/23] flask: move policy headers into hypervisor Daniel De Graaf
2012-11-30 15:37 ` [PATCH 20/23] xen: domctl XSM hook removal Daniel De Graaf
2012-11-30 15:37 ` [PATCH 21/23] xen: sysctl " Daniel De Graaf
2012-11-30 15:37 ` [PATCH 22/23] xen: platform_hypercall " Daniel De Graaf
2012-11-30 15:37 ` [PATCH 23/23] xen/xsm: Add xsm_default parameter to XSM hooks Daniel De Graaf
2012-12-06  9:51   ` Tim Deegan

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