[PATCH v3 2/2] test: Add a test case to handle actions without explicit rules

2017-04-12 Thread Jeremy Linton
An implicit authorization parameter is provided to polkit_backend_js_authority_check_authorization_sync() for actions without corresponding explicit rules. Assure that is honored rather than simply being denied. Signed-off-by: Jeremy Linton --- test/polkitbackend/test-polkitbackendjsauthority.c

[PATCH v3 1/2] Move polkit to mozjs38

2017-04-12 Thread Jeremy Linton
Update polkit to use a more recent version of the mozjs library. This is falls into a few general categorizes. Further C macros have been replaced with C++ methods. Types which are native (bool) are now used, rather than mozjs specific ones (JS_Bool). Further most of the API's now require rooted h