| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
Also add ability to toggle debugging when SIGUSR1 is
received.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch does the following:
- Use a separate $pam-module-dir variable for the pam module
- Instead of defining a custom $slibdir variable, just use the
standard $libdir variable specified by autoconf
- Use the standard autoconf $docdir variable (Add AC_PREREQ(2.59) for that).
- Drop AS_AC_EXPAND macro and remove AC_DEFINE_UNQUOTED for dir variables.
+ Build the init script at make time using sed
+ Use defines in src/Makefile.am to pass the variables to gcc at make time
- Consistently use AC_HELP_STRING everywhere
- Remove/Replace deprecated macros:
+ AM_INIT_AUTOMAKE takes the package name and version number from AC_INIT
+ AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
+ AC_OUTPUT -> AC_CONFIG_FILES
Patch is tested and make distcheck works.
|
|
|
|
| |
Oops.
|
|
|
|
| |
And associated documentation and added to test-fus.
|
|
|
|
|
|
|
|
| |
Now that we have two properties (one deprecated) that refer
to the same thing we can't require that they are both set
during the constructor. Furthermore, we can't require
that either of them are set because we don't know which
will be used.
|
|
|
|
|
| |
Also added deprecated notes to the docs. New code should
be using GetUnixUser instead of GetUser etc.
|
| |
|
|
|
|
|
|
| |
The spec is the introspection format extended with
docs. There are tools to build docbook and strip
the docs to make dbus introspect xml.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I hope I didn't reinvent a wheel but it seems to
work much better than hand coding these refentries.
Still need to add support for comments and actual
descriptions ala gtk-doc.
|
| |
|
|
|
|
|
| |
Rework the parameter parsing so it is a bit more robust and so that
parameters can get passed to the constructor.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
In the event that there is more than one session that matches
a particular tty when the VT changes we use the following rule:
1. take the oldest session where display-device == active VT device
2. take the oldest session where x11-display-device == active VT device
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
In certain cases it is necessary to distinguish the display-device
(tty of session leader) from the x11-display-device (tty of xorg
process).
|
|
|
|
|
| |
Use an async helper job to collect session info for the
OpenSession() method.
|
|
|
|
|
| |
These tools will be used to generate and verify the parameters
used to open a session.
|
|
|
|
|
|
|
|
|
|
| |
Restructure things a bit so that we can be completely async
about creating sessions. We want to do this so we can use
callouts to gather session info or to verify info. Also
make the OpenSession create a parameter list and then create
the session rather than creating the session and changing
attributes. This is less racy and the session will be complete
and correct before any signals are emitted.
|
| |
|
|
|
|
| |
Also fix a distcheck error.
|
|
|
|
|
| |
Make the proc.h API more coherent. Convert some warnings
to debug statements. Fix two leaks. Add more error checking.
|
|
|
|
| |
Copy the iso8601 function from glib to support versions less than 2.12.
|
| |
|
| |
|
|
|
|
|
| |
The system idle hint is TRUE when there are no busy (ie non-idle) sessions.
So the system is idle when there are no sessions or all sessions are idle.
|
|
|
|
|
| |
This makes it easier to use from C code. Also fix a bug where
we weren't emitting the argument in the idle-hint-changed signal.
|
|
|
|
|
| |
Rename GetIdle to GetIdleHint (etc) to make it clear that these
are not authoritative properties.
|
|
|
|
| |
Try to limit the use of errno in case it can change.
|
|
|
|
|
| |
Don't spew warnings when getfd() can't find a suitable console fd. Also
add a comment to note where getfd.c comes from.
|
|
|
|
|
|
| |
Change to using an async queue for events from VT watching threads. Add
mutex protection to shared data. Compress the event queue when possible by
discarding all but the most recent VT activation event.
|
|
|
|
|
| |
Added GetCreationTime and GetIdleSince methods. And added the
output to the list-sessions tool.
|
|
|
|
|
| |
Add the GetIdle and SetIdle methods, and the IdleChanged signal.
SetIdle is restricted to the uid of the session in question.
|
|
|
|
| |
Only allow the uid and pid that opened the session to close it.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
While try to play with ConsoleKit i realize it cannot create its pid file, so
if needed attached patch adds that with copy/paste from PolicyKit :).
|