]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document "web" session type
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>
Mon, 26 Aug 2024 08:32:47 +0000 (10:32 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 26 Aug 2024 15:54:59 +0000 (16:54 +0100)
This has been supported since e9e74f28d783 but never got documented.
Add it to the man pages (plus one comment in a header).

Closes #34127.

man/org.freedesktop.login1.xml
man/pam_systemd.xml
src/systemd/sd-login.h

index 587594fac037d307acb7d7a9485783ca3f459e3b..c5263efc8274dbbf2651fd5a23db1b12630e7473 100644 (file)
@@ -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
index d6fc6bb8b8d4ece127ae1789c8263e97739b54bf..40a4564a22c48283b352900342d72c6260141861 100644 (file)
 
         <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>
 
index c84f2c06bcb256bae9cdf1c5763103fb0508e93d..99ca8b8ed510778422220e00c8970d6f7b98fd88 100644 (file)
@@ -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". */