summaryrefslogtreecommitdiff
path: root/src/udev/collect/collect.c
AgeCommit message (Collapse)Author
2016-06-13./move.shLuke Shumaker
2016-01-12tree-wide: use xsprintf() where applicableDaniel Mack
Also add a coccinelle receipt to help with such transitions.
2015-10-27util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering
2015-10-24util-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-09tree-wide: replace while(1) by for(;;) everywhereLennart Poettering
Another Coccinelle script.
2015-02-23remove unused includesThomas Hindoe Paaboel Andersen
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
2015-01-05udevadm,..: make --help output of udev tools more like the output of the ↵Lennart Poettering
various other tools
2015-01-01udev: improve help/usage for some more programsRobert Milasan
2014-12-11use correct format typesThomas Hindoe Paaboel Andersen
2014-11-16udev: silence TOCTOU warning when creating a directoryRonny Chevalier
CID#979416. There is no real race here to fix, but lets make coverity happy and rework the code. Note that we still fail if the directory is removed _after_ we ran mkdir(), so the same race is still there. Coverity is complaining, though. Rewrite the code to make it happy. (David: rewrote the commit-message to note that this is not a race. If I'm wrong, blame me, not Ronny!)
2014-11-06s/commandline/command line/gHarald Hoyer
2014-02-13everywhere: always use O_CLOEXEC where it makes senseLennart Poettering
2013-12-17_noreturn_ --> noreturn for C11 compatShawn Landden
also define noreturn w/o <stdnoreturn.h>
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-07-19udev: fix two trivial memleaks in error pathZbigniew Jędrzejewski-Szmek
Based-on-a-patch-by: Ian Stakenvicius <axs@gentoo.org>
2013-03-22udev: no need to output OOM, if we call log_oom() anywayLennart Poettering
2013-03-22udev/collect: avoid initalizing memory twiceZbigniew Jędrzejewski-Szmek
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen
2013-01-09udev: move string copy functions to shared/Kay Sievers
2012-09-27udev: collect - use snprintf()Robert Milasan
2012-09-23udev: check return value of writeVáclav Pavlín
2012-09-23udev: check malloc return in collect/collect.cVáclav Pavlín
Returns from no memory checks updated with log_oom call
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-22collect, keymap, systemctl: use _noreturn_Zbigniew Jędrzejewski-Szmek
2012-04-29udev: use container_of() macroLucas De Marchi
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers
2012-04-04move imported udev into placeKay Sievers