Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-18 | udevadm: modernization | Zbigniew Jędrzejewski-Szmek | |
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-17 | _noreturn_ --> noreturn for C11 compat | Shawn Landden | |
also define noreturn w/o <stdnoreturn.h> | |||
2013-12-17 | udev link-config: add asserts to silence scan-build | Thomas Hindoe Paaboel Andersen | |
2013-12-15 | Fix a few signed/unsigned format string issues | Zbigniew Jędrzejewski-Szmek | |
Since numbers involved are all small, behaviour was correct already. https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-15 | Fix a few resource leaks in error paths | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-14 | udev-builtin-path: fix printf specifiers | Zbigniew Jędrzejewski-Szmek | |
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-12-03 | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | |
- 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-28 | Revert "link-config: match length for kernel commandline option" | Tom Gundersen | |
This reverts commit da66338e17f4df04d9d7cc22ec971b416d57761e. It is superseeded by 70f75a523b16ad495a7791d595ee3eececf75953 | |||
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-11-25 | conf-parser: distinguish between multiple sections with the same name | Tom Gundersen | |
Pass on the line on which a section was decleared to the parsers, so they can distinguish between multiple sections (if they chose to). Currently no parsers take advantage of this, but a follow-up patch will do that to distinguish [Address] Address=192.168.0.1/24 Label=one [Address] Address=192.168.0.2/24 Label=two from [Address] Address=192.168.0.1/24 Label=one Address=192.168.0.2/24 Label=two | |||
2013-11-25 | udev-builtin-keyboard: More useful error message | Martin Pitt | |
Make the "Error calling EVIOCSKEYCODE" error message more useful by mentioning which scan/key code it tried to set. | |||
2013-11-25 | udev: net_setup_link - don't use Description as Alias | Tom Gundersen | |
Use Description only internally, and allow Alias to be set as a separate option. For instance SNMP uses ifalias for a specific purpose, so let's not write to it by default. | |||
2013-11-18 | Remove duplicate includes | Karel Zak | |
2013-11-13 | udev: declare some symbols static | Kay Sievers | |
2013-11-12 | udev: declare some symbols static | Kay Sievers | |
2013-11-08 | Remove dead code and unexport some calls | Lennart Poettering | |
"make check-api-unused" informs us about code that is not used anymore or that is exported but only used internally. Fix these all over the place. | |||
2013-11-08 | link-config: Fix typo in log_warning | Dave Reisner | |
2013-11-08 | link-config: match length for kernel commandline option | Dave Reisner | |
This prevents enable_name_policy() from invariably returning false when it matches a zero length string at the end of /proc/cmdline. | |||
2013-11-08 | clients: fix some signal handler issues | Lennart Poettering | |
2013-11-07 | net-util: call ioctl() only if necessary | Michal Sekletar | |
In case when update of current values is not necessary we still might end up calling ioctl(), because need_update variable is not explicitly initialized. | |||
2013-11-07 | udevadm-settle: add missing brace | Zbigniew Jędrzejewski-Szmek | |
2013-11-07 | udevadm-trigger: add parameters checking | Yang Zhiyong | |
2013-11-07 | udevadm-settle: add parameters checking | Yang Zhiyong | |
2013-11-06 | util: unify reading of /proc/cmdline | Lennart Poettering | |
Instead of individually checking for containers in each user do this once in a new call proc_cmdline() that read the file only if we are not in a container. | |||
2013-11-05 | net-util: don't use libudev | Tom Gundersen | |
Should fix linking with old toolchain. | |||
2013-11-04 | net-config: start split out matching and parsing logic | Tom Gundersen | |
Move this to src/share/net-util.c, so it can be used elsewhere. | |||
2013-11-04 | udev: udevd - rules can be NULL when reloading | Kay Sievers | |
2013-11-04 | udev-builtin-keyboard: Fix large scan codes on 32 bit architectures | Martin Pitt | |
Use strtoul(), as scan codes are always positive. On 32 bit architectures strtol gives wrong results: strtol("fffffff0", &endptr, 16) returns 2147483647 instead of 4294967280. https://launchpad.net/bugs/1247676 | |||
2013-10-30 | link-config: support --enable-split-usr | Dave Reisner | |
2013-10-30 | udev: rules - move parsing error to log_error() | Kay Sievers | |
2013-10-30 | udev: config-link - one less log_info | Tom Gundersen | |
2013-10-30 | udev: link-config - less verbose logging | Tom Gundersen | |
Also reinstate print to kmsg when renaming netif. | |||
2013-10-30 | udev: link-config - let udevd set the ifname | Tom Gundersen | |
2013-10-30 | udev: ata_id: log faling ioctls as "debug" | Kay Sievers | |
2013-10-30 | udev: do not allow to change the DEVPATH of a device | Kay Sievers | |
2013-10-29 | udev: link-config - reset ctx on exit | Tom Gundersen | |
2013-10-29 | udev-event: use rtnl to set ifname | Tom Gundersen | |
2013-10-29 | rtnl: move set_link_properties to rtnl-utils | Tom Gundersen | |
2013-10-29 | udev: link-config - split connection to sockets from loading of configs | Tom Gundersen | |
We want to load the config in _init, but not connect to the sockets before we are forked. | |||
2013-10-29 | rtnl: introduce default timeout | Tom Gundersen | |
We set it to 10 secs (as we are only communicating with the kernel, it seems we should be able to bail out sooner than sd-bus, which uses 25). When passing timout 0, the default is used, use this in link-config. | |||
2013-10-29 | udev: link-config - use safe_atou instead of strtoul | Tom Gundersen | |
2013-10-29 | udev: link-config - use zero instead of memset | Tom Gundersen | |
2013-10-29 | udev: link-config - use proper return values | Tom Gundersen | |
Not sure if -ENOENT is the correct return value for when no persistent network name is set, but couldn't think of anything better. | |||
2013-10-29 | udev: link-config - use new0 instead of calloc | Tom Gundersen | |
2013-10-29 | udev: link-config - use _cleanup_ macro locally | Tom Gundersen | |
2013-10-29 | path_check_timestamp: only keep the most recent timestamp | Tom Gundersen | |
There is no point in keeping one timestamp for each directory, as we only ever care about the most recent one. | |||
2013-10-29 | udev: link-config - add proper parsing | Tom Gundersen | |