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

Re: [PATCH] Fail XS_DIRECTORY for paths with no children



On Wed, Jan 06, 2021 at 04:17:50PM +0000, Owen Smith wrote:
> When a xenstore path has no children, a response is generated which
> contians only the double null terminator. Detect a 0-length response
> payload and return STATUS_OBJECT_PATH_NOT_FOUND to indicate that this
> path does not have any children

Is it really the right thing to do? I think it may confuse empty
directory with non-existing directory. But I may be missing some context
here.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature


 


Rackspace

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