From: Sven Eden Date: Tue, 21 Feb 2017 06:54:50 +0000 (+0100) Subject: Updated man pages. X-Git-Tag: v226.4~1^2~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=5f3891424cdb251a55a72099e0f04361ebafa059 Updated man pages. --- diff --git a/Makefile-man.am b/Makefile-man.am index c481f8342..4d51eb420 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -8,62 +8,36 @@ # attribute conditional="ENABLE_WHAT" or conditional="WITH_WHAT" # to element. MANPAGES += \ + man/elogind.8 \ man/loginctl.1 \ man/logind.conf.5 \ - man/logind.service.8 \ man/sd_id128_get_machine.3 \ man/sd_id128_randomize.3 \ man/sd_id128_to_string.3 \ - man/sd_is_fifo.3 \ man/sd_machine_get_class.3 \ man/sd_notify.3 \ man/sd_watchdog_enabled.3 MANPAGES_ALIAS += \ - man/logind.8 \ man/sd_id128_from_string.3 \ man/sd_id128_get_boot.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_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/logind.8: man/logind.service.8 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_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_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/logind.html: man/logind.service.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_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_machine_get_ifindices.html: man/sd_machine_get_class.html $(html-alias) @@ -201,18 +175,16 @@ endif # Really, do not edit this file. EXTRA_DIST += \ + man/elogind.xml \ man/less-variables.xml \ man/libelogind-pkgconfig.xml \ man/loginctl.xml \ man/logind.conf.xml \ - man/logind.service.xml \ - man/logind.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_machine_get_class.xml \ man/sd_notify.xml \ man/sd_seat_get_active.xml \ diff --git a/man/Makefile b/man/Makefile index 9d0750519..1bc1831e9 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,19 +1,19 @@ -# This file is part of systemd. +# This file is part of elogind. # # Copyright 2010 Lennart Poettering # -# systemd is free software; you can redistribute it and/or modify it +# elogind 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 +# elogind 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 . +# along with elogind; 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 diff --git a/man/logind.service.xml b/man/elogind.xml similarity index 85% rename from man/logind.service.xml rename to man/elogind.xml index 404c45632..08a37cd54 100644 --- a/man/logind.service.xml +++ b/man/elogind.xml @@ -21,10 +21,10 @@ along with elogind; If not, see . --> - + - logind.service + elogind elogind @@ -38,25 +38,23 @@ - logind.service + elogind 8 - logind.service - logind + elogind Login manager - logind.service - /usr/lib/systemd/logind + /usr/libexec/elogind/elogind Description - logind is a system service that + elogind is a system service that manages user logins. It is responsible for: @@ -79,12 +77,9 @@ Device access management for users - Automatic spawning of text logins (gettys) on - virtual console activation and user runtime directory - management - User sessions are registered in logind via the + User sessions are registered in elogind via the pam_elogind8 PAM module. diff --git a/man/logind.xml b/man/logind.xml deleted file mode 100644 index 7afacbf34..000000000 --- a/man/logind.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - logind.service - systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - logind.service - 8 - - - - logind.service - logind - Login manager - - - - logind.service - /usr/lib/systemd/logind - - - - Description - - logind is a system service that - manages user logins. It is responsible for: - - - Keeping track of users and sessions, their - processes and their idle state - - Providing PolicyKit-based access for users to - operations such as system shutdown or sleep - - Implementing a shutdown/sleep inhibition logic - for applications - - Handling of power/sleep hardware - keys - - Multi-seat management - - Session switch management - - Device access management for - users - - Automatic spawning of text logins (gettys) on - virtual console activation and user runtime directory - management - - - User sessions are registered in logind via the - pam_systemd8 - PAM module. - - See - logind.conf5 - for information about the configuration of this service. - - See Multi-Seat - on Linux for an introduction into basic concepts of logind - such as users, sessions and seats. - - See the - logind D-Bus API Documentation for information about the - APIs logind provides. - - For more information on the inhibition logic see the Inhibitor - Lock Developer Documentation. - - - - See Also - - systemd1, - systemd-user-sessions.service8, - loginctl1, - logind.conf5, - pam_systemd8 - - - - diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml deleted file mode 100644 index f5ca8580e..000000000 --- a/man/sd_is_fifo.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - sd_is_fifo - elogind - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - sd_is_fifo - 3 - - - - sd_is_fifo - sd_is_socket - sd_is_socket_inet - sd_is_socket_unix - sd_is_special - Check the type of a file descriptor - - - - - #include <elogind/sd-daemon.h> - - - int sd_is_fifo - int fd - const char *path - - - - int sd_is_socket - int fd - int family - int type - int listening - - - - int sd_is_socket_inet - int fd - int family - int type - int listening - uint16_t port - - - - int sd_is_socket_unix - int fd - int type - int listening - const char *path - size_t length - - - - int sd_is_special - int fd - const char *path - - - - - - - Description - - sd_is_fifo() may be called to check - whether the specified file descriptor refers to a FIFO or pipe. If - the path parameter is not - NULL, it is checked whether the FIFO is bound - to the specified file system path. - - sd_is_socket() may be called to check - whether the specified file descriptor refers to a socket. If the - family parameter is not - AF_UNSPEC, it is checked whether the socket - is of the specified family (AF_UNIX, AF_INET, - ...). If the type parameter is not 0, it is - checked whether the socket is of the specified type - (SOCK_STREAM, - SOCK_DGRAM, ...). If the - listening parameter is positive, it is - checked whether the socket is in accepting mode, i.e. - listen() has been called for it. If - listening is 0, it is checked whether the - socket is not in this mode. If the parameter is negative, no such - check is made. The listening parameter - should only be used for stream sockets and should be set to a - negative value otherwise. - - sd_is_socket_inet() is similar to - sd_is_socket(), but optionally checks the - IPv4 or IPv6 port number the socket is bound to, unless - port is zero. For this call - family must be passed as either - AF_UNSPEC, AF_INET, or - AF_INET6. - - sd_is_socket_unix() is similar to - sd_is_socket() but optionally checks the - AF_UNIX path the socket is bound to, unless - the path parameter is - NULL. For normal file system - AF_UNIX sockets, set the - length parameter to 0. For Linux abstract - namespace sockets, set the length to the - size of the address, including the initial 0 byte, and set the - path to the initial 0 byte of the socket - address. - - sd_is_special() may be called to check - whether the specified file descriptor refers to a special file. If - the path parameter is not - NULL, it is checked whether the file - descriptor is bound to the specified file name. Special files in - this context are character device nodes and files in - /proc or /sys. - - - - Return Value - - On failure, these calls return a negative errno-style error - code. If the file descriptor is of the specified type and bound to - the specified address, a positive return value is returned, - otherwise zero. - - - - Notes - - - - Internally, these function use a combination of - fstat() and - getsockname() to check the file descriptor - type and where it is bound to. - - - - See Also - - elogind1, - sd-daemon3, - sd_listen_fds3, - logind.service5, - elogind.socket5 - - - -