summaryrefslogtreecommitdiff
path: root/src/login
AgeCommit message (Collapse)Author
2012-04-13logind: explicitly check for /dev/tty0Lennart Poettering
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
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.
2012-04-11polkit: temporarily spawn of a polkit agent in terminals for possibly ↵Lennart Poettering
authenticated operations
2012-04-11put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]Kay Sievers
2012-04-10rename basic.la to shared.la and put selinux deps in shared-selinx.laKay Sievers
Only 34 of 74 tools need libselinux linked, and libselinux is a pain with its unconditional library constructor.
2012-04-10util: move ACL code into internal libraryKay Sievers
2012-04-10util: move all to shared/ and split external dependencies in separate ↵Kay Sievers
internal libraries Before: $ ldd /lib/systemd/systemd-timestamp linux-vdso.so.1 => (0x00007fffb05ff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000) librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000) libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000) /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000) After: $ ldd systemd-timestamp linux-vdso.so.1 => (0x00007fff3cbff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000) librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000) libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000) /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
2012-04-09udev: convert 'uaccess' to a builtinKay Sievers
2012-04-03logind: log with AUTH facilityLennart Poettering
2012-03-30rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.confKay Sievers
2012-03-26man: minor typo in reference to manual pageElan Ruusamäe
2012-03-22logind: close FIFO before ending sessions cleanlyLennart Poettering
For clean session endings ask logind explicitly to get rid of the FIFO before closing it so that the FIFO logic doesn't result in su/sudo to be terminated immediately.
2012-03-22logind: extend comment about X11 socket symlinkLennart Poettering
2012-03-12login: tag the Mimo 720 ID_AUTOSEATShawn Landden
This device is a combination USB hub, displaylink graphics, and e2i touchscreen Bus 001 Device 005: ID 058f:6254 Alcor Micro Corp. USB Hub Bus 001 Device 006: ID 17e9:401a Newnham Research Bus 001 Device 007: ID 1ac7:0001 |__ Port 1: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M |__ Port 2: Dev 6, If 0, Class=vend., Driver=udlfb, 480M |__ Port 2: Dev 6, If 1, Class=HID, Driver=usbhid, 480M |__ Port 3: Dev 7, If 0, Class=vend., Driver=usbtouchscreen, 12M
2012-02-15login: introduce sd_session_get_display()Lennart Poettering
2012-02-14login: add new sd_session_get_type() and sd_session_get_class API callsLennart Poettering
2012-02-14login: track login class (i.e. one of "user", "greeter", "lock-screen") for ↵Lennart Poettering
each session This introduces the new PAM environment variable XDG_SESSION_CLASS. If not set, defaults to "user". This is useful for apps that want to distuingish real user logins from "fake" ones which just exist to show a gdm login screen or a lock screen.
2012-02-13sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, ↵Lennart Poettering
work on objects of the calling process
2012-02-11logind: introduce CanReboot/CanPowerOff bus callsLennart Poettering
2012-02-10logind: make seat device management accessible to normal users/via polkitLennart Poettering
2012-02-10logind: Allow PowerOff/Reboot in default contextBenjamin Franzke
2012-02-07logind: Terminate bus_login_session_user_propertiesBenjamin Franzke
Fixes segfault in systemd-logind, triggered by: systemd-loginctl show-session $XDG_SESSION_ID. Bug introduced by d200735e13c52dcfe36c0e066f9f6c2fbfb85a9c, so only systemd v39 is affected.
2012-02-07logind: fix introspection dataLennart Poettering
2012-02-07logind: introduce ActivateSessionOnSeat()Lennart Poettering
2012-02-03cgroup: when getting cgroup empty notifications, always search up the treeLennart Poettering
2012-02-01logind: add GetSessionByPID() bus callLennart Poettering
2012-01-31logind: if we have to stop a session, kill at least its leaderLennart Poettering
2012-01-31login: lock down input devices on extra seatsRay Strode
We need to tell the X server to grab the keyboards and mice associated with a hotplugged seat, so that it doesn't have the ability to control the kernel vt consoles.
2012-01-27logind: make sure we create /var/lib/systemd before using itLennart Poettering
2012-01-24login: fix multi-seat checkLennart Poettering
2012-01-24login: extend comments in multi-seat-xLennart Poettering
2012-01-23login: add multi-session X wrapperLennart Poettering
In preparation for https://bugzilla.gnome.org/show_bug.cgi?id=655380 we decided it's better to include the multi-seat X wrapper in systemd, rather than gdm. (Side effect: this makes this accessible for other DMs) This is a stop-gap for now, until X gins proper multi-seat graphics support at which point this code will go away without replacement.
2012-01-22login: move seat udev rules to login subdirKay Sievers
2012-01-22cgls: don't show kernel threads by defaultLennart Poettering
2012-01-18exec: introduce ControlGroupPersistant= to make cgroups persistantLennart Poettering
2012-01-18logind: move X11 socketLennart Poettering
2012-01-18logind: simplify session_activate() a bitLennart Poettering
2012-01-18logind: allow to create multiple sessions on non-multi-session seats to deal ↵Lennart Poettering
with left-over sessions
2012-01-16dbus: more efficient implementation of propertiesMichal Schmidt
The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
2012-01-16logind: downgrade login message to debugMichal Schmidt
The messages make people nervous. https://bugzilla.redhat.com/show_bug.cgi?id=727315
2012-01-13pam: fix buildLennart Poettering
2012-01-13pam: work correctly if a seat is specified but not vtnrLennart Poettering
2012-01-13sd-login: teach sd_pid_get_unit() proper handling of instantiated servicesLennart Poettering
2012-01-12core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering
2012-01-05login: implement sd_session_get_service()Lennart Poettering
2012-01-05build-sys: move public header files into a dir of their ownLennart Poettering
2012-01-05logind: add needed include for sd_notify()Kay Sievers
2012-01-04journald: parse configuration fileLennart Poettering
2012-01-04journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since ↵Lennart Poettering
processes might also be related to mount, swap or socket units, not just services
2012-01-03logind: send out Lock signal when lockingLennart Poettering