mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: document "web" session type
This has been supported since e9e74f28d7
but never got documented.
Add it to the man pages (plus one comment in a header).
Closes #34127.
This commit is contained in:
parent
1b275c2acd
commit
2bdf027de1
@ -1516,8 +1516,9 @@ node /org/freedesktop/login1/session/1 {
|
||||
available.</para>
|
||||
|
||||
<para><varname>Type</varname> encodes the session type. It's one of <literal>unspecified</literal> (for
|
||||
cron PAM sessions and suchlike), <literal>tty</literal> (for text logins) or
|
||||
<literal>x11</literal>/<literal>mir</literal>/<literal>wayland</literal> (for graphical logins).</para>
|
||||
cron PAM sessions and suchlike), <literal>tty</literal> (for text logins), <literal>web</literal> (for
|
||||
web-based logins), or <literal>x11</literal>/<literal>mir</literal>/<literal>wayland</literal> (for
|
||||
graphical logins).</para>
|
||||
|
||||
<para><varname>Class</varname> encodes the session class. It's one of <literal>user</literal> (for
|
||||
normal user sessions), <literal>greeter</literal> (for display manager pseudo-sessions), or
|
||||
|
@ -155,7 +155,8 @@
|
||||
|
||||
<listitem><para>Takes a string argument which sets the session type. The <varname>XDG_SESSION_TYPE</varname>
|
||||
environment variable (see below) takes precedence. One of <literal>unspecified</literal>,
|
||||
<literal>tty</literal>, <literal>x11</literal>, <literal>wayland</literal> or <literal>mir</literal>. See
|
||||
<literal>tty</literal>, <literal>x11</literal>, <literal>wayland</literal>, <literal>mir</literal>, or
|
||||
<literal>web</literal>. See
|
||||
<citerefentry><refentrytitle>sd_session_get_type</refentrytitle><manvolnum>3</manvolnum></citerefentry> for
|
||||
details about the session type.</para>
|
||||
|
||||
|
@ -172,7 +172,7 @@ int sd_session_get_start_time(const char *session, uint64_t *usec);
|
||||
/* Determine the (PAM) service name this session was registered by. */
|
||||
int sd_session_get_service(const char *session, char **service);
|
||||
|
||||
/* Determine the type of this session, i.e. one of "tty", "x11", "wayland", "mir" or "unspecified". */
|
||||
/* Determine the type of this session, i.e. one of "tty", "x11", "wayland", "mir", "web", or "unspecified". */
|
||||
int sd_session_get_type(const char *session, char **type);
|
||||
|
||||
/* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */
|
||||
|
Loading…
Reference in New Issue
Block a user