From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hopwood Subject: Re: [patches] shype for xen / patches Date: Thu, 31 Mar 2005 18:36:46 +0100 Message-ID: <424C352E.5010604@blueyonder.co.uk> References: Reply-To: david.nospam.hopwood@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Reiner Sailer wrote: > Comments/feedback related to these patches are very welcome. +++ xeno-unstable.bk/tools/policy/policy_tool.c 2005-03-29 ... +int acm_domain_set_chwallpolicy(void *bufstart, int buflen) { +#define CWALL_MAX_SSIDREFS 5 +#define CWALL_MAX_TYPES 10 +#define CWALL_MAX_CONFLICTSETS 2 +int acm_domain_set_stepolicy(void *bufstart, int buflen) { +#define STE_MAX_SSIDREFS 5 +#define STE_MAX_TYPES 5 +++ xeno-unstable.bk/tools/python/xen/lowlevel/xc/xc.c 2005-03-29 ... + u32 ssidref=5; +++ xeno-unstable.bk/tools/python/xen/xm/create.py 2005-03-29 ... +gopts.var('ssidref', val='SSIDREF', + fn=set_int, default=05, + use="Security Identifier.") What are all these magic numbers (5, 10, etc.)? -- David Hopwood