#include <dchroot-session.h>
Inheritance diagram for dchroot::session:
Public Member Functions | |
session (std::string const &service, config_ptr &config, operation operation, sbuild::string_list const &chroots) | |
The constructor. | |
virtual | ~session () |
The destructor. | |
virtual sbuild::auth::status | get_auth_status () const |
Check if authentication is required, taking groups and root-groups membership or all chroots specified into account. | |
virtual void | run_impl () |
Run a session. |
This class provides the session handling for dchroot compatibility. It derives from session, overriding the authentication checks to allow all users to access the service, and does not permit user switching.
|
The constructor.
|
|
The destructor.
Reimplemented from sbuild::session. |
|
Check if authentication is required, taking groups and root-groups membership or all chroots specified into account.
Reimplemented from sbuild::session. |
|
Run a session. If a command has been specified, this will be run in each of the specified chroots. If no command has been specified, a login shell will run in the specified chroot. An error will be thrown on failure. Reimplemented from sbuild::session. |