- socket-activated polkit-agent-helper can now run without SETUID (Luca Boccassi) - user id (UID) now accessible to JavaScript rules via subject.uid (Rosentti, Jan Rybar) - INI config file support for polkitd with configurable auth expiration timer (Luca Boccassi) - auth_keep: skip re-authentication if new process shares same UID/parent/cgroup/tty (Luca Boccassi) - CheckAuthorization now returns 'polkit.result' in the details dict (Luca Boccassi) - pkexec: set $SUDO_UID/$SUDO_GID for compatibility with sudo (Lennart Poettering) - pkexec: use realpath when comparing org.freedesktop.policykit.exec.path (Walter Doekes) - memory limits added to systemd unit to mitigate memory leaks (Alexander Meshcheryakov) - new translations: Bulgarian (twlvnn kraftwerk), Occitan (Mejans) - systemd-socket-activation.patch: upstream, removed - auth_keep.patch: upstream, removed - sudo_uid.patch: upstream, removed - added polkitd.conf.5 manpage, added polkitd.conf OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=207
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: polkit-127/src/polkitagent/polkitagentsession.c
|
|
===================================================================
|
|
--- polkit-127.orig/src/polkitagent/polkitagentsession.c
|
|
+++ polkit-127/src/polkitagent/polkitagentsession.c
|
|
@@ -640,7 +640,7 @@ polkit_agent_session_initiate (PolkitAge
|
|
|
|
if (session->child_stdout == -1)
|
|
{
|
|
- helper_argv[0] = PACKAGE_PREFIX "/lib/polkit-1/polkit-agent-helper-1";
|
|
+ helper_argv[0] = PACKAGE_PREFIX "/libexec/polkit-1/polkit-agent-helper-1";
|
|
helper_argv[1] = passwd->pw_name;
|
|
helper_argv[2] = NULL;
|
|
|
|
Index: polkit-127/meson.build
|
|
===================================================================
|
|
--- polkit-127.orig/meson.build
|
|
+++ polkit-127/meson.build
|
|
@@ -29,7 +29,7 @@ pk_sysconfdir = get_option('sysconfdir')
|
|
pk_pkgdatadir = pk_datadir / pk_api_name
|
|
pk_pkgincludedir = pk_includedir / pk_api_name
|
|
# note that this is always 'lib', not lib64 or lib/x86_64-linux-gnu
|
|
-pk_libprivdir = 'lib' / pk_api_name
|
|
+pk_libprivdir = 'libexec' / pk_api_name
|
|
pk_pkgsysconfdir = pk_sysconfdir / pk_api_name
|
|
|
|
pk_actiondir = pk_api_name / 'actions'
|