Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-11 | build-sys: move libsystemd-capability into libsystemd-shared | Kay Sievers | |
2014-11-11 | Revert "bus-proxyd: make policy checks optional" | Michal Schmidt | |
This reverts commit 5bb24cccbce846c0d77e71b70a3be7f4b2ba6c0e. It does not even compile (unbalanced {) | |||
2014-11-11 | bus-proxyd: make policy checks optional | Daniel Mack | |
Retrieve the bus owner creds, and when the uid matches the current user's uid and is non-null, don't check the bus policy. | |||
2014-11-11 | bus-proxyd: move name list iteration to policy users | Daniel Mack | |
We need to figure out which of the possible names satisfied the policy, so we cannot do the iteration in check_policy_item() but have to leave it to the users. Test cases amended accordingly. | |||
2014-11-11 | bus-proxyd: enforce policy for method calls | Daniel Mack | |
2014-11-11 | bus-proxyd: enforce policy for name ownership | Daniel Mack | |
2014-11-11 | bus-proxyd: enforce policy for Hello messages | Daniel Mack | |
2014-11-11 | bus-proxyd: keep track of names acquired by legacy client | Daniel Mack | |
Store names successfully acquired by the legacy client into a hashmap. We need to take these names into account when checking for send policies. | |||
2014-11-11 | sd-bus: add sd_bus_message.verify_destination_id and .destination_ptr | Daniel Mack | |
kdbus learned to accept both a numerical destination ID as well as a well-known-name. In that case, kdbus makes sure that the numerical ID is in fact the owner of the provided name and fails otherwise. This allows for race-free assertion of a bus name owner while sending a message, which is a requirement for bus-proxyd. Add two new fields to sd_bus_message, and set the numerical ID to verify_destination_id if bus_message_setup_kmsg() is called for a message with a well-known name. Also, set the destination's name in the kdbus item to .destination_ptr if it is non-NULL. Normal users should not touch these fields, and they're not publicy accessible. | |||
2014-11-10 | update TODO | Lennart Poettering | |
2014-11-10 | strv: rework strv_split_quoted() to use unquote_first_word() | Lennart Poettering | |
This should make the unquoting scheme a bit less naive. | |||
2014-11-10 | bus: when dumping string property values escape the chars we use as ↵ | Lennart Poettering | |
end-of-line and end-of-item marks | |||
2014-11-10 | shared: explicitly ignore the return value of wait_for_terminate | Ronny Chevalier | |
CID#1237532 CID#1237523 CID#1237522 | |||
2014-11-10 | man: improve documentation for "indirect" unit file state a bit | Lennart Poettering | |
Also, correct mentions of "units" instead of "unit files" in the table, and terminate all sentences with a full stop. | |||
2014-11-10 | shared/install: when unit contains only Also=, report 'indirect' | Jan Synacek | |
If a unit contains only Also=, with no Alias= or WantedBy=, it shouldn't be reported as static. New 'indirect' status shall be introduced. https://bugzilla.redhat.com/show_bug.cgi?id=864298 | |||
2014-11-10 | update TODO | Lennart Poettering | |
2014-11-10 | busctl: add "tree" command to explore object trees | Lennart Poettering | |
2014-11-10 | inhibit: allow filtering --list by mode | Mantas Mikulėnas | |
Usually there are a few delay inhibitors all the time (NetworkManager, Telepathy, etc.), but I'm only interested in the block ones. | |||
2014-11-10 | build-sys: do not use "label" functions in libsystemd-shared | Kay Sievers | |
2014-11-10 | build-sys: test-fdset - add libsystemd-internal | Kay Sievers | |
2014-11-10 | build-sys: add libcap to libsystemd-shared | Kay Sievers | |
2014-11-10 | man: don't refer to undocumented option '--failed' | Michal Schmidt | |
2014-11-10 | man: don't document systemctl --failed | Lennart Poettering | |
This effectively reverts 599b6322f19ec619ddc294d0e7880b669040cf66, which in turn partially reverted 4dc5b821ae737914499119e29811fc3346e3d97c. The --failed switch is not documented on purpose, since it is redundant due to --state=failed, which it predates. Due to that it's not documented in --help either. We generally try to avoid redundant interfaces, but if we need to keep them for compatibility we do so, however remove them from documentation to ensure they are not used in future. The man page is now changed to include a comment about the fact that --failed is not documented on purpose. Also, explicitly mention --state=failed as example for --state. | |||
2014-11-08 | build-sys: do not include tests in code coverage | Ronny Chevalier | |
2014-11-08 | update .gitignore | Ronny Chevalier | |
2014-11-08 | build-sys: link to libsystemd-core only when needed | Ronny Chevalier | |
Multiple executables do not need libsystemd-core | |||
2014-11-08 | core: remove unused macro GC_QUEUE_USEC_MAX | Ronny Chevalier | |
It is unused since cf1265e188e876dda906dca0029248a06dc80c33 | |||
2014-11-08 | build-sys: avoid duplication of macro definition | Ronny Chevalier | |
TEST_DIR is already defined in AM_CFLAGS | |||
2014-11-08 | tests: add test-path | Ronny Chevalier | |
It tests all available directives of Path units: - PathChanged - PathModified - PathExists - PathExisysGlob - DirectoryNotEmpty - MakeDirectory - DirectoryMode - Unit | |||
2014-11-08 | network: fix typo | Rami Rosen | |
IFLA_IPTUN_LINK -> VETH_INFO_PEER | |||
2014-11-07 | man: document --failed | Zbigniew Jędrzejewski-Szmek | |
https://bugs.debian.org/767267 | |||
2014-11-07 | shared: add readlink_value | Tom Gundersen | |
Reads the basename of the target of a symlink. | |||
2014-11-07 | sysusers: be nice and print a warning if futimens() fails | Lennart Poettering | |
CID# 1251163 | |||
2014-11-07 | utf8: when looking at the next unichar, honour the size parameter, in ↵ | Lennart Poettering | |
utf8_is_printable_newline() | |||
2014-11-07 | log: explicitly ignore return value of parse_proc_cmdline() | Lennart Poettering | |
CID# 1251162 | |||
2014-11-07 | core: unify how we create the notify and private dbus socket | Lennart Poettering | |
Use the same robust logic of mkdir + unlink of any existing AF_UNIX socket, ignoring the return value, right before bind(). | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-06 | man: update bootup(7) for asynchronous timers.target | Zbigniew Jędrzejewski-Szmek | |
2014-11-07 | manager: cast mkdir() result to (void) to make sure coverity is quiet | Lennart Poettering | |
Also simplify the code a bit by moving mkdir to the common path. | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-07 | util: simplify normalize_env_assignment() a bit | Lennart Poettering | |
2014-11-07 | util: file_is_priv_sticky() is used internally in util.c only nowadays, make ↵ | Lennart Poettering | |
it static | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-07 | timer: reenable TIMER_ACTIVE timers when restarted | Michael Chapman | |
A timer configured with OnActiveSec will start its associated unit again if the timer is stopped, then started. However, if the timer unit is restarted -- with "systemctl restart", say -- this does not occur. This commit ensures that TIMER_ACTIVE timers are re-enabled whenever the timer is started, even if that's within a restart job. | |||
2014-11-07 | util: rework /proc/cmdline parser to use unquote_first_word() | Lennart Poettering | |
2014-11-07 | util: simplify proc_cmdline() to reuse get_process_cmdline() | Lennart Poettering | |
Also, make all parsing of the kernel cmdline non-fatal. | |||
2014-11-07 | fileio: simplify write_string_file_atomic() by reusing write_string_stream() | Lennart Poettering | |
2014-11-07 | copy: change error code when hitting copy limit to EFBIG | Lennart Poettering | |
After all, this is about files, not arguments, hence EFBIG is more appropriate than E2BIG | |||
2014-11-07 | copy: teach copy_bytes() sendfile() support, and then replace ↵ | Lennart Poettering | |
sendfile_full() by it | |||
2014-11-07 | util: make use of isempty() where appropriate | Lennart Poettering | |