Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SPDX license identifiers to source files under the GPL | Zbigniew Jędrzejewski-Szmek | 2017-11-19 | 1 | -0/+1 |
| | |||||
* | tree-wide: use IN_SET macro (#6977) | Yu Watanabe | 2017-10-04 | 1 | -3/+2 |
| | |||||
* | build-sys: drop automake support | Zbigniew Jędrzejewski-Szmek | 2017-07-18 | 1 | -1/+0 |
| | | | | | v2: - also mention m4 | ||||
* | Rip out setting of the log level from udev_new and put it in a new function | Zbigniew Jędrzejewski-Szmek | 2017-05-07 | 1 | -0/+2 |
| | | | | | | | | This function is internal to systemd code, so external users of libudev will not see those log messages. I think this is better. If we want to allow that, the function could be put in libudev and exported. v2: check that the string is more than one char before stripping quotes | ||||
* | tree-wide: group include of libudev.h with sd-* | Thomas Hindoe Paaboel Andersen | 2015-11-17 | 1 | -1/+2 |
| | |||||
* | tree-wide: sort includes | Thomas Hindoe Paaboel Andersen | 2015-11-16 | 1 | -2/+1 |
| | | | | Sort the includes accoding to the new coding style. | ||||
* | util-lib: split out fd-related operations into fd-util.[ch] | Lennart Poettering | 2015-10-25 | 1 | -0/+1 |
| | | | | | There are more than enough to deserve their own .c file, hence move them over. | ||||
* | util-lib: split our string related calls from util.[ch] into its own file ↵ | Lennart Poettering | 2015-10-24 | 1 | -11/+12 |
| | | | | | | | | | | | | | | 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. | ||||
* | udev: ata_id - ATA_ID_SATA_CAPABILITY == 76 | Kay Sievers | 2015-09-22 | 1 | -5/+5 |
| | |||||
* | Fixup WWN bytes for big-endian systems | Tom Lyon | 2015-09-21 | 1 | -0/+4 |
| | |||||
* | tree-wide: replace while(1) by for(;;) everywhere | Lennart Poettering | 2015-09-09 | 1 | -1/+1 |
| | | | | Another Coccinelle script. | ||||
* | ata_id: remove unused union member | Thomas Hindoe Paaboel Andersen | 2015-07-25 | 1 | -1/+0 |
| | | | | The last use of octa was removed in 01f61d331bb5038f0c877ac03c54333328b6ea28 | ||||
* | ata_id: unreverse WWN identifier | Zbigniew Jędrzejewski-Szmek | 2015-07-22 | 1 | -2/+12 |
| | | | | | | | An endianness conversion was lost in 6024a6e302bad6bcf073fa84a41a6123305dc845. Restore it. Now ata_id and scsi_id output match. https://bugzilla.redhat.com/show_bug.cgi?id=1227503 | ||||
* | ata_id: unbotch format specifier | Jan Engelhardt | 2015-06-24 | 1 | -2/+2 |
| | | | | | | | | | Commit v218-247-g11c6f69 broke the output of the utility. "%1$" PRIu64 "x" expands to "%1$lux", essentially "%lux", which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to stdout. References: https://bugzilla.redhat.com/show_bug.cgi?id=1227503 | ||||
* | ata_id: drop spurious space | Lennart Poettering | 2015-05-18 | 1 | -1/+1 |
| | |||||
* | ata_id: remove unused header files | Robert Milasan | 2015-02-11 | 1 | -4/+0 |
| | | | | Signed-off-by: Robert Milasan <rmilasan@suse.com> | ||||
* | udev: improve help/usage for some more programs | Robert Milasan | 2015-01-01 | 1 | -2/+2 |
| | |||||
* | ata_id: remove temp variable to kill warning | Zbigniew Jędrzejewski-Szmek | 2014-12-25 | 1 | -8/+7 |
| | | | | | | src/udev/ata_id/ata_id.c:503:24: warning: assignment from incompatible pointer type identify_words = &identify.wyde; ^ | ||||
* | ata_id: modernize | Zbigniew Jędrzejewski-Szmek | 2014-12-25 | 1 | -40/+23 |
| | |||||
* | udev: fix another strict aliasing issue | Shawn Paul Landden | 2014-12-25 | 1 | -32/+30 |
| | |||||
* | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | 2014-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | udev: switch to systemd logging functions | Kay Sievers | 2014-11-13 | 1 | -10/+0 |
| | |||||
* | build-sys: add missing makefile symlinks | Lennart Poettering | 2014-08-11 | 1 | -0/+1 |
| | |||||
* | udev: never bypass our own logging framework and call vsyslog() directly ↵ | Lennart Poettering | 2014-08-11 | 1 | -2/+4 |
| | | | | from udev tools | ||||
* | everywhere: always use O_CLOEXEC where it makes sense | Lennart Poettering | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | log: log_error() and friends add a newline after each line anyway, so avoid ↵ | Lennart Poettering | 2013-12-24 | 1 | -3/+3 |
| | | | | including it in the log strings | ||||
* | Add more _printf_'s for format-nonliterals | Thomas Hindoe Paaboel Andersen | 2013-12-14 | 1 | -0/+1 |
| | | | | | | | | | | | 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. | ||||
* | udev: ata_id: log faling ioctls as "debug" | Kay Sievers | 2013-10-30 | 1 | -1/+1 |
| | |||||
* | udev/ata_id: zero out variable properly | Zbigniew Jędrzejewski-Szmek | 2013-04-14 | 1 | -4/+3 |
| | | | | | | b8a2b0f76 'use initalization instead of explicit zeroing' introduced a bug where only the first sizeof(uint_t*) bytes would be zeroed out, instead of the whole array. | ||||
* | udev/ata_id: use initalization instead of explicit zeroing | Zbigniew Jędrzejewski-Szmek | 2013-04-10 | 1 | -169/+146 |
| | |||||
* | use the same email address everywhere | Kay Sievers | 2012-11-12 | 1 | -1/+1 |
| | |||||
* | udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev string | Kay Sievers | 2012-07-05 | 1 | -1/+1 |
| | | | | | | | | | The last two digits are in the wrong order: $ hdparm -I /dev/sda | grep Revision 4PC10362 $ /lib/udev/ata_id -x /dev/sda | grep REVISION 4PC10326 | ||||
* | udev: fix a few issues detected by the llvm static analyzer | Kay Sievers | 2012-04-13 | 1 | -1/+0 |
| | |||||
* | udev: switch to systemd logging functions | Kay Sievers | 2012-04-08 | 1 | -5/+6 |
| | |||||
* | udev: ata_id - remove assert() until we switch over to systemd logging | Kay Sievers | 2012-04-04 | 1 | -25/+18 |
| | |||||
* | move imported udev into place | Kay Sievers | 2012-04-04 | 1 | -0/+721 |