Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-10 | machine-id-setup: simplifications | Lennart Poettering | |
2015-03-10 | machine-id-commit: simplifications | Lennart Poettering | |
2015-03-10 | util: add rename_noreplace | Alban Crequy | |
renameat2() exists since Linux 3.15 but btrfs support for the flag RENAME_NOREPLACE was added later. This patch implements a fallback when renameat2() returns EINVAL. EINVAL is the error returned when the filesystem does not support one of the flags. | |||
2015-03-10 | path-util: fix path_is_mount_point() for symlinks | Harald Hoyer | |
path_is_mount_point() compares the mount_id of a directory and the mount_id of the parent directory. When following symlinks, the function to get the parent directory does not take the symlink into account. /bin -> /usr/bin with /usr being a mountpoint: mount_id of /bin with AT_SYMLINK_FOLLOW != mount_id of / | |||
2015-03-10 | CODING_STYLE: mention casting of function invocations to (void) | Lennart Poettering | |
2015-03-10 | bus-proxy: add support for "GetConnectionCredentials" method | Lukasz Skalski | |
GetConnectionCredentials method was added to dbus-1 specification more than one year ago. This method should return "[...] as many credentials as possible for the process connected to the server", but at this moment only "UnixUserID", "LinuxSecurityLabel" and "ProcessID" are defined by the specification. We should add support for next credentials after extending dbus-1 spec. | |||
2015-03-10 | tmpfiles: port to unquote_many_words() | daurnimator | |
2015-03-10 | shared: the btrfs quota field is called "referenced" not "referred" | Lennart Poettering | |
2015-03-10 | update TODO | Lennart Poettering | |
2015-03-10 | man: document "machinectl export-tar" and "export-raw" | Lennart Poettering | |
2015-03-10 | add REMOTE_ADDR and REMOTE_PORT for Accept=yes | Shawn Landden | |
2015-03-10 | fsckd: clean up log messages | Didier Roche | |
Avoid double logs printing. Not that we don't return manager_update_global_progress() to the handler callback as if the console or plymouth isn't available momentarily, we still desire to handle future fd progress events if those are available again (like cancellation, reports…) | |||
2015-03-10 | fsckd: Reduce the SAK window when writing to console | Didier Roche | |
We don't want to keep /dev/console open all the time, but only open it when needed, to avoid interfering with SAK. | |||
2015-03-10 | Add type specifier for int | Thomas Hindoe Paaboel Andersen | |
2015-03-10 | logs-show: fix check of loop_read_exact | Thomas Hindoe Paaboel Andersen | |
just a typo fix | |||
2015-03-09 | Introduce loop_read_exact helper | Zbigniew Jędrzejewski-Szmek | |
Usually when using loop_read(), we want to read the full buffer. Add a helper that mirrors loop_write(), and returns 0 when full buffer was read, and an error otherwise. Use -ENODATA for the short read, to distinguish it from a read error. | |||
2015-03-09 | efivars: itialize variable | Zbigniew Jędrzejewski-Szmek | |
Introduced a few commits ago. | |||
2015-03-09 | bootchart: use _cleanup_ | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | Add missing includes | Zbigniew Jędrzejewski-Szmek | |
audit.h uses uint32_t and bool. log.h uses abs. | |||
2015-03-09 | journalctl: unlink without checking with access first | Zbigniew Jędrzejewski-Szmek | |
It is more elegant to do this in one step. Coverity complains about the TOCTOU difference, but it is not an actual problem (CID #1237777). | |||
2015-03-09 | journal: fix return code | Zbigniew Jędrzejewski-Szmek | |
Introduced in fa6ac76083b8ff. Might be related to CID #1261724, but I don't know if coverity can recurse this deep. | |||
2015-03-09 | journal-file: update format string to remove cast | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | journal: align comments to make them more legible | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | libudev: add missing hunks | Tom Gundersen | |
This should have been committed with udev_device_add_property - implicitly mark properties for saving to db | |||
2015-03-09 | libudev: udev_device_read_db - drop unused argument | Tom Gundersen | |
2015-03-09 | libudev: udev_device_add_property - implicitly mark properties for saving to db | Tom Gundersen | |
Properties should only be saved to the db when added to the udev_device by udevd, and only if the property does not start with a '.'. Make this implicit rather than expose the marking of properties. | |||
2015-03-09 | udev/libudev: event - move {OLD_,}INTERFACE handling from udevd to libudev | Tom Gundersen | |
This should be internal to the library as it is only about reflecting the sysfs state in the udev_device. | |||
2015-03-09 | libudev: private - make property_from_string_parse* static | Tom Gundersen | |
2015-03-09 | man: document machinectl import-tar and import-raw | Lennart Poettering | |
2015-03-09 | update TODO | Lennart Poettering | |
2015-03-09 | udev: simplify event_queue_update() and add debug logging | Tom Gundersen | |
This essentially replaces open("/run/udev/queue", O_WRONLY|O_CREAT|O_CLOEXEC|O_TRUNC|O_NOFOLLOW, 0444) with open("/run/udev/queue", O_WRONLY|O_CREAT|O_CLOEXEC|O_NOCTTY, 0644), which is ok for our purposes. | |||
2015-03-09 | efivars: use greedy_realloc | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | efivars: use more _cleanup_ | Zbigniew Jędrzejewski-Szmek | |
Also rename r to buf, since r is customarily reserved for the return value. | |||
2015-03-09 | efivars: do binary and before converting to bool | Zbigniew Jędrzejewski-Szmek | |
I'm pretty sure that this is what was meant here. | |||
2015-03-09 | efivars: rename last remaining err to r | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | efivars: modernization | Zbigniew Jędrzejewski-Szmek | |
Fix return value if unlink fails. | |||
2015-03-09 | boot/efi: do not assign variable twice | Zbigniew Jędrzejewski-Szmek | |
If the highlighted line did not move outside of the visible region, it should not be necessary to update idx_last. CID #1287137, #1287138. | |||
2015-03-09 | machinectl: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2015-03-09 | fsck: modernize error handling | Lennart Poettering | |
2015-03-09 | fsck: use _cleanup_close_pair_ where appropriate | Lennart Poettering | |
2015-03-09 | fsckd: make sure we free the connection event source before we close the ↵ | Lennart Poettering | |
connection fd | |||
2015-03-09 | fsckd: don't allow unbounded numbers of clients | Lennart Poettering | |
2015-03-09 | fsckd: make sure unprivileged clients cannot play games with fsckd | Lennart Poettering | |
2015-03-09 | fsckd: free client event source before we close its fd | Lennart Poettering | |
2015-03-09 | po: update French translation | Sylvain Plantefève | |
Add strings for importd, following 587fec427c80b6c34dcf1d7570f891fcb652a7c5 | |||
2015-03-09 | fsck: rename functions to reflect some object orientation | Lennart Poettering | |
Let's clean up the function naming scheme and put the object they operate on first in the name, the way OO programming usually does it. Also, let's make sure can properly destroy half-initialized Manager objects. | |||
2015-03-09 | fsck: don't read invalid data | Lennart Poettering | |
2015-03-09 | fsckd: internaly check if a client already was cancelled | Lennart Poettering | |
2015-03-09 | fsck: simplify client destruction logic | Lennart Poettering | |
2015-03-09 | fsckd: rework plymouth connection management | Lennart Poettering | |
- the even source should not be freed before the fd for it is closed - read() returns an ssize_t and we need to handle it as such - properly handle errors from read() - reuse on_plymouth_disconnect() whenever we disconnect from plymouth, and rename it plymouth_disconnect hence() |