From: Sven Eden Date: Fri, 30 Dec 2016 14:43:50 +0000 (+0100) Subject: Prep v222: Update build system: X-Git-Tag: v226.4~1^2~148 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=1532f28b7cf3e6e02e74691450b2b5379be6b805 Prep v222: Update build system: - The content of the man pages directory has been overhauled - Makefile-man.am was regenerated - Makefile.am and configure.ac needed a few addtitions and fixes - Some masked functions had to be unmasked - Now superfluous files have been removed --- diff --git a/Makefile-man.am b/Makefile-man.am index 74a1f4cb4..f807483b0 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -8,1744 +8,95 @@ # attribute conditional="ENABLE_WHAT" or conditional="WITH_WHAT" # to element. MANPAGES += \ - man/bootup.7 \ - man/busctl.1 \ - man/daemon.7 \ - man/file-hierarchy.7 \ - man/halt.8 \ - man/hostname.5 \ - man/journalctl.1 \ - man/journald.conf.5 \ - man/kernel-command-line.7 \ - man/kernel-install.8 \ - man/libudev.3 \ - man/locale.conf.5 \ - man/localtime.5 \ - man/machine-id.5 \ - man/machine-info.5 \ - man/os-release.5 \ - man/sd-daemon.3 \ - man/sd-id128.3 \ - man/sd-journal.3 \ - man/sd_booted.3 \ - man/sd_bus_creds_get_pid.3 \ - man/sd_bus_creds_new_from_pid.3 \ - man/sd_bus_default.3 \ - man/sd_bus_error.3 \ - man/sd_bus_message_append.3 \ - man/sd_bus_message_append_array.3 \ - man/sd_bus_message_append_basic.3 \ - man/sd_bus_message_append_string_memfd.3 \ - man/sd_bus_message_append_strv.3 \ - man/sd_bus_message_get_cookie.3 \ - man/sd_bus_message_get_monotonic_usec.3 \ - man/sd_bus_negotiate_fds.3 \ - man/sd_bus_new.3 \ - man/sd_bus_path_encode.3 \ - man/sd_bus_request_name.3 \ - man/sd_event_add_child.3 \ - man/sd_event_add_defer.3 \ - man/sd_event_add_signal.3 \ - man/sd_event_add_time.3 \ - man/sd_event_get_fd.3 \ - man/sd_event_new.3 \ - man/sd_event_run.3 \ - man/sd_event_set_name.3 \ - man/sd_event_wait.3 \ man/sd_id128_get_machine.3 \ man/sd_id128_randomize.3 \ man/sd_id128_to_string.3 \ man/sd_is_fifo.3 \ - man/sd_journal_add_match.3 \ - man/sd_journal_get_catalog.3 \ - man/sd_journal_get_cursor.3 \ - man/sd_journal_get_cutoff_realtime_usec.3 \ - man/sd_journal_get_data.3 \ - man/sd_journal_get_fd.3 \ - man/sd_journal_get_realtime_usec.3 \ - man/sd_journal_get_usage.3 \ - man/sd_journal_next.3 \ - man/sd_journal_open.3 \ - man/sd_journal_print.3 \ - man/sd_journal_query_unique.3 \ - man/sd_journal_seek_head.3 \ - man/sd_journal_stream_fd.3 \ - man/sd_listen_fds.3 \ man/sd_machine_get_class.3 \ man/sd_notify.3 \ - man/sd_watchdog_enabled.3 \ - man/shutdown.8 \ - man/sysctl.d.5 \ - man/systemctl.1 \ - man/systemd-activate.8 \ - man/systemd-analyze.1 \ - man/systemd-ask-password-console.service.8 \ - man/systemd-ask-password.1 \ - man/systemd-bus-proxyd.8 \ - man/systemd-bus-proxyd.service.8 \ - man/systemd-cat.1 \ - man/systemd-cgls.1 \ - man/systemd-cgtop.1 \ - man/systemd-debug-generator.8 \ - man/systemd-delta.1 \ - man/systemd-detect-virt.1 \ - man/systemd-efi-boot-generator.8 \ - man/systemd-escape.1 \ - man/systemd-fsck@.service.8 \ - man/systemd-fstab-generator.8 \ - man/systemd-getty-generator.8 \ - man/systemd-gpt-auto-generator.8 \ - man/systemd-halt.service.8 \ - man/systemd-hibernate-resume-generator.8 \ - man/systemd-hibernate-resume@.service.8 \ - man/systemd-inhibit.1 \ - man/systemd-initctl.service.8 \ - man/systemd-journald.service.8 \ - man/systemd-machine-id-commit.1 \ - man/systemd-machine-id-commit.service.8 \ - man/systemd-machine-id-setup.1 \ - man/systemd-notify.1 \ - man/systemd-nspawn.1 \ - man/systemd-path.1 \ - man/systemd-remount-fs.service.8 \ - man/systemd-run.1 \ - man/systemd-sleep.conf.5 \ - man/systemd-socket-proxyd.8 \ - man/systemd-suspend.service.8 \ - man/systemd-sysctl.service.8 \ - man/systemd-system-update-generator.8 \ - man/systemd-system.conf.5 \ - man/systemd-sysusers.8 \ - man/systemd-tmpfiles.8 \ - man/systemd-tty-ask-password-agent.1 \ - man/systemd-udevd.service.8 \ - man/systemd-update-done.service.8 \ - man/systemd.1 \ - man/systemd.automount.5 \ - man/systemd.device.5 \ - man/systemd.exec.5 \ - man/systemd.generator.7 \ - man/systemd.journal-fields.7 \ - man/systemd.kill.5 \ - man/systemd.link.5 \ - man/systemd.mount.5 \ - man/systemd.path.5 \ - man/systemd.preset.5 \ - man/systemd.resource-control.5 \ - man/systemd.scope.5 \ - man/systemd.service.5 \ - man/systemd.slice.5 \ - man/systemd.snapshot.5 \ - man/systemd.socket.5 \ - man/systemd.special.7 \ - man/systemd.swap.5 \ - man/systemd.target.5 \ - man/systemd.time.7 \ - man/systemd.timer.5 \ - man/systemd.unit.5 \ - man/telinit.8 \ - man/tmpfiles.d.5 \ - man/udev.7 \ - man/udev.conf.5 \ - man/udev_device_get_syspath.3 \ - man/udev_device_has_tag.3 \ - man/udev_device_new_from_syspath.3 \ - man/udev_enumerate_add_match_subsystem.3 \ - man/udev_enumerate_new.3 \ - man/udev_enumerate_scan_devices.3 \ - man/udev_list_entry.3 \ - man/udev_monitor_filter_update.3 \ - man/udev_monitor_new_from_netlink.3 \ - man/udev_monitor_receive_device.3 \ - man/udev_new.3 \ - man/udevadm.8 + man/sd_watchdog_enabled.3 MANPAGES_ALIAS += \ - man/SD_ALERT.3 \ - man/SD_CRIT.3 \ - man/SD_DEBUG.3 \ - man/SD_EMERG.3 \ - man/SD_ERR.3 \ - man/SD_ID128_CONST_STR.3 \ - man/SD_ID128_FORMAT_STR.3 \ - man/SD_ID128_FORMAT_VAL.3 \ - man/SD_ID128_MAKE.3 \ - man/SD_INFO.3 \ - man/SD_JOURNAL_APPEND.3 \ - man/SD_JOURNAL_CURRENT_USER.3 \ - man/SD_JOURNAL_FOREACH.3 \ - man/SD_JOURNAL_FOREACH_BACKWARDS.3 \ - man/SD_JOURNAL_FOREACH_DATA.3 \ - man/SD_JOURNAL_FOREACH_UNIQUE.3 \ - man/SD_JOURNAL_INVALIDATE.3 \ - man/SD_JOURNAL_LOCAL_ONLY.3 \ - man/SD_JOURNAL_NOP.3 \ - man/SD_JOURNAL_RUNTIME_ONLY.3 \ - man/SD_JOURNAL_SUPPRESS_LOCATION.3 \ - man/SD_JOURNAL_SYSTEM.3 \ - man/SD_LISTEN_FDS_START.3 \ - man/SD_NOTICE.3 \ - man/SD_WARNING.3 \ - man/init.1 \ - man/journald.conf.d.5 \ - man/poweroff.8 \ - man/reboot.8 \ - man/sd_bus_creds_get_audit_login_uid.3 \ - man/sd_bus_creds_get_audit_session_id.3 \ - man/sd_bus_creds_get_cgroup.3 \ - man/sd_bus_creds_get_cmdline.3 \ - man/sd_bus_creds_get_comm.3 \ - man/sd_bus_creds_get_description.3 \ - man/sd_bus_creds_get_egid.3 \ - man/sd_bus_creds_get_euid.3 \ - man/sd_bus_creds_get_exe.3 \ - man/sd_bus_creds_get_fsgid.3 \ - man/sd_bus_creds_get_fsuid.3 \ - man/sd_bus_creds_get_gid.3 \ - man/sd_bus_creds_get_mask.3 \ - man/sd_bus_creds_get_owner_uid.3 \ - man/sd_bus_creds_get_ppid.3 \ - man/sd_bus_creds_get_selinux_context.3 \ - man/sd_bus_creds_get_session.3 \ - man/sd_bus_creds_get_sgid.3 \ - man/sd_bus_creds_get_slice.3 \ - man/sd_bus_creds_get_suid.3 \ - man/sd_bus_creds_get_supplementary_gids.3 \ - man/sd_bus_creds_get_tid.3 \ - man/sd_bus_creds_get_tid_comm.3 \ - man/sd_bus_creds_get_tty.3 \ - man/sd_bus_creds_get_uid.3 \ - man/sd_bus_creds_get_unique_name.3 \ - man/sd_bus_creds_get_unit.3 \ - man/sd_bus_creds_get_user_unit.3 \ - man/sd_bus_creds_get_well_known_names.3 \ - man/sd_bus_creds_has_bounding_cap.3 \ - man/sd_bus_creds_has_effective_cap.3 \ - man/sd_bus_creds_has_inheritable_cap.3 \ - man/sd_bus_creds_has_permitted_cap.3 \ - man/sd_bus_creds_ref.3 \ - man/sd_bus_creds_unref.3 \ - man/sd_bus_default_system.3 \ - man/sd_bus_default_user.3 \ - man/sd_bus_error_copy.3 \ - man/sd_bus_error_free.3 \ - man/sd_bus_error_get_errno.3 \ - man/sd_bus_error_has_name.3 \ - man/sd_bus_error_is_set.3 \ - man/sd_bus_error_set.3 \ - man/sd_bus_error_set_const.3 \ - man/sd_bus_error_set_errno.3 \ - man/sd_bus_error_set_errnof.3 \ - man/sd_bus_message_append_array_iovec.3 \ - man/sd_bus_message_append_array_memfd.3 \ - man/sd_bus_message_append_array_space.3 \ - man/sd_bus_message_append_string_iovec.3 \ - man/sd_bus_message_append_string_space.3 \ - man/sd_bus_message_get_realtime_usec.3 \ - man/sd_bus_message_get_reply_cookie.3 \ - man/sd_bus_message_get_seqnum.3 \ - man/sd_bus_negotiate_creds.3 \ - man/sd_bus_negotiate_timestamps.3 \ - man/sd_bus_open.3 \ - man/sd_bus_open_system.3 \ - man/sd_bus_open_system_machine.3 \ - man/sd_bus_open_system_remote.3 \ - man/sd_bus_open_user.3 \ - man/sd_bus_path_decode.3 \ - man/sd_bus_ref.3 \ - man/sd_bus_release_name.3 \ - man/sd_bus_unref.3 \ - man/sd_event_add_exit.3 \ - man/sd_event_add_post.3 \ - man/sd_event_default.3 \ - man/sd_event_dispatch.3 \ - man/sd_event_get_name.3 \ - man/sd_event_loop.3 \ - man/sd_event_prepare.3 \ - man/sd_event_ref.3 \ - man/sd_event_source_get_child_pid.3 \ - man/sd_event_source_get_signal.3 \ - man/sd_event_source_get_time.3 \ - man/sd_event_source_get_time_accuracy.3 \ - man/sd_event_source_get_time_clock.3 \ - man/sd_event_source_set_time.3 \ - man/sd_event_source_set_time_accuracy.3 \ - man/sd_event_unref.3 \ - man/sd_id128_equal.3 \ man/sd_id128_from_string.3 \ man/sd_id128_get_boot.3 \ - man/sd_id128_t.3 \ man/sd_is_mq.3 \ man/sd_is_socket.3 \ man/sd_is_socket_inet.3 \ man/sd_is_socket_unix.3 \ man/sd_is_special.3 \ - man/sd_journal.3 \ - man/sd_journal_add_conjunction.3 \ - man/sd_journal_add_disjunction.3 \ - man/sd_journal_close.3 \ - man/sd_journal_enumerate_data.3 \ - man/sd_journal_enumerate_unique.3 \ - man/sd_journal_flush_matches.3 \ - man/sd_journal_get_catalog_for_message_id.3 \ - man/sd_journal_get_cutoff_monotonic_usec.3 \ - man/sd_journal_get_data_threshold.3 \ - man/sd_journal_get_events.3 \ - man/sd_journal_get_monotonic_usec.3 \ - man/sd_journal_get_timeout.3 \ - man/sd_journal_next_skip.3 \ - man/sd_journal_open_container.3 \ - man/sd_journal_open_directory.3 \ - man/sd_journal_open_files.3 \ - man/sd_journal_perror.3 \ - man/sd_journal_previous.3 \ - man/sd_journal_previous_skip.3 \ - man/sd_journal_printv.3 \ - man/sd_journal_process.3 \ - man/sd_journal_reliable_fd.3 \ - man/sd_journal_restart_data.3 \ - man/sd_journal_restart_unique.3 \ - man/sd_journal_seek_cursor.3 \ - man/sd_journal_seek_monotonic_usec.3 \ - man/sd_journal_seek_realtime_usec.3 \ - man/sd_journal_seek_tail.3 \ - man/sd_journal_send.3 \ - man/sd_journal_sendv.3 \ - man/sd_journal_set_data_threshold.3 \ - man/sd_journal_test_cursor.3 \ - man/sd_journal_wait.3 \ man/sd_machine_get_ifindices.3 \ man/sd_notifyf.3 \ man/sd_pid_notify.3 \ man/sd_pid_notify_with_fds.3 \ - man/sd_pid_notifyf.3 \ - man/sleep.conf.d.5 \ - man/system.conf.d.5 \ - man/systemd-ask-password-console.path.8 \ - man/systemd-ask-password-wall.path.8 \ - man/systemd-ask-password-wall.service.8 \ - man/systemd-bus-proxyd.socket.8 \ - man/systemd-fsck-root.service.8 \ - man/systemd-fsck.8 \ - man/systemd-hibernate-resume.8 \ - man/systemd-hibernate.service.8 \ - man/systemd-hybrid-sleep.service.8 \ - man/systemd-initctl.8 \ - man/systemd-initctl.socket.8 \ - man/systemd-journald-dev-log.socket.8 \ - man/systemd-journald.8 \ - man/systemd-journald.socket.8 \ - man/systemd-kexec.service.8 \ - man/systemd-poweroff.service.8 \ - man/systemd-reboot.service.8 \ - man/systemd-remount-fs.8 \ - man/systemd-shutdown.8 \ - man/systemd-sleep.8 \ - man/systemd-sysctl.8 \ - man/systemd-sysusers.service.8 \ - man/systemd-tmpfiles-clean.service.8 \ - man/systemd-tmpfiles-clean.timer.8 \ - man/systemd-tmpfiles-setup-dev.service.8 \ - man/systemd-tmpfiles-setup.service.8 \ - man/systemd-udevd-control.socket.8 \ - man/systemd-udevd-kernel.socket.8 \ - man/systemd-udevd.8 \ - man/systemd-update-done.8 \ - man/systemd-user.conf.5 \ - man/udev_device_get_action.3 \ - man/udev_device_get_devlinks_list_entry.3 \ - man/udev_device_get_devnode.3 \ - man/udev_device_get_devnum.3 \ - man/udev_device_get_devpath.3 \ - man/udev_device_get_devtype.3 \ - man/udev_device_get_driver.3 \ - man/udev_device_get_is_initialized.3 \ - man/udev_device_get_parent.3 \ - man/udev_device_get_parent_with_subsystem_devtype.3 \ - man/udev_device_get_properties_list_entry.3 \ - man/udev_device_get_property_value.3 \ - man/udev_device_get_subsystem.3 \ - man/udev_device_get_sysattr_list_entry.3 \ - man/udev_device_get_sysattr_value.3 \ - man/udev_device_get_sysname.3 \ - man/udev_device_get_sysnum.3 \ - man/udev_device_get_tags_list_entry.3 \ - man/udev_device_get_udev.3 \ - man/udev_device_new_from_device_id.3 \ - man/udev_device_new_from_devnum.3 \ - man/udev_device_new_from_environment.3 \ - man/udev_device_new_from_subsystem_sysname.3 \ - man/udev_device_ref.3 \ - man/udev_device_set_sysattr_value.3 \ - man/udev_device_unref.3 \ - man/udev_enumerate_add_match_is_initialized.3 \ - man/udev_enumerate_add_match_parent.3 \ - man/udev_enumerate_add_match_property.3 \ - man/udev_enumerate_add_match_sysattr.3 \ - man/udev_enumerate_add_match_sysname.3 \ - man/udev_enumerate_add_match_tag.3 \ - man/udev_enumerate_add_nomatch_subsystem.3 \ - man/udev_enumerate_add_nomatch_sysattr.3 \ - man/udev_enumerate_add_syspath.3 \ - man/udev_enumerate_get_list_entry.3 \ - man/udev_enumerate_get_udev.3 \ - man/udev_enumerate_ref.3 \ - man/udev_enumerate_scan_subsystems.3 \ - man/udev_enumerate_unref.3 \ - man/udev_list_entry_get_by_name.3 \ - man/udev_list_entry_get_name.3 \ - man/udev_list_entry_get_next.3 \ - man/udev_list_entry_get_value.3 \ - man/udev_monitor_enable_receiving.3 \ - man/udev_monitor_filter_add_match_subsystem_devtype.3 \ - man/udev_monitor_filter_add_match_tag.3 \ - man/udev_monitor_filter_remove.3 \ - man/udev_monitor_get_fd.3 \ - man/udev_monitor_get_udev.3 \ - man/udev_monitor_ref.3 \ - man/udev_monitor_set_receive_buffer_size.3 \ - man/udev_monitor_unref.3 \ - man/udev_ref.3 \ - man/udev_unref.3 \ - man/user.conf.d.5 -man/SD_ALERT.3: man/sd-daemon.3 -man/SD_CRIT.3: man/sd-daemon.3 -man/SD_DEBUG.3: man/sd-daemon.3 -man/SD_EMERG.3: man/sd-daemon.3 -man/SD_ERR.3: man/sd-daemon.3 -man/SD_ID128_CONST_STR.3: man/sd-id128.3 -man/SD_ID128_FORMAT_STR.3: man/sd-id128.3 -man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3 -man/SD_ID128_MAKE.3: man/sd-id128.3 -man/SD_INFO.3: man/sd-daemon.3 -man/SD_JOURNAL_APPEND.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_CURRENT_USER.3: man/sd_journal_open.3 -man/SD_JOURNAL_FOREACH.3: man/sd_journal_next.3 -man/SD_JOURNAL_FOREACH_BACKWARDS.3: man/sd_journal_next.3 -man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3 -man/SD_JOURNAL_FOREACH_UNIQUE.3: man/sd_journal_query_unique.3 -man/SD_JOURNAL_INVALIDATE.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_LOCAL_ONLY.3: man/sd_journal_open.3 -man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_RUNTIME_ONLY.3: man/sd_journal_open.3 -man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3 -man/SD_JOURNAL_SYSTEM.3: man/sd_journal_open.3 -man/SD_LISTEN_FDS_START.3: man/sd_listen_fds.3 -man/SD_NOTICE.3: man/sd-daemon.3 -man/SD_WARNING.3: man/sd-daemon.3 -man/init.1: man/systemd.1 -man/journald.conf.d.5: man/journald.conf.5 -man/poweroff.8: man/halt.8 -man/reboot.8: man/halt.8 -man/sd_bus_creds_get_audit_login_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_audit_session_id.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_cgroup.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_cmdline.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_comm.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_description.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_egid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_euid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_exe.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_fsgid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_fsuid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_gid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_mask.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_get_owner_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_ppid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_selinux_context.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_session.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_sgid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_slice.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_suid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_supplementary_gids.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tid_comm.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tty.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_unique_name.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_unit.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_user_unit.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_well_known_names.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_bounding_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_effective_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_inheritable_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_permitted_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_ref.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_unref.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_default_system.3: man/sd_bus_default.3 -man/sd_bus_default_user.3: man/sd_bus_default.3 -man/sd_bus_error_copy.3: man/sd_bus_error.3 -man/sd_bus_error_free.3: man/sd_bus_error.3 -man/sd_bus_error_get_errno.3: man/sd_bus_error.3 -man/sd_bus_error_has_name.3: man/sd_bus_error.3 -man/sd_bus_error_is_set.3: man/sd_bus_error.3 -man/sd_bus_error_set.3: man/sd_bus_error.3 -man/sd_bus_error_set_const.3: man/sd_bus_error.3 -man/sd_bus_error_set_errno.3: man/sd_bus_error.3 -man/sd_bus_error_set_errnof.3: man/sd_bus_error.3 -man/sd_bus_message_append_array_iovec.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_array_memfd.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_array_space.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_string_iovec.3: man/sd_bus_message_append_string_memfd.3 -man/sd_bus_message_append_string_space.3: man/sd_bus_message_append_string_memfd.3 -man/sd_bus_message_get_realtime_usec.3: man/sd_bus_message_get_monotonic_usec.3 -man/sd_bus_message_get_reply_cookie.3: man/sd_bus_message_get_cookie.3 -man/sd_bus_message_get_seqnum.3: man/sd_bus_message_get_monotonic_usec.3 -man/sd_bus_negotiate_creds.3: man/sd_bus_negotiate_fds.3 -man/sd_bus_negotiate_timestamps.3: man/sd_bus_negotiate_fds.3 -man/sd_bus_open.3: man/sd_bus_default.3 -man/sd_bus_open_system.3: man/sd_bus_default.3 -man/sd_bus_open_system_machine.3: man/sd_bus_default.3 -man/sd_bus_open_system_remote.3: man/sd_bus_default.3 -man/sd_bus_open_user.3: man/sd_bus_default.3 -man/sd_bus_path_decode.3: man/sd_bus_path_encode.3 -man/sd_bus_ref.3: man/sd_bus_new.3 -man/sd_bus_release_name.3: man/sd_bus_request_name.3 -man/sd_bus_unref.3: man/sd_bus_new.3 -man/sd_event_add_exit.3: man/sd_event_add_defer.3 -man/sd_event_add_post.3: man/sd_event_add_defer.3 -man/sd_event_default.3: man/sd_event_new.3 -man/sd_event_dispatch.3: man/sd_event_wait.3 -man/sd_event_get_name.3: man/sd_event_set_name.3 -man/sd_event_loop.3: man/sd_event_run.3 -man/sd_event_prepare.3: man/sd_event_wait.3 -man/sd_event_ref.3: man/sd_event_new.3 -man/sd_event_source_get_child_pid.3: man/sd_event_add_child.3 -man/sd_event_source_get_signal.3: man/sd_event_add_signal.3 -man/sd_event_source_get_time.3: man/sd_event_add_time.3 -man/sd_event_source_get_time_accuracy.3: man/sd_event_add_time.3 -man/sd_event_source_get_time_clock.3: man/sd_event_add_time.3 -man/sd_event_source_set_time.3: man/sd_event_add_time.3 -man/sd_event_source_set_time_accuracy.3: man/sd_event_add_time.3 -man/sd_event_unref.3: man/sd_event_new.3 -man/sd_id128_equal.3: man/sd-id128.3 + man/sd_pid_notifyf.3 man/sd_id128_from_string.3: man/sd_id128_to_string.3 man/sd_id128_get_boot.3: man/sd_id128_get_machine.3 -man/sd_id128_t.3: man/sd-id128.3 man/sd_is_mq.3: man/sd_is_fifo.3 man/sd_is_socket.3: man/sd_is_fifo.3 man/sd_is_socket_inet.3: man/sd_is_fifo.3 man/sd_is_socket_unix.3: man/sd_is_fifo.3 man/sd_is_special.3: man/sd_is_fifo.3 -man/sd_journal.3: man/sd_journal_open.3 -man/sd_journal_add_conjunction.3: man/sd_journal_add_match.3 -man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3 -man/sd_journal_close.3: man/sd_journal_open.3 -man/sd_journal_enumerate_data.3: man/sd_journal_get_data.3 -man/sd_journal_enumerate_unique.3: man/sd_journal_query_unique.3 -man/sd_journal_flush_matches.3: man/sd_journal_add_match.3 -man/sd_journal_get_catalog_for_message_id.3: man/sd_journal_get_catalog.3 -man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3 -man/sd_journal_get_data_threshold.3: man/sd_journal_get_data.3 -man/sd_journal_get_events.3: man/sd_journal_get_fd.3 -man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3 -man/sd_journal_get_timeout.3: man/sd_journal_get_fd.3 -man/sd_journal_next_skip.3: man/sd_journal_next.3 -man/sd_journal_open_container.3: man/sd_journal_open.3 -man/sd_journal_open_directory.3: man/sd_journal_open.3 -man/sd_journal_open_files.3: man/sd_journal_open.3 -man/sd_journal_perror.3: man/sd_journal_print.3 -man/sd_journal_previous.3: man/sd_journal_next.3 -man/sd_journal_previous_skip.3: man/sd_journal_next.3 -man/sd_journal_printv.3: man/sd_journal_print.3 -man/sd_journal_process.3: man/sd_journal_get_fd.3 -man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3 -man/sd_journal_restart_data.3: man/sd_journal_get_data.3 -man/sd_journal_restart_unique.3: man/sd_journal_query_unique.3 -man/sd_journal_seek_cursor.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_monotonic_usec.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_realtime_usec.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_tail.3: man/sd_journal_seek_head.3 -man/sd_journal_send.3: man/sd_journal_print.3 -man/sd_journal_sendv.3: man/sd_journal_print.3 -man/sd_journal_set_data_threshold.3: man/sd_journal_get_data.3 -man/sd_journal_test_cursor.3: man/sd_journal_get_cursor.3 -man/sd_journal_wait.3: man/sd_journal_get_fd.3 man/sd_machine_get_ifindices.3: man/sd_machine_get_class.3 man/sd_notifyf.3: man/sd_notify.3 man/sd_pid_notify.3: man/sd_notify.3 man/sd_pid_notify_with_fds.3: man/sd_notify.3 man/sd_pid_notifyf.3: man/sd_notify.3 -man/sleep.conf.d.5: man/systemd-sleep.conf.5 -man/system.conf.d.5: man/systemd-system.conf.5 -man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8 -man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8 -man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8 -man/systemd-bus-proxyd.socket.8: man/systemd-bus-proxyd.service.8 -man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8 -man/systemd-fsck.8: man/systemd-fsck@.service.8 -man/systemd-hibernate-resume.8: man/systemd-hibernate-resume@.service.8 -man/systemd-hibernate.service.8: man/systemd-suspend.service.8 -man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8 -man/systemd-initctl.8: man/systemd-initctl.service.8 -man/systemd-initctl.socket.8: man/systemd-initctl.service.8 -man/systemd-journald-dev-log.socket.8: man/systemd-journald.service.8 -man/systemd-journald.8: man/systemd-journald.service.8 -man/systemd-journald.socket.8: man/systemd-journald.service.8 -man/systemd-kexec.service.8: man/systemd-halt.service.8 -man/systemd-poweroff.service.8: man/systemd-halt.service.8 -man/systemd-reboot.service.8: man/systemd-halt.service.8 -man/systemd-remount-fs.8: man/systemd-remount-fs.service.8 -man/systemd-shutdown.8: man/systemd-halt.service.8 -man/systemd-sleep.8: man/systemd-suspend.service.8 -man/systemd-sysctl.8: man/systemd-sysctl.service.8 -man/systemd-sysusers.service.8: man/systemd-sysusers.8 -man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-setup-dev.service.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8 -man/systemd-udevd-control.socket.8: man/systemd-udevd.service.8 -man/systemd-udevd-kernel.socket.8: man/systemd-udevd.service.8 -man/systemd-udevd.8: man/systemd-udevd.service.8 -man/systemd-update-done.8: man/systemd-update-done.service.8 -man/systemd-user.conf.5: man/systemd-system.conf.5 -man/udev_device_get_action.3: man/udev_device_get_syspath.3 -man/udev_device_get_devlinks_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_devnode.3: man/udev_device_get_syspath.3 -man/udev_device_get_devnum.3: man/udev_device_get_syspath.3 -man/udev_device_get_devpath.3: man/udev_device_get_syspath.3 -man/udev_device_get_devtype.3: man/udev_device_get_syspath.3 -man/udev_device_get_driver.3: man/udev_device_get_syspath.3 -man/udev_device_get_is_initialized.3: man/udev_device_get_syspath.3 -man/udev_device_get_parent.3: man/udev_device_get_syspath.3 -man/udev_device_get_parent_with_subsystem_devtype.3: man/udev_device_get_syspath.3 -man/udev_device_get_properties_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_property_value.3: man/udev_device_has_tag.3 -man/udev_device_get_subsystem.3: man/udev_device_get_syspath.3 -man/udev_device_get_sysattr_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_sysattr_value.3: man/udev_device_has_tag.3 -man/udev_device_get_sysname.3: man/udev_device_get_syspath.3 -man/udev_device_get_sysnum.3: man/udev_device_get_syspath.3 -man/udev_device_get_tags_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_udev.3: man/udev_device_get_syspath.3 -man/udev_device_new_from_device_id.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_devnum.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_environment.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_subsystem_sysname.3: man/udev_device_new_from_syspath.3 -man/udev_device_ref.3: man/udev_device_new_from_syspath.3 -man/udev_device_set_sysattr_value.3: man/udev_device_has_tag.3 -man/udev_device_unref.3: man/udev_device_new_from_syspath.3 -man/udev_enumerate_add_match_is_initialized.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_parent.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_property.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_sysattr.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_sysname.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_tag.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_nomatch_subsystem.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_nomatch_sysattr.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_syspath.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_get_list_entry.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_get_udev.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_ref.3: man/udev_enumerate_new.3 -man/udev_enumerate_scan_subsystems.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_unref.3: man/udev_enumerate_new.3 -man/udev_list_entry_get_by_name.3: man/udev_list_entry.3 -man/udev_list_entry_get_name.3: man/udev_list_entry.3 -man/udev_list_entry_get_next.3: man/udev_list_entry.3 -man/udev_list_entry_get_value.3: man/udev_list_entry.3 -man/udev_monitor_enable_receiving.3: man/udev_monitor_receive_device.3 -man/udev_monitor_filter_add_match_subsystem_devtype.3: man/udev_monitor_filter_update.3 -man/udev_monitor_filter_add_match_tag.3: man/udev_monitor_filter_update.3 -man/udev_monitor_filter_remove.3: man/udev_monitor_filter_update.3 -man/udev_monitor_get_fd.3: man/udev_monitor_receive_device.3 -man/udev_monitor_get_udev.3: man/udev_monitor_receive_device.3 -man/udev_monitor_ref.3: man/udev_monitor_new_from_netlink.3 -man/udev_monitor_set_receive_buffer_size.3: man/udev_monitor_receive_device.3 -man/udev_monitor_unref.3: man/udev_monitor_new_from_netlink.3 -man/udev_ref.3: man/udev_new.3 -man/udev_unref.3: man/udev_new.3 -man/user.conf.d.5: man/systemd-system.conf.5 -man/SD_ALERT.html: man/sd-daemon.html - $(html-alias) - -man/SD_CRIT.html: man/sd-daemon.html - $(html-alias) - -man/SD_DEBUG.html: man/sd-daemon.html - $(html-alias) - -man/SD_EMERG.html: man/sd-daemon.html - $(html-alias) - -man/SD_ERR.html: man/sd-daemon.html - $(html-alias) - -man/SD_ID128_CONST_STR.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_FORMAT_STR.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_FORMAT_VAL.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_MAKE.html: man/sd-id128.html - $(html-alias) - -man/SD_INFO.html: man/sd-daemon.html - $(html-alias) - -man/SD_JOURNAL_APPEND.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_CURRENT_USER.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_FOREACH.html: man/sd_journal_next.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_BACKWARDS.html: man/sd_journal_next.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_DATA.html: man/sd_journal_get_data.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_UNIQUE.html: man/sd_journal_query_unique.html - $(html-alias) - -man/SD_JOURNAL_INVALIDATE.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_LOCAL_ONLY.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_NOP.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_RUNTIME_ONLY.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_SUPPRESS_LOCATION.html: man/sd_journal_print.html - $(html-alias) - -man/SD_JOURNAL_SYSTEM.html: man/sd_journal_open.html - $(html-alias) - -man/SD_LISTEN_FDS_START.html: man/sd_listen_fds.html - $(html-alias) - -man/SD_NOTICE.html: man/sd-daemon.html - $(html-alias) - -man/SD_WARNING.html: man/sd-daemon.html - $(html-alias) - -man/init.html: man/systemd.html - $(html-alias) - -man/journald.conf.d.html: man/journald.conf.html - $(html-alias) - -man/poweroff.html: man/halt.html - $(html-alias) - -man/reboot.html: man/halt.html - $(html-alias) - -man/sd_bus_creds_get_audit_login_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_audit_session_id.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_cgroup.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_cmdline.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_comm.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_description.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_egid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_euid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_exe.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_fsgid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_fsuid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_gid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_mask.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_get_owner_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_ppid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_selinux_context.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_session.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_sgid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_slice.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_suid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_supplementary_gids.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tid_comm.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tty.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_unique_name.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_unit.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_user_unit.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_well_known_names.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_bounding_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_effective_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_inheritable_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_permitted_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_ref.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_unref.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_default_system.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_default_user.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_error_copy.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_free.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_get_errno.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_has_name.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_is_set.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_const.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_errno.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_errnof.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_message_append_array_iovec.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_array_memfd.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_array_space.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_string_iovec.html: man/sd_bus_message_append_string_memfd.html - $(html-alias) - -man/sd_bus_message_append_string_space.html: man/sd_bus_message_append_string_memfd.html - $(html-alias) - -man/sd_bus_message_get_realtime_usec.html: man/sd_bus_message_get_monotonic_usec.html - $(html-alias) - -man/sd_bus_message_get_reply_cookie.html: man/sd_bus_message_get_cookie.html - $(html-alias) - -man/sd_bus_message_get_seqnum.html: man/sd_bus_message_get_monotonic_usec.html - $(html-alias) - -man/sd_bus_negotiate_creds.html: man/sd_bus_negotiate_fds.html - $(html-alias) - -man/sd_bus_negotiate_timestamps.html: man/sd_bus_negotiate_fds.html - $(html-alias) - -man/sd_bus_open.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system_machine.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system_remote.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_user.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_path_decode.html: man/sd_bus_path_encode.html - $(html-alias) - -man/sd_bus_ref.html: man/sd_bus_new.html - $(html-alias) - -man/sd_bus_release_name.html: man/sd_bus_request_name.html - $(html-alias) - -man/sd_bus_unref.html: man/sd_bus_new.html - $(html-alias) - -man/sd_event_add_exit.html: man/sd_event_add_defer.html - $(html-alias) - -man/sd_event_add_post.html: man/sd_event_add_defer.html - $(html-alias) - -man/sd_event_default.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_dispatch.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_get_name.html: man/sd_event_set_name.html - $(html-alias) - -man/sd_event_loop.html: man/sd_event_run.html - $(html-alias) - -man/sd_event_prepare.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_ref.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_source_get_child_pid.html: man/sd_event_add_child.html - $(html-alias) - -man/sd_event_source_get_signal.html: man/sd_event_add_signal.html - $(html-alias) - -man/sd_event_source_get_time.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_get_time_accuracy.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_get_time_clock.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_set_time.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_set_time_accuracy.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_unref.html: man/sd_event_new.html - $(html-alias) - -man/sd_id128_equal.html: man/sd-id128.html - $(html-alias) - -man/sd_id128_from_string.html: man/sd_id128_to_string.html - $(html-alias) - -man/sd_id128_get_boot.html: man/sd_id128_get_machine.html - $(html-alias) - -man/sd_id128_t.html: man/sd-id128.html - $(html-alias) - -man/sd_is_mq.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket_inet.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket_unix.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_special.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_journal.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_add_conjunction.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_add_disjunction.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_close.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_enumerate_data.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_enumerate_unique.html: man/sd_journal_query_unique.html - $(html-alias) - -man/sd_journal_flush_matches.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_get_catalog_for_message_id.html: man/sd_journal_get_catalog.html - $(html-alias) - -man/sd_journal_get_cutoff_monotonic_usec.html: man/sd_journal_get_cutoff_realtime_usec.html - $(html-alias) - -man/sd_journal_get_data_threshold.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_get_events.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_get_monotonic_usec.html: man/sd_journal_get_realtime_usec.html - $(html-alias) - -man/sd_journal_get_timeout.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_next_skip.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_open_container.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_open_directory.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_open_files.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_perror.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_previous.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_previous_skip.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_printv.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_process.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_reliable_fd.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_restart_data.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_restart_unique.html: man/sd_journal_query_unique.html - $(html-alias) - -man/sd_journal_seek_cursor.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_monotonic_usec.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_realtime_usec.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_tail.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_send.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_sendv.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_set_data_threshold.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_test_cursor.html: man/sd_journal_get_cursor.html - $(html-alias) - -man/sd_journal_wait.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_machine_get_ifindices.html: man/sd_machine_get_class.html - $(html-alias) - -man/sd_notifyf.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notify.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notify_with_fds.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notifyf.html: man/sd_notify.html - $(html-alias) - -man/sleep.conf.d.html: man/systemd-sleep.conf.html - $(html-alias) - -man/system.conf.d.html: man/systemd-system.conf.html - $(html-alias) - -man/systemd-ask-password-console.path.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-ask-password-wall.path.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-ask-password-wall.service.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-bus-proxyd.socket.html: man/systemd-bus-proxyd.service.html - $(html-alias) - -man/systemd-fsck-root.service.html: man/systemd-fsck@.service.html - $(html-alias) - -man/systemd-fsck.html: man/systemd-fsck@.service.html - $(html-alias) - -man/systemd-hibernate-resume.html: man/systemd-hibernate-resume@.service.html - $(html-alias) - -man/systemd-hibernate.service.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-hybrid-sleep.service.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-initctl.html: man/systemd-initctl.service.html - $(html-alias) - -man/systemd-initctl.socket.html: man/systemd-initctl.service.html - $(html-alias) - -man/systemd-journald-dev-log.socket.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-journald.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-journald.socket.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-kexec.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-poweroff.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-reboot.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-remount-fs.html: man/systemd-remount-fs.service.html - $(html-alias) - -man/systemd-shutdown.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-sleep.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-sysctl.html: man/systemd-sysctl.service.html - $(html-alias) - -man/systemd-sysusers.service.html: man/systemd-sysusers.html - $(html-alias) - -man/systemd-tmpfiles-clean.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-clean.timer.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-setup-dev.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-setup.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-udevd-control.socket.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-udevd-kernel.socket.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-udevd.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-update-done.html: man/systemd-update-done.service.html - $(html-alias) - -man/systemd-user.conf.html: man/systemd-system.conf.html - $(html-alias) - -man/udev_device_get_action.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devlinks_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_devnode.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devnum.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devpath.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devtype.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_driver.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_is_initialized.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_parent.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_parent_with_subsystem_devtype.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_properties_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_property_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_subsystem.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_sysattr_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_sysattr_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_sysname.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_sysnum.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_tags_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_udev.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_new_from_device_id.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_devnum.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_environment.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_subsystem_sysname.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_ref.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_set_sysattr_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_unref.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_enumerate_add_match_is_initialized.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_parent.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_property.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_sysattr.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_sysname.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_tag.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_nomatch_subsystem.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_nomatch_sysattr.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_syspath.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_get_list_entry.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_get_udev.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_ref.html: man/udev_enumerate_new.html - $(html-alias) - -man/udev_enumerate_scan_subsystems.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_unref.html: man/udev_enumerate_new.html - $(html-alias) - -man/udev_list_entry_get_by_name.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_name.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_next.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_value.html: man/udev_list_entry.html - $(html-alias) - -man/udev_monitor_enable_receiving.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_filter_add_match_subsystem_devtype.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_filter_add_match_tag.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_filter_remove.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_get_fd.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_get_udev.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_ref.html: man/udev_monitor_new_from_netlink.html - $(html-alias) - -man/udev_monitor_set_receive_buffer_size.html: man/udev_monitor_receive_device.html +man/sd_id128_from_string.html: man/sd_id128_to_string.html $(html-alias) -man/udev_monitor_unref.html: man/udev_monitor_new_from_netlink.html +man/sd_id128_get_boot.html: man/sd_id128_get_machine.html $(html-alias) -man/udev_ref.html: man/udev_new.html +man/sd_is_mq.html: man/sd_is_fifo.html $(html-alias) -man/udev_unref.html: man/udev_new.html +man/sd_is_socket.html: man/sd_is_fifo.html $(html-alias) -man/user.conf.d.html: man/systemd-system.conf.html +man/sd_is_socket_inet.html: man/sd_is_fifo.html $(html-alias) - -if ENABLE_BACKLIGHT -MANPAGES += \ - man/systemd-backlight@.service.8 -MANPAGES_ALIAS += \ - man/systemd-backlight.8 -man/systemd-backlight.8: man/systemd-backlight@.service.8 -man/systemd-backlight.html: man/systemd-backlight@.service.html +man/sd_is_socket_unix.html: man/sd_is_fifo.html $(html-alias) -endif - -if ENABLE_BINFMT -MANPAGES += \ - man/binfmt.d.5 \ - man/systemd-binfmt.service.8 -MANPAGES_ALIAS += \ - man/systemd-binfmt.8 -man/systemd-binfmt.8: man/systemd-binfmt.service.8 -man/systemd-binfmt.html: man/systemd-binfmt.service.html +man/sd_is_special.html: man/sd_is_fifo.html $(html-alias) -endif - -if ENABLE_BOOTCHART -MANPAGES += \ - man/bootchart.conf.5 \ - man/systemd-bootchart.1 -MANPAGES_ALIAS += \ - man/bootchart.conf.d.5 -man/bootchart.conf.d.5: man/bootchart.conf.5 -man/bootchart.conf.d.html: man/bootchart.conf.html +man/sd_machine_get_ifindices.html: man/sd_machine_get_class.html $(html-alias) -endif - -if ENABLE_COREDUMP -MANPAGES += \ - man/coredump.conf.5 \ - man/coredumpctl.1 \ - man/systemd-coredump.8 -MANPAGES_ALIAS += \ - man/coredump.conf.d.5 -man/coredump.conf.d.5: man/coredump.conf.5 -man/coredump.conf.d.html: man/coredump.conf.html +man/sd_notifyf.html: man/sd_notify.html $(html-alias) -endif - -if ENABLE_EFI -MANPAGES += \ - man/bootctl.1 -MANPAGES_ALIAS += \ - # - - -endif - -if ENABLE_FIRSTBOOT -MANPAGES += \ - man/systemd-firstboot.1 -MANPAGES_ALIAS += \ - man/systemd-firstboot.service.1 -man/systemd-firstboot.service.1: man/systemd-firstboot.1 -man/systemd-firstboot.service.html: man/systemd-firstboot.html +man/sd_pid_notify.html: man/sd_notify.html $(html-alias) -endif - -if ENABLE_HOSTNAMED -MANPAGES += \ - man/hostnamectl.1 \ - man/systemd-hostnamed.service.8 -MANPAGES_ALIAS += \ - man/systemd-hostnamed.8 -man/systemd-hostnamed.8: man/systemd-hostnamed.service.8 -man/systemd-hostnamed.html: man/systemd-hostnamed.service.html +man/sd_pid_notify_with_fds.html: man/sd_notify.html $(html-alias) -endif - -if ENABLE_HWDB -MANPAGES += \ - man/hwdb.7 \ - man/systemd-hwdb.8 -MANPAGES_ALIAS += \ - # - - -endif - -if ENABLE_LOCALED -MANPAGES += \ - man/localectl.1 \ - man/systemd-localed.service.8 -MANPAGES_ALIAS += \ - man/systemd-localed.8 -man/systemd-localed.8: man/systemd-localed.service.8 -man/systemd-localed.html: man/systemd-localed.service.html +man/sd_pid_notifyf.html: man/sd_notify.html $(html-alias) -endif if ENABLE_LOGIND MANPAGES += \ - man/loginctl.1 \ - man/logind.conf.5 \ - man/systemd-logind.service.8 -MANPAGES_ALIAS += \ - man/logind.conf.d.5 \ - man/systemd-logind.8 -man/logind.conf.d.5: man/logind.conf.5 -man/systemd-logind.8: man/systemd-logind.service.8 -man/logind.conf.d.html: man/logind.conf.html - $(html-alias) - -man/systemd-logind.html: man/systemd-logind.service.html - $(html-alias) - -endif - -if ENABLE_MACHINED -MANPAGES += \ - man/machinectl.1 \ - man/nss-mymachines.8 \ - man/systemd-machined.service.8 -MANPAGES_ALIAS += \ - man/libnss_mymachines.so.2.8 \ - man/systemd-machined.8 -man/libnss_mymachines.so.2.8: man/nss-mymachines.8 -man/systemd-machined.8: man/systemd-machined.service.8 -man/libnss_mymachines.so.2.html: man/nss-mymachines.html - $(html-alias) - -man/systemd-machined.html: man/systemd-machined.service.html - $(html-alias) - -endif - -if ENABLE_NETWORKD -MANPAGES += \ - man/networkctl.1 \ - man/systemd-networkd-wait-online.service.8 \ - man/systemd-networkd.service.8 \ - man/systemd.netdev.5 \ - man/systemd.network.5 -MANPAGES_ALIAS += \ - man/systemd-networkd-wait-online.8 \ - man/systemd-networkd.8 -man/systemd-networkd-wait-online.8: man/systemd-networkd-wait-online.service.8 -man/systemd-networkd.8: man/systemd-networkd.service.8 -man/systemd-networkd-wait-online.html: man/systemd-networkd-wait-online.service.html - $(html-alias) - -man/systemd-networkd.html: man/systemd-networkd.service.html - $(html-alias) - -endif - -if ENABLE_QUOTACHECK -MANPAGES += \ - man/systemd-quotacheck.service.8 -MANPAGES_ALIAS += \ - man/systemd-quotacheck.8 -man/systemd-quotacheck.8: man/systemd-quotacheck.service.8 -man/systemd-quotacheck.html: man/systemd-quotacheck.service.html - $(html-alias) - -endif - -if ENABLE_RANDOMSEED -MANPAGES += \ - man/systemd-random-seed.service.8 -MANPAGES_ALIAS += \ - man/systemd-random-seed.8 -man/systemd-random-seed.8: man/systemd-random-seed.service.8 -man/systemd-random-seed.html: man/systemd-random-seed.service.html - $(html-alias) - -endif - -if ENABLE_RESOLVED -MANPAGES += \ - man/resolved.conf.5 \ - man/systemd-resolved.service.8 -MANPAGES_ALIAS += \ - man/resolved.conf.d.5 \ - man/systemd-resolved.8 -man/resolved.conf.d.5: man/resolved.conf.5 -man/systemd-resolved.8: man/systemd-resolved.service.8 -man/resolved.conf.d.html: man/resolved.conf.html - $(html-alias) - -man/systemd-resolved.html: man/systemd-resolved.service.html - $(html-alias) - -endif - -if ENABLE_RFKILL -MANPAGES += \ - man/systemd-rfkill@.service.8 -MANPAGES_ALIAS += \ - man/systemd-rfkill.8 -man/systemd-rfkill.8: man/systemd-rfkill@.service.8 -man/systemd-rfkill.html: man/systemd-rfkill@.service.html - $(html-alias) - -endif - -if ENABLE_SYSUSERS -MANPAGES += \ - man/sysusers.d.5 + man/elogind.conf.5 \ + man/loginctl.1 MANPAGES_ALIAS += \ # endif -if ENABLE_TIMEDATED -MANPAGES += \ - man/systemd-timedated.service.8 \ - man/timedatectl.1 -MANPAGES_ALIAS += \ - man/systemd-timedated.8 -man/systemd-timedated.8: man/systemd-timedated.service.8 -man/systemd-timedated.html: man/systemd-timedated.service.html - $(html-alias) - -endif - -if ENABLE_TIMESYNCD -MANPAGES += \ - man/systemd-timesyncd.service.8 \ - man/timesyncd.conf.5 -MANPAGES_ALIAS += \ - man/systemd-timesyncd.8 \ - man/timesyncd.conf.d.5 -man/systemd-timesyncd.8: man/systemd-timesyncd.service.8 -man/timesyncd.conf.d.5: man/timesyncd.conf.5 -man/systemd-timesyncd.html: man/systemd-timesyncd.service.html - $(html-alias) - -man/timesyncd.conf.d.html: man/timesyncd.conf.html - $(html-alias) - -endif - -if ENABLE_VCONSOLE -MANPAGES += \ - man/systemd-vconsole-setup.service.8 \ - man/vconsole.conf.5 -MANPAGES_ALIAS += \ - man/systemd-vconsole-setup.8 -man/systemd-vconsole-setup.8: man/systemd-vconsole-setup.service.8 -man/systemd-vconsole-setup.html: man/systemd-vconsole-setup.service.html - $(html-alias) - -endif - -if HAVE_KMOD -MANPAGES += \ - man/modules-load.d.5 \ - man/systemd-modules-load.service.8 -MANPAGES_ALIAS += \ - man/systemd-modules-load.8 -man/systemd-modules-load.8: man/systemd-modules-load.service.8 -man/systemd-modules-load.html: man/systemd-modules-load.service.html - $(html-alias) - -endif - -if HAVE_LIBCRYPTSETUP -MANPAGES += \ - man/crypttab.5 \ - man/systemd-cryptsetup-generator.8 \ - man/systemd-cryptsetup@.service.8 -MANPAGES_ALIAS += \ - man/systemd-cryptsetup.8 -man/systemd-cryptsetup.8: man/systemd-cryptsetup@.service.8 -man/systemd-cryptsetup.html: man/systemd-cryptsetup@.service.html - $(html-alias) - -endif - -if HAVE_MICROHTTPD -MANPAGES += \ - man/journal-remote.conf.5 \ - man/systemd-journal-gatewayd.service.8 \ - man/systemd-journal-remote.8 \ - man/systemd-journal-upload.8 -MANPAGES_ALIAS += \ - man/journal-remote.conf.d.5 \ - man/systemd-journal-gatewayd.8 \ - man/systemd-journal-gatewayd.socket.8 -man/journal-remote.conf.d.5: man/journal-remote.conf.5 -man/systemd-journal-gatewayd.8: man/systemd-journal-gatewayd.service.8 -man/systemd-journal-gatewayd.socket.8: man/systemd-journal-gatewayd.service.8 -man/journal-remote.conf.d.html: man/journal-remote.conf.html - $(html-alias) - -man/systemd-journal-gatewayd.html: man/systemd-journal-gatewayd.service.html - $(html-alias) - -man/systemd-journal-gatewayd.socket.html: man/systemd-journal-gatewayd.service.html - $(html-alias) - -endif - -if HAVE_MYHOSTNAME -MANPAGES += \ - man/nss-myhostname.8 -MANPAGES_ALIAS += \ - man/libnss_myhostname.so.2.8 -man/libnss_myhostname.so.2.8: man/nss-myhostname.8 -man/libnss_myhostname.so.2.html: man/nss-myhostname.html - $(html-alias) - -endif - if HAVE_PAM MANPAGES += \ - man/pam_systemd.8 \ - man/sd-login.3 \ + man/pam_elogind.8 \ man/sd_get_seats.3 \ - man/sd_login_monitor_new.3 \ - man/sd_pid_get_session.3 \ man/sd_seat_get_active.3 \ - man/sd_session_is_active.3 \ - man/sd_uid_get_state.3 \ - man/systemd-user-sessions.service.8 + man/sd_session_is_active.3 MANPAGES_ALIAS += \ man/sd_get_machine_names.3 \ man/sd_get_sessions.3 \ man/sd_get_uids.3 \ - man/sd_login_monitor.3 \ - man/sd_login_monitor_flush.3 \ - man/sd_login_monitor_get_events.3 \ - man/sd_login_monitor_get_fd.3 \ - man/sd_login_monitor_get_timeout.3 \ - man/sd_login_monitor_unref.3 \ - man/sd_peer_get_machine_name.3 \ - man/sd_peer_get_owner_uid.3 \ - man/sd_peer_get_session.3 \ - man/sd_peer_get_slice.3 \ - man/sd_peer_get_unit.3 \ - man/sd_peer_get_user_unit.3 \ - man/sd_pid_get_machine_name.3 \ - man/sd_pid_get_owner_uid.3 \ - man/sd_pid_get_slice.3 \ - man/sd_pid_get_unit.3 \ - man/sd_pid_get_user_unit.3 \ man/sd_seat_can_graphical.3 \ man/sd_seat_can_multi_session.3 \ man/sd_seat_can_tty.3 \ @@ -1762,32 +113,10 @@ MANPAGES_ALIAS += \ man/sd_session_get_type.3 \ man/sd_session_get_uid.3 \ man/sd_session_get_vt.3 \ - man/sd_session_is_remote.3 \ - man/sd_uid_get_display.3 \ - man/sd_uid_get_seats.3 \ - man/sd_uid_get_sessions.3 \ - man/sd_uid_is_on_seat.3 \ - man/systemd-user-sessions.8 + man/sd_session_is_remote.3 man/sd_get_machine_names.3: man/sd_get_seats.3 man/sd_get_sessions.3: man/sd_get_seats.3 man/sd_get_uids.3: man/sd_get_seats.3 -man/sd_login_monitor.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_events.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_timeout.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3 -man/sd_peer_get_machine_name.3: man/sd_pid_get_session.3 -man/sd_peer_get_owner_uid.3: man/sd_pid_get_session.3 -man/sd_peer_get_session.3: man/sd_pid_get_session.3 -man/sd_peer_get_slice.3: man/sd_pid_get_session.3 -man/sd_peer_get_unit.3: man/sd_pid_get_session.3 -man/sd_peer_get_user_unit.3: man/sd_pid_get_session.3 -man/sd_pid_get_machine_name.3: man/sd_pid_get_session.3 -man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3 -man/sd_pid_get_slice.3: man/sd_pid_get_session.3 -man/sd_pid_get_unit.3: man/sd_pid_get_session.3 -man/sd_pid_get_user_unit.3: man/sd_pid_get_session.3 man/sd_seat_can_graphical.3: man/sd_seat_get_active.3 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3 man/sd_seat_can_tty.3: man/sd_seat_get_active.3 @@ -1805,11 +134,6 @@ man/sd_session_get_type.3: man/sd_session_is_active.3 man/sd_session_get_uid.3: man/sd_session_is_active.3 man/sd_session_get_vt.3: man/sd_session_is_active.3 man/sd_session_is_remote.3: man/sd_session_is_active.3 -man/sd_uid_get_display.3: man/sd_uid_get_state.3 -man/sd_uid_get_seats.3: man/sd_uid_get_state.3 -man/sd_uid_get_sessions.3: man/sd_uid_get_state.3 -man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3 -man/systemd-user-sessions.8: man/systemd-user-sessions.service.8 man/sd_get_machine_names.html: man/sd_get_seats.html $(html-alias) @@ -1819,57 +143,6 @@ man/sd_get_sessions.html: man/sd_get_seats.html man/sd_get_uids.html: man/sd_get_seats.html $(html-alias) -man/sd_login_monitor.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_flush.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_events.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_fd.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_timeout.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_unref.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_peer_get_machine_name.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_owner_uid.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_session.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_user_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_machine_name.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_owner_uid.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_user_unit.html: man/sd_pid_get_session.html - $(html-alias) - man/sd_seat_can_graphical.html: man/sd_seat_get_active.html $(html-alias) @@ -1921,276 +194,26 @@ man/sd_session_get_vt.html: man/sd_session_is_active.html man/sd_session_is_remote.html: man/sd_session_is_active.html $(html-alias) -man/sd_uid_get_display.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_get_seats.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_get_sessions.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_is_on_seat.html: man/sd_uid_get_state.html - $(html-alias) - -man/systemd-user-sessions.html: man/systemd-user-sessions.service.html - $(html-alias) - -endif - -if HAVE_PYTHON -MANPAGES += \ - man/systemd.directives.7 \ - man/systemd.index.7 -MANPAGES_ALIAS += \ - # - - -endif - -if HAVE_SYSV_COMPAT -MANPAGES += \ - man/systemd-sysv-generator.8 -MANPAGES_ALIAS += \ - # - - -endif - -if HAVE_UTMP -MANPAGES += \ - man/runlevel.8 \ - man/systemd-update-utmp.service.8 -MANPAGES_ALIAS += \ - man/systemd-update-utmp-runlevel.service.8 \ - man/systemd-update-utmp.8 -man/systemd-update-utmp-runlevel.service.8: man/systemd-update-utmp.service.8 -man/systemd-update-utmp.8: man/systemd-update-utmp.service.8 -man/systemd-update-utmp-runlevel.service.html: man/systemd-update-utmp.service.html - $(html-alias) - -man/systemd-update-utmp.html: man/systemd-update-utmp.service.html - $(html-alias) - endif # Really, do not edit this file. EXTRA_DIST += \ - man/binfmt.d.xml \ - man/bootchart.conf.xml \ - man/bootctl.xml \ - man/bootup.xml \ - man/busctl.xml \ - man/coredump.conf.xml \ - man/coredumpctl.xml \ - man/crypttab.xml \ - man/daemon.xml \ - man/file-hierarchy.xml \ - man/halt.xml \ - man/hostname.xml \ - man/hostnamectl.xml \ - man/hwdb.xml \ - man/journal-remote.conf.xml \ - man/journalctl.xml \ - man/journald.conf.xml \ - man/kernel-command-line.xml \ - man/kernel-install.xml \ + man/elogind.conf.xml \ man/less-variables.xml \ - man/libsystemd-pkgconfig.xml \ - man/libudev.xml \ - man/locale.conf.xml \ - man/localectl.xml \ - man/localtime.xml \ + man/libelogind-pkgconfig.xml \ man/loginctl.xml \ - man/logind.conf.xml \ - man/machine-id.xml \ - man/machine-info.xml \ - man/machinectl.xml \ - man/modules-load.d.xml \ - man/networkctl.xml \ - man/nss-myhostname.xml \ - man/nss-mymachines.xml \ - man/os-release.xml \ - man/pam_systemd.xml \ - man/resolved.conf.xml \ - man/runlevel.xml \ - man/sd-daemon.xml \ - man/sd-id128.xml \ - man/sd-journal.xml \ - man/sd-login.xml \ - man/sd_booted.xml \ - man/sd_bus_creds_get_pid.xml \ - man/sd_bus_creds_new_from_pid.xml \ - man/sd_bus_default.xml \ - man/sd_bus_error.xml \ - man/sd_bus_message_append.xml \ - man/sd_bus_message_append_array.xml \ - man/sd_bus_message_append_basic.xml \ - man/sd_bus_message_append_string_memfd.xml \ - man/sd_bus_message_append_strv.xml \ - man/sd_bus_message_get_cookie.xml \ - man/sd_bus_message_get_monotonic_usec.xml \ - man/sd_bus_negotiate_fds.xml \ - man/sd_bus_new.xml \ - man/sd_bus_path_encode.xml \ - man/sd_bus_request_name.xml \ - man/sd_event_add_child.xml \ - man/sd_event_add_defer.xml \ - man/sd_event_add_signal.xml \ - man/sd_event_add_time.xml \ - man/sd_event_get_fd.xml \ - man/sd_event_new.xml \ - man/sd_event_run.xml \ - man/sd_event_set_name.xml \ - man/sd_event_wait.xml \ + man/pam_elogind.xml \ man/sd_get_seats.xml \ man/sd_id128_get_machine.xml \ man/sd_id128_randomize.xml \ man/sd_id128_to_string.xml \ man/sd_is_fifo.xml \ - man/sd_journal_add_match.xml \ - man/sd_journal_get_catalog.xml \ - man/sd_journal_get_cursor.xml \ - man/sd_journal_get_cutoff_realtime_usec.xml \ - man/sd_journal_get_data.xml \ - man/sd_journal_get_fd.xml \ - man/sd_journal_get_realtime_usec.xml \ - man/sd_journal_get_usage.xml \ - man/sd_journal_next.xml \ - man/sd_journal_open.xml \ - man/sd_journal_print.xml \ - man/sd_journal_query_unique.xml \ - man/sd_journal_seek_head.xml \ - man/sd_journal_stream_fd.xml \ - man/sd_listen_fds.xml \ - man/sd_login_monitor_new.xml \ man/sd_machine_get_class.xml \ man/sd_notify.xml \ - man/sd_pid_get_session.xml \ man/sd_seat_get_active.xml \ man/sd_session_is_active.xml \ - man/sd_uid_get_state.xml \ man/sd_watchdog_enabled.xml \ - man/shutdown.xml \ man/standard-conf.xml \ man/standard-options.xml \ - man/sysctl.d.xml \ - man/systemctl.xml \ - man/systemd-activate.xml \ - man/systemd-analyze.xml \ - man/systemd-ask-password-console.service.xml \ - man/systemd-ask-password.xml \ - man/systemd-backlight@.service.xml \ - man/systemd-binfmt.service.xml \ - man/systemd-bootchart.xml \ - man/systemd-bus-proxyd.service.xml \ - man/systemd-bus-proxyd.xml \ - man/systemd-cat.xml \ - man/systemd-cgls.xml \ - man/systemd-cgtop.xml \ - man/systemd-coredump.xml \ - man/systemd-cryptsetup-generator.xml \ - man/systemd-cryptsetup@.service.xml \ - man/systemd-debug-generator.xml \ - man/systemd-delta.xml \ - man/systemd-detect-virt.xml \ - man/systemd-efi-boot-generator.xml \ - man/systemd-escape.xml \ - man/systemd-firstboot.xml \ - man/systemd-fsck@.service.xml \ - man/systemd-fstab-generator.xml \ - man/systemd-getty-generator.xml \ - man/systemd-gpt-auto-generator.xml \ - man/systemd-halt.service.xml \ - man/systemd-hibernate-resume-generator.xml \ - man/systemd-hibernate-resume@.service.xml \ - man/systemd-hostnamed.service.xml \ - man/systemd-hwdb.xml \ - man/systemd-inhibit.xml \ - man/systemd-initctl.service.xml \ - man/systemd-journal-gatewayd.service.xml \ - man/systemd-journal-remote.xml \ - man/systemd-journal-upload.xml \ - man/systemd-journald.service.xml \ - man/systemd-localed.service.xml \ - man/systemd-logind.service.xml \ - man/systemd-machine-id-commit.service.xml \ - man/systemd-machine-id-commit.xml \ - man/systemd-machine-id-setup.xml \ - man/systemd-machined.service.xml \ - man/systemd-modules-load.service.xml \ - man/systemd-networkd-wait-online.service.xml \ - man/systemd-networkd.service.xml \ - man/systemd-notify.xml \ - man/systemd-nspawn.xml \ - man/systemd-path.xml \ - man/systemd-quotacheck.service.xml \ - man/systemd-random-seed.service.xml \ - man/systemd-remount-fs.service.xml \ - man/systemd-resolved.service.xml \ - man/systemd-rfkill@.service.xml \ - man/systemd-run.xml \ - man/systemd-sleep.conf.xml \ - man/systemd-socket-proxyd.xml \ - man/systemd-suspend.service.xml \ - man/systemd-sysctl.service.xml \ - man/systemd-system-update-generator.xml \ - man/systemd-system.conf.xml \ - man/systemd-sysusers.xml \ - man/systemd-sysv-generator.xml \ - man/systemd-timedated.service.xml \ - man/systemd-timesyncd.service.xml \ - man/systemd-tmpfiles.xml \ - man/systemd-tty-ask-password-agent.xml \ - man/systemd-udevd.service.xml \ - man/systemd-update-done.service.xml \ - man/systemd-update-utmp.service.xml \ - man/systemd-user-sessions.service.xml \ - man/systemd-vconsole-setup.service.xml \ - man/systemd.automount.xml \ - man/systemd.device.xml \ - man/systemd.exec.xml \ - man/systemd.generator.xml \ - man/systemd.journal-fields.xml \ - man/systemd.kill.xml \ - man/systemd.link.xml \ - man/systemd.mount.xml \ - man/systemd.netdev.xml \ - man/systemd.network.xml \ - man/systemd.path.xml \ - man/systemd.preset.xml \ - man/systemd.resource-control.xml \ - man/systemd.scope.xml \ - man/systemd.service.xml \ - man/systemd.slice.xml \ - man/systemd.snapshot.xml \ - man/systemd.socket.xml \ - man/systemd.special.xml \ - man/systemd.swap.xml \ - man/systemd.target.xml \ - man/systemd.time.xml \ - man/systemd.timer.xml \ - man/systemd.unit.xml \ - man/systemd.xml \ - man/sysusers.d.xml \ - man/telinit.xml \ - man/timedatectl.xml \ - man/timesyncd.conf.xml \ - man/tmpfiles.d.xml \ - man/udev.conf.xml \ - man/udev.xml \ - man/udev_device_get_syspath.xml \ - man/udev_device_has_tag.xml \ - man/udev_device_new_from_syspath.xml \ - man/udev_enumerate_add_match_subsystem.xml \ - man/udev_enumerate_new.xml \ - man/udev_enumerate_scan_devices.xml \ - man/udev_list_entry.xml \ - man/udev_monitor_filter_update.xml \ - man/udev_monitor_new_from_netlink.xml \ - man/udev_monitor_receive_device.xml \ - man/udev_new.xml \ - man/udevadm.xml \ - man/user-system-options.xml \ - man/vconsole.conf.xml + man/user-system-options.xml diff --git a/Makefile.am b/Makefile.am index 1cb1c2063..639fd577a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,9 +38,9 @@ SUBDIRS = . po # Keep the test-suite.log .PRECIOUS: $(TEST_SUITE_LOG) Makefile -LIBELOGIND_CURRENT=8 -LIBELOGIND_REVISION=0 -LIBELOGIND_AGE=8 +LIBELOGIND_CURRENT=9 +LIBELOGIND_REVISION=3 +LIBELOGIND_AGE=9 # Dirs of external packages dbuspolicydir=@dbuspolicydir@ @@ -241,6 +241,45 @@ noinst_DATA += \ CLEANFILES += \ docs/html/man +if HAVE_PYTHON +man/index.html: man/systemd.index.html + $(AM_V_LN)$(LN_S) -f systemd.index.html $@ + +noinst_DATA += \ + man/index.html + +CLEANFILES += \ + man/index.html + +XML_GLOB = $(wildcard $(top_srcdir)/man/*.xml) +NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES)) +SOURCE_XML_FILES = ${patsubst %,$(top_srcdir)/%,$(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))} + +# This target should only be run manually. It recreates Makefile-man.am +# file in the source directory based on all man/*.xml files. Run it after +# adding, removing, or changing the conditional in a man page. +update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB) + $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp + $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am + @echo "Makefile-man.am has been regenerated" + +man/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FILES) + $(AM_V_at)$(MKDIR_P) $(dir $@) + $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^) + +man/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py man/custom-entities.ent $(SOURCE_XML_FILES) + $(AM_V_at)$(MKDIR_P) $(dir $@) + $(AM_V_GEN)$(PYTHON) $< $@ $(SOURCE_XML_FILES) + +CLEANFILES += \ + man/systemd.index.xml \ + man/systemd.directives.xml + +EXTRA_DIST += \ + tools/make-man-rules.py + +endif + endif EXTRA_DIST += \ diff --git a/configure.ac b/configure.ac index c8a4aff8f..5da3365c0 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.64]) AC_INIT([elogind], - [221], + [222], [https://github.com/elogind/elogind/issues], [elogind], [https://github.com/elogind/elogind]) @@ -95,16 +95,7 @@ AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't s M4_DEFINES= -# gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line -m4_ifdef([GTK_DOC_CHECK], [ -GTK_DOC_CHECK([1.18],[--flavour no-tmpl])], - [AM_CONDITIONAL([ENABLE_GTK_DOC], [false]) - enable_gtk_doc=no]) - -AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [ - AC_MSG_ERROR([*** GTK doc requested but xsltproc not found]) -]) - +AC_CHECK_TOOL(OBJCOPY, objcopy) AC_CHECK_TOOL(GPERF, gperf) if test -z "$GPERF" ; then AC_MSG_ERROR([*** gperf not found]) @@ -233,6 +224,54 @@ AC_CHECK_SIZEOF(rlim_t,,[ #include ]) +# ------------------------------------------------------------------------------ +# we use python to build the man page index, and for systemd-python +have_python=no +AC_ARG_WITH([python], + [AS_HELP_STRING([--without-python], [Disable building the man page index and systemd-python (default: test)])]) + +have_lxml=no +AS_IF([test "x$with_python" != "xno"], [ + AM_PATH_PYTHON(,, [:]) + AS_IF([test "x$PYTHON" != "x:"], [ + AC_MSG_CHECKING([for python lxml module]) + AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes]) + AC_MSG_RESULT([$have_lxml]) + AS_IF([test "x$have_lxml" = "xyes"], [have_python=yes], + [AC_MSG_WARN([*** python support requires python-lxml module installed])]) + ]) +]) +AS_IF([test "$have_python" != "yes"], [ + AS_IF([test "$with_python" = "yes"], + [AC_MSG_ERROR([*** python support requested but python support not found])]) + AS_IF([test "$with_python" != "no"], + [AC_MSG_WARN([*** python support not found, some documentation cannot be built])]) +]) + +AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"]) +AS_IF([test "x$PYTHON_BINARY" = "x"], + [AS_IF([test "x$have_python" = "xyes"], + [PYTHON_BINARY="$(which "$PYTHON")"], + [PYTHON_BINARY=/usr/bin/python])]) +AC_ARG_VAR(PYTHON_BINARY, [Python binary used to launch installed scripts]) + +AS_IF([test "x$have_python" != "xyes" -a "x$enable_python_devel" = "xyes"], + [AC_MSG_ERROR([*** python-devel support requires --with-python])]) + +have_python_devel=no +AC_ARG_ENABLE(python_devel, AS_HELP_STRING([--disable-python-devel], [Do not build python modules])) +AS_IF([test "x$have_python" = "xyes" -a "x$enable_python_devel" != "xno"], [ + PKG_CHECK_MODULES([PYTHON_DEVEL], [python-${PYTHON_VERSION}], + [have_python_devel=yes], + [PKG_CHECK_MODULES([PYTHON_DEVEL], [python], + [have_python_devel=yes], + [have_python_devel=no])]) + AS_IF([test "x$have_python_devel" = xno -a "x$enable_python_devel" = xyes], + [AC_MSG_ERROR([*** python-devel support requested but libraries not found])]) + AC_PATH_PROGS(SPHINX_BUILD, sphinx-build-${PYTHON_VERSION} sphinx-build) +]) +AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"]) + # ------------------------------------------------------------------------------ AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])]) @@ -501,8 +540,14 @@ fi AC_ARG_WITH(smack-run-label, AS_HELP_STRING([--with-smack-run-label=STRING], - [run elogind --system with a specific SMACK label]), - [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run with a smack label])], + [run elogind --system itself with a specific SMACK label]), + [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run elogind itself with SMACK label])], + []) + +AC_ARG_WITH(smack-default-process-label, +AS_HELP_STRING([--with-smack-default-process-label=STRING], + [default SMACK label for executed processes]), + [AC_DEFINE_UNQUOTED(SMACK_DEFAULT_PROCESS_LABEL, ["$withval"], [Default SMACK label for executed processes])], []) if test "x${have_smack}" = xyes ; then @@ -511,6 +556,15 @@ fi AM_CONDITIONAL([HAVE_SMACK], [test "x$have_smack" = "xyes"]) +# ------------------------------------------------------------------------------ +have_logind=yes +#AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon])) +#if test "x$enable_logind" != "xno"; then +# have_logind=yes +#fi +AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"]) +AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ]) + # ------------------------------------------------------------------------------ AC_ARG_WITH(system-uid-max, AS_HELP_STRING([--with-system-uid-max=UID] diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 000000000..9d0750519 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,28 @@ +# This file is part of systemd. +# +# Copyright 2010 Lennart Poettering +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# systemd is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with systemd; If not, see . + +# This file is a dirty trick to simplify compilation from within +# emacs. This file is not intended to be distributed. So, don't touch +# it, even better ignore it! + +all: + $(MAKE) -C .. + +clean: + $(MAKE) -C .. clean + +.PHONY: all clean diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 99acc4341..27714633e 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -1,22 +1,22 @@ @@ -271,10 +271,22 @@ index.html Index + · + + + elogind.directives.html + + Directives + · + + + ../python-elogind/index.html + + Python - elogind + elogind
diff --git a/man/custom-man.xsl b/man/custom-man.xsl index bb82f5911..853e214d1 100644 --- a/man/custom-man.xsl +++ b/man/custom-man.xsl @@ -1,22 +1,22 @@ - + elogind.conf elogind @@ -43,7 +44,6 @@ elogind.conf - elogind.conf.d Login manager configuration files @@ -56,6 +56,7 @@ These files configure various parameters of the elogind login manager, + elogind-logind.service8. @@ -69,6 +70,48 @@ + + NAutoVTs= + + Takes a positive integer. Configures how many + virtual terminals (VTs) to allocate by default that, when + switched to and are previously unused, + autovt services are automatically spawned + on. These services are instantiated from the template unit + autovt@.service for the respective VT TTY + name, for example, autovt@tty4.service. + By default, autovt@.service is linked to + getty@.service. In other words, login + prompts are started dynamically as the user switches to unused + virtual terminals. Hence, this parameter controls how many + login gettys are available on the VTs. If a + VT is already used by some other subsystem (for example, a + graphical login), this kind of activation will not be + attempted. Note that the VT configured in + ReserveVT= is always subject to this kind + of activation, even if it is not one of the VTs configured + with the NAutoVTs= directive. Defaults to + 6. When set to 0, automatic spawning of + autovt services is + disabled. + + + + ReserveVT= + + Takes a positive integer. Identifies one + virtual terminal that shall unconditionally be reserved for + autovt@.service activation (see above). + The VT selected with this option will be marked busy + unconditionally, so that no other subsystem will allocate it. + This functionality is useful to ensure that, regardless of how + many VTs are allocated by other subsystems, one login + getty is always available. Defaults to 6 + (in other words, there will always be a + getty available on Alt-F6.). When set to 0, + VT reservation is disabled. + + KillUserProcesses= @@ -253,7 +296,10 @@ See Also + elogind1, + elogind-logind.service8, loginctl1, + elogind-system.conf5 diff --git a/man/loginctl.xml b/man/loginctl.xml index 1c2d9132e..54a9a73d7 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -3,25 +3,26 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> - + loginctl @@ -60,7 +61,10 @@ Description loginctl may be used to introspect and - control the state of the elogind login manager + control the state of the + elogind1 + login manager + elogind-logind.service8. @@ -401,6 +405,9 @@ See Also + elogind1, + systemctl1, + elogind-logind.service8, elogind.conf5 diff --git a/man/pam_elogind.xml b/man/pam_elogind.xml index 927ad1f08..700f0cc88 100644 --- a/man/pam_elogind.xml +++ b/man/pam_elogind.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> @@ -56,7 +56,7 @@ pam_elogind registers user sessions with the elogind login manager - logind8, + elogind-logind.service8, and hence the elogind control group hierarchy. On login, this module ensures the following: @@ -280,12 +280,16 @@ session required pam_elogind.so See Also elogind1, + elogind-logind.service8, elogind.conf5, loginctl1, pam.conf5, pam.d5, pam8, pam_loginuid8, + elogind.scope5, + elogind.slice5, + elogind.service5 diff --git a/man/sd-login.xml b/man/sd-login.xml deleted file mode 100644 index 06ffc6906..000000000 --- a/man/sd-login.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - sd-login - systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - sd-login - 3 - - - - sd-login - APIs for - tracking logins - - - - - #include <systemd/sd-login.h> - - - - pkg-config --cflags --libs libelogind - - - - - Description - - sd-login.h provides APIs to introspect - and monitor seat, login session and user status information on the - local system. - - See Multi-Seat - on Linux for an introduction into multi-seat support on - Linux, the background for this set of APIs. - - Note that these APIs only allow purely passive access and - monitoring of seats, sessions and users. To actively make changes - to the seat configuration, terminate login sessions, or switch - session on a seat you need to utilize the D-Bus API of - logind, instead. - - These functions synchronously access data in - /proc, /sys/fs/cgroup - and /run. All of these are virtual file - systems, hence the runtime cost of the accesses is relatively - cheap. - - It is possible (and often a very good choice) to mix calls - to the synchronous interface of sd-login.h - with the asynchronous D-Bus interface of logind. However, - if this is done you need to think a bit about possible races since - the stream of events from D-Bus and from - sd-login.h interfaces such as the login - monitor are asynchronous and not ordered against each - other. - - If the functions return string arrays, these are generally - NULL terminated and need to be freed by the - caller with the libc - free3 - call after use, including the strings referenced therein. - Similarly, individual strings returned need to be freed, as - well. - - As a special exception, instead of an empty string array - NULL may be returned, which should be treated - equivalent to an empty string array. - - See - sd_pid_get_session3, - sd_uid_get_state3, - sd_session_is_active3, - sd_seat_get_active3, - sd_get_seats3, - sd_login_monitor_new3 - for more information about the functions - implemented. - - - - - - See Also - - systemd1, - sd_pid_get_session3, - sd_uid_get_state3, - sd_session_is_active3, - sd_seat_get_active3, - sd_get_seats3, - sd_login_monitor_new3, - sd-daemon3, - pkg-config1 - - - - diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index c6b133e66..5a456a5f4 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_get_seats - systemd + elogind @@ -52,7 +52,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_get_seats @@ -132,7 +132,7 @@ See Also - systemd1, + elogind1, sd-login3, sd_session_get_seat3 diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml new file mode 100644 index 000000000..a3fcfb552 --- /dev/null +++ b/man/sd_id128_get_machine.xml @@ -0,0 +1,129 @@ + + + + + + + + + sd_id128_get_machine + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_id128_get_machine + 3 + + + + sd_id128_get_machine + sd_id128_get_boot + Retrieve 128-bit IDs + + + + + #include <elogind/sd-id128.h> + + + int sd_id128_get_machine + sd_id128_t *ret + + + + int sd_id128_get_boot + sd_id128_t *ret + + + + + + + Description + + sd_id128_get_machine() returns the + machine ID of the executing host. This reads and parses the + machine-id5 + file. This function caches the machine ID internally to make + retrieving the machine ID a cheap operation. + + sd_id128_get_boot() returns the boot ID + of the executing kernel. This reads and parses the + /proc/sys/kernel/random/boot_id file exposed + by the kernel. It is randomly generated early at boot and is + unique for every running kernel instance. See + random4 + for more information. This function also internally caches the + returned ID to make this call a cheap operation. + + Note that sd_id128_get_boot() always + returns a UUID v4 compatible ID. + sd_id128_get_machine() will also return a + UUID v4-compatible ID on new installations but might not on older. + It is possible to convert the machine ID into a UUID v4-compatible + one. For more information, see + machine-id5. + + For more information about the sd_id128_t + type see + sd-id1283. + + + + Return Value + + The two calls return 0 on success (in which case + ret is filled in), or a negative + errno-style error code. + + + + Notes + + The sd_id128_get_machine() and + sd_id128_get_boot() interfaces are available + as a shared library, which can be compiled and linked to with the + libelogind pkg-config1 + file. + + + + See Also + + + elogind1, + sd-id1283, + machine-id5, + random4, + sd_id128_randomize3 + + + + diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml new file mode 100644 index 000000000..a5daae2bd --- /dev/null +++ b/man/sd_id128_randomize.xml @@ -0,0 +1,114 @@ + + + + + + + + + sd_id128_randomize + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_id128_randomize + 3 + + + + sd_id128_randomize + Generate 128-bit IDs + + + + + #include <elogind/sd-id128.h> + + + int sd_id128_randomize + sd_id128_t *ret + + + + + + + Description + + sd_id128_randomize() generates a new + randomized 128-bit ID and returns it in + ret. Every invocation returns a new + randomly generated ID. This uses the + /dev/urandom kernel random number + generator. + + Note that sd_id128_randomize() always + returns a UUID v4-compatible ID. + + For more information about the sd_id128_t + type, see + sd-id1283. + + journalctl1's + option may be used as a command line + front-end for sd_id128_randomize(). + + + + Return Value + + The call returns 0 on success (in which case + ret is filled in), or a negative + errno-style error code. + + + + Notes + + The sd_id128_randomize() interface is + available as a shared library, which can be compiled and linked to + with the + libelogind pkg-config1 + file. + + + + See Also + + + elogind1, + sd-id1283, + machine-id5, + random4, + sd_id128_get_machine3 + + + + diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml new file mode 100644 index 000000000..afbf82c37 --- /dev/null +++ b/man/sd_id128_to_string.xml @@ -0,0 +1,132 @@ + + + + + + + + + sd_id128_to_string + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_id128_to_string + 3 + + + + sd_id128_to_string + sd_id128_from_string + Format or parse 128-bit IDs as strings + + + + + #include <elogind/sd-id128.h> + + + char *sd_id128_to_string + sd_id128_t id, char s[33] + + + + int sd_id128_from_string + const char *s, sd_id128_t *ret + + + + + + + Description + + sd_id128_to_string() formats a 128-bit + ID as a character string. It expects the ID and a string array + capable of storing 33 characters. The ID will be formatted as 32 + lowercase hexadecimal digits and be terminated by a + NUL byte. + + sd_id128_from_string() implements the + reverse operation: it takes a 33 character string with 32 + hexadecimal digits (either lowercase or uppercase, terminated by + NUL) and parses them back into a 128-bit ID + returned in ret. Alternatively, this call + can also parse a 37-character string with a 128-bit ID formatted + as RFC UUID. + + For more information about the sd_id128_t + type see + sd-id1283. + Note that these calls operate the same way on all architectures, + i.e. the results do not depend on endianness. + + When formatting a 128-bit ID into a string, it is often + easier to use a format string for + printf3. + This is easily done using the + SD_ID128_FORMAT_STR and + SD_ID128_FORMAT_VAL() macros. For more + information see + sd-id1283. + + + + Return Value + + sd_id128_to_string() always succeeds + and returns a pointer to the string array passed in. + sd_id128_from_string returns 0 on success, in + which case ret is filled in, or a negative + errno-style error code. + + + + Notes + + The sd_id128_to_string() and + sd_id128_from_string() interfaces are + available as a shared library, which can be compiled and linked to + with the + libelogind pkg-config1 + file. + + + + See Also + + + elogind1, + sd-id1283, + printf3 + + + + diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 627cb87aa..64f23cb6f 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_is_fifo - systemd + elogind @@ -55,7 +55,7 @@ - #include <systemd/sd-daemon.h> + #include <elogind/sd-daemon.h> int sd_is_fifo @@ -178,7 +178,7 @@ Notes - + Internally, these function use a combination of fstat() and @@ -189,11 +189,11 @@ See Also - systemd1, + elogind1, sd-daemon3, sd_listen_fds3, - systemd.service5, - systemd.socket5 + elogind.service5, + elogind.socket5 diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml deleted file mode 100644 index 7319c061c..000000000 --- a/man/sd_login_monitor_new.xml +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - - - sd_login_monitor_new - systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - sd_login_monitor_new - 3 - - - - sd_login_monitor_new - sd_login_monitor_unref - sd_login_monitor_flush - sd_login_monitor_get_fd - sd_login_monitor_get_events - sd_login_monitor_get_timeout - sd_login_monitor - Monitor login sessions, seats, users and virtual machines/containers - - - - - #include <systemd/sd-login.h> - - - int sd_login_monitor_new - const char *category - sd_login_monitor **ret - - - - sd_login_monitor *sd_login_monitor_unref - sd_login_monitor *m - - - - int sd_login_monitor_flush - sd_login_monitor *m - - - - int sd_login_monitor_get_fd - sd_login_monitor *m - - - - int sd_login_monitor_get_events - sd_login_monitor *m - - - - int sd_login_monitor_get_timeout - sd_login_monitor *m - uint64_t *timeout_usec - - - - - - - Description - - sd_login_monitor_new() may be used to - monitor login sessions, users, seats, and virtual - machines/containers. Via a monitor object a file descriptor can be - integrated into an application defined event loop which is woken - up each time a user logs in, logs out or a seat is added or - removed, or a session, user, seat or virtual machine/container - changes state otherwise. The first parameter takes a string which - can be seat (to get only notifications about - seats being added, removed or changed), session - (to get only notifications about sessions being created or removed - or changed), uid (to get only notifications - when a user changes state in respect to logins) or - machine (to get only notifications when a - virtual machine or container is started or stopped). If - notifications shall be generated in all these conditions, - NULL may be passed. Note that in the future - additional categories may be defined. The second parameter returns - a monitor object and needs to be freed with the - sd_login_monitor_unref() call after - use. - - sd_login_monitor_unref() may be used to - destroy a monitor object. Note that this will invalidate any file - descriptor returned by - sd_login_monitor_get_fd(). - - sd_login_monitor_flush() may be used to - reset the wakeup state of the monitor object. Whenever an event - causes the monitor to wake up the event loop via the file - descriptor this function needs to be called to reset the wake-up - state. If this call is not invoked, the file descriptor will - immediately wake up the event loop again. - - sd_login_monitor_get_fd() may be used - to retrieve the file descriptor of the monitor object that may be - integrated in an application defined event loop, based around - poll2 - or a similar interface. The application should include the - returned file descriptor as wake-up source for the events mask - returned by sd_login_monitor_get_events(). It - should pass a timeout value as returned by - sd_login_monitor_get_timeout(). Whenever a - wake-up is triggered the file descriptor needs to be reset via - sd_login_monitor_flush(). An application - needs to reread the login state with a function like - sd_get_seats3 - or similar to determine what changed. - - sd_login_monitor_get_events() will - return the poll() mask to wait for. This - function will return a combination of POLLIN, - POLLOUT and similar to fill into the - .events field of struct - pollfd. - - sd_login_monitor_get_timeout() will - return a timeout value for usage in poll(). - This returns a value in microseconds since the epoch of - CLOCK_MONOTONIC for timing out - poll() in timeout_usec. - See - clock_gettime2 - for details about CLOCK_MONOTONIC. If there - is no timeout to wait for this will fill in (uint64_t) - -1 instead. Note that poll() takes - a relative timeout in milliseconds rather than an absolute timeout - in microseconds. To convert the absolute 'us' timeout into - relative 'ms', use code like the following: - - uint64_t t; -int msec; -sd_login_monitor_get_timeout(m, &t); -if (t == (uint64_t) -1) - msec = -1; -else { - struct timespec ts; - uint64_t n; - clock_getttime(CLOCK_MONOTONIC, &ts); - n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000; - msec = t > n ? (int) ((t - n + 999) / 1000) : 0; -} - - The code above does not do any error checking for brevity's - sake. The calculated msec integer can be passed - directly as poll()'s timeout - parameter. - - - - Return Value - - On success, - sd_login_monitor_new(), - sd_login_monitor_flush() and - sd_login_monitor_get_timeout() - return 0 or a positive integer. On success, - sd_login_monitor_get_fd() returns - a Unix file descriptor. On success, - sd_login_monitor_get_events() - returns a combination of POLLIN, - POLLOUT and suchlike. On failure, - these calls return a negative errno-style error - code. - - sd_login_monitor_unref() - always returns NULL. - - - - Notes - - The sd_login_monitor_new(), - sd_login_monitor_unref(), - sd_login_monitor_flush(), - sd_login_monitor_get_fd(), - sd_login_monitor_get_events() and - sd_login_monitor_get_timeout() - interfaces are available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - - - - See Also - - - systemd1, - sd-login3, - sd_get_seats3, - poll2, - clock_gettime2 - - - - diff --git a/man/sd_machine_get_class.xml b/man/sd_machine_get_class.xml new file mode 100644 index 000000000..1de911657 --- /dev/null +++ b/man/sd_machine_get_class.xml @@ -0,0 +1,123 @@ + + + + + + + + + sd_machine_get_class + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_machine_get_class + 3 + + + + sd_machine_get_class + sd_machine_get_ifindices + Determine the class and network interface indices of a + locally running virtual machine or container. + + + + + #include <elogind/sd-login.h> + + + int sd_machine_get_class + const char* machine + char *class + + + + int sd_machine_get_ifindices + const char* machine + int **ifindices + + + + + + Description + + sd_machine_get_class() may be used to + determine the class of a locally running virtual machine or + container that is registered with + elogind-machined.service8. + The string returned is either vm or + container. The returned string needs to be + freed with the libc free3 + call after use. + + sd_machine_get_ifindices() may be used + to determine the numeric indices of the network interfaces on the + host that are pointing towards the specified locally running + virtual machine or container that is registered with + elogind-machined.service8. + The returned array needs to be freed with the libc free3 + call after use. + + + + Return Value + + On success, these calls return 0 or a positive integer. On + failure, these calls return a negative errno-style error + code. + + + + Notes + + The sd_machine_get_class() and + sd_machine_get_ifindices() interfaces are + available as a shared library, which can be compiled and linked to + with the + libelogind pkg-config1 + file. + + + + See Also + + + elogind1, + sd-login3, + elogind-machined.service8, + sd_pid_get_machine_name3 + + + + diff --git a/man/sd_notify.xml b/man/sd_notify.xml new file mode 100644 index 000000000..41c3f3fa7 --- /dev/null +++ b/man/sd_notify.xml @@ -0,0 +1,376 @@ + + + + + + + + + sd_notify + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_notify + 3 + + + + sd_notify + sd_notifyf + sd_pid_notify + sd_pid_notifyf + sd_pid_notify_with_fds + Notify service manager about start-up completion and other service status changes + + + + + #include <elogind/sd-daemon.h> + + + int sd_notify + int unset_environment + const char *state + + + + int sd_notifyf + int unset_environment + const char *format + ... + + + + int sd_pid_notify + pid_t pid + int unset_environment + const char *state + + + + int sd_pid_notifyf + pid_t pid + int unset_environment + const char *format + ... + + + + int sd_pid_notify_with_fds + pid_t pid + int unset_environment + const char *state + const int *fds + unsigned n_fds + + + + + + Description + sd_notify() may be called by a service + to notify the service manager about state changes. It can be used + to send arbitrary information, encoded in an + environment-block-like string. Most importantly it can be used for + start-up completion notification. + + If the unset_environment parameter is + non-zero, sd_notify() will unset the + $NOTIFY_SOCKET environment variable before + returning (regardless of whether the function call itself + succeeded or not). Further calls to + sd_notify() will then fail, but the variable + is no longer inherited by child processes. + + The state parameter should contain a + newline-separated list of variable assignments, similar in style + to an environment block. A trailing newline is implied if none is + specified. The string may contain any kind of variable + assignments, but the following shall be considered + well-known: + + + + READY=1 + + Tells the service manager that service startup + is finished. This is only used by elogind if the service + definition file has Type=notify set. Since there is little + value in signaling non-readiness, the only value services + should send is READY=1 (i.e. + READY=0 is not defined). + + + + RELOADING=1 + + Tells the service manager that the service is + reloading its configuration. This is useful to allow the + service manager to track the service's internal state, and + present it to the user. Note that a service that sends this + notification must also send a READY=1 + notification when it completed reloading its + configuration. + + + + STOPPING=1 + + Tells the service manager that the service is + beginning its shutdown. This is useful to allow the service + manager to track the service's internal state, and present it + to the user. + + + + STATUS=... + + Passes a single-line UTF-8 status string back + to the service manager that describes the service state. This + is free-form and can be used for various purposes: general + state feedback, fsck-like programs could pass completion + percentages and failing programs could pass a human readable + error message. Example: STATUS=Completed 66% of file + system check... + + + + ERRNO=... + + If a service fails, the errno-style error + code, formatted as string. Example: ERRNO=2 + for ENOENT. + + + + BUSERROR=... + + If a service fails, the D-Bus error-style + error code. Example: + BUSERROR=org.freedesktop.DBus.Error.TimedOut + + + + MAINPID=... + + The main process ID (PID) of the service, in + case the service manager did not fork off the process itself. + Example: MAINPID=4711 + + + + WATCHDOG=1 + + Tells the service manager to update the + watchdog timestamp. This is the keep-alive ping that services + need to issue in regular intervals if + WatchdogSec= is enabled for it. See + elogind.service5 + for information how to enable this functionality and + sd_watchdog_enabled3 + for the details of how the service can check whether the + watchdog is enabled. + + + + + FDSTORE=1 + + Stores additional file descriptors in the + service manager. File descriptors sent this way will be + maintained per-service by the service manager and be passed + again using the usual file descriptor passing logic on the + next invocation of the service (see + sd_listen_fds3). + This is useful for implementing service restart schemes where + services serialize their state to /run, + push their file descriptors to the system manager, and are + then restarted, retrieving their state again via socket + passing and /run. Note that the service + manager will accept messages for a service only if + FileDescriptorStoreMax= is set to non-zero + for it (defaults to zero). See + elogind.service5 + for details. Multiple arrays of file descriptors may be sent + in separate messages, in which case the arrays are combined. + Note that the service manager removes duplicate file + descriptors before passing them to the service. Use + sd_pid_notify_with_fds() to send messages + with FDSTORE=1, see + below. + + + + + It is recommended to prefix variable names that are not + listed above with X_ to avoid namespace + clashes. + + Note that elogind will accept status data sent from a + service only if the NotifyAccess= option is + correctly set in the service definition file. See + elogind.service5 + for details. + + sd_notifyf() is similar to + sd_notify() but takes a + printf()-like format string plus + arguments. + + sd_pid_notify() and + sd_pid_notifyf() are similar to + sd_notify() and + sd_notifyf() but take a process ID (PID) to + use as originating PID for the message as first argument. This is + useful to send notification messages on behalf of other processes, + provided the appropriate privileges are available. If the PID + argument is specified as 0 the process ID of the calling process + is used, in which case the calls are fully equivalent to + sd_notify() and + sd_notifyf(). + + sd_pid_notify_with_fds() is similar to + sd_pid_notify() but takes an additional array + of file descriptors. These file descriptors are sent along the + notification message to the service manager. This is particularly + useful for sending FDSTORE=1 messages, as + described above. The additional arguments are a pointer to the + file descriptor array plus the number of file descriptors in the + array. If the number of file descriptors is passed as 0, the call + is fully equivalent to sd_pid_notify(), i.e. + no file descriptors are passed. Note that sending file descriptors + to the service manager on messages that do not expect them (i.e. + without FDSTORE=1) they are immediately closed + on reception. + + + + Return Value + + On failure, these calls return a negative errno-style error + code. If $NOTIFY_SOCKET was not set and hence + no status data could be sent, 0 is returned. If the status was + sent, these functions return with a positive return value. In + order to support both, init systems that implement this scheme and + those which do not, it is generally recommended to ignore the + return value of this call. + + + + Notes + + + + Internally, these functions send a single datagram with the + state string as payload to the AF_UNIX socket + referenced in the $NOTIFY_SOCKET environment + variable. If the first character of + $NOTIFY_SOCKET is @, the + string is understood as Linux abstract namespace socket. The + datagram is accompanied by the process credentials of the sending + service, using SCM_CREDENTIALS. + + + + Environment + + + + $NOTIFY_SOCKET + + Set by the service manager for supervised + processes for status and start-up completion notification. + This environment variable specifies the socket + sd_notify() talks to. See above for + details. + + + + + + Examples + + + Start-up Notification + + When a service finished starting up, it might issue the + following call to notify the service manager: + + sd_notify(0, "READY=1"); + + + + Extended Start-up Notification + + A service could send the following after completing + initialization: + + sd_notifyf(0, "READY=1\n" + "STATUS=Processing requests...\n" + "MAINPID=%lu", + (unsigned long) getpid()); + + + + Error Cause Notification + + A service could send the following shortly before exiting, on failure: + + sd_notifyf(0, "STATUS=Failed to start up: %s\n" + "ERRNO=%i", + strerror(errno), + errno); + + + + Store a File Descriptor in the Service Manager + + To store an open file descriptor in the service manager, + in order to continue operation after a service restart without + losing state use FDSTORE=1: + + sd_pid_notify_with_fds(0, 0, "FDSTORE=1", &fd, 1); + + + + + See Also + + elogind1, + sd-daemon3, + daemon7, + elogind.service5, + sd_watchdog_enabled3 + + + + diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index e0002c205..793bbc8c9 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_seat_get_active - systemd + elogind @@ -53,7 +53,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_seat_get_active @@ -166,7 +166,7 @@ See Also - systemd1, + elogind1, sd-login3, sd_session_get_seat3 diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 069cbe091..55726f96a 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_session_is_active - systemd + elogind @@ -62,7 +62,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_session_is_active @@ -313,7 +313,7 @@ See Also - systemd1, + elogind1, sd-login3, sd_pid_get_session3 diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml deleted file mode 100644 index 4218f7381..000000000 --- a/man/sd_uid_get_state.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - sd_uid_get_state - systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - sd_uid_get_state - 3 - - - - sd_uid_get_state - sd_uid_is_on_seat - sd_uid_get_sessions - sd_uid_get_seats - sd_uid_get_display - Determine login state of a specific Unix user ID - - - - - #include <systemd/sd-login.h> - - - int sd_uid_get_state - uid_t uid - char **state - - - - int sd_uid_is_on_seat - uid_t uid - int require_active - const char *seat - - - - int sd_uid_get_sessions - uid_t uid - int require_active - char ***sessions - - - - int sd_uid_get_seats - uid_t uid - int require_active - char ***seats - - - - int sd_uid_get_display - uid_t uid - char **session - - - - - - Description - - sd_uid_get_state() may be used to - determine the login state of a specific Unix user identifier. The - following states are currently known: offline - (user not logged in at all), lingering (user - not logged in, but some user services running), - online (user logged in, but not active, i.e. - has no session in the foreground), active (user - logged in, and has at least one active session, i.e. one session - in the foreground), closing (user not logged - in, and not lingering, but some processes are still around). In - the future additional states might be defined, client code should - be written to be robust in regards to additional state strings - being returned. The returned string needs to be freed with the - libc - free3 - call after use. - - sd_uid_is_on_seat() may be used to - determine whether a specific user is logged in or active on a - specific seat. Accepts a Unix user identifier and a seat - identifier string as parameters. The - require_active parameter is a boolean - value. If non-zero (true), this function will test if the user is - active (i.e. has a session that is in the foreground and accepting - user input) on the specified seat, otherwise (false) only if the - user is logged in (and possibly inactive) on the specified - seat. - - sd_uid_get_sessions() may be used to - determine the current sessions of the specified user. Accepts a - Unix user identifier as parameter. The - require_active parameter controls whether - the returned list shall consist of only those sessions where the - user is currently active (> 0), where the user is currently - online but possibly inactive (= 0), or logged in at all but - possibly closing the session (< 0). The call returns a - NULL terminated string array of session - identifiers in sessions which needs to be - freed by the caller with the libc - free3 - call after use, including all the strings referenced. If the - string array parameter is passed as NULL, the - array will not be filled in, but the return code still indicates - the number of current sessions. Note that instead of an empty - array NULL may be returned and should be - considered equivalent to an empty array. - - Similarly, sd_uid_get_seats() may be - used to determine the list of seats on which the user currently - has sessions. Similar semantics apply, however note that the user - may have multiple sessions on the same seat as well as sessions - with no attached seat and hence the number of entries in the - returned array may differ from the one returned by - sd_uid_get_sessions(). - - sd_uid_get_display() returns the name - of the "primary" session of a user. If the user has graphical - sessions, it will be the oldest graphical session. Otherwise, it - will be the oldest open session. - - - - Return Value - - On success, sd_uid_get_state() returns - 0 or a positive integer. If the test succeeds, - sd_uid_is_on_seat() returns a positive - integer; if it fails, 0. - sd_uid_get_sessions() and - sd_uid_get_seats() return the number of - entries in the returned arrays. - sd_uid_get_display() returns a non-negative - code on success. On failure, these calls return a negative - errno-style error code. - - - - Notes - - Functions described here are available as a shared library, - and can be compiled and linked to using the - libelogind pkg-config1 - entry. - - - - History - - sd_uid_get_state(), - sd_uid_is_on_seat(), - sd_uid_get_sessions(), and - sd_uid_get_seats() functions were added in - systemd-31. - - sd_uid_get_display() was added in - systemd-213. - - - - See Also - - - systemd1, - sd-login3, - sd_pid_get_owner_uid3 - - - - diff --git a/man/sd_watchdog_enabled.xml b/man/sd_watchdog_enabled.xml new file mode 100644 index 000000000..e588b0401 --- /dev/null +++ b/man/sd_watchdog_enabled.xml @@ -0,0 +1,175 @@ + + + + + + + + + sd_watchdog_enabled + elogind + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd_watchdog_enabled + 3 + + + + sd_watchdog_enabled + Check whether the service manager expects watchdog keep-alive notifications from a service + + + + + #include <elogind/sd-daemon.h> + + + int sd_watchdog_enabled + int unset_environment + uint64_t *usec + + + + + + Description + sd_watchdog_enabled() may be called by + a service to detect whether the service manager expects regular + keep-alive watchdog notification events from it, and the timeout + after which the manager will act on the service if it did not get + such a notification. + + If the $WATCHDOG_USEC environment + variable is set, and the $WATCHDOG_PID variable + is unset or set to the PID of the current process, the service + manager expects notifications from this process. The manager will + usually terminate a service when it does not get a notification + message within the specified time after startup and after each + previous message. It is recommended that a daemon sends a + keep-alive notification message to the service manager every half + of the time returned here. Notification messages may be sent with + sd_notify3 + with a message string of WATCHDOG=1. + + If the unset_environment parameter is + non-zero, sd_watchdog_enabled() will unset + the $WATCHDOG_USEC and + $WATCHDOG_PID environment variables before + returning (regardless of whether the function call itself + succeeded or not). Those variables are no longer inherited by + child processes. Further calls to + sd_watchdog_enabled() will also return with + zero. + + If the usec parameter is non-NULL, + sd_watchdog_enabled() will write the timeout + in µs for the watchdog logic to it. + + To enable service supervision with the watchdog logic, use + WatchdogSec= in service files. See + elogind.service5 + for details. + + + + Return Value + + On failure, this call returns a negative errno-style error + code. If the service manager expects watchdog keep-alive + notification messages to be sent, > 0 is returned, otherwise 0 + is returned. Only if the return value is > 0, the + usec parameter is valid after the + call. + + + + Notes + + + + Internally, this functions parses the + $WATCHDOG_PID and + $WATCHDOG_USEC environment variable. The call + will ignore these variables if $WATCHDOG_PID + does not contain the PID of the current process, under the + assumption that in that case, the variables were set for a + different process further up the process tree. + + + + Environment + + + + $WATCHDOG_PID + + Set by the system manager for supervised + process for which watchdog support is enabled, and contains + the PID of that process. See above for + details. + + + + $WATCHDOG_USEC + + Set by the system manager for supervised + process for which watchdog support is enabled, and contains + the watchdog timeout in µs See above for + details. + + + + + + History + + The watchdog functionality and the + $WATCHDOG_USEC variable were added in + elogind-41. + + sd_watchdog_enabled() function was + added in elogind-209. Since that version the + $WATCHDOG_PID variable is also set. + + + + See Also + + elogind1, + sd-daemon3, + daemon7, + elogind.service5, + sd_notify3 + + + + diff --git a/src/basic/btrfs-util.h b/src/basic/btrfs-util.h deleted file mode 100644 index 94ab1b59b..000000000 --- a/src/basic/btrfs-util.h +++ /dev/null @@ -1,88 +0,0 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - -/*** - This file is part of systemd. - - Copyright 2014 Lennart Poettering - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see . -***/ - -#pragma once - -#include -#include - -#include "time-util.h" - -typedef struct BtrfsSubvolInfo { - uint64_t subvol_id; - usec_t otime; - - sd_id128_t uuid; - sd_id128_t parent_uuid; - - bool read_only; -} BtrfsSubvolInfo; - -typedef struct BtrfsQuotaInfo { - uint64_t referenced; - uint64_t exclusive; - uint64_t referenced_max; - uint64_t exclusive_max; -} BtrfsQuotaInfo; - -typedef enum BtrfsSnapshotFlags { - BTRFS_SNAPSHOT_FALLBACK_COPY = 1, - BTRFS_SNAPSHOT_READ_ONLY = 2, - BTRFS_SNAPSHOT_RECURSIVE = 4, -} BtrfsSnapshotFlags; - -int btrfs_is_filesystem(int fd); -int btrfs_is_subvol(int fd); - -int btrfs_subvol_make(const char *path); -int btrfs_subvol_make_label(const char *path); - -int btrfs_subvol_snapshot_fd(int old_fd, const char *new_path, BtrfsSnapshotFlags flags); -int btrfs_subvol_snapshot(const char *old_path, const char *new_path, BtrfsSnapshotFlags flags); - -int btrfs_subvol_set_read_only_fd(int fd, bool b); -int btrfs_subvol_set_read_only(const char *path, bool b); -// UNNEEDED int btrfs_subvol_get_read_only_fd(int fd); -int btrfs_subvol_get_id(int fd, const char *subvolume, uint64_t *ret); -int btrfs_subvol_get_id_fd(int fd, uint64_t *ret); -int btrfs_subvol_get_info_fd(int fd, BtrfsSubvolInfo *info); -int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota); - -int btrfs_reflink(int infd, int outfd); -// UNNEEDED int btrfs_clone_range(int infd, uint64_t in_offset, int ofd, uint64_t out_offset, uint64_t sz); - -int btrfs_get_block_device_fd(int fd, dev_t *dev); -int btrfs_get_block_device(const char *path, dev_t *dev); - -int btrfs_defrag_fd(int fd); -int btrfs_defrag(const char *p); - -int btrfs_quota_enable_fd(int fd, bool b); -int btrfs_quota_enable(const char *path, bool b); - -int btrfs_quota_limit_fd(int fd, uint64_t referenced_max); -int btrfs_quota_limit(const char *path, uint64_t referenced_max); - -int btrfs_resize_loopback_fd(int fd, uint64_t size, bool grow_only); -int btrfs_resize_loopback(const char *path, uint64_t size, bool grow_only); - -int btrfs_subvol_remove(const char *path, bool recursive); -int btrfs_subvol_remove_fd(int fd, const char *subvolume, bool recursive); diff --git a/src/basic/util.c b/src/basic/util.c index 3945abdbe..f17a473d6 100644 --- a/src/basic/util.c +++ b/src/basic/util.c @@ -4362,8 +4362,6 @@ int parse_proc_cmdline(int (*parse_item)(const char *key, const char *value)) { return 0; } -/// UNNEEDED by elogind -#if 0 int get_proc_cmdline_key(const char *key, char **value) { _cleanup_free_ char *line = NULL, *ret = NULL; bool found = false; @@ -4416,7 +4414,6 @@ int get_proc_cmdline_key(const char *key, char **value) { return found; } -#endif // 0 int container_get_leader(const char *machine, pid_t *pid) { _cleanup_free_ char *s = NULL, *class = NULL; diff --git a/src/login/loginctl.c b/src/login/loginctl.c index bd7ec27da..2a2c71f8f 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -37,7 +37,7 @@ #include "strv.h" #include "unit-name.h" #include "sysfs-show.h" -#include "logs-show.h" +// #include "logs-show.h" #include "cgroup-show.h" #include "cgroup-util.h" #include "spawn-polkit-agent.h" diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index d408e70eb..3674105cc 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -2021,8 +2021,6 @@ int bus_path_decode_unique(const char *path, const char *prefix, char **ret_send return 1; } -/// UNNEEDED by elogind -#if 0 bool is_kdbus_wanted(void) { _cleanup_free_ char *value = NULL; #ifdef ENABLE_KDBUS @@ -2056,4 +2054,3 @@ bool is_kdbus_available(void) { return ioctl(fd, KDBUS_CMD_BUS_MAKE, &cmd) >= 0; } -#endif // 0 diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h index da5874da7..3b6374ae7 100644 --- a/src/shared/bus-util.h +++ b/src/shared/bus-util.h @@ -197,5 +197,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(BusWaitForJobs*, bus_wait_for_jobs_free); int bus_path_encode_unique(sd_bus *b, const char *prefix, const char *sender_id, const char *external_id, char **ret_path); int bus_path_decode_unique(const char *path, const char *prefix, char **ret_sender, char **ret_external); -// UNNEEDED bool is_kdbus_wanted(void); -// UNNEEDED bool is_kdbus_available(void); +bool is_kdbus_wanted(void); +bool is_kdbus_available(void); diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h index 8afe05736..7c9c3f652 100644 --- a/src/shared/cgroup-show.h +++ b/src/shared/cgroup-show.h @@ -23,7 +23,8 @@ #include #include -#include "logs-show.h" +// #include "logs-show.h" +#include "output-mode.h" int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns, bool kernel_threads, OutputFlags flags); int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns, bool kernel_threads, OutputFlags flags); diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h deleted file mode 100644 index 569e1faa5..000000000 --- a/src/shared/logs-show.h +++ /dev/null @@ -1,71 +0,0 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - -#pragma once - -/*** - This file is part of systemd. - - Copyright 2012 Lennart Poettering - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see . -***/ - -#include -#include - -#include "sd-journal.h" - -#include "util.h" -#include "output-mode.h" - -int output_journal( - FILE *f, - sd_journal *j, - OutputMode mode, - unsigned n_columns, - OutputFlags flags, - bool *ellipsized); - -int add_match_this_boot(sd_journal *j, const char *machine); - -int add_matches_for_unit( - sd_journal *j, - const char *unit); - -int add_matches_for_user_unit( - sd_journal *j, - const char *unit, - uid_t uid); - -int show_journal_by_unit( - FILE *f, - const char *unit, - OutputMode mode, - unsigned n_columns, - usec_t not_before, - unsigned how_many, - uid_t uid, - OutputFlags flags, - int journal_open_flags, - bool system_unit, - bool *ellipsized); - -void json_escape( - FILE *f, - const char* p, - size_t l, - OutputFlags flags); - -const char* output_mode_to_string(OutputMode m) _const_; -OutputMode output_mode_from_string(const char *s) _pure_; diff --git a/src/systemd/sd-dhcp6-lease.h b/src/systemd/sd-dhcp6-lease.h deleted file mode 100644 index 716d7678f..000000000 --- a/src/systemd/sd-dhcp6-lease.h +++ /dev/null @@ -1,39 +0,0 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - -#ifndef foosddhcp6leasehfoo -#define foosddhcp6leasehfoo - -/*** - This file is part of systemd. - - Copyright (C) 2014 Tom Gundersen - Copyright (C) 2014 Intel Corporation. All rights reserved. - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see . -***/ - -#include - -typedef struct sd_dhcp6_lease sd_dhcp6_lease; - -void sd_dhcp6_lease_reset_address_iter(sd_dhcp6_lease *lease); -int sd_dhcp6_lease_get_address(sd_dhcp6_lease *lease, - struct in6_addr *addr, - uint32_t *lifetime_preferred, - uint32_t *lifetime_valid); - -sd_dhcp6_lease *sd_dhcp6_lease_ref(sd_dhcp6_lease *lease); -sd_dhcp6_lease *sd_dhcp6_lease_unref(sd_dhcp6_lease *lease); - -#endif diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h deleted file mode 100644 index 00237a215..000000000 --- a/src/systemd/sd-journal.h +++ /dev/null @@ -1,159 +0,0 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - -#ifndef foosdjournalhfoo -#define foosdjournalhfoo - -/*** - This file is part of systemd. - - Copyright 2011 Lennart Poettering - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see . -***/ - -#include -#include -#include -#include -#include - -#include "sd-id128.h" -#include "_sd-common.h" - -/* Journal APIs. See sd-journal(3) for more information. */ - -_SD_BEGIN_DECLARATIONS; - -/* Write to daemon */ -int sd_journal_print(int priority, const char *format, ...) _sd_printf_(2, 3); -int sd_journal_printv(int priority, const char *format, va_list ap) _sd_printf_(2, 0); -int sd_journal_send(const char *format, ...) _sd_printf_(1, 0) _sd_sentinel_; -int sd_journal_sendv(const struct iovec *iov, int n); -int sd_journal_perror(const char *message); - -/* Used by the macros below. You probably don't want to call this directly. */ -int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(5, 6); -int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) _sd_printf_(5, 0); -int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(4, 0) _sd_sentinel_; -int sd_journal_sendv_with_location(const char *file, const char *line, const char *func, const struct iovec *iov, int n); -int sd_journal_perror_with_location(const char *file, const char *line, const char *func, const char *message); - -/* implicitly add code location to messages sent, if this is enabled */ -#ifndef SD_JOURNAL_SUPPRESS_LOCATION - -#define sd_journal_print(priority, ...) sd_journal_print_with_location(priority, "CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, __VA_ARGS__) -#define sd_journal_printv(priority, format, ap) sd_journal_printv_with_location(priority, "CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, format, ap) -#define sd_journal_send(...) sd_journal_send_with_location("CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, __VA_ARGS__) -#define sd_journal_sendv(iovec, n) sd_journal_sendv_with_location("CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, iovec, n) -#define sd_journal_perror(message) sd_journal_perror_with_location("CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, message) - -#endif - -int sd_journal_stream_fd(const char *identifier, int priority, int level_prefix); - -/* Browse journal stream */ - -typedef struct sd_journal sd_journal; - -/* Open flags */ -enum { - SD_JOURNAL_LOCAL_ONLY = 1, - SD_JOURNAL_RUNTIME_ONLY = 2, - SD_JOURNAL_SYSTEM = 4, - SD_JOURNAL_CURRENT_USER = 8, - - SD_JOURNAL_SYSTEM_ONLY = SD_JOURNAL_SYSTEM, /* deprecated name */ -}; - -/* Wakeup event types */ -enum { - SD_JOURNAL_NOP, - SD_JOURNAL_APPEND, - SD_JOURNAL_INVALIDATE -}; - -int sd_journal_open(sd_journal **ret, int flags); -int sd_journal_open_directory(sd_journal **ret, const char *path, int flags); -int sd_journal_open_files(sd_journal **ret, const char **paths, int flags); -int sd_journal_open_container(sd_journal **ret, const char *machine, int flags); -void sd_journal_close(sd_journal *j); - -int sd_journal_previous(sd_journal *j); -int sd_journal_next(sd_journal *j); - -int sd_journal_previous_skip(sd_journal *j, uint64_t skip); -int sd_journal_next_skip(sd_journal *j, uint64_t skip); - -int sd_journal_get_realtime_usec(sd_journal *j, uint64_t *ret); -int sd_journal_get_monotonic_usec(sd_journal *j, uint64_t *ret, sd_id128_t *ret_boot_id); - -int sd_journal_set_data_threshold(sd_journal *j, size_t sz); -int sd_journal_get_data_threshold(sd_journal *j, size_t *sz); - -int sd_journal_get_data(sd_journal *j, const char *field, const void **data, size_t *l); -int sd_journal_enumerate_data(sd_journal *j, const void **data, size_t *l); -void sd_journal_restart_data(sd_journal *j); - -int sd_journal_add_match(sd_journal *j, const void *data, size_t size); -int sd_journal_add_disjunction(sd_journal *j); -int sd_journal_add_conjunction(sd_journal *j); -void sd_journal_flush_matches(sd_journal *j); - -int sd_journal_seek_head(sd_journal *j); -int sd_journal_seek_tail(sd_journal *j); -int sd_journal_seek_monotonic_usec(sd_journal *j, sd_id128_t boot_id, uint64_t usec); -int sd_journal_seek_realtime_usec(sd_journal *j, uint64_t usec); -int sd_journal_seek_cursor(sd_journal *j, const char *cursor); - -int sd_journal_get_cursor(sd_journal *j, char **cursor); -int sd_journal_test_cursor(sd_journal *j, const char *cursor); - -int sd_journal_get_cutoff_realtime_usec(sd_journal *j, uint64_t *from, uint64_t *to); -int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, const sd_id128_t boot_id, uint64_t *from, uint64_t *to); - -int sd_journal_get_usage(sd_journal *j, uint64_t *bytes); - -int sd_journal_query_unique(sd_journal *j, const char *field); -int sd_journal_enumerate_unique(sd_journal *j, const void **data, size_t *l); -void sd_journal_restart_unique(sd_journal *j); - -int sd_journal_get_fd(sd_journal *j); -int sd_journal_get_events(sd_journal *j); -int sd_journal_get_timeout(sd_journal *j, uint64_t *timeout_usec); -int sd_journal_process(sd_journal *j); -int sd_journal_wait(sd_journal *j, uint64_t timeout_usec); -int sd_journal_reliable_fd(sd_journal *j); - -int sd_journal_get_catalog(sd_journal *j, char **text); -int sd_journal_get_catalog_for_message_id(sd_id128_t id, char **text); - -/* the inverse condition avoids ambiguity of danling 'else' after the macro */ -#define SD_JOURNAL_FOREACH(j) \ - if (sd_journal_seek_head(j) < 0) { } \ - else while (sd_journal_next(j) > 0) - -/* the inverse condition avoids ambiguity of danling 'else' after the macro */ -#define SD_JOURNAL_FOREACH_BACKWARDS(j) \ - if (sd_journal_seek_tail(j) < 0) { } \ - else while (sd_journal_previous(j) > 0) - -#define SD_JOURNAL_FOREACH_DATA(j, data, l) \ - for (sd_journal_restart_data(j); sd_journal_enumerate_data((j), &(data), &(l)) > 0; ) - -#define SD_JOURNAL_FOREACH_UNIQUE(j, data, l) \ - for (sd_journal_restart_unique(j); sd_journal_enumerate_unique((j), &(data), &(l)) > 0; ) - -_SD_END_DECLARATIONS; - -#endif