[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xense-devel
Subject:    Re: [Xen-devel] Re: [Xense-devel]
From:       Stefan Berger <stefanb () us ! ibm ! com>
Date:       2007-09-28 15:20:58
Message-ID: OFA7009EC8.389D5FE0-ON85257364.00543361-85257364.00544C2A () us ! ibm ! com
[Download RAW message or body]

This is a multipart message in MIME format.

This is a multipart message in MIME format.
--=_alternative 00544C2685257364_=
Content-Type: text/plain; charset="US-ASCII"

[...]
> > > > 
> 
> Ok, but then the null dereference issue still exists within the context
> of XSM.  The options are:
> 
> 1) Follow acm_free_domain_ssid(d->ssid) with d->ssid = NULL
> (I've tested this and it maintains the desired policy state:
> 
> Confict Sets:
> 
>    c-set 0:    00 01 00 01
> 
> Running
> Types:         01 01 00 00
> 
> Conflict
> Aggregate Set: 00 00 00 01
> 
> but seems less attractive from a coding style perspective)
> 
> or 
> 
> 2) Chance acm_free_domain_ssid to pass d instead of ssid and ensure that
> d->ssid = NULL in acm_free_domain_ssid.

Sounds like this is cleaner and so I opt for this choice.

   Stefan

> 
> George

--=_alternative 00544C2685257364_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>[...]<br>
&gt; &gt; &gt; &gt; <br>
&gt; <br>
&gt; Ok, but then the null dereference issue still exists within the context<br>
&gt; of XSM. &nbsp;The options are:<br>
&gt; <br>
&gt; 1) Follow acm_free_domain_ssid(d-&gt;ssid) with d-&gt;ssid = NULL<br>
&gt; (I've tested this and it maintains the desired policy state:<br>
&gt; <br>
&gt; Confict Sets:<br>
&gt; <br>
&gt; &nbsp; &nbsp;c-set 0: &nbsp; &nbsp;00 01 00 01<br>
&gt; <br>
&gt; Running<br>
&gt; Types: &nbsp; &nbsp; &nbsp; &nbsp; 01 01 00 00<br>
&gt; <br>
&gt; Conflict<br>
&gt; Aggregate Set: 00 00 00 01<br>
&gt; <br>
&gt; but seems less attractive from a coding style perspective)<br>
&gt; <br>
&gt; or <br>
&gt; <br>
&gt; 2) Chance acm_free_domain_ssid to pass d instead of ssid and ensure
that<br>
&gt; d-&gt;ssid = NULL in acm_free_domain_ssid.</font></tt>
<br>
<br><tt><font size=2>Sounds like this is cleaner and so I opt for this
choice.</font></tt>
<br>
<br><tt><font size=2>&nbsp; &nbsp;Stefan</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; George<br>
</font></tt>
--=_alternative 00544C2685257364_=--



_______________________________________________
Xense-devel mailing list
Xense-devel@lists.xensource.com
http://lists.xensource.com/xense-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic