Systemd/src/login
Lennart Poettering 7027ff61a3 nspawn: introduce the new /machine/ tree in the cgroup tree and move 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.
2013-04-16 04:41:21 +02:00
..
.gitignore login: properly detect MIMO USB displays 2012-05-31 01:20:37 +02:00
70-power-switch.rules login: Use the GOTO properly in udev rule 2012-05-30 18:34:28 +02:00
70-uaccess.rules uaccess: remove needless usb_id call from udev rules 2013-03-23 16:30:49 +01:00
71-seat.rules.in Move udevadm to rootbindir 2013-03-11 07:18:33 +01:00
73-seat-late.rules.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
inhibit.c logind: exploit previous cleanups and simplify returns 2013-03-18 20:58:39 -04:00
libsystemd-login.pc.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
libsystemd-login.sym nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
loginctl.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
logind-acl.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-acl.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-action.c logind: rework delay inhibition logic 2013-01-25 06:30:23 +01:00
logind-action.h logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind-button.c logind: don't hit an assert if an close() on an input device fd fails with ENODEV because the device is gone 2013-03-07 16:48:14 +01:00
logind-button.h logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind-dbus.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
logind-device.c logind: expose CanGraphical and CanTTY properties on seat objects 2012-06-21 13:48:01 +02:00
logind-device.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-gperf.gperf util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
logind-inhibit.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
logind-inhibit.h logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey= 2012-09-21 15:44:14 +02:00
logind-seat-dbus.c logind: exploit previous cleanups and simplify returns 2013-03-18 20:58:39 -04:00
logind-seat.c log: introduce a macro to format message id 2012-10-13 14:26:30 +02:00
logind-seat.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-session-dbus.c logind: exploit previous cleanups and simplify returns 2013-03-18 20:58:39 -04:00
logind-session.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
logind-session.h logind: introduce an explicit session class for cronjobs and similar 2013-04-09 22:18:16 +02:00
logind-user-dbus.c logind: exploit previous cleanups and simplify returns 2013-03-18 20:58:39 -04:00
logind-user.c core: always create /user and /machine top-level cgroup dirs 2013-04-15 21:59:04 +02:00
logind-user.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
logind.conf logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind.h logind: rework delay inhibition logic 2013-01-25 06:30:23 +01:00
Makefile logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
multi-seat-x.c multi-seat-x: drop a lot of unnecessary code 2012-09-21 17:03:40 +02:00
org.freedesktop.login1.conf logind: allow HybridSleep methods in default DBus context 2012-12-18 17:45:20 +01:00
org.freedesktop.login1.policy.in logind: Allow active sessions to always shutdown by default 2013-02-11 21:04:25 +01:00
org.freedesktop.login1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pam-module.c logind: introduce an explicit session class for cronjobs and similar 2013-04-09 22:18:16 +02:00
sd-login.c nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there 2013-04-16 04:41:21 +02:00
sysfs-show.c logind: rename "seat-master" tag to "master-of-seat" 2013-02-09 01:25:55 +01:00
test-inhibit.c logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend" 2012-05-08 13:54:23 +02:00
test-login.c login: add sd_login_monitor_get_timeout() public api call 2013-04-04 18:31:22 +02:00
user-sessions.c util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00