Ray Strode [Thu, 22 May 2008 02:57:40 +0000 (22:57 -0400)]
Add second cut at password support
This version works even in raw mode, by buffering key presses
passed from the window object, and replying to the client
after the user presses enter. There are a lot of layers of
function pointers getting passed around, so it may make
sense to introduce an opaque type for holding the password
and triggering the reply.
Ray Strode [Wed, 21 May 2008 04:20:28 +0000 (00:20 -0400)]
Only allow root clients to talk to daemon
We don't want normal users on the system to be able to
manipulate plymouth. This will be especially important
later when we run plymouth for post-bootup reasons. This
patch checks peer credentials and sends back a NAK to
clients who aren't root.
Ray Strode [Wed, 21 May 2008 02:42:15 +0000 (22:42 -0400)]
Update TODO
Add:
- Drop all the make ram disk and copy code. That was just to make bolting things
on easier. We can integrate now.
- check peer credentials on client to make sure it's not running unprivileged
Ray Strode [Wed, 21 May 2008 02:37:01 +0000 (22:37 -0400)]
Don't show splash by default, instead require client to request it
plymouthd gets started before the drm modesetting modules are loaded,
so we can't try to access the frame buffer right away. The plan is to
load the drm modules as soon as possible in the initrd and then tell
plymouthd to put up the splash ASAP.
Ray Strode [Tue, 20 May 2008 19:13:48 +0000 (15:13 -0400)]
Update TODO
Add:
- Don't start boot-splash automatically, rather wait until given command from client
- Allow plymouth to be started from nash instead of the other way around
Remove:
- add the ability to watch for timeouts in the event loop
Ray Strode [Mon, 19 May 2008 21:46:10 +0000 (17:46 -0400)]
Create window at layer above boot splash and reuse when changing boot splashes
This requires keyboard handling to be changed, so that each
plugin can hook in their own keyboard hooks when switching
between them, and also handling escape completely above the boot
splash plugin level.
Ray Strode [Sun, 18 May 2008 23:09:16 +0000 (19:09 -0400)]
Set active terminal into non-canonical mode
We want to be able to gain access to key presses immediately,
so we can pass them on to the splash plugin to display to the
user in some form. The "pass to the splash plugin" part isn't
implemented yet.
Ray Strode [Wed, 14 May 2008 12:59:33 +0000 (08:59 -0400)]
fix some confusion with star placement in fedora-fade-in plugin
We did logo_width - frame_buffer_width instead of the other way
around, so we ended up with a negative width
Ray Strode [Mon, 22 Oct 2007 00:52:27 +0000 (20:52 -0400)]
move data to a ramfs and clean up mounts on exit
Shutdown was being noisy because we didn't unmount
/var/run/plymouth/{proc,dev/pts} etc. Also we want
/var/run/plymouth to be a ramfs so that nash doesn't
go deleting it while its still running
Ray Strode [Mon, 22 Oct 2007 00:45:27 +0000 (20:45 -0400)]
add ply_unmount_filesystem function to handle lazy umount
The lazy unmount flag isn't documented anywhere, so its
probably better to hide the nastiness behind a function
Ray Strode [Sun, 21 Oct 2007 22:29:08 +0000 (18:29 -0400)]
Use posix_openpt instead of open ("/dev/ptmx", ...)
I don't remember why I had posix_openpt disabled, but
undisabling it seems to work fine, so better to use it
unless I find some reason (again?) to disable it.
Ray Strode [Sun, 21 Oct 2007 22:22:54 +0000 (18:22 -0400)]
Change plugin path in Makefile to contain less magic
Previously, the plugin path contained the magic value
${LIB} which dlopen knows to translate to lib or lib64
appropriately. Now I use the path in contexts other than
dlopen, though, so I need to remove the magic (I'm not sure
why it was there in the first place)
Ray Strode [Wed, 13 Jun 2007 22:15:27 +0000 (18:15 -0400)]
change ply_create_scratch directory to be a two step,
ply_create_detachable_directory/ply_detach_directory process,
because the former semantics couldn't actually work