Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-12 | udev: use properly the systemd logging functions | Ronny Chevalier | |
2014-11-12 | udev: use the systemd logging functions in udev tools | Kay Sievers | |
2014-09-17 | udev: rules - close empty file | Tom Gundersen | |
If the file is found to be empty, we exit early without closing the file first. Found by coverity. Fixes CID #1237759. | |||
2014-09-16 | udev: rules - add missing whitespace to log message | Tom Gundersen | |
2014-09-16 | libudev: drop util_lookup_{user,group} | Tom Gundersen | |
Use shared versions instead. Difference is with overwriting of repeated user/group name, and lack of logging. | |||
2014-09-11 | udev: timeout - warn after a third of the timeout before killing | Tom Gundersen | |
2014-09-11 | udev: allow removing tags via TAG-="foobar" | David Herrmann | |
This extends the udev parser to support OP_REMOVE (-=) and adds support for TAG-= to remove previously set tags. We don't fail if the tag didn't exist. This is pretty handy if we ship default rules for seat-assignments and users want to exclude specific devices from that. They can easily add rules that drop any automatically added "seat" tags again. | |||
2014-09-10 | udev: fix copy-paste error in log message | Tom Gundersen | |
2014-08-01 | Revert "libudev: use get_*_creds from shared rather than util_lookup_*" | Tom Gundersen | |
This reverts commit a56ba6158b9649e01226dfaf3ff7082c82571090. The commit was pushed in error. | |||
2014-08-01 | libudev: use get_*_creds from shared rather than util_lookup_* | Tom Gundersen | |
2014-07-30 | udev: fixup commit dd5eddd28a74a49607a8fffcaf960040dba98479 | Hannes Reinecke | |
Commit dd5eddd28a74a49607a8fffcaf960040dba98479 accidentally removed one line too many. | |||
2014-07-29 | udev: place opening { at the same line as the function declaration | Kay Sievers | |
2014-07-29 | udev: unify event timeout handling | Kay Sievers | |
2014-07-16 | Be more careful when checking for empty files | Zbigniew Jędrzejewski-Szmek | |
If we want to avoid reading a totally empty file, it seems better to check after we have opened the file, not before. | |||
2014-04-24 | udev: increase the size of RESULT buffer | Robert Milasan | |
Under some conditions, in udev_rules_apply_to_event the fact that result is 1024 bytes, creates problems if the output of the running command/app is bigger then 1024 bytes. | |||
2014-04-02 | udev: do not export "static node" tags for non-existing devices | Kay Sievers | |
2014-03-16 | Use strlen even for constant strings | Josh Triplett | |
GCC optimizes strlen("string constant") to a constant, even with -O0. Thus, replace patterns like sizeof("string constant")-1 with strlen("string constant") where possible, for clarity. In particular, for expressions intended to add up the lengths of components going into a string, this often makes it clearer that the expression counts the trailing '\0' exactly once, by putting the +1 for the '\0' at the end of the expression, rather than hidden in a sizeof in the middle of the expression. | |||
2014-02-17 | Remove unused variable and two function stubs | Zbigniew Jędrzejewski-Szmek | |
2014-02-13 | everywhere: make use of new0() and macro() macros, and stop using perror() | Lennart Poettering | |
2014-01-31 | use memzero(foo, length); for all memset(foo, 0, length); calls | Greg KH | |
In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length). | |||
2014-01-22 | udev: static_node - do not exit rule after first static_node item | Kay Sievers | |
The nodes usually do not exist, so handle the next item instead of skipping the entire rule. | |||
2014-01-08 | No need to canonicalize fixed paths | Zbigniew Jędrzejewski-Szmek | |
2013-12-26 | systemctl: allow globbing in commands which take multiple unit names | Zbigniew Jędrzejewski-Szmek | |
2013-12-24 | log: log_error() and friends add a newline after each line anyway, so avoid ↵ | Lennart Poettering | |
including it in the log strings | |||
2013-12-03 | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | |
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } | |||
2013-11-26 | tree-wide usage of %m specifier instead of strerror(errno) | Daniel Buch | |
Also for log_error() except where a specific error is specified e.g. errno ? strerror(errno) : "Some user specified message" | |||
2013-11-04 | udev: udevd - rules can be NULL when reloading | Kay Sievers | |
2013-10-30 | udev: rules - move parsing error to log_error() | Kay Sievers | |
2013-10-30 | udev: do not allow to change the DEVPATH of a device | Kay Sievers | |
2013-10-29 | path_check_timestamp: only keep the most recent timestamp | Tom Gundersen | |
There is no point in keeping one timestamp for each directory, as we only ever care about the most recent one. | |||
2013-10-26 | udev: move udev_rules_check_timestamp to shared | Tom Gundersen | |
I want to use this from a bulitin in a subsequent patch. | |||
2013-10-08 | udev: support custom Linux Security Module labels for device nodes | Kay Sievers | |
2013-09-16 | udev-rules: avoid erroring on trailing whitespace | Dave Reisner | |
https://bugs.archlinux.org/task/36950 | |||
2013-08-23 | udev: fix printf(3) type specifier | Shawn Landden | |
src/udev/udev-rules.c: In function 'add_rule': src/udev/udev-rules.c:1078:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=] log_error("invalid key/value pair in file %s on line %u," ^ | |||
2013-08-20 | udev: when complaining about invalid characters, print them out | Zbigniew Jędrzejewski-Szmek | |
systemd-udevd[6260]: invalid key/value pair in file /usr/lib/udev/rules.d/60-ffado.rules on line 46,starting at character 84 ('#') | |||
2013-07-29 | udev-rules: report rule parsing errors from get_key | Dave Reisner | |
2013-07-24 | udev: static_node - don't touch permissions uneccessarily | Tom Gundersen | |
Don't set default permissions if only TAGS were specified in a rule. | |||
2013-07-24 | udev: log error if chmod/chown of static dev nodes fails | Tom Gundersen | |
2013-07-16 | udev: export tags of "dead" device nodes to /run/udev/static_node-tags/ | Tom Gundersen | |
Based on a patch by Kay Sievers. A tag is exported at boot as a symlinks to the device node in the folder /run/udev/static_node-tags/<tagname>/, if the device node exists. These tags are cleaned up by udevadm info --cleanup-db, but are otherwise never removed. | |||
2013-06-24 | libudev: Use correct type for sizeof | Jan Janssen | |
2013-04-15 | Fix spelling errors using 'codespell' tool | Anatol Pomozov | |
2013-02-13 | use strneq instead of strncmp | Thomas Hindoe Paaboel Andersen | |
2013-02-08 | shared: conf-files - add root parameter | Kay Sievers | |
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2012-12-31 | udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent | Kay Sievers | |
2012-11-12 | use the same email address everywhere | Kay Sievers | |
2012-11-12 | udev: use usec_t and now() | Kay Sievers | |
2012-10-28 | udev: get rid of SYSCONFDIR | Kay Sievers | |
2012-10-22 | udev: use strbuf to store rules strings | Kay Sievers | |
2012-10-09 | udev: support multiple entries for ENV{SYSTEMD_ALIAS} and ENV{SYSTEM_WANTS} | Kay Sievers | |