summaryrefslogtreecommitdiff
path: root/src/udev/udev-ctrl.c
AgeCommit message (Collapse)AuthorFilesLines
2014-02-19make gcc shut upLennart Poettering1-1/+1
If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter.
2014-02-13everywhere: make use of new0() and macro() macros, and stop using perror()Lennart Poettering1-1/+1
2014-01-31use memzero(foo, length); for all memset(foo, 0, length); callsGreg KH1-1/+1
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 Poettering1-11/+11
including it in the log strings
2013-12-24util: unify SO_PEERCRED/SO_PEERSEC invocationsLennart Poettering1-5/+5
Introduce new call getpeercred() which internally just uses SO_PEERCRED but checks if the returned data is actually useful due to namespace quirks.
2013-12-03trivial coding style clean upsThomas Hindoe Paaboel Andersen1-1/+1
- 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-13udev: declare some symbols staticKay Sievers1-9/+1
2013-10-13udev: use initialization instead of zeroing in one placeZbigniew Jędrzejewski-Szmek1-8/+9
2013-04-08udev/udev-ctrl.c:udev_ctrl_new_from_fd() enable SO_PASSCREDHarald Hoyer1-0/+2
Avoid "sender uid=65534, message ignored" case, where no credentials can be read on the sender side. Seems, the server socket does not enable credential receiving fast enough, and the message from the client (without credential) sometimes is queued before the credential passing was active.
2013-01-09udev: move string copy functions to shared/Kay Sievers1-2/+2
2012-11-12use the same email address everywhereKay Sievers1-1/+1
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers1-2/+1
2012-04-10udev: fix gcc warnings showing up after adding $(AM_CFLAGS)Kay Sievers1-1/+0
2012-04-08udev: switch to systemd logging functionsKay Sievers1-14/+12
2012-04-04move imported udev into placeKay Sievers1-0/+494