Browse Source

Total overhaul: Change elogind mask else format

In the past it has become increasingly difficult to clearly identify
elogind mask else blocks when masked blocks get split up in different
hunks.

To make it easier for check_tree.pl to distinguish between regular
preprocessor else directives and those that split a masked block with
the elogind alternative, the format has been changed.

From hereon the format is:
  #if 0 /// reason with the keyword 'elogind' in it
  (...)masked block(...)
  #else // 0
  (...)alternative block for elogind
  #endif // 0

Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
suites/experimental
Sven Eden 2 years ago
parent
commit
a6cf30edb8
  1. 2
      Makefile
  2. 3
      TODO
  3. 1
      cb/elogind.cbp
  4. 10
      man/busctl.xml
  5. 2
      man/elogind-inhibit.xml
  6. 6
      man/elogind.journal-fields.xml
  7. 4
      man/elogind.time.xml
  8. 20
      man/elogind.xml
  9. 15
      man/loginctl.xml
  10. 22
      man/logind.conf.xml
  11. 4
      man/meson.build
  12. 18
      man/pam_elogind.xml
  13. 2
      man/sd-bus.xml
  14. 2
      man/sd-event.xml
  15. 10
      man/sd-login.xml
  16. 4
      man/sd_booted.xml
  17. 2
      man/sd_bus_add_match.xml
  18. 18
      man/sd_bus_creds_get_pid.xml
  19. 2
      man/sd_bus_creds_new_from_pid.xml
  20. 4
      man/sd_bus_default.xml
  21. 2
      man/sd_bus_error.xml
  22. 2
      man/sd_bus_error_add_map.xml
  23. 2
      man/sd_bus_get_fd.xml
  24. 2
      man/sd_bus_get_n_queued_read.xml
  25. 2
      man/sd_bus_is_open.xml
  26. 2
      man/sd_bus_message_append.xml
  27. 2
      man/sd_bus_message_append_array.xml
  28. 2
      man/sd_bus_message_append_basic.xml
  29. 2
      man/sd_bus_message_append_string_memfd.xml
  30. 2
      man/sd_bus_message_append_strv.xml
  31. 2
      man/sd_bus_message_get_cookie.xml
  32. 2
      man/sd_bus_message_get_monotonic_usec.xml
  33. 2
      man/sd_bus_message_read_basic.xml
  34. 4
      man/sd_bus_message_set_destination.xml
  35. 2
      man/sd_bus_negotiate_fds.xml
  36. 2
      man/sd_bus_new.xml
  37. 2
      man/sd_bus_path_encode.xml
  38. 2
      man/sd_bus_process.xml
  39. 2
      man/sd_bus_request_name.xml
  40. 2
      man/sd_bus_set_connected_signal.xml
  41. 2
      man/sd_bus_set_sender.xml
  42. 2
      man/sd_bus_set_watch_bind.xml
  43. 2
      man/sd_bus_track_add_name.xml
  44. 2
      man/sd_bus_track_new.xml
  45. 2
      man/sd_event_add_child.xml
  46. 2
      man/sd_event_add_defer.xml
  47. 2
      man/sd_event_add_io.xml
  48. 2
      man/sd_event_add_signal.xml
  49. 2
      man/sd_event_add_time.xml
  50. 2
      man/sd_event_exit.xml
  51. 2
      man/sd_event_new.xml
  52. 2
      man/sd_event_now.xml
  53. 2
      man/sd_event_run.xml
  54. 2
      man/sd_event_set_watchdog.xml
  55. 2
      man/sd_event_wait.xml
  56. 2
      man/sd_get_seats.xml
  57. 6
      man/sd_id128_get_machine.xml
  58. 2
      man/sd_id128_randomize.xml
  59. 2
      man/sd_id128_to_string.xml
  60. 4
      man/sd_is_fifo.xml
  61. 10
      man/sd_journal_add_match.xml
  62. 6
      man/sd_journal_enumerate_fields.xml
  63. 6
      man/sd_journal_get_catalog.xml
  64. 6
      man/sd_journal_get_cursor.xml
  65. 6
      man/sd_journal_get_cutoff_realtime_usec.xml
  66. 6
      man/sd_journal_get_data.xml
  67. 6
      man/sd_journal_get_fd.xml
  68. 6
      man/sd_journal_get_realtime_usec.xml
  69. 6
      man/sd_journal_get_usage.xml
  70. 6
      man/sd_journal_next.xml
  71. 6
      man/sd_journal_open.xml
  72. 20
      man/sd_journal_print.xml
  73. 8
      man/sd_journal_query_unique.xml
  74. 6
      man/sd_journal_seek_head.xml
  75. 8
      man/sd_journal_stream_fd.xml
  76. 10
      man/sd_listen_fds.xml
  77. 2
      man/sd_login_monitor_new.xml
  78. 2
      man/sd_machine_get_class.xml
  79. 12
      man/sd_notify.xml
  80. 8
      man/sd_pid_get_owner_uid.xml
  81. 2
      man/sd_seat_get_active.xml
  82. 2
      man/sd_session_is_active.xml
  83. 2
      man/sd_uid_get_state.xml
  84. 2
      man/sd_watchdog_enabled.xml
  85. 60
      meson.build
  86. 8
      meson_options.txt
  87. 2
      pwx
  88. 2
      shell-completion/bash/meson.build
  89. 2
      shell-completion/zsh/meson.build
  90. 2
      src/basic/build.h
  91. 24
      src/basic/cgroup-util.c
  92. 2
      src/basic/format-util.h
  93. 2
      src/basic/fs-util.h
  94. 2
      src/basic/generate-cap-list.sh
  95. 2
      src/basic/hostname-util.c
  96. 2
      src/basic/khash.c
  97. 6
      src/basic/meson.build
  98. 2
      src/basic/missing_ethtool.h
  99. 8
      src/basic/missing_if_link.h
  100. 2
      src/basic/parse-printf-format.h

2
Makefile

@ -4,7 +4,7 @@
#
# install:
# DESTDIR=$(DESTDIR) ninja -C build install
#else
#else // 0
.PHONY: all install loginctl test test-login
all:

3
TODO

@ -44,6 +44,9 @@ Features:
* cryptsetup: allow encoding key directly in /etc/crypttab, maybe with a
"base64:" prefix. Useful in particular for pkcs11 mode.
* cryptsetup: reimplement the mkswap/mke2fs in cryptsetup-generator to use
elogind-makefs.service instead.
* socket units: allow creating a udev monitor socket with ListenDevices= or so,
with matches, then actviate app thorugh that passing socket oveer

1
cb/elogind.cbp

@ -54,6 +54,7 @@
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="../Makefile" />
<Unit filename="../build/config.h" />
<Unit filename="../man/glib-event-glue.c">
<Option compilerVar="CC" />

10
man/busctl.xml

@ -475,7 +475,7 @@
<programlisting># busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug
# busctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel
s "debug"</programlisting>
--><!-- else -->
--><!-- else // 0 -->
<literal>/org/freedesktop/login1</literal> object of the
<literal>org.freedesktop.login1</literal> service. The name of
the property is <literal>EnableWallMessages</literal> on the
@ -504,10 +504,10 @@ ARRAY "s" {
STRING "LANG=en_US.UTF-8";
STRING "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin";
};</programlisting>
--><!-- else -->
--><!-- else // 0 -->
<programlisting>$ busctl get-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager KillExcludeUsers
as 2 "root" "admin"
$ busctl --verbose get-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager KillExcludeUsers
$ busctl &#x2D;&#x2D;verbose get-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager KillExcludeUsers
ARRAY "s" {
STRING "root";
STRING "admin";
@ -533,7 +533,7 @@ ARRAY "s" {
<programlisting># busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager StartUnit ss "cups.service" "replace"
o "/org/freedesktop/systemd1/job/42684"</programlisting>
--><!-- else -->
--><!-- else // 0 -->
<literal>ListSeats</literal> method on the
<literal>org.freedesktop.login1.Manager</literal>
interface of the
@ -559,7 +559,7 @@ a(so) 1 "seat0" "/org/freedesktop/login1/seat/seat0"</programlisting>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>machinectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry project='die-net'><refentrytitle>wireshark</refentrytitle><manvolnum>1</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
</para>

2
man/elogind-inhibit.xml

@ -148,7 +148,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>

6
man/elogind.journal-fields.xml

@ -21,7 +21,7 @@
<refname>systemd.journal-fields</refname>
<refpurpose>Special journal fields</refpurpose>
</refnamediv>
--><!-- else -->
--><!-- else // 0 -->
<refentry id="elogind.journal-fields">
<refentryinfo>
@ -51,7 +51,7 @@
UTF-8 text strings makes little sense. New fields may freely be defined by applications, but a few fields
have special meanings. All fields with special meanings are optional. In some cases, fields may appear
more than once per entry.</para>
--><!-- else -->
--><!-- else // 0 -->
<para>Systems that use elogind have no systemd-journald running. Applications
that use structured log messages via sd-journal.h use specific variables for
this structure. The following is a list of variables that are parsed by elogind
@ -609,7 +609,7 @@
<citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>coredumpctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
<!-- // 0 -->
</para>

4
man/elogind.time.xml

@ -106,7 +106,7 @@
timezone, or the timezone name in the IANA timezone database format. The complete list of timezones
supported on your system can be obtained using the <literal>timedatectl list-timezones</literal>
(see <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>).
--><!-- else -->
--><!-- else // 0 -->
timezone, or the timezone name in the IANA timezone database format.
<!-- // 0 -->
Using IANA format is recommended over local timezone names, as less prone to errors (eg: with local timezone it's possible to
@ -304,7 +304,7 @@ Wed..Sat,Tue 12-10-15 1:2:3 → Tue..Sat 2012-10-15 01:02:03
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-analyze</refentrytitle><manvolnum>1</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
<!-- // 0 -->
</para>

20
man/elogind.xml

@ -15,7 +15,7 @@
<!-- 0 /// elogind is in section 8
<refentrytitle>systemd</refentrytitle>
<manvolnum>1</manvolnum>
--><!-- else -->
--><!-- else // 0 -->
<refentrytitle>elogind</refentrytitle>
<manvolnum>8</manvolnum>
<!-- // 0 -->
@ -26,7 +26,7 @@
<refname>systemd</refname>
<refname>init</refname>
<refpurpose>systemd system and service manager</refpurpose>
--><!-- else -->
--><!-- else // 0 -->
<refname>elogind</refname>
<refpurpose>Login manager</refpurpose>
<!-- // 0 -->
@ -43,7 +43,7 @@
<arg choice="opt" rep="repeat">OPTIONS</arg>
<arg choice="req">COMMAND</arg>
</cmdsynopsis>
--><!-- else -->
--><!-- else // 0 -->
<cmdsynopsis>
<command>elogind</command>
<arg choice="opt" rep="repeat">OPTIONS</arg>
@ -81,7 +81,7 @@
<filename>user.conf.d</filename> directories. See
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for more information.</para>
--><!-- else -->
--><!-- else // 0 -->
<para><command>elogind</command> is a system service that
manages user logins. It is responsible for:</para>
@ -105,13 +105,11 @@
<listitem><para>Device access management for
users</para></listitem>
<!-- 1 /// Add information about RemoveIPC -->
<listitem><para>Removing of all System V and POSIX IPC objects belonging to the user after the
last of the user's sessions terminated. See <varname>RemoveIPC=</varname> in
<citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
about how to configure this behavior.
</para></listitem>
<!-- // 1 -->
</itemizedlist>
<para>User sessions are registered in elogind via the
@ -460,7 +458,7 @@
received. This is mostly equivalent to <command>systemctl
&#x2D;&#x2D;user start exit.target
&#x2D;&#x2D;job-mode=replace-irreversibly</command>.</para></listitem>
--><!-- else -->
--><!-- else // 0 -->
<listitem><para>Upon receiving this signal elogind exits, cleaning up
all sessions and seats.</para></listitem>
<!-- // 0 -->
@ -489,7 +487,7 @@
<para>systemd user managers treat this signal the same way as
<constant>SIGTERM</constant>.</para></listitem>
--><!-- else -->
--><!-- else // 0 -->
<listitem><para>Upon receiving this signal elogind exits, leaving all
sessions and seats in place.</para></listitem>
<!-- // 0 -->
@ -543,7 +541,7 @@
<!-- 0 /// elogind is not systemd.
This is mostly equivalent to <command>systemctl
daemon-reload</command>.</para></listitem>
--><!-- else -->
--><!-- else // 0 -->
This is mostly equivalent to <command>loginctl reload</command>.</para></listitem>
<!-- // 0 -->
</varlistentry>
@ -1285,7 +1283,7 @@
</varlistentry>
</variablelist>
</refsect2>
--><!-- else -->
--><!-- else // 0 -->
<variablelist>
<varlistentry>
<term><option>-D</option></term>
@ -1362,7 +1360,7 @@
<citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry project='man-pages'><refentrytitle>bootup</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
The <ulink url="https://github.com/elogind/elogind/">elogind Homepage</ulink>,
<citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,

15
man/loginctl.xml

@ -6,7 +6,7 @@
<!-- 0 /// elogind does not need to activate loginctl in configure
<refentry id="loginctl" conditional='ENABLE_LOGIND'
xmlns:xi="http://www.w3.org/2001/XInclude">
--><!-- else -->
--><!-- else // 0 -->
<refentry id="loginctl" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- // 0 -->
@ -47,7 +47,7 @@
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
login manager
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
login manager</para>
<!-- // 0 -->
@ -194,7 +194,7 @@
<citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
</para></listitem>
</varlistentry>
-->
// 0 -->
<varlistentry>
<term><command>terminate-user</command> <replaceable>USER</replaceable></term>
@ -533,7 +533,7 @@
<example>
<title>Querying user status</title>
<!-- 0 // Looks a bit different with elogind
<!-- 0 /// Looks a bit different with elogind
<programlisting>$ loginctl user-status
fatima (1005)
Since: Sat 2016-04-09 14:23:31 EDT; 54min ago
@ -552,10 +552,11 @@ Apr 09 14:40:30 laptop login[2325]: pam_unix(login:session):
session opened for user fatima by LOGIN(uid=0)
Apr 09 14:40:30 laptop login[2325]: LOGIN ON tty3 BY fatima
</programlisting>
<para>There are two sessions, 3 and 5. Session 3 is a graphical session,
marked with a star. The tree of processing including the two corresponding
scope units and the user manager unit are shown.</para>
--><!-- else -->
--><!-- else // 0 -->
<programlisting>$ loginctl user-status
sed (1004)
Since: Wed 2020-01-29 20:32:00 CET; 3 days ago
@ -577,11 +578,11 @@ sed (1004)
<refsect1>
<title>See Also</title>
<para>
<!-- elogind is in sectin 8 and has neither systemctl nor service files
<!-- 0 /// elogind is in sectin 8 and has neither systemctl nor service files
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>logind.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>

22
man/logind.conf.xml

@ -13,7 +13,7 @@
<refentryinfo>
<title>logind.conf</title>
<productname>systemd</productname>
--><!-- else -->
--><!-- else // 0 -->
<refentry id="logind.conf" xmlns:xi="http://www.w3.org/2001/XInclude">
<refentryinfo>
<title>logind.conf</title>
@ -40,7 +40,7 @@
<para><filename>/etc/systemd/logind.conf.d/*.conf</filename></para>
<para><filename>/run/systemd/logind.conf.d/*.conf</filename></para>
<para><filename>/usr/lib/systemd/logind.conf.d/*.conf</filename></para>
--><!-- else -->
--><!-- else // 0 -->
<para><filename>/etc/elogind/logind.conf</filename></para>
<!-- // 0 -->
</refsynopsisdiv>
@ -53,7 +53,7 @@
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. See
<citerefentry><refentrytitle>systemd.syntax</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for a general description of the syntax.</para>
--><!-- else -->
--><!-- else // 0 -->
<para>This file configures various parameters of elogind.</para>
<!-- // 0 -->
</refsect1>
@ -68,7 +68,7 @@
<!-- 0 /// elogind also supports a few system commands
<para>All options are configured in the
<literal>[Login]</literal> section:</para>
--><!-- else -->
--><!-- else // 0 -->
<para>All login options are configured in the
<literal>[Login]</literal> section, system sleep options are
configured in the <literal>[Sleep]</literal> section.</para>
@ -134,7 +134,7 @@
terminated. If false, the scope is "abandoned", see
<citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
and processes are not killed. Defaults to <literal>&KILL_USER_PROCESSES;</literal>,
--><!-- else -->
--><!-- else // 0 -->
user should be killed when the user logs out. If true, the processes
listed in their session cgroup will be terminated. If false, the session cgroup
is ignored
@ -159,7 +159,7 @@
<!-- 0 /// elogind does not provide systemd-run or any equivalent, yet.
unless they are moved out of the session scope. See example in
<citerefentry><refentrytitle>systemd-run</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
--><!-- else -->
--><!-- else // 0 -->
unless they are moved out of the session scope.
<!-- // 0 -->
</para></listitem>
@ -238,7 +238,7 @@
</varlistentry>
<varlistentry>
--><!-- else -->
--><!-- else // 0 -->
<listitem><para>Specifies how long to keep the user record around for a user after they logged out fully. If
set to zero, the user is terminated immediately when the last session of the user has ended. Defaults to 10s.
</para></listitem>
@ -336,7 +336,7 @@
systemd will always react immediately, possibly before the
kernel fully probed all hotplugged devices. This is safe, as
long as you do not care for systemd to account for devices
--><!-- else -->
--><!-- else // 0 -->
system resume in which elogind will hold off on reacting to
lid events. This is required for the system to properly
detect any hotplugged devices so lid events can be ignored
@ -377,13 +377,13 @@
<listitem><para>Controls the maximum number of concurrent user sessions to manage. Defaults to 8192
<!-- 0 /// rename me to elogind
(8K). Depending on how the <filename>pam_systemd.so</filename> module is included in the PAM stack
--><!-- else -->
--><!-- else // 0 -->
(8K). Depending on how the <filename>pam_elogind.so</filename> module is included in the PAM stack
<!-- // 0 -->
configuration, further login sessions will either be refused, or permitted but not tracked by
<!-- 0 /// rename me to elogind
<filename>systemd-logind</filename>.</para></listitem>
--><!-- else -->
--><!-- else // 0 -->
<filename>elogind</filename>.</para></listitem>
<!-- // 0 -->
</varlistentry>
@ -496,7 +496,7 @@
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,

4
man/meson.build

@ -75,7 +75,7 @@ foreach tuple : xsltproc.found() ? manpages : []
if want_html
#if 0 /// This must be configurable in elogind
# dst = join_paths(docdir, 'html', htmlalias)
#else
#else // 0
dst = get_option('htmldir')
dst = dst != '' ? dst: join_paths(docdir, 'html', htmlalias)
#endif // 0
@ -216,7 +216,7 @@ if git.found()
'mv t @0@/rules/meson.build'.format(meson.current_source_dir())],
#if 0 /// UNNEEDED by elogind
# depend_files : custom_entities_ent)
#else
#else // 0
)
#endif // 0
endif

18
man/pam_elogind.xml

@ -27,12 +27,16 @@
<refsect1>
<title>Description</title>
<!-- 0 /// elogind has no service file
<para><command>pam_systemd</command> registers user sessions with
the systemd login manager
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
and hence the systemd control group hierarchy.</para>
--><!-- else // 0 -->
<para><command>pam_elogind</command> registers user sessions with
the elogind login manager
and hence the elogind control group hierarchy.</para>
<!-- 0 /// elogind has no service file
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
// 0 -->
<!-- // 0 -->
<para>The module also applies various resource management and runtime parameters to the new session, as
configured in the <ulink url="https://elogind.io/USER_RECORD">JSON User Record</ulink> of the user, when
@ -342,11 +346,11 @@ session required pam_unix.so</programlisting>
<citerefentry project='man-pages'><refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry project='man-pages'><refentrytitle>pam_loginuid</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- 0 /// elogind does not provide or support scope, slice or service files
<citerefentry><refentrytitle>elogind.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>elogind.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>elogind.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
<citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
// 0 -->
</para>
</para>
</refsect1>
</refentry>

2
man/sd-bus.xml

@ -103,7 +103,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd-event.xml

@ -132,7 +132,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd_event_new</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

10
man/sd-login.xml

@ -45,7 +45,7 @@
session on a seat you need to utilize the D-Bus API of
<!-- 0 /// it's elogind of course
systemd-logind, instead.</para>
--><!-- else -->
--><!-- else // 0 -->
elogind, instead.</para>
<!-- // 0 -->
@ -59,7 +59,7 @@
to the synchronous interface of <filename>sd-login.h</filename>
<!-- 0 /// it's elogind of course
with the asynchronous D-Bus interface of systemd-logind. However,
--><!-- else -->
--><!-- else // 0 -->
with the asynchronous D-Bus interface of elogind. However,
<!-- // 0 -->
if this is done you need to think a bit about possible races since
@ -123,7 +123,7 @@
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
ensures that audit sessions are identical to systemd sessions, and uses the audit
session ID as session ID in systemd (if auditing is enabled). In general the
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
ensures that audit sessions are identical to elogind sessions, and uses the audit
session ID as session ID in elogind (if auditing is enabled). In general the
@ -231,7 +231,7 @@
<para>Note that
<!-- 0 /// it's elogind here, too!
<citerefentry><refentrytitle>systemd-logind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>
<!-- // 0 -->
manages ACLs on a number of device classes, to allow user code to access the device
@ -248,7 +248,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd_pid_get_session</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

4
man/sd_booted.xml

@ -45,7 +45,7 @@
<para>On failure, this call returns a negative errno-style error
code. If the system was booted up with systemd as init system,
this call returns a positive return value, zero otherwise.</para>
--><!-- else -->
--><!-- else // 0 -->
<para>As it makes no sense to use elogind on a system that is
using elogind as its init system, this function always returns
0.</para>
@ -70,7 +70,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>

2
man/sd_bus_add_match.xml

@ -163,7 +163,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

18
man/sd_bus_creds_get_pid.xml

@ -351,7 +351,7 @@
process is a part of. See
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. For
processes that are not part of a unit, returns -ENXIO.
--><!-- else -->
--><!-- else // 0 -->
<para><function>sd_bus_creds_get_unit()</function> will always return -ENODATA,
as elogind can not support systemd units.
<!-- // 0 -->
@ -363,7 +363,7 @@
that the process is a part of. See
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. For
processes that are not part of a user unit, returns -ENXIO.
--><!-- else -->
--><!-- else // 0 -->
<para><function>sd_bus_creds_get_user_unit()</function> will always return -ENODATA,
as elogind can not support systemd units.
<!-- // 0 -->
@ -374,14 +374,14 @@
the systemd slice (a unit in the system instance of systemd) that
the process is a part of. See
<citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Similarly,
--><!-- else -->
--><!-- else // 0 -->
the current session, as this is the same as slices in elogind.
See <function>sd_bus_creds_get_session()</function>.
<!-- // 0 -->
<function>sd_bus_creds_get_user_slice()</function> retrieves the
<!-- 0 /// The "Use Slice" is the session in elogind, too
systemd slice of the process, in the user instance of systemd.
--><!-- else -->
--><!-- else // 0 -->
the user session, as this is the same as the user slice in elogind.
See <function>sd_bus_creds_get_user_session()</function>.
<!-- // 0 -->
@ -401,7 +401,7 @@
the user unit or login session that the process is a part of. See
<!-- 0 /// Let's look at elogind instead...
<citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
<!-- // 0 -->
For processes that are not part of a user unit or session, returns
@ -415,7 +415,7 @@
project='man-pages'><refentrytitle>capabilities</refentrytitle><manvolnum>7</manvolnum></citerefentry> and the
<varname>AmbientCapabilities=</varname> and <varname>CapabilityBoundingSet=</varname> settings in
<citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
--><!-- else -->
--><!-- else // 0 -->
was set, zero means that it was not set, and a negative return value indicates an error. See <citerefentry
project='man-pages'><refentrytitle>capabilities</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
<!-- // 0 -->
@ -537,7 +537,7 @@
<!-- 0 /// rename for elogind
<xi:include href="libsystemd-pkgconfig.xml" />
--><!-- else -->
--><!-- else // 0 -->
<xi:include href="libelogind-pkgconfig.xml" />
<!-- // 0 -->
@ -547,7 +547,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
@ -559,7 +559,7 @@
<citerefentry project='man-pages'><refentrytitle>proc</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<!-- 0 /// To be consistent, it is renamed for elogind
<citerefentry><refentrytitle>systemd.journal-fields</refentrytitle><manvolnum>7</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind.journal-fields</refentrytitle><manvolnum>7</manvolnum></citerefentry>
<!-- // 0 -->
</para>

2
man/sd_bus_creds_new_from_pid.xml

@ -305,7 +305,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

4
man/sd_bus_default.xml

@ -310,7 +310,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
@ -321,7 +321,7 @@
<citerefentry project='die-net'><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-machined.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>machinectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry project='die-net'><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry>
<!-- // 0 -->
</para>

2
man/sd_bus_error.xml

@ -357,7 +357,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_error_add_map.xml

@ -129,7 +129,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_get_fd.xml

@ -149,7 +149,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_get_n_queued_read.xml

@ -91,7 +91,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_is_open.xml

@ -94,7 +94,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_append.xml

@ -241,7 +241,7 @@ sd_bus_message_append(m, "ynqiuxtd", y, n, q, i, u, x, t, d);</programlisting>
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_append_array.xml

@ -168,7 +168,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_append_basic.xml

@ -252,7 +252,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_append_string_memfd.xml

@ -111,7 +111,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_append_strv.xml

@ -72,7 +72,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_get_cookie.xml

@ -100,7 +100,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_get_monotonic_usec.xml

@ -131,7 +131,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_message_read_basic.xml

@ -230,7 +230,7 @@
<citerefentry><refentrytitle>sd_bus_message_append_basic</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_message_skip</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_message_read</refentrytitle><manvolnum>3</manvolnum></citerefentry>
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
</para>

4
man/sd_bus_message_set_destination.xml

@ -139,7 +139,7 @@
<!-- 0 /// rename for elogind
<xi:include href="libsystemd-pkgconfig.xml" />
--><!-- else -->
--><!-- else // 0 -->
<xi:include href="libelogind-pkgconfig.xml" />
<!-- // 0 -->
@ -149,7 +149,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_negotiate_fds.xml

@ -132,7 +132,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_new.xml

@ -190,7 +190,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_path_encode.xml

@ -146,7 +146,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_process.xml

@ -122,7 +122,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_request_name.xml

@ -200,7 +200,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_set_connected_signal.xml

@ -100,7 +100,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_set_sender.xml

@ -96,7 +96,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_set_watch_bind.xml

@ -106,7 +106,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_track_add_name.xml

@ -221,7 +221,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_bus_track_new.xml

@ -224,7 +224,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>

2
man/sd_event_add_child.xml

@ -308,7 +308,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_add_defer.xml

@ -172,7 +172,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_add_io.xml

@ -284,7 +284,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_add_signal.xml

@ -176,7 +176,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_add_time.xml

@ -267,7 +267,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_exit.xml

@ -127,7 +127,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_new.xml

@ -202,7 +202,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_now.xml

@ -105,7 +105,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_run.xml

@ -147,7 +147,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_set_watchdog.xml

@ -129,7 +129,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_event_wait.xml

@ -309,7 +309,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd_event_new</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_get_seats.xml

@ -111,7 +111,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

6
man/sd_id128_get_machine.xml

@ -78,7 +78,7 @@
<!-- 0 /// elogind does not ship systemd-id128
machine. The application-specific ID should be generated via a tool like <command>systemd-id128 new</command>,
and may be compiled into the application. This function will return the same application-specific ID for each
--><!-- else -->
--><!-- else // 0 -->
machine. This function will return the same application-specific ID for each
<!-- // 0 -->
combination of machine ID and application ID. Internally, this function calculates HMAC-SHA256 of the application
@ -102,7 +102,7 @@
<!-- 0 /// as elogind does not run under systemd, be a bit more generic
variable that the service manager sets when activating a service, see
<citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details. The
--><!-- else -->
--><!-- else // 0 -->
variable that the service manager has to set when activating a service. If <varname>$INVOCATION_ID</varname> was
not set by the service manager, the function returns -ENXIO. The
<!-- // 0 -->
@ -209,7 +209,7 @@ As man:sd-id128(3) macro:
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-id128</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_id128_randomize.xml

@ -72,7 +72,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

2
man/sd_id128_to_string.xml

@ -87,7 +87,7 @@
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

4
man/sd_is_fifo.xml

@ -152,7 +152,7 @@
queue. If the <parameter>path</parameter> parameter is not
<constant>NULL</constant>, it is checked whether the message queue
is bound to the specified name.</para>
else -->
else // 0 -->
<para><function>sd_is_mq()</function> is meant to be called to check
whether the specified file descriptor refers to a POSIX message
queue. As elogind does not need and therefore does not support POSIX
@ -215,7 +215,7 @@ int is_mq(int fd) {
<para>
<!-- 0 /// elogind is in section 8
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
--><!-- else -->
--><!-- else // 0 -->
<citerefentry><refentrytitle>elogind</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<!-- // 0 -->
<citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,

10
man/sd_journal_add_match.xml

@ -126,7 +126,7 @@
<para>Note that filtering via matches only applies to the way the
journal is read, it has no effect on storage on disk.</para>
--><!-- else -->
--><!-- else // 0 -->
<para>As elogind can not support systemd-journal, the functions
<function>sd_journal_add_match()</function>,
<function>sd_journal_add_disjunction()</function>,
@ -144,7 +144,7 @@
<!-- 0 /// always 0 in elogind
return 0 on success or a negative errno-style error
code. <function>sd_journal_flush_matches()</function>
--><!-- else -->
--><!-- else // 0 -->
always return 0. <function>sd_journal_flush_matches()</function>
<!-- // 0 -->
returns nothing.</para>
@ -152,7 +152,7 @@
<!-- 0 /// rename for elogind
<xi:include href="libsystemd-pkgconfig.xml" />
--><!-- else -->
--><!-- else // 0 -->
<xi:include href="libelogind-pkgconfig.xml" />
<!-- // 0 -->
@ -186,7 +186,7 @@ int add_matches(sd_journal *j) {
<!-- 0 /// elogind is in section 8