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] [PATCH] 1 of 2: default ssid to 0

To: aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] 1 of 2: default ssid to 0
From: Reiner Sailer <sailer@xxxxxxxxxx>
Date: Sat, 25 Jun 2005 23:20:07 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Stefan Berger <stefanb@xxxxxxxxxx>
Delivery-date: Sun, 26 Jun 2005 03:19:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Message: 7
> Date: Sat, 25 Jun 2005 20:39:20 -0500
> From: aq <aquynh@xxxxxxxxx>
> Subject: Re: [Xen-devel] [PATCH] 1 of 2: default ssid to 0
> To: Stefan Berger <stefanb@xxxxxxxxxx>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Message-ID: <9cde8bff05062518394eab73cb@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 6/25/05, Stefan Berger <stefanb@xxxxxxxxxx> wrote:
> > Hello!
> > 
> > Attached is the patch that changes the default ssid from 0xffffffff to 
0
> > as discussed in previous emails.
> > 
> > Signed-off-by: Reiner Sailer <sailer@xxxxxxxxxx>
> > Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
> > 
> >    Stefan
> > 
> 
> 
> 
> +     for(j=0; j<= CWALL_MAX_SSIDREFS; j++)
> +         if ((0 < j) &&( j <= CWALL_MAX_TYPES))
> +             ssidrefs[j*CWALL_MAX_TYPES + j - 1] = htons(1);
> +
> 
> why dont you run the loop from j=1?


because row j=0 is the new default ssid and has no types set.
We start with row j=1 and set the "diagonal" types to one.


> regards,
> aq

Thanks
Reiner

__________________________________________________________
Reiner Sailer, Research Staff Member, Secure Systems Department
IBM T J Watson Research Ctr, 19 Skyline Drive, Hawthorne NY 10532
Phone: 914 784 6280  (t/l 863)  Fax: 914 784 6205, sailer@xxxxxxxxxx 
http://www.research.ibm.com/people/s/sailer/

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