Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-25 | udev: fix another strict aliasing issue | Shawn Paul Landden | |
2014-12-25 | libudev: fix strict aliasing violation | Shawn Paul Landden | |
2014-12-25 | machined: beef up machined image listing with creation/modification times of ↵ | Lennart Poettering | |
subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can. | |||
2014-12-25 | import: prefer usec_t over time_t | Lennart Poettering | |
2014-12-24 | import: add a new "pull-gpt" verb for downloading GPT disk images from the ↵ | Lennart Poettering | |
internet | |||
2014-12-24 | import: three minor fixes | Lennart Poettering | |
2014-12-24 | import: print friendly error messages on errors | Lennart Poettering | |
2014-12-24 | import: remember when we were finished importing | Lennart Poettering | |
2014-12-24 | import: make the dkr import URL a part of the import object, not the import ↵ | Lennart Poettering | |
name object | |||
2014-12-24 | machined: fix writability check for GPT images | Lennart Poettering | |
2014-12-24 | util: make creation time xattr logic more generic | Lennart Poettering | |
2014-12-24 | sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine() | Lennart Poettering | |
Pretty much everywhere else we use the generic term "machine" when referring to containers in API, so let's do though in sd-bus too. In particular, since the concept of a "container" exists in sd-bus too, but as part of the marshalling system. | |||
2014-12-24 | util: fix strict aliasing violations in use of struct inotify_event v5 | Shawn Paul Landden | |
There is alot of cleanup that will have to happen to turn on -fstrict-aliasing, but I think our code should be "correct" to the rule. | |||
2014-12-23 | busctl: when introspecting objects, optionally limit output by interface name | Lennart Poettering | |
2014-12-23 | machined: introduce polkit for OpenLogin() call | Lennart Poettering | |
This way "machinectl login" can be opened up to run without privileges. | |||
2014-12-23 | bus: add missing bus-policy.[ch] | Lennart Poettering | |
Accidentally forgot to commit this. Sorry! | |||
2014-12-23 | build-sys: move core/build.h → shared/build.h | Lennart Poettering | |
After all, pretty much all our tools include it, and it should hence be shared. Also move sysfs-show.h from core/ to login/, since it has no point to exist in core. | |||
2014-12-23 | machinectl: rework 'machinectl login' to use OpenMachineLogin() | Lennart Poettering | |
2014-12-23 | machined: add new call OpenMachineLogin() that starts a getty in a container ↵ | Lennart Poettering | |
on a pty and returns the pty master fd to the client This is a one-stop solution for "machinectl login", and should simplify getting logins in containers. | |||
2014-12-23 | sd-bus: teach x-container-unix: bus protoocol to connect to the namespace of ↵ | Lennart Poettering | |
a PID instead of a container name | |||
2014-12-23 | condition: don't include files from src/core | Lennart Poettering | |
2014-12-23 | import: fix compiler warning | Lennart Poettering | |
2014-12-23 | env-util: don't include files from src/core/ | Lennart Poettering | |
2014-12-23 | core: rearrange code so that libsystemd/sd-bus/ does not include header ↵ | Lennart Poettering | |
files from core Stuff in src/shared or src/libsystemd should *never* include code from src/core or any of the tools, so don't do that here either. It's not OK! | |||
2014-12-23 | bus-proxyd: ignore errors from sd_bus_creds_get_well_known_names() | Daniel Mack | |
sd_bus_creds_get_well_known_names() fails with -ENODATA in case the message has no names attached, which is intended behavior if the remote connection didn't own any names at the time of sending. The function already deals with 'sender_names' being an empty strv, so we can just continue in such cases. | |||
2014-12-23 | bus-proxyd: handle -ESRCH and -ENXIO gracefully | Daniel Mack | |
Messages to destinations that are not currently owned by any bus connection will cause kdbus related function to return with either -ENXIO or -ESRCH. Such conditions should not make the proxyd terminate but send a sane SD_BUS_ERROR_NAME_HAS_NO_OWNER error reply to the proxied connection. | |||
2014-12-23 | util: add allocation loop to gettyname_malloc() | Lennart Poettering | |
2014-12-23 | nspawn,pty: port over to new ptsname_malloc() helper | Lennart Poettering | |
2014-12-23 | systemd-run: support -t mode when combined with -M | Lennart Poettering | |
For that, ask machined for a container PTY and use that. | |||
2014-12-23 | machined: add OpenMachinePTY() bus call for allocating a PTY device within a ↵ | Lennart Poettering | |
container Then, port "machinectl" over to make use of it. | |||
2014-12-23 | systemd-run: add --quiet mode to suppress informational message on TTY usage | Lennart Poettering | |
2014-12-23 | machinectl,nspawn: don't print extra final newline if pty terminal output ↵ | Lennart Poettering | |
was newline-terinated anyway | |||
2014-12-23 | run: add a new "-t" mode for invoking a binary on an allocated TTY | Lennart Poettering | |
2014-12-23 | import: rename 'poll-dck' to 'pull-dkr' | Lennart Poettering | |
I figure "pull-dck" is not a good name, given that one could certainly read the verb in a way that might be funny for 16year-olds. ;-) Also, don't hardcode the index URL to use, make it runtime and configure time configurable instead. | |||
2014-12-22 | shared: json - support escaping utf16 surrogate pairs | Tom Gundersen | |
We originally only supported escaping ucs2 encoded characters (as \uxxxx). This only covers the BMP. Support escaping also utf16 surrogate pairs (on the form \uxxxx\uyyyy) to cover all of unicode. | |||
2014-12-22 | shared: utf8 - support decoding the full utf16 | Tom Gundersen | |
We originally only supported the BMP (i.e., we treated UTF-16 as UCS-2). | |||
2014-12-22 | shared: utf8 - support ucs4 -> utf8 | Tom Gundersen | |
Originally we only supported ucs2, so move the ucs4 version from libsystemd-terminal to shared and use that everywhere. | |||
2014-12-22 | sd-bus: ignore KDBUS_ITEM_TIMESTAMP in kernel messages | Daniel Mack | |
Kernel notifications carry a timestamp now, so make sure bus_kernel_translate_message() doesn't complain when it stumbles across them. | |||
2014-12-22 | busname: fix CMD_FREE ioctl | Daniel Mack | |
The KDBUS_CMD_FREE ioctl struct has a size field now, which needs to be set. | |||
2014-12-22 | verbs: fix typo in error message | Dave Reisner | |
2014-12-20 | sd-bus: sync kdbus.h (ABI break) | Daniel Mack | |
Sync kdbus.h with upstream changes: * Two optional cancellation points where added for synchronously blocking KDBUS_CMD_SEND commands: A sigmask to change the mask of accepted signals before the task is put to sleep, and a generic file descriptor that can be written to, in order to cancel the command. Both methods are currently unused. * The KDBUS_CMD_CANCEL ioctl was removed. sd-bus was never using that command, so there's no change needed. * Some kerneldoc fixes | |||
2014-12-19 | sd-lldp: minor header cleanup | Tom Gundersen | |
* (potentially) public headers must reside in src/systemd/ (not in src/libsystemd*) * some private (not prefixed with sd_) functions moved from sd-lldp.h to lldp-internal.h * introduce lldp-util.h for the cleanup macro, as these should not be public * rename the cleanup macro, we always name them _cleanup_foo_, never _cleanup_sd_foo_ * mark some function arguments as 'const' | |||
2014-12-19 | machined: add a full bus object for images | Lennart Poettering | |
2014-12-19 | machined: add new GetImage() bus call for retrieving the bus path for an image | Lennart Poettering | |
2014-12-19 | sysv-generator: properly add Makefile symlink | Lennart Poettering | |
2014-12-19 | util: rename ignore_file() to hidden_file() | Lennart Poettering | |
hidden_file() is a bit more precise, since dot files usually shouldn't be ignored, but certainly be considered hidden. | |||
2014-12-19 | machinectl: port machinectl to new verbs logic | Lennart Poettering | |
2014-12-19 | import: Verb[] array can be static, too | Lennart Poettering | |
2014-12-19 | verbs: when invoking the default verb, pass a faked argv array, with just ↵ | Lennart Poettering | |
the verb in it That way the dispatcher calls know how they got called. | |||
2014-12-19 | machined/machinectl: add logic to show list of available images | Lennart Poettering | |
This adds a new bus call to machined that enumerates /var/lib/container and returns all trees stored in it, distuingishing three types: - GPT disk images, which are files suffixed with ".gpt" - directory trees - btrfs subvolumes |