summaryrefslogtreecommitdiff
path: root/man/sd_session_is_active.xml
Commit message (Collapse)AuthorAge
* test-login: make the test non-manualZbigniew Jędrzejewski-Szmek2017-07-25
| | | | | | | | | | | | | | | | | | | | test-login.c is largely rewritten to use _cleanup_ and give more meaningful messages (function names are used instead of creative terms like "active session", so that when something unexpected is returned, it's much easier to see what function is responsible). The monitoring part is only activated if '-m' is passed on the command line. It runs against the information from /run/elogind/ in the live system, but that should be OK: logind/sd-login interface is supposed to be stable and both backwards and forwards compatible. If not running in a login session, some tests are skipped. Those two changes together mean that it's possible to run test-login in the test suite. Tests for sd_pid_get_{unit,user_unit,slice} are added.
* Prep v231: Update man pages to include upstream changesSven Eden2017-06-16
|
* Prep v229: Update man pages (fix most inappropriate stuff. Still lots to do...)Sven Eden2017-05-23
|
* sd-login: rework error handlingLennart Poettering2017-03-14
| | | | | | Makre sure we always return sensible errors for the various, following the same rules, and document them in a comment in sd-login.c. Also, update all relevant man pages accordingly.
* Prep v222: Update build system:Sven Eden2017-03-14
| | | | | | | | - 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
* man: revert dynamic paths for split-usr setupsTom Gundersen2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* restore libsystemd-pkgconfig.xml as libelogind-pkgconfig.xmlRicardo Wurmus2015-08-15
|
* Re-add logind man pages from upstream systemdAndy Wingo2015-04-19
|
* remove non-login things from manAndy Wingo2015-04-08
|
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-03
|
* login: add public sd_session_get_desktop() APIDavid Herrmann2014-09-22
| | | | | | The desktop brand is stored as DESKTOP variable for sessions. It can be set arbitrarily by the session owner and identifies the desktop environment that is running on that session.
* man: add a mapping for external manpagesZbigniew Jędrzejewski-Szmek2014-07-07
| | | | | | | | | | | | | | | | | | | | | | | | It is annoying when we have dead links on fd.o. Add project='man-pages|die-net|archlinux' to <citerefentry>-ies. In generated html, add external links to http://man7.org/linux/man-pages/man, http://linux.die.net/man/, https://www.archlinux.org/. By default, pages in sections 2 and 4 go to man7, since Michael Kerrisk is the autorative source on kernel related stuff. The rest of links goes to linux.die.net, because they have the manpages. Except for the pacman stuff, since it seems to be only available from archlinux.org. Poor gummiboot gets no link, because gummitboot(8) ain't to be found on the net. According to common wisdom, that would mean that it does not exist. But I have seen Kay using it, so I know it does, and deserves to be found. Can somebody be nice and put it up somewhere?
* doc: balance C indirections in function prototypesJan Engelhardt2014-05-07
| | | | | | | | Shift the asterisks in the documentation's prototypes such that they are consistent among each other. Use the right side to match what is used in source code. Addendum to commit v209~82.
* login: add 'mir' to the list of session typesDavid Herrmann2014-04-09
| | | | | | | | | Add Mir to the list of session types. This is implemented for LightDM in lp:~robert-ancell/lightdm/xdg-session-desktop [1]. [1] https://code.launchpad.net/~robert-ancell/lightdm/xdg-session-desktop/+merge/214108 (david: adjusted commit-header and fixed whitespace issues)
* man: fix references to .pc files which aren't separate anymoreLennart Poettering2014-02-19
|
* logind: make session type and class settable via the same waysLennart Poettering2014-02-05
| | | | | | If the session type/class is set via environment variables, use that, and otherwise fallback to something that is set via the PAM module command line.
* man: improvements to comma placementJan Engelhardt2013-12-25
| | | | | This is a recurring submission and includes corrections to: comma placement.
* man: resolve word omissionsJan Engelhardt2013-12-25
| | | | | This is a recurring submission and includes corrections to: word omissions and word class choice.
* man: fix make installMarc-Antoine Perennou2013-12-22
| | | | | commit 5b04fe60004e7c5cd5a43648ede3e6a965e70b8c broke it with ‘./man/sd_session_is_remote.3’: No such file or directory
* libsystemd-login: add sd_session_get_remote_{host, user}Mantas Mikulėnas2013-12-21
|
* man: wording and grammar updatesJan Engelhardt2013-09-12
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* sd-login: add a public accessor for the VT numberGiovanni Campagna2013-09-11
| | | | | The VT number was already part of the DBus API, but was not exposed in the C API.
* man: fix spacing issue in various man pagesJason St. John2013-06-29
| | | | | | | | | | | | | Before: libsystemd-daemonpkg-config(1) After: libsystemd-daemon pkg-config(1) This fix is more complicated than it should be due to the consecutive XML elements separated by collapsible whitespace. Merging the lines and separating the XML elements with an en space or a non-breaking space is the only solution that results in one, and only one, space being inserted between them when testing. An em space results in two spaces being inserted.
* man: use <constant> for various constants which look ugly with quotesZbigniew Jędrzejewski-Szmek2013-06-26
|
* man: document the new login class 'background'Lennart Poettering2013-04-18
|
* build-sys: create Makefile-man.am automaticallyZbigniew Jędrzejewski-Szmek2013-02-06
| | | | | | | | | | | | | | | | | | | man rules were repeating the same information in too many places, which was error prone. Those rules can be easily generated from .xml files. For efficiency and because python is not a required dependency, Makefile-man.am is only regenerated when requested with make update-man-list If no metadata in man/*.xml changed, this file should not change. So only when a new man page or a new alias is added, this file should show up in 'git diff'. The change should then be committed. If the support for building from git without python was dropped, we could drop Makefile-man.am from version control. This would also increase the partial build time (since more stuff would be rebuild whenever sources in man/*.xml would be modified), so it would probably wouldn't be worth it.
* man: typo fixesThomas Hindoe Paaboel Andersen2013-01-16
|
* login: introduce sd_session_get_tty()Lennart Poettering2013-01-15
|
* man: move header file man pages from section 7 to 3Lennart Poettering2012-07-13
| | | | | This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way.
* login: wrap CanTTY and CanGraphical seat attributes in libsystemd-loginLennart Poettering2012-06-21
|
* man: document new sd_session_get_state() callLennart Poettering2012-06-21
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* login: document new sd_session_get_xxx() callsLennart Poettering2012-02-15
|
* sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, ↵Lennart Poettering2012-02-13
| | | | work on objects of the calling process
* login: implement sd_session_get_service()Lennart Poettering2012-01-05
|
* man: various updatesLennart Poettering2011-12-19
|
* man: document the sd-login interfacesLennart Poettering2011-12-19