[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] 1 of 2: default ssid to 0



> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.