Re: [PATCH] Add documentation for access control system

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]