summaryrefslogtreecommitdiff
path: root/udev/udev.h
AgeCommit message (Collapse)Author
2010-04-12unify/cleanup event handlingKay Sievers
2009-11-16remove "ignore_device"Kay Sievers
There is no way to ignore an event these days. Libudev events can not be suppressed. It only prevents RUN keys from being executed, which results in an inconsistent behavior in current setups.
2009-09-07util_run_program: restore signal mask before executing event RUN commandsJeremy Kerr
External programs triggered by events (via RUN=) will inherit udev's signal mask, which is set to block all but SIGALRM. For most utilities, this is OK, but if we start daemons from RUN=, we run into trouble (especially as SIGCHLD is blocked). This change saves the original sigmask when udev starts, and restores it just before we exec() the external command. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2009-06-17cleanup ./configure installation directory optionsKay Sievers
2009-06-09move common stuff from udev/ to private parts of libudev/Kay Sievers
2009-06-09move syslog wrapper to libudevKay Sievers
2009-06-08libudev: move to top-level directoryKay Sievers
2009-06-04udevd: convert to event worker processesKay Sievers
Event processes now get re-used after they handled an event. This reduces pressure on the CPU significantly because cloned event processes no longer cause page faults in the main daemon. After the events have settled, the no longer needed worker processes get killed.
2009-05-20use more efficient string copyingKay Sievers
2009-05-07add "static" back to the inline functionsKay Sievers
<Keybuk> kay: udev git head ftbfs <Keybuk> udev-watch.o: In function `udev_selinux_init': <Keybuk> /../udev/udev.h:130: multiple definition of `udev_selinux_init'
2009-04-26drop "extern" keyword from non-static functionKay Sievers
2009-02-23Use the udevdb to speed up watch clearing.Scott James Remnant
Also return a udev_device when looking up by handle as well, so everything works the same way.
2009-02-11udevd: optionally watch device nodes with inotifyScott James Remnant
This allows you to re-process the rules if the content of the device has been changed, most useful for block subsystem to cause vol_id to be run again.
2009-01-15udevadm: test - remove --force optionKay Sievers
Since a while we change the database with a "test" run, but do not update the node and symlinks. We need to "force" all the time, to keep things in sync.
2008-11-05unify string replacementKay Sievers
2008-10-29udevd: merge exec and run queue to minimize devpath string comparesKay Sievers
2008-10-23shrink struct udev_eventKay Sievers
2008-10-23shrink struct udev_eventKay Sievers
2008-10-23replace in-memory rules array with match/action token listKay Sievers
The in-memory rule array of a common desktop distro install took: 1151088 bytes with the token list: 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer
2008-10-22add util_resolve_subsys_kernel()Kay Sievers
2008-10-18prefix udev-util.c functions with util_*Kay Sievers
2008-10-18selinux_init(udev) -> udev_selinux_init(udev)Kay Sievers
2008-10-18move udev_rules_apply_format() to udev-event.cKay Sievers
2008-10-18udev_rules_run() -> udev_event_execute_run();Kay Sievers
2008-10-18udev_event_run() -> udev_event_execute_rules()Kay Sievers
2008-10-18move run_program to utilKay Sievers
2008-10-18make struct udev_rules opaqueKay Sievers
2008-10-18merge udev-rules.c and udev-rules-parse.cKay Sievers
2008-10-17udevd: use udev_list_nodeKay Sievers
2008-10-16delete name_list, move common file functionsKay Sievers
2008-10-16udev-rules-parse: name_list -> udev_listKay Sievers
2008-10-16rename udev source filesKay Sievers
2008-10-16move udev_device_db to libudevKay Sievers
2008-10-16udevd: use libudevKay Sievers
2008-10-03move selinux noops to udev.hKay Sievers
2008-10-02libudev: get rid of selinuxKay Sievers
"Hello world!" linked against libselinux parses /proc/mounts and whatever else on startup, even when the lib is not needed at all. Not funny! Get rid of that thing where it's not absolutely needed.
2008-09-26libudev: rework list handlingKay Sievers
2008-09-19always include config.h from MakefileKay Sievers
2008-09-13libudev: udev_device - add attribute cacheKay Sievers
2008-09-10use size definitions from libudevKay Sievers
2008-09-10convert to libudev and delete udev_utils_string.cKay Sievers
2008-09-10extras: use libudev codeKay Sievers
2008-09-10libudev: do not use any udev source fileKay Sievers
2008-09-10update file headersKay Sievers
2008-09-10libudev: add selinuxKay Sievers
2008-09-08move udev_ctrl to libudev-privateKay Sievers
2008-09-06use libudev code, unify logging, pass udev context around everywhereKay Sievers
2008-09-03udevadm: split out control functionsKay Sievers
2008-09-03udevadm: rename internal functions to udevadm_*Kay Sievers
2008-09-02remove deprecated envp[] in main()Alan Jenkins
envp is not standardized, and may become invalid when environment variables are modified. Since udev never actually uses it, we can simply remove it. Should anyone miss it in future, they can use the standardized environ variable - like udev_rules.c does already.