summaryrefslogtreecommitdiff
path: root/src/systemd/sd-login.h
Commit message (Collapse)AuthorAge
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-08-24
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-08-24
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* Prep v236 : Add missing SPDX-License-Identifier (7/9) src/systemdSven Eden2018-03-26
|
* TypoZbigniew Jędrzejewski-Szmek2017-06-16
|
* Prep v229: Add missing fixes from upstream [6/6] src/systemdSven Eden2017-05-17
|
* sd-login: minor header commenting improvementsLennart Poettering2017-03-14
|
* sd-login: add new sd_pid_get_cgroup() APILennart Poettering2017-03-14
| | | | | | | | | | This adds a new sd_pid_get_cgroup() call to sd-login which may be used to query the control path of a process. This is useful for programs when making use of delegation units, in order to figure out which subtree has been delegated. In light of the unified control group hierarchy this is finally safe to do, hence let's add a proper API for it, to make it easier to use this.
* sd-bus,sd-login: add api for querying the slice within the the user systemd ↵Lennart Poettering2017-03-14
| | | | | | | instance of a process units are organized in slice trees, not only for the system instance, but also for user systemd instances, expose this properly.
* treewide: correct spacing near eol in code commentsTorstein Husebø2014-12-11
|
* sd-login: let's not needlessly yell at usersLennart Poettering2014-10-28
| | | | | | While GNOME/KDE are generally capitalized, systemd tools generally are not, hence let's not start doing so in the XDG_CURRENT_SESSION environment variable.
* 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.
* sd-login: always use "indices" as plural of "index"Lennart Poettering2014-07-17
| | | | | So far both "indexes" and "indices" was used. Let's clean this up, and stick to indices, since it appears to be used more frequently.
* nss-mymachines: add new NSS module for automatically resolving addresses of ↵Lennart Poettering2014-07-11
| | | | all local containers
* sd-login: add C API to query primary session of a userLennart Poettering2014-05-19
|
* 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)
* src/systemd: fix grammar and spelling errors in commentsJason St. John2014-03-25
|
* libsystemd: Don't use "class" in public headersMarc-Antoine Perennou2014-03-24
| | | | For compatibility with C++
* sd-login: add calls that retrieve credentials of peers connected to AF_UNIX ↵Lennart Poettering2014-03-17
| | | | | | | peers This is supposed to be an extension of SO_PEERCRED and SO_PEERSEC, except for cgroup information.
* sd-login: add sd_machine_get_class() callLennart Poettering2014-03-12
|
* libsystemd-login: add sd_session_get_remote_{host, user}Mantas Mikulėnas2013-12-21
|
* api: replace manual C++ guards by macrosLennart Poettering2013-11-07
|
* sd-login: Fix typoBastien Nocera2013-11-02
| | | | s/sessio,/session,/
* 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.
* login: add an api to determine the slice a PID is located in to libsystemd-loginLennart Poettering2013-06-21
|
* login: allow watching virtual machines with sd_get_machine_names()Lennart Poettering2013-04-24
|
* login: add new call sd_get_machine_names() to get a list of current virtual ↵Lennart Poettering2013-04-24
| | | | machines and containers
* nspawn: introduce the new /machine/ tree in the cgroup tree and move ↵Lennart Poettering2013-04-16
| | | | | | | | | | | | | | containers there Containers will now carry a label (normally derived from the root directory name, but configurable by the user), and the container's root cgroup is /machine/<label>. This label is called "machine name", and can cover both containers and VMs (as soon as libvirt also makes use of /machine/). libsystemd-login can be used to query the machine name from a process. This patch also includes numerous clean-ups for the cgroup code.
* sd-login: add a sd_pid_get_user_unit() callLennart Poettering2013-04-15
|
* login: add sd_login_monitor_get_timeout() public api callLennart Poettering2013-04-04
| | | | | We don't need this right now, but we should keep our options open, in case we need more than just an fd for waking up.
* login: add new public API call sd_login_monitor_get_events() to get poll() ↵Lennart Poettering2013-04-04
| | | | | | | flags to wait for We should keep our options open, so that we can watch for POLLOUT later on if we wish to. CUrrently this call will always return POLLIN however.
* 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
|
* logind: introduce a state for session, being one of online, active, closingLennart Poettering2012-06-21
| | | | | | | | | | online = logged in active = logged in and session is in the fg closing = nominally logged out but some left-over processes still around Related to: https://bugzilla.gnome.org/show_bug.cgi?id=677556
* sd-login: update header docs a bitLennart Poettering2012-05-14
|
* 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.
* sd-login: c++ compatibilityLennart Poettering2012-03-05
|
* login: introduce sd_session_get_display()Lennart Poettering2012-02-15
|
* login: add new sd_session_get_type() and sd_session_get_class API callsLennart Poettering2012-02-14
|
* api: add C++ guards to all headersLennart Poettering2012-01-13
|
* login: implement sd_session_get_service()Lennart Poettering2012-01-05
|
* build-sys: move public header files into a dir of their ownLennart Poettering2012-01-05