3 ms·
Polkit recently added Duktape as an alternative to mozjs as a scripting engine for policy rules: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/9
by nyanpasu64 4y ago
Polkit recently added Duktape as an alternative to mozjs as a scripting engine for policy rules: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/97 https://gitlab.freedesktop.org/polkit/polkit/-/merge_request...
It's scary to think that Poettering's Linux desktop is built around SpiderMonkey serving as the gatekeeper between users and root.
- intrepidhero 4y agoI saw that recently and it gave me pause. An entire scripting engine (and JS of all things?) For permission queries. That's a lot of rope for hanging yourself in a variety of ways when all you're doing is encoding a two dimensional table of users and permissions. Fortunately Debian's conservatism has kept them on policykit, which avoids this nonsense.