summaryrefslogtreecommitdiff
path: root/udev/udevd.c
AgeCommit message (Collapse)Author
2011-10-11udevd: add missing bracesKay Sievers
David: uh, don't you need curly braces in the udevd.c part at the bottom?
2011-10-10udevd: control - no not delete socket file when --daemon is usedKay Sievers
2011-10-09udevadm: control - use /run/udev/control socket instead of abstract ↵Kay Sievers
namespace one
2011-10-08udevd: exit - process events before signals in workerSteve Langasek
When a worker receives both a signal and a udev event in the same epoll_wait run, the event must be processed first because the udev parent considers the event already dispatched. If we process the signal first and exit, udevd times out after 60 seconds waiting for a response from an already-dead worker. Ref: https://bugs.launchpad.net/bugs/818177 Signed-off-by: Steve Langasek <steve.langasek@canonical.com>
2011-10-06remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keysKay Sievers
2011-08-17export USEC_INITIALIZED= and take timestamp on message receive timeKay Sievers
2011-08-11do not remove static nodes on module unloadKay Sievers
2011-08-04libudev: list - use binary search for list lookupKay Sievers
2011-07-30udevd: debug - put timestamp in []Kay Sievers
2011-07-11udevd: use 'uptime' in debug timestampKay Sievers
2011-05-16udevd: remove left-over SIGALRMKay Sievers
2011-05-16udevd: create queue file before daemonizing to reliably block 'settle'Kay Sievers
2011-04-21udevd, udev-event: sync waitpid() error handlingKay Sievers
2011-04-21udevd: clarify worker exit statusHarald Hoyer
2011-04-20udevd: always use udevd[] log prefixKay Sievers
2011-04-20timeout handling without alarm()Kay Sievers
2011-04-18udevd: ppoll() -> epoll + signalfdKay Sievers
2011-04-14udevd: get netlink socket from systemdKay Sievers
2011-04-14udevd: move OOM disable into --daemon optionKay Sievers
2011-04-14udevd: do not nice processesKay Sievers
2011-04-13udevd: log warning if /run is not writableKay Sievers
2011-04-13trivial cleanupsKay Sievers
2011-04-13udevadm: control - add --exitKay Sievers
2011-04-08selinux: do not label files in runtime dirKay Sievers
Do not label any files in the udev runtime directory, but only nodes, links and directories below /dev. In case the runtime directory falls back to /dev/.udev, label this directory once at udevd startup, but never anything below it.
2011-03-31udevd: add 'N:' to optstring in getopt_longThomas Egerer
2011-03-23systemd: bind udev control socket in systemd and split udev.serviceKay Sievers
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2011-03-23udevd: initialize fds, for proper close() on exitKay Sievers
2011-03-23udevd: use facility == LOG_DAEMON when writing to /dev/kmsgKay Sievers
Syslog wants to distinguish the sorce of messages. We should indicate that this is a userspace message (LOG_DAEMON) and not a kernel message (LOG_KERNEL).
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers
startup
2010-11-22udevd: create static nodes before /dev/null is neededMichal Soltys
2010-10-13udevd: do not wrongly delay events for devices with swapped namesKay Sievers
Renaming network devices might delay events for the other device, which has the same devpath in the meantime as the original event. Causing a delay until the timout of the event is reached. Look at the ifindex/devnum of the devices to check if they are really the same devices.
2010-10-07udevd: add sd-daemon.cKay Sievers
2010-08-25Add support for oom_score_adjLuca Tettamanti
/proc/<pid>/oom_adj has been deprecated (kernel v2.6.36) due to the rework of the badness heuristic; oom_score_adj is the replacement. Keep a fallback to the old interface for compatibility with older kernels. See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a63d83f427fbce97a6cea0db2e64b0eb8435cd10 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-25udevd: remove unneeded credential passing from init_notify()Kay Sievers
2010-08-19udevd: add pid to kmsg logsKay Sievers
2010-08-08udevd: create static device links only when the target existsYin Kangkai
For example, not all systems have PROC_KCORE enabled. Avoid a broken symbolic link in those cases. Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-08udevd: fix unref'ing of device in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-03udevd: fix short options in getopt()Yin Kangkai
2010-08-02udevd: fix some memory leaks in error pathYin Kangkai
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2010-07-11udevd: init_notify() fix abstract namespace name handlingKay Sievers
2010-06-17udevd: in case we don't daemonize, send READY message to /sbin/initKay Sievers
2010-05-30udevd: set umask before creating files/directoriesKay Sievers
2010-05-28udevd: read debug settings from kernel commandlineKay Sievers
2010-05-27udevd: fix commentsKay Sievers
2010-05-27udevd: replace --debug-trace with --children-maxKay Sievers
2010-05-27childs -> childrenKay Sievers
2010-05-27while (1) -> for (;;)Kay Sievers
2010-05-25udevd: fix typo /proc/fd -> /proc/self/fdBryan Kadzban
2010-05-20create static nodes provided by kernel modules to allow module autoloadingKay Sievers