Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use VT_GETSTATE and tty0 to identify a console_ioctl on linux | Peter Jones | 2007-12-08 | 1 | -4/+9 |
| | | | | | | | | | | | | | ConsoleKit tries to find a valid fd it can issue VT_WAITACTIVE against by iterating across a file list and issuing ioctl(fd, KDGKBTYPE, &arg), then checking the return value. Not all console devices support this ioctl, so in some cases it never finds a valid file descriptor to use, and from then on never marks any session active. We probably ought to be using something like VT_GETSTATE instead of a keyboard ioctl, but that's not sufficient to fix it. One fix that seems to work, though I'm not completely sure if it's the best answer, is to add /dev/tty0 to the list of files to try before /dev/console. | ||||
* | try to make things work for systems that don't support VT_ACTIVATE etc | William Jon McCann | 2007-09-19 | 1 | -4/+23 |
| | |||||
* | untabify | William Jon McCann | 2007-08-28 | 1 | -3/+3 |
| | |||||
* | move some of the freebsd specific stuff into sysdeps | William Jon McCann | 2007-08-27 | 1 | -0/+69 |
| | |||||
* | Some more fixes, Now test-vt-monitor works correctly. | Florent Thoumie | 2007-08-25 | 1 | -3/+11 |
| | | | | | | Submitted by: marcus Signed-off-by: Florent Thoumie <flz@FreeBSD.org> | ||||
* | more solaris support | William Jon McCann | 2007-08-21 | 1 | -11/+29 |
| | | | | based on patch from Brian Cameron. | ||||
* | add a vt monitor test, move getfd to sysdeps, add a check for the root user | William Jon McCann | 2007-08-17 | 1 | -1/+113 |
| | |||||
* | a few fixes for peer cred stuff | William Jon McCann | 2007-08-17 | 1 | -6/+20 |
| | |||||
* | move peercred stuff into sysdeps. add solaris support. | William Jon McCann | 2007-08-16 | 1 | -0/+84 |