2 releases

0.0.2 Aug 9, 2024
0.0.1 Aug 9, 2024

#475 in Hardware support

Download history 163/week @ 2024-08-09 8/week @ 2024-08-16 23/week @ 2024-09-13 15/week @ 2024-09-20 22/week @ 2024-09-27

60 downloads per month

Apache-2.0

27KB
437 lines

Saddle

Saddle is an asynchronous library designed to simplify the management of user seats in a Linux environment. It provides a easy to use interface for obtaining and releasing user sessions, which can be utilized to open and close devices securely.

Current Features

  • Session Management: Obtain, release and pause user sessions
  • Device Management: Open and close devices tied to a user session
  • VT Switching: Support for switching between virtual terminals

Supported Backend

At present, Saddle leverages the freedesktop login1 interface as its backend, which is compatible with both logind and elogind systems.

In the future, we plan to extend support to the seatd IPC interface,

License

This project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.

Dependencies

~9–20MB
~298K SLoC