Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-07 | udev: add emacs header line | Zbigniew Jędrzejewski-Szmek | |
Otherwise emacs wants to use 2-space indentation and other attrocities. | |||
2015-11-17 | tree-wide: group include of libudev.h with sd-* | Thomas Hindoe Paaboel Andersen | |
2015-11-16 | tree-wide: sort includes | Thomas Hindoe Paaboel Andersen | |
Sort the includes accoding to the new coding style. | |||
2015-10-25 | util-lib: split out fd-related operations into fd-util.[ch] | Lennart Poettering | |
There are more than enough to deserve their own .c file, hence move them over. | |||
2015-10-24 | util-lib: split our string related calls from util.[ch] into its own file ↵ | Lennart Poettering | |
string-util.[ch] There are more than enough calls doing string manipulations to deserve its own files, hence do something about it. This patch also sorts the #include blocks of all files that needed to be updated, according to the sorting suggestions from CODING_STYLE. Since pretty much every file needs our string manipulation functions this effectively means that most files have sorted #include blocks now. Also touches a few unrelated include files. | |||
2015-09-09 | tree-wide: replace while(1) by for(;;) everywhere | Lennart Poettering | |
Another Coccinelle script. | |||
2015-09-09 | tree-wide: update empty-if coccinelle script to cover empty-while and more | Lennart Poettering | |
Let's also clean up single-line while and for blocks. | |||
2015-09-09 | tree-wide: drop {} from one-line if blocks | Lennart Poettering | |
Patch via coccinelle. | |||
2015-04-11 | shared: add random-util.[ch] | Ronny Chevalier | |
2015-01-23 | #pragma once here and there | Zbigniew Jędrzejewski-Szmek | |
2015-01-05 | udevadm,..: make --help output of udev tools more like the output of the ↵ | Lennart Poettering | |
various other tools | |||
2015-01-01 | udev: improve help/usage for some more programs | Robert Milasan | |
2014-11-28 | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | |
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. | |||
2014-11-13 | udev: switch to systemd logging functions | Kay Sievers | |
2014-11-01 | scsi_id: fix usage spelling | Joe Lawrence | |
s/threat/treat/g | |||
2014-10-30 | util: unify how we see srand() | Lennart Poettering | |
2014-08-11 | build-sys: add missing makefile symlinks | Lennart Poettering | |
2014-08-11 | udev: never bypass our own logging framework and call vsyslog() directly ↵ | Lennart Poettering | |
from udev tools | |||
2014-02-24 | Remove dead lines in various places | Zbigniew Jędrzejewski-Szmek | |
As pointed-out by clang -Wunreachable-code. No behaviour changes. | |||
2014-02-13 | everywhere: always use O_CLOEXEC where it makes sense | 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). | |||
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-18 | udevadm,scsi_id: add short options to help strings and to the man page | Zbigniew Jędrzejewski-Szmek | |
Also clean things up a bit here and there. | |||
2013-12-18 | scsi_id: cleanup | Zbigniew Jędrzejewski-Szmek | |
Remove -i option which would case exit(1) to happen. Remove some unused code. Convert to bool where appropriate. Simplify things a bit. Always free everything. https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-14 | Add more _printf_'s for format-nonliterals | Thomas Hindoe Paaboel Andersen | |
Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c Some parts looked intetional about breaking the format-nonliteral check. I added some supression for warnings there. | |||
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-03-30 | udev: extern on functions is pointless | Lennart Poettering | |
2013-02-13 | use streq instead of strcmp | Thomas Hindoe Paaboel Andersen | |
2013-02-13 | util: introduce strcaseeq/strncaseeq | Thomas Hindoe Paaboel Andersen | |
2013-02-13 | use strneq instead of strncmp | Thomas Hindoe Paaboel Andersen | |
2013-01-09 | tabs to spaces | Thomas Hindoe Paaboel Andersen | |
Skipped bootchart and various files that looked like they should be kept in sync with external sources. | |||
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2012-10-28 | udev: get rid of SYSCONFDIR | Kay Sievers | |
2012-09-23 | udev: free fd before return in scsi_serial.c | Lukas Nykryn | |
2012-07-26 | log.h: new log_oom() -> int -ENOMEM, use it | Shawn Landden | |
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera | |||
2012-07-25 | use "Out of memory." consistantly (or with "\n") | Shawn Landden | |
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id | |||
2012-07-05 | udev: add some O_CLOEXEC | Kay Sievers | |
2012-05-27 | scsi_id: fix truncated model in by-id device links | Jean Delvare | |
Do not forget the leading "S" when appending the serial number, otherwise we chop the last character of the model name. Addresses: https://bugzilla.novell.com/show_bug.cgi?id=763397 Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Petr Uzel <petr.uzel@suse.cz> | |||
2012-04-13 | udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ | Kay Sievers | |
2012-04-08 | udev: switch to systemd logging functions | Kay Sievers | |
2012-04-04 | udev: fix gcc warnings | Kay Sievers | |
2012-04-04 | move imported udev into place | Kay Sievers | |