WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [patches] shype for xen / patches

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [patches] shype for xen / patches
From: David Hopwood <david.nospam.hopwood@xxxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 18:36:46 +0100
Delivery-date: Thu, 31 Mar 2005 17:36:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF53972A8C.99940F6F-ON85256FD4.001D5283-85256FD4.001DA9A9@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <OF53972A8C.99940F6F-ON85256FD4.001D5283-85256FD4.001DA9A9@xxxxxxxxxx>
Reply-to: david.nospam.hopwood@xxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)
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 <david.nospam.hopwood@xxxxxxxxxxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>