Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-13 | udevd: use bool | Kay Sievers | |
2009-07-13 | udevd: handle SIGCHLD before the worker event message | Kay Sievers | |
We may need to handle SIGCHLD before the queued worker message. The last reference, from the SIGCHLD or the worker message will clean up the worker context. In case we receive an unexpected SIGCHLD with an error, we let the event fail and clean up the worker context. | |||
2009-07-11 | udevd: make sure a worker finishes event handling before exiting | Kay Sievers | |
Persistent network rules write out new rules files. When rules change, we need to kill all workers to update the in-memory copy of the rules. We need to make sure, that a worker finshes its work for all device messages it has accepted, before it exits after a SIGTERM from the main process. | |||
2009-07-08 | udevadm: info - add space after R:, A:, W: on database export | Kay Sievers | |
<zzam> kay: udevadmin info -e prints all lines with a space after the :, but the W: line <kay> zzam: yeah, seems so, and the R: and the A: <zzam> yeah | |||
2009-07-08 | udevd: detach event from worker if we kill a worker | Kay Sievers | |
Jul 8 09:36:41 udevd[663]: worker [5491] did not accept message, kill it Jul 8 09:36:41 udevd[663]: worker [5491] unexpectedly returned with 0 Jul 8 09:36:41 udevd[663]: worker [5551] unexpectedly returned with 0 Jul 8 09:36:41 kernel: [ 156.832086] <6>udevd[663]: segfault at 4 ip 00959fbc sp bfbe7b78 error 6 in udevd[94f000+1c000] https://bugs.launchpad.net/ubuntu/+source/udev/+bug/396957 | |||
2009-07-07 | use MIN() MAX() from param.h | Kay Sievers | |
2009-07-02 | udevadm: test - print list of properties | Kay Sievers | |
2009-06-28 | man: udev - add private properties like ENV{.FOO}="bar" | Kay Sievers | |
2009-06-28 | do not exports properties starting with a '.' | Kay Sievers | |
Private variables can be marked like: ENV{.FOO}="bar" | |||
2009-06-22 | udev/.gitignore: add udev.pc | Kay Sievers | |
2009-06-19 | udev.pc: add | Kay Sievers | |
2009-06-17 | cleanup ./configure installation directory options | Kay Sievers | |
2009-06-14 | USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX | Kay Sievers | |
2009-06-10 | udevadm: info -revert "accept --query without argument" | Kay Sievers | |
Getopt is too dumb, the optional argument breaks "udevadm -q symlink". | |||
2009-06-09 | libudev: rename private files to *-private.c | Kay Sievers | |
2009-06-09 | move common stuff from udev/ to private parts of libudev/ | Kay Sievers | |
2009-06-09 | move syslog wrapper to libudev | Kay Sievers | |
2009-06-09 | udevd: log info for created/killed workers | Kay Sievers | |
2009-06-08 | libudev: move to top-level directory | Kay Sievers | |
2009-06-08 | libudev: add comments to libudev.h | Kay Sievers | |
2009-06-08 | udevd: print error if worker dies unexpectedly | Kay Sievers | |
2009-06-07 | udevadm: monitor --environment -> --property | Kay Sievers | |
2009-06-07 | udevadm: control - --env -> --property | Kay Sievers | |
2009-06-07 | udevadm: info - accept --query without a value and print properties | Kay Sievers | |
2009-06-07 | udevadm: trigger - add --property-match=<key>:<value> | Kay Sievers | |
2009-06-07 | libudev: enumerate - allow multiple keys with the same name | Kay Sievers | |
2009-06-06 | fix signed/unsigned warning | Kay Sievers | |
2009-06-06 | cleanup $attr{} substitution | Kay Sievers | |
2009-06-06 | allow format substitution in path of ATTR{<path>}=="<value>" | Kay Sievers | |
2009-06-05 | udevd: use enum instead of char in struct declaration | Kay Sievers | |
2009-06-04 | udevd: close netlink socket in worker and set cloexec | Kay Sievers | |
2009-06-04 | udevd: convert to event worker processes | Kay 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-06-01 | str[sp]cpyl: add __attribute__ ((sentinel)) | Kay Sievers | |
2009-05-29 | udevd: remove check for dev_t, DEVPATH_OLD takes care of that | Kay Sievers | |
2009-05-29 | udevadm: settle - add --exit-if-exists=<file> | Kay Sievers | |
2009-05-28 | udevadm: control - add comment to man page about --reload-rules | Kay Sievers | |
2009-05-28 | udevd: queue-export - fix crash | Alan Jenkins | |
The math in skip_to() was the wrong way round and allocated a variable size array on the stack with a massively negative size. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2009-05-28 | udev-selinux.c: remove libudev header | Alan Jenkins | |
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2009-05-21 | udevadm: settle - make --timeout=0 working | Kay Sievers | |
2009-05-21 | udevd: implement a more efficient queue file format | Alan Jenkins | |
Directory lookups show up in profiling. The queue files are responsible for a large proportion of file-related system calls in udev coldplug. Instead of creating a file for each event, append their details to a log file. The file is periodically rebuilt (garbage-collected) to prevent it from growing indefinitely. This single queue file replaces both the queue directory and the uevent_seqnum file. On desktop systems the file tends not to grow beyond one page. So it should also save a small amount of memory in tmpfs. Tests on a running EeePC indicate average savings of 5% *udevd* cpu time as measured by oprofile. __link_path_walk is reduced from 1.5% to 1.3%. It is not completely clear where the rest of the gains come from. In tests running ~400 events, the queue file is rebuilt about 5 times. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2009-05-21 | udevd: remove tiny bit of dead code | Alan Jenkins | |
2009-05-21 | fix location of database files | Kay Sievers | |
2009-05-21 | keep the ifdef'd udevd testing/profiling hack | Kay Sievers | |
2009-05-20 | require key names in uppercase | Kay Sievers | |
Drop pretty expensive case-insensitive matching, and key names in mixed or lowercase are not supported anyway. | |||
2009-05-20 | remove unused GL_FORMAT from rules parser | Kay Sievers | |
2009-05-20 | use openat(), unlinkat(), fstatat() | Kay Sievers | |
2009-05-20 | use more efficient string copying | Kay Sievers | |
2009-05-20 | udevadm: settle - fix timeout | Alan Jenkins | |
The timeout wasn't working when settle was run as root: # udevadm control --stop-exec-queue # udevadm trigger # udevadm settle --timeout=1 ... (hangs) Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2009-05-19 | remove format char string truncation syntax | Kay Sievers | |
2009-05-14 | OWNER/GROUP: fix if logic | Scott James Remnant | |
The introduction of the --resolve-names=early/never code introduced a bug to the OWNER/GROUP lookup. Previously if the name had contained $, lookup would have been performed later; after the patch, the key ended up being ignored! |