|
From: | Paul Durrant |
Subject: | Re: [PATCH v2 3/6] xen: xenstore: add possibility to preserve owner |
Date: | Wed, 22 Nov 2023 17:07:27 +0000 |
User-agent: | Mozilla Thunderbird |
On 21/11/2023 22:10, Volodymyr Babchuk wrote:
Add option to preserve owner when creating an entry in Xen Store. This may be needed in cases when Qemu is working as device model in a
*may* be needed?I don't undertstand why this patch is necessary and the commit comment isn't really helping me.
domain that is Domain-0, e.g. in driver domain. "owner" parameter for qemu_xen_xs_create() function can have special value XS_PRESERVE_OWNER, which will make specific implementation to get original owner of an entry and pass it back to set_permissions() call. Please note, that XenStore inherits permissions, so even if entry is newly created by, it already has the owner set to match owner of entry at previous level. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
[Prev in Thread] | Current Thread | [Next in Thread] |