-
Notifications
You must be signed in to change notification settings - Fork 0
Update polkit from 0.104 to 0.113+git_2919920+js38 and use systemd-logind #701
Merged
Commits on Apr 3, 2018
-
js: Add version 38.2.1 from BLFS
Description [1]: > JS is Mozilla's JavaScript engine written in C. ``` $ bee init -o js-38.2.1-0.bee http://anduin.linuxfromscratch.org/BLFS/mozjs/mozjs-38.2.1.rc0.tar.bz2 creating js-38.2.1-0.bee from template '/etc/default/bee/templates/fallback' ``` [1]: http://www.linuxfromscratch.org/blfs/view/stable-systemd/general/js38.html
Configuration menu - View commit details
-
Copy full SHA for fb82468 - Browse repository at this point
Copy the full SHA fb82468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e83dd9 - Browse repository at this point
Copy the full SHA 2e83dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 721316f - Browse repository at this point
Copy the full SHA 721316fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8841e90 - Browse repository at this point
Copy the full SHA 8841e90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48feea6 - Browse repository at this point
Copy the full SHA 48feea6View commit details -
polkit: Use current bee file template
Recreate the bee file with the command below, and add customizations back. ``` $ bee init -f -o polkit-0.104-1.bee http://hal.freedesktop.org/releases/polkit-0.104.tar.gz ```
Configuration menu - View commit details
-
Copy full SHA for f4dba52 - Browse repository at this point
Copy the full SHA f4dba52View commit details -
polkit: Securely download source archive
Use HTTPS to securely download the source archive.
Configuration menu - View commit details
-
Copy full SHA for 27c508c - Browse repository at this point
Copy the full SHA 27c508cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b0f75 - Browse repository at this point
Copy the full SHA 02b0f75View commit details -
polkit: Update version from 104 to 113
The [announcement][1] is available online. > Hello, > polkit-0.113 is now available at > http://www.freedesktop.org/software/polkit/releases/polkit-0.113.tar.gz > http://www.freedesktop.org/software/polkit/releases/polkit-0.113.tar.gz.sign > > -------------- > polkit 0.113 > -------------- > > NOTE: This release is an important security update, see below. > > WARNING WARNING WARNING: This is a prerelease on the road to polkit > 1.0. Public API might change and certain parts of the code still needs > some security review. Use at your own risk. > > This is polkit 0.113. > > Highlights: > Fixes CVE-2015-4625, a local privilege escalation due to predictable > authentication session cookie values. Thanks to Tavis Ormandy, Google Project > Zero for reporting this issue. For the future, authentication agents are > encouraged to use PolkitAgentSession instead of using the D-Bus agent response > API directly. > > Fixes CVE-2015-3256, various memory corruption vulnerabilities in use of the > JavaScript interpreter, possibly leading to local privilege escalation. > > Fixes CVE-2015-3255, a memory corruption vulnerability in handling duplicate > action IDs, possibly leading to local privilege escalation. Thanks to > Laurent Bigonville for reporting this issue. > > Fixes CVE-2015-3218, which allowed any local user to crash polkitd. Thanks to > Tavis Ormandy, Google Project Zero, for reporting this issue. > > On systemd-213 and later, the “active” state is shared across all sessions of > an user, instead of being tracked separately. > > (pkexec), when not given a program to execute, runs the users’ shell by > default. > > Build requirements > > glib, gobject, gio >= 2.30 > mozjs185 or mozjs-17.0 > gobject-introspection >= 0.6.2 (optional) > pam (optional) > ConsoleKit OR systemd > > Changes since polkit 0.112: > > Colin Walters (17): > PolkitSystemBusName: Add public API to retrieve Unix user > examples/cancel: Fix to securely lookup subject > sessionmonitor-systemd: Deduplicate code paths > PolkitSystemBusName: Retrieve both pid and uid > Port internals non-deprecated PolkitProcess API where possible > Use G_GNUC_BEGIN_IGNORE_DEPRECATIONS to avoid warning spam > pkexec: Work around systemd injecting broken XDG_RUNTIME_DIR > pkexec: Support just plain "pkexec" to run shell > .dir-locals: Style for Emacs - we don't use tabs > authority: Avoid cookie wrapping by using u64 counter > CVE-2015-3218: backend: Handle invalid object paths in RegisterAuthenticationAgent > build: Start using git.mk > Revert "authority: Avoid cookie wrapping by using u64 counter" > authority: Add a helper method for checking whether an identity is root > CVE-2015-4625: Use unpredictable cookie values, keep them secret > CVE-2015-4625: Bind use of cookies to specific uids > README: Note to send security reports via DBus's mechanism > > Kay Sievers (1): > sessionmonitor-systemd: prepare for D-Bus "user bus" model > > Lukasz Skalski (1): > polkitd: Fix problem with removing non-existent source > > Max A. Dednev (1): > authority: Fix memory leak in EnumerateActions call results handler > > Miloslav Trmač (24): > Post-release version bump to 0.113 > Don't discard error data returned by polkit_system_bus_name_get_user_sync > Fix a memory leak > Refuse duplicate --user arguments to pkexec > Fix a possible NULL dereference. > Remove a redundant assignment. > Simplify forced error domain registration > Fix a typo, s/Evaluting/Evaluating/g > s/INCLUDES/AM_CPPFLAGS/g > Fix duplicate GError use when "uid" is missing > Fix a crash when two authentication requests are in flight. > docs: Update for changes to uid binding/AuthenticationAgentResponse2 > Don't pass an uninitialized JS parameter > Don't add extra NULL group to subject.groups > Don't store unrooted jsvals on heap > Fix a per-authorization memory leak > Fix a memory leak when registering an authentication agent > Wrap all JS usage within “requests” > Register heap-based JSObject pointers to GC > Prevent builds against SpiderMonkey with exact stack rooting > Clear the JS operation callback before invoking JS in the callback > Fix spurious timeout exceptions on GC > Fix GHashTable usage. > Fix use-after-free in polkitagentsession.c > > Philip Withnall (1): > sessionmonitor-systemd: Use sd_uid_get_state() to check session activity > > Rui Matos (1): > PolkitAgentSession: fix race between child and io watches > > Simon McVittie (1): > Use libsystemd instead of older libsystemd-login if possible > > Ting-Wei Lan (1): > build: Fix several issues on FreeBSD > > Xabier Rodriguez Calvar (1): > Fixed compilation problem in the backend > > Thanks to our contributors. > > Colin Walters and Miloslav Trmač, > July 2, 2015 [1]: https://lists.freedesktop.org/archives/polkit-devel/2015-July/000432.html "polkit-0.113 released"
Configuration menu - View commit details
-
Copy full SHA for 7983ad0 - Browse repository at this point
Copy the full SHA 7983ad0View commit details -
polkit: Update version from 0.113 to 0.113+git_2919920+js38 from LFS
From BLFS with systemd [1]: > Due to lack of releases, a tarball has been generated for use by > BLFS, which includes a git checkout at ref 2919920, and a pending > patch to use js38. The patch is included in the tarball for review. Use systemd-logind for session tracking. ``` polkit 0.114 ================= prefix: /usr libdir: /usr/lib libexecdir: /usr/lib/polkit-1 bindir: /usr/bin sbindir: /usr/sbin datadir: /usr/share sysconfdir: /etc localstatedir: /var docdir: /usr/share/doc/polkit compiler: gcc cflags: -g -O2 cppflags: xsltproc: /usr/bin/xsltproc introspection: yes Distribution/OS: unknown Authentication framework: pam Session tracking: libsystemd-login PAM support: yes systemdsystemunitdir: /lib/systemd/system polkitd user: polkitd PAM file auth: system-auth PAM file account: system-auth PAM file password: system-auth PAM file session: system-auth Maintainer mode: no Building api docs: no Building man pages: yes Building examples: yes ``` [1]: http://www.linuxfromscratch.org/blfs/view/stable-systemd/postlfs/polkit.html
Configuration menu - View commit details
-
Copy full SHA for 1658482 - Browse repository at this point
Copy the full SHA 1658482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7904f6f - Browse repository at this point
Copy the full SHA 7904f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1128d7c - Browse repository at this point
Copy the full SHA 1128d7cView commit details -
polkit: Remove obsolete configure option
The current option name is `polkitd`, and we set the default value.
Configuration menu - View commit details
-
Copy full SHA for 8da9ce9 - Browse repository at this point
Copy the full SHA 8da9ce9View commit details
Commits on Apr 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6942895 - Browse repository at this point
Copy the full SHA 6942895View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.