Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-18 | journalctl: properly honour -n when -f is passed, too | Lennart Poettering | |
2012-01-18 | tmpfiles: add support for creating symlinks, char/block device nodes | Lennart Poettering | |
2012-01-18 | logind: move X11 socket | Lennart Poettering | |
2012-01-18 | logind: simplify session_activate() a bit | Lennart Poettering | |
2012-01-18 | logind: allow to create multiple sessions on non-multi-session seats to deal ↵ | Lennart Poettering | |
with left-over sessions | |||
2012-01-18 | update TODO | Lennart Poettering | |
2012-01-17 | util: fix ANSI sequence for red color | Michal Schmidt | |
Red turned green by mistake in commit c1072ea0. | |||
2012-01-17 | log: make asserts cheaper | Michal Schmidt | |
On my x86_64 this shrinks the size of .text by 53 KB (7 %). | |||
2012-01-17 | log: remove useless variable | Michal Schmidt | |
abort() never returns. Not even if the signal handler catches SIGABRT. | |||
2012-01-17 | dbus-unit: make functions static | Michal Schmidt | |
The dbus_unit_append_*() functions are not referenced from outside anymore. | |||
2012-01-16 | build-sys: cleanup sysctl.d/coredump.conf | Kay Sievers | |
2012-01-16 | dbus: more efficient implementation of properties | Michal 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-16 | unit: use safe downcasts, remove pointless casts | Michal Schmidt | |
Always use the macros for downcasting. Remove a few obviously pointless casts. | |||
2012-01-16 | unit: use the UNIT() macro consistently | Michal Schmidt | |
The UNIT() macro upcasts from specific unit types to the base Unit. Use it everywhere, rather than accessing the 'meta' member directly. | |||
2012-01-16 | unit: remove union Unit | Michal Schmidt | |
Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified. | |||
2012-01-16 | unit: reduce heap usage for unit objects | Michal Schmidt | |
The storage of the unit objects on the heap is currently not very efficient. For every unit object we allocate a chunk of memory as large as the biggest unit type, although there are significant differences in the units' real requirements. pahole shows the following sizes of structs: 488 Target 496 Snapshot 512 Device 528 Path 560 Timer 576 Automount 1080 Socket 1160 Swap 1168 Service 1280 Mount Usually there aren't many targets or snapshots in the system, but Device is one of the most common unit types and for every one we waste 1280 - 512 = 768 bytes. Fix it by allocating only the right amount for the given unit type. On my machine (x86_64, with 39 LVM volumes) this decreases systemd's USS (unique set size) by more than 300 KB. | |||
2012-01-16 | logind: downgrade login message to debug | Michal Schmidt | |
The messages make people nervous. https://bugzilla.redhat.com/show_bug.cgi?id=727315 | |||
2012-01-14 | journal: drop privileges when storing coredump | Lennart Poettering | |
2012-01-14 | journal: when show blob data show length | Lennart Poettering | |
2012-01-14 | util: support formatting eta and peta bytes with format_bytes() | Lennart Poettering | |
2012-01-14 | util: introduce FORMAT_BYTES_MAX | Lennart Poettering | |
2012-01-14 | journal: collect coredump up to 24M in size | Lennart Poettering | |
2012-01-14 | journal: handle empty syslog identifier properly | Lennart Poettering | |
2012-01-14 | journal: fix bad memory access | Lennart Poettering | |
2012-01-14 | journal: if the data to be sent is larger than the maximum datagram size ↵ | Lennart Poettering | |
resort to passing a temporary fd over native protocol | |||
2012-01-14 | journal: hook up coredumping with journal | Lennart Poettering | |
2012-01-14 | journal: add new system-cat tool as kind of a more powerfull BSD logger | Lennart Poettering | |
2012-01-14 | util: split out tty_is_vc_resolve() from default_term_for_tty() | Lennart Poettering | |
2012-01-14 | util: rework ANSI escape code macros | Lennart Poettering | |
2012-01-14 | mount: fix quota | Michal Schmidt | |
quotacheck.service and quotaon.service were not pulled in for fstab mounts. Fix it by not clearing the default_dependencies flag. The root filesystem may have quotas too, so don't check for "/" there. No need to have duplicate code for adding dependencies on umount.target. https://bugzilla.redhat.com/show_bug.cgi?id=773431 | |||
2012-01-13 | pam: fix build | Lennart Poettering | |
2012-01-13 | pam: work correctly if a seat is specified but not vtnr | Lennart Poettering | |
2012-01-13 | journal: add output mode that just prints simple messages without any ↵ | Lennart Poettering | |
decorations | |||
2012-01-13 | api: add C++ guards to all headers | Lennart Poettering | |
2012-01-13 | sd-login: teach sd_pid_get_unit() proper handling of instantiated services | Lennart Poettering | |
2012-01-12 | journal: if the syslog forwarder socket is full, then don't block | Lennart Poettering | |
2012-01-12 | core: switch all log targets to go directly to the journal, instead via syslog | Lennart Poettering | |
2012-01-12 | units: make sure syslog socket goes away early during shutdown | Lennart Poettering | |
2012-01-12 | log: make internal log api log directly to the journal | Lennart Poettering | |
2012-01-11 | journal: add SELinux context to all logged messages | Lennart Poettering | |
2012-01-11 | journal: fix more 32/64 bit issues | Lennart Poettering | |
2012-01-11 | tmpfiles: fix parsing of /proc/net/unix on 32Bit machines | Lennart Poettering | |
Tracked down by Michael Meeks | |||
2012-01-11 | logs-show: fix missing newline in short output | Michal Schmidt | |
Ellipsized messages were printed without a newline. | |||
2012-01-11 | journald: don't assume size_t and uint64_t are the same | Lennart Poettering | |
2012-01-11 | journald: set group ownership of journal files to 'adm' by default | Lennart Poettering | |
2012-01-11 | journal: make requirement for ACLs optional | Lennart Poettering | |
2012-01-11 | journalctl: fix --help text | Lennart Poettering | |
2012-01-11 | build-sys: fix upload rule for xzsystemd/v38 | Lennart Poettering | |
2012-01-11 | build-sys: bump version | Lennart Poettering | |
2012-01-11 | journal: don't realign window twice | Lennart Poettering | |