| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
In FreeBSD the device number is always one less than the VT number (e.g.
VT 1 is /dev/ttyv0). Account for this. Also, fix up reading console
entries from /etc/ttys, and make sure the full TTY device name is returned
for a given process stat.
|
| |
|
|
|
|
| |
Based on patch from Joe Marcus Clarke
|
| |
|
|
|
|
|
|
| |
Allow this test to properly determine the current tty device.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
|
| |
Fix make dist by making sure ck-sysdeps-freebsd.c is available on all
platforms.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
|
|
|
| |
Restore copyright in ck-sysdeps-freebsd.c since Marcus
"used a lot of the existing functions".
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
| |
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
|
|
|
|
| |
- Add Marcus' FreeBSD backend for ConsoleKit. Compiles fine but
test-vt-monitor doesn't seem to work correctly.
- Remove TODO entry.
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
|
|
| |
- Add some ifdef's to make the code compile.
- Add ck-sysdeps-freebsd.c, based on the Linux version, which
means it's using linprocfs right now.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
| |
|
| |
|
|
|
|
| |
based on patch from Brian Cameron.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Based on a patch from Brian Cameron.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I am currently investigating how to best integrate PulseAudio with
ConsoleKit/PolicyKit. While doing that I had a look on your code, and
found a few issues in getfd.c I'd like to report, before I forget
them. I couldn't find any bugzilla with at consolekit project (neither
fedora, nor fdo, nor gnome?) hence I am mailing you in person.
In getfd.c in open_a_console() a close() is missing if is_a_console is
missing.
The open() in open_a_console() should probably use O_NOCTTY. Otherwise
C-c on the console might end up in a SIGINT to your daemon process!
Also I'd add an isatty() check to is_a_console(), to makes sure that
you're actually talking to a TTY before you issue KDGKBTYPE on
it. ioctl()s are unfortunately not unique, hence i'd recommend that check.
That's it,
Lennart
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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
|