On 04.12.2024 11:17, Teddy Astie wrote:
> On XEN_DOMCTL_create_domain, we need to pass the ssidref parameter to 
> xsm_domctl,
> currently, it is always passed regardless of what command we actually do 
> (meaning
> that we are likely to pass garbage in !XEN_DOMCTL_create_domain).
> 
> Pass ssidref from u.createdomain only for create_domain command, 0 otherwise.
> No functionnal change as ssidref parameter is ignored for 
> non-XEN_DOMCTL_create_domain
> commands.

And then why is this change being made?

> Fixes: ee32b9b29af449d38aad0a1b3a81aaae586f5ea7 ("XSM/domctl: Fix permission 
> checks on XEN_DOMCTL_createdomain")

Please limit the hash to 12 digits.

Jan

Reply via email to