Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-03 | automount: convert failure boolean to enum | Lennart Poettering | |
2012-02-03 | socket: replace failure boolean by enum | Lennart Poettering | |
2012-02-01 | socket: typo in dump output | Michal Schmidt | |
2012-01-27 | socket: if SO_RCVBUFFORCE fails, fall back to SO_RCVBUF, to have at least a ↵ | Lennart Poettering | |
little effect | |||
2012-01-20 | socket: don't fail the socket on ENOTCONN | Michal Schmidt | |
Albert Strasheim reported a socket unit with Accept=yes was failing sometimes. getpeername() returns ENOTCONN if the connection was killed by TCP RST. The socket unit must not fail when it happens. Reproducer available at: https://bugzilla.redhat.com/show_bug.cgi?id=783344 | |||
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-06 | unit: properly update references to units which are merged | Lennart Poettering | |
When we merge units that some kind of object points to, those pointers might become invalidated, and needs to be updated. Introduce a UnitRef struct which links up all the unit references, to ensure corrected references. At the same time, drop configured_sockets in the Service object, and replace it by proper UNIT_TRIGGERS resp. UNIT_TRIGGERED_BY dependencies, which allow us to simplify a lot of code. | |||
2012-01-03 | socket: only add dependency on kmsg socket to socket units which have any ↵ | Lennart Poettering | |
kind of exec program specified | |||
2011-12-31 | socket: rename the PassCred= option to PassCredentials=, since we don't want ↵ | Lennart Poettering | |
to needlessly abbreviate options unless they are very well established | |||
2011-11-30 | socket: add option for SO_PASSCRED | Michal Schmidt | |
Add an option to enable SO_PASSCRED for unix sockets. | |||
2011-09-23 | llvm-analyze: fix some bugs found by llvm-analyze | Lennart Poettering | |
2011-09-23 | coverity: fix a couple of bugs found by coverity | Lennart Poettering | |
2011-08-20 | exec: optionally apply cgroup attributes to the cgroups we create | Lennart Poettering | |
2011-08-01 | load-fragment: speed up parsing by using a perfect hash table with ↵ | Lennart Poettering | |
configuration settings built by gperf | |||
2011-07-28 | label: generalize label_get_socket_label_from_exe() a bit | Lennart Poettering | |
2011-07-13 | unit: use ESRCH as error when we don't find anybody to kill | Lennart Poettering | |
2011-07-12 | service: properly handle who argument on D-Bus kill calls | Lennart Poettering | |
2011-06-21 | english: s/_per_/_by_/ | Lennart Poettering | |
2011-05-20 | socket: always use SO_{RCV,SND}BUFFORCE to allow larger values | Kay Sievers | |
2011-05-19 | socket: expose SO_BROADCAST | Lennart Poettering | |
2011-05-19 | socket: expose IP_TRANSPARENT | Lennart Poettering | |
2011-05-18 | exec: hangup/reset/deallocate VTs in gettys | Lennart Poettering | |
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty. | |||
2011-05-17 | socket: use 666 socket mode by default since neither fifos, nor sockets, nor ↵ | Lennart Poettering | |
mqueues need to be executable | |||
2011-05-17 | socket: add POSIX mqueue support | Lennart Poettering | |
2011-04-26 | socket: improve warning message when we get POLLHUP | Lennart Poettering | |
2011-04-20 | socket: support ListeSpecial= sockets | Lennart Poettering | |
2011-04-20 | socket: log more information about invalid poll events | Lennart Poettering | |
2011-04-16 | socket: reuse existing FIFOs | Lennart Poettering | |
2011-04-12 | socket: try creating a socket under our own identity if we have no perms to ↵ | Lennart Poettering | |
consult the selinux database | |||
2011-04-10 | socket: be a bit more verbose when refusing to start a socket unit | Lennart Poettering | |
2011-04-10 | socket: support netlink sockets | Lennart Poettering | |
2011-03-31 | src: our lord is coverity | Lennart Poettering | |
2011-03-29 | exec: drop process group kill mode since it has little use and confuses the user | Lennart Poettering | |
2011-03-17 | def: centralize definition of default timeout in one place | Lennart Poettering | |
2011-03-14 | socket: use 777 as default mode for sockets | Lennart Poettering | |
2011-03-03 | kill: always send SIGCONT after SIGTERM | Lennart Poettering | |
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal. | |||
2011-02-28 | Spelling Corrections | Harald Hoyer | |
Just some lame spelling corrections with no functionality. | |||
2011-02-15 | exec: introduce global defaults for the standard output of services | Lennart Poettering | |
2011-02-15 | socket: refuse socket activation for SysV services | Lennart Poettering | |
Make sure that when a .socket unit is installed without its matching .service we don't end up activating a legacy SysV/LSB service with the same name. SysV/LSB style services do not support passing sockets and we don't want to extend SysV/LSB to ensure we don't break compatibility with other systems. | |||
2011-01-26 | automount: use unit_pending_inactive() where appropriate | Lennart Poettering | |
2011-01-21 | socket: don't crash if the .service unit for a .socket unit is not found | Lennart Poettering | |
2011-01-20 | systemctl: highlight failed processes in systemctl status | Lennart Poettering | |
2011-01-20 | service: when reloading a service fails don't fail the entire service but ↵ | Lennart Poettering | |
just the reload job | |||
2011-01-18 | execute: make sending of SIGKILL on shutdown optional | Lennart Poettering | |
2010-11-17 | cgroup: by default, duplicate service cgroup in the cpu hierarchy | Lennart Poettering | |
2010-10-29 | units: order units by default before appropriate targets in case they are ↵ | Lennart Poettering | |
pulled indirectly | |||
2010-10-29 | unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵ | Lennart Poettering | |
weaker counterpart of Conflicts=, similar to Wants= vs. Requires= |