
9 Aug
2013
9 Aug
'13
11:56 a.m.
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