session: Do not elide named lifetime
greetd_ipc: Add Clone trait to messages
greetd: Use pointer::is_null instead of cast
While dealing with the large number of casts needed in the PAM ffi code,
the return value of calloc was accidentally cast to a u8 for the error
check, meaning it erroneously thought calloc had failed if the least
significant byte was 0 - which it often wasn't, meaning that users did
not discover the issue.
Avoid casting and just use pointer::is_null.
greetd_ipc: Only set feature flag for docsrs
greetd_ipc: Show required codec features in docs
greetd_ipc: Fix docs.rs build
greetd: Scramble response texts after use
Even though we are operating under mlock, we might still end up on disk
if the user hibernates. Scramble the user responses in the most obvious
places.
context: Error on unexpected auth message response
When the session changes to the ready state, the worker can no longer
accept any auth message responses. Send an error to the greeter so it
knows that it violated protocol.
Reintroduce XDG_VTNR
Some X11 start scripts rely on this variable to apss the current VT to
Xorg.
config: Drop support for old config format
The support for the old config format was meant to ease transition and
has now served its purpose.
Allow overriding VT via arguments
Deduplicate parsing of VtSelection