summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-03-19Updates for 1.0.2 release1.0.2Eric Koegel7-23/+39
2016-03-19Properly filter the sessions for the specified userEric Koegel1-4/+36
2016-03-19pam-ck allow VTNR to be double-digitEric Koegel1-1/+1
2016-03-19login_session_id will be G_MAXUINT32 when unsetEric Koegel1-2/+2
This will fix the display of ck-list-sessions on a 64-bit system and CK2 won't try to compare to a bogus ssid.
2016-03-19Handle the legacy 'user' property as an override settingEric Koegel1-0/+7
A DM can set the 'user' property rather than the 'unix-user' as an override to force a specific uid during session startup. We just need to convert that back to a 'unix-user' in the session leader before handing that data back to the manager.
2016-03-19When assigning session to active VT prefer graphical sessionsMichal Sekletar1-2/+2
I case when we launch graphical session on top of text session on the same VT we want to mark newly created graphical session as active.
2016-03-19Fix undefined behaviorMichal Sekletar2-2/+2
It is unlikely that ck-log-system-start would crash because of this, but still it is better to have it fixed.
2016-01-13Updates for 1.0.1 release1.0.1Eric Koegel8-144/+164
2016-01-11Minor cleanupEric Koegel1-4/+2
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
2016-01-11Check for enough swap space before allowing hibernate operationRobby Workman1-1/+82
This code is from the upower-0.9 branch with very little change, so it's not really fair to call me the author... Consider this a first attempt at addressing CK2 Issue #55 Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
2015-10-21XDG_VTNR supportFabrice Ménard1-0/+11
XDG_VTNR is another way to obtain the X11 display device. As SDDM sets this environment variable, it is now much simpler to use it with pam_ck_connector. Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
2015-10-21Merge pull request #52 from obache/neatsrc/netbsd-supportEric Koegel3-22/+30
Imporve NetBSD support
2015-10-10Fix for NetBSD VT device naming schemeOBATA Akio1-0/+4
2015-10-10Fix behavior of ck_process_stat_get_tty on NetBSDOBATA Akio1-22/+6
To fit Linux's one * return NULL if invalid tty * return allocated string otherwise
2015-10-10Fix pid detection with ck_get_socket_perr_credentials on NetBSDOBATA Akio1-0/+20
NetBSD 5 and later have getpeereid(3), but it only for euid. Use getsockopt(2) with LOCAL_PEEREID if available in priority to it.
2015-09-15Merge pull request #50 from obache/neatsrc/netbsd-supportEric Koegel10-3/+589
Add NetBSD support
2015-09-15Merge pull request #51 from alienbob/alienbob-slackwareEric Koegel1-1/+1
Apply overlooked PREFIX/lib -> LIBDIR substitution
2015-09-10Apply overlooked PREFIX/lib -> LIBDIR substitutionEric Hameleers1-1/+1
2015-09-09Add NetBSD supportOBATA Akio10-3/+589
* based on patches for ConsoleKit 0.3.0 from NetBSD Packages Collection * catch up with help from sysdep implementation for OpenBSD and FreeBSD * ck-system-suspend is based on NetBSD powerd(8) sleep_button script
2015-08-24Merge pull request #47 from fluxer/masterEric Koegel1-2/+3
Filter out the kdm user
2015-08-24Filter out the kdm userIvailo Monev1-2/+3
2015-08-24trivial: Update pot fileEric Koegel5-33/+33
2015-08-24Transifex translation update Mode: default Matched 4 languagesConsoleKit2TransifexBot4-116/+116
2015-08-24Merge pull request #43 from rworkman/trivialEric Koegel2-3/+3
Fix some libdir/scripts stuff missed in 4d87a25ea0af
2015-08-23Fix some libdir/scripts stuff missed in 4d87a25ea0afRobby Workman2-3/+3
2015-08-22Revert "Minor code refactoring"Eric Koegel5-121/+163
This reverts commit bee63889f4a0b8f57807a61d8396346cec8cd5b1. There are some cases where ConsoleKit2 would crash after successfully suspending so revert this commit.
2015-08-10Merge pull request #38 from ConsoleKit2TransifexBot/masterEric Koegel1-7/+9
Transifex translation update
2015-08-10Transifex translation updateConsoleKit2TransifexBot1-7/+9
Mode: default Matched 4 languages
2015-08-10trivial: updates for release1.0.0Eric Koegel7-10/+33
2015-08-09Ensure we add CONSOLE_KIT_LIBS to libckEric Koegel6-200/+244
Otherwise we will break the build on some platforms. Also update the translations.
2015-08-09Minor code refactoringEric Koegel5-163/+121
This removes and cleans up some duplicated code. Both the ck-manager and the ck-session had an implementation to get the calling uid/pid so it's now moved to a common location. The inhibit changed signal has been made more explicit in when the delay is removed. The polkit permissions was duplicated over two functions and has been moved to a single common one. So this patch is just minor house keeping.
2015-08-09Filter out the sddm userEric Koegel1-2/+3
This way CK2 doesn't get confused and think multiple users are logged in when it's just a service account.
2015-08-03Merge pull request #36 from ConsoleKit2TransifexBot/masterEric Koegel4-69/+27
Transifex translation update
2015-08-03Transifex translation updateConsoleKit2TransifexBot4-4/+4
Mode: default Matched 4 languages
2015-08-03Transifex translation updateConsoleKit2TransifexBot4-69/+27
Mode: default Matched 4 languages
2015-08-02Update gettext to avoid a warning messageEric Koegel9-46/+452
Also improve the translation messages in the process groups and mark that file translatable.
2015-07-28Update potfileEric Koegel5-181/+199
2015-07-28Merge pull request #34 from ConsoleKit2TransifexBot/masterEric Koegel4-17/+17
Transifex translation update
2015-07-28Add process grouping/trackingEric Koegel7-20/+404
On Linux, this adds an optional dependency on cgmanager to use cgroups to manage and track processes. This is more reliable and secure than the XDG_SESSION_COOKIE however it will fall back to that. https://github.com/ConsoleKit2/ConsoleKit2/issues/7
2015-07-26Prevent infinite loop when removing inhibitorsEric Koegel1-1/+1
2015-07-25Transifex translation updateConsoleKit2TransifexBot1-13/+13
Mode: default Matched 4 languages
2015-07-21Transifex translation updateConsoleKit2TransifexBot4-4/+4
Mode: default Matched 4 languages
2015-07-19Merge pull request #33 from ConsoleKit2TransifexBot/masterEric Koegel1-3/+3
Transifex translation update
2015-07-19Merge pull request #31 from Somasis/masterEric Koegel5-10/+10
Respect multilib/multiarch filesystem layouts
2015-07-19Transifex translation updateConsoleKit2TransifexBot1-3/+3
Mode: default Matched 4 languages
2015-07-19test-session: Fix wrong variable checkEric Koegel1-4/+3
Found by Coverity scan.
2015-07-19Fix get_caller_info in CkSessionEric Koegel2-2/+6
And make sure we unref the variants that get created.
2015-07-19Add an additional bounds checkEric Koegel1-1/+1
2015-07-19I18n: Add BulgarianEric Koegel1-0/+1
2015-07-19Merge pull request #30 from ConsoleKit2TransifexBot/masterEric Koegel4-35/+282
Transifex translation update