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

Re: [libvirt] [PATCH] Add documentation for access control system



On 08/09/2013 09:51 AM, Daniel P. Berrange wrote:

>>
>> This function has no return statement when the initial 'if' is not
>> satisfied; is that valid?
> 
> Yeah, it will just carry on with other polkit rules that are defined
> in other files, eventually fallback back to the default policy
> defined for the action.

Ah, a tri-state sort of thing - explicit return yes to end the search
with permission granted, explicit return no to end the search with
permission denied, and no return to fall through to any other checkers.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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