summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update for release0.2.10William Jon McCann2008-02-251-0/+14
|
* always create the directories we needWilliam Jon McCann2008-02-253-40/+95
|
* properly get display device on SolarisSimon Zheng2008-02-251-4/+12
| | | | | | | | | | | | | | Mapping between device path and (major, minor). "/dev/vt" -- (15,*) "/dev/pts" -- (24,*) "/dev/console" -- (0,0) "NO_TTY_VALUE" - (-1,-1) Also, solaris VT device is named like this. /dev/console --- VT #1 /dev/vt/2 --- VT #2 /dev/vt/3 --- VT #3 /dev/vt/N --- VT #4
* fix solaris x11-display-device when no vt availableBrian Cameron2008-02-251-0/+11
| | | | | | This patch fixes ConsoleKit so it sets x11-display-device to "/dev/console" when not using VT.
* solaris doesn't like printing nullBrian Cameron2008-02-251-1/+1
|
* fix display of active vt when vt is disabledBrian Cameron2008-02-251-2/+6
| | | | | | | | | This fixes the Active device so it is set to "/dev/console" when not using VT. Without this patch, the syslog reports messages like: Active device: /dev/vt/3508388860 Which is obviously wrong if not using VT at all.
* fix solaris vt handling to work when no vt availableBrian Cameron2008-02-251-3/+5
| | | | | | This fixes the patch that Simon Zhang sent you earlier so that it builds on machines without VT.
* improve supporting Solaris VT switchingSimon Zheng2008-02-192-1/+60
| | | | | | | | | | | | | | | Here's a patch for ConsoleKit to improve supporting Solaris VT. Two changes are made. - Solaris supports synchronous event notification in STREAMS. Using this, we can avoid creating many threads for idle VTs. By setting the S_MSG flag in an I_SETSIG STREAMS ioctl, applications can get a synchronous notification of VT switching. In other words, these processes are able to receive a SIGPOLL signal when a VT switching succeeds. - Change a little command line of getting maximum vt console numbers.
* don't include paths.h on systems that don't have itWilliam Jon McCann2008-02-192-1/+5
|
* create the log file with S_IROTH and don't touch the log on buildWilliam Jon McCann2008-02-132-3/+2
|
* post release version bumpWilliam Jon McCann2008-02-121-1/+1
|
* update for release0.2.9William Jon McCann2008-02-122-1/+4
|
* ck_seat_get_active_session shouldn't return a null ssidWilliam Jon McCann2008-02-123-24/+35
| | | | | Da bus no likey nulls for object paths. Return false and set error if there is no active session.
* guard against writing null string to keyfileWilliam Jon McCann2008-02-123-10/+48
| | | | Also make criticals fatal when starting with --debug.
* reverse the sense of the dbus policyWilliam Jon McCann2008-02-123-20/+598
| | | | | Deny first and then allow. Add a simple test script to check method access policy.
* add a ck-launch-session toolWilliam Jon McCann2008-02-114-1/+100
| | | | This tool opens a session with ConsoleKit and runs a command in it.
* don't set the session-type to the command nameWilliam Jon McCann2008-02-111-6/+0
|
* post release version bumpWilliam Jon McCann2008-02-111-1/+1
|
* update for release0.2.8William Jon McCann2008-02-112-0/+13
|
* add tools to log restart and stop eventsWilliam Jon McCann2008-02-113-0/+368
| | | | | This should probably be used by init instead of logging the event from CK.
* fix typo in dbus policy fileWilliam Jon McCann2008-02-112-2/+2
|
* touch the history file to create it for people not using packagesWilliam Jon McCann2008-02-071-0/+2
|
* mkdir /var/log/ConsoleKit at install timeWilliam Jon McCann2008-02-061-0/+1
|
* set a global flag so that D-Bus does not change the SIGPIPE handler in the ↵William Jon McCann2008-02-051-2/+7
| | | | PAM module
* when a parsing error occurs don't return an empty eventWilliam Jon McCann2008-02-012-14/+19
|
* post release version bumpWilliam Jon McCann2008-01-301-1/+1
|
* update for 0.2.7 release0.2.7William Jon McCann2008-01-301-0/+15
|
* update gitignore filesWilliam Jon McCann2008-01-293-1/+5
|
* add a helper to write a system start record to the CK historyWilliam Jon McCann2008-01-293-1/+188
|
* add support for logging start/stop/restartWilliam Jon McCann2008-01-294-169/+564
| | | | Also enable reporting this information with ck-history.
* fix typo in man pageWilliam Jon McCann2008-01-281-1/+1
|
* make autogen work with aclocal 1.10Marc-Andre Lureau2008-01-282-162/+19
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=14175
* allow session type filtering for all report formatsWilliam Jon McCann2008-01-281-9/+22
|
* make polkit optional and use RBAC on SolarisBrian Cameron2008-01-286-22/+110
| | | | | | | | | | | | | | | | This patch makes polkit an optional dependency. If present it builds with it. If not, polkit support is disabled. This patch also adds a --enable-rbac-shutdown=<key> option. If set, then ConsoleKit will allow shutdown/reboot if the user has the RBAC key authorization defined. For example, since the GDM GUI program runs as the "gdm" user, setting the key for the "gdm" user allows the login program to shutdown and reboot via ConsoleKit. Also this patch modifies the tools/solaris/ck-system-restart and tools/solaris/ck-system-stop scripts to call "/sbin/init 6" and "/sbin/init 5", which are the right commands for Solaris.
* fixes for solarisBrian Cameron2008-01-282-2/+3
| | | | | | | | | | Fixes two bugs I found in the code. The first is that we need some NULL protection around the g_strdup_printf where we build CK_SESSION_X11_DISPLAY to avoid a crash. Second, I noticed a bug in the ck_unix_pid_get_hash function where we weren't parsing the data right and causing the hash to not get set properly.
* add session-type filtering to ck-historyWilliam Jon McCann2008-01-282-8/+16
|
* try to activate x11-display-device not only display-deviceWilliam Jon McCann2008-01-281-2/+5
|
* post release version bumpWilliam Jon McCann2008-01-241-1/+1
|
* update for 0.2.6 release0.2.6William Jon McCann2008-01-241-0/+7
|
* be a little smarter about how we compute the number of usersWilliam Jon McCann2008-01-231-2/+94
|
* fix policy action nameWilliam Jon McCann2008-01-231-2/+2
|
* post release version bumpWilliam Jon McCann2008-01-231-1/+1
|
* release 0.2.50.2.5William Jon McCann2008-01-231-0/+6
|
* history should log to /var/log not /var/runWilliam Jon McCann2008-01-233-3/+3
|
* post release version bumpWilliam Jon McCann2008-01-231-1/+1
|
* release 0.2.40.2.4William Jon McCann2008-01-232-0/+38
|
* actually register the error type with dbusWilliam Jon McCann2008-01-231-0/+1
|
* add GetSessions method to Manager interfaceWilliam Jon McCann2008-01-235-1/+57
|
* add error type to managerWilliam Jon McCann2008-01-232-1/+27
|
* initial stop/restart supportWilliam Jon McCann2008-01-2218-77/+890
| | | | | | Add Stop and Restart methods to the Manager object. We'll rename the Manager object to System in the near future. Use libpolkit to determine authorization.