summaryrefslogtreecommitdiff
path: root/src/udev/scsi_id
AgeCommit message (Collapse)Author
2014-11-13udev: switch to systemd logging functionsKay Sievers
2014-11-01scsi_id: fix usage spellingJoe Lawrence
s/threat/treat/g
2014-10-30util: unify how we see srand()Lennart Poettering
2014-08-11build-sys: add missing makefile symlinksLennart Poettering
2014-08-11udev: never bypass our own logging framework and call vsyslog() directly ↵Lennart Poettering
from udev tools
2014-02-24Remove dead lines in various placesZbigniew Jędrzejewski-Szmek
As pointed-out by clang -Wunreachable-code. No behaviour changes.
2014-02-13everywhere: always use O_CLOEXEC where it makes senseLennart Poettering
2014-01-31use memzero(foo, length); for all memset(foo, 0, length); callsGreg 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-24log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering
including it in the log strings
2013-12-18udevadm,scsi_id: add short options to help strings and to the man pageZbigniew Jędrzejewski-Szmek
Also clean things up a bit here and there.
2013-12-18scsi_id: cleanupZbigniew 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-14Add more _printf_'s for format-nonliteralsThomas 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-26tree-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-30udev: extern on functions is pointlessLennart Poettering
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen
2013-02-13util: introduce strcaseeq/strncaseeqThomas Hindoe Paaboel Andersen
2013-02-13use strneq instead of strncmpThomas Hindoe Paaboel Andersen
2013-01-09tabs to spacesThomas Hindoe Paaboel Andersen
Skipped bootchart and various files that looked like they should be kept in sync with external sources.
2013-01-09udev: move string copy functions to shared/Kay Sievers
2012-10-28udev: get rid of SYSCONFDIRKay Sievers
2012-09-23udev: free fd before return in scsi_serial.cLukas Nykryn
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn 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-25use "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-05udev: add some O_CLOEXECKay Sievers
2012-05-27scsi_id: fix truncated model in by-id device linksJean 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-13udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/Kay Sievers
2012-04-08udev: switch to systemd logging functionsKay Sievers
2012-04-04udev: fix gcc warningsKay Sievers
2012-04-04move imported udev into placeKay Sievers