Lennart Poettering
df92f4fa8d
Merge pull request #16864 from yuwata/coverity-fixes
...
Two coverity fixes
2020-08-27 16:36:40 +02:00
Lennart Poettering
4fc14c345f
Merge pull request #16866 from yuwata/networkctl-tiny-cleanups
...
networkctl: tiny cleanups
2020-08-27 16:34:43 +02:00
Michal Koutný
94d21c2ef6
missing: Add new Linux capability
...
Yet another new capability coming in Linux kernel v5.9.
Make sure we can recongize them even when built with older kernel headers.
2020-08-27 16:13:09 +02:00
Michael Biebl
ac741c10e2
test: remove executable bit from testsuite-52.service
2020-08-27 12:13:16 +02:00
Yu Watanabe
89d36ce8f7
journal: fix divide-by-zero warning
...
Fixes CID#1430209.
2020-08-27 18:20:34 +09:00
Yu Watanabe
8062e643e6
core: clear bind mounts on error
...
Follow-up for bbb4e7f39f .
Fixes CID#1431998.
2020-08-27 18:20:34 +09:00
Zbigniew Jędrzejewski-Szmek
67165f7630
Merge pull request #16860 from poettering/tty-ask-pw-agent-list-fix
...
tty-ask-password-agent: three fixes
2020-08-27 10:58:13 +02:00
Njibhu
c7300fa44f
Add sensor configuration for Acer SW5-017-17BU
2020-08-27 10:30:49 +02:00
Zbigniew Jędrzejewski-Szmek
baeec61b2c
Merge pull request #16847 from olivierlemoal/master
...
shell-completion/zsh: add missing verbs for networkctl
2020-08-27 10:27:01 +02:00
Olivier Le Moal
50574ed1ac
add "list" verb to autocompleted commands
2020-08-27 10:01:36 +02:00
Yu Watanabe
f2c676c6c0
man: clarify that several networkctl commands takes device names
2020-08-27 16:35:25 +09:00
Yu Watanabe
df696b1413
networkctl: label command does not take any argument
2020-08-27 16:32:13 +09:00
Lennart Poettering
25f3b27270
udev: use path_startswith() instead of startswith() in two more cases
2020-08-27 16:16:43 +09:00
PhoenixDiscord
e8607daf7d
Replace gendered pronouns with gender neutral ones. ( #16844 )
2020-08-27 11:52:48 +09:00
Chris Down
33e1a5d8d3
path: Improve $PATH search directory case
...
Previously:
1. last_error wouldn't be updated with errors from is_dir;
2. We'd always issue a stat(), even for binaries without execute;
3. We used stat() instead of access(), which is cheaper.
This change avoids all of those, by only checking inside X_OK-positive
case whether access() works on the path with an extra slash appended.
Thanks to Lennart for the suggestion.
2020-08-27 00:52:20 +01:00
Lennart Poettering
a4fd6cd3f5
tty-ask-pw-agent: properly propagate error
2020-08-26 23:10:50 +02:00
Lennart Poettering
66bff73b4f
tty-ask-pw-agent: the message string might not be set
2020-08-26 23:10:05 +02:00
Lennart Poettering
4c4a018cab
tty-ask-pw-agent: make sure "--list" works correctly
...
Fixes : #16836
2020-08-26 23:02:13 +02:00
Zbigniew Jędrzejewski-Szmek
bb2aee7d11
Merge pull request #16757 from poettering/nss-resolve-varlink
...
resolved: use varlink for communication between nss-resolve and resolved
2020-08-26 22:07:34 +02:00
Lennart Poettering
0c73f4f075
nss-resolve: port over to new varlink interface
2020-08-26 16:48:16 +02:00
Lennart Poettering
9581bb8424
resolved: add minimal varlink api for resolving hostnames/addresses
...
This allows us to later port nss-resolve to use Varlink rather than
D-Bus for resolution. This has the benefit that nss-resolve based
resoluton works even without D-Bus being up. And it's faster too.
2020-08-26 16:48:06 +02:00
Lennart Poettering
c17b5ce739
resolved: minor clean-ups for resolved-bus.c
2020-08-26 16:48:02 +02:00
Lennart Poettering
65a01e8242
resolved: move query bus tracking to resolved-bus.c
...
It's strictly bus-specific, hence let's move this to resolved-bus.c like
the rest of the bus specific logic.
This is also in preparation for adding an alternative varlink transport,
which needs similar functionality, but varlink instead of bus-specific.
2020-08-26 16:47:57 +02:00
Lennart Poettering
c9de4e0f5b
resolved: rename request → bus_request
...
Let's prepare for adding a new varlink interface, and thus rename the
"request" field to "bus_request", so that we can later add a
varlink_request field too.
2020-08-26 16:47:53 +02:00
Lennart Poettering
d4f72f0d21
resolved: drop suppress_unroutable_family field
...
It's unused since 90bdc8be66 .
2020-08-26 16:47:49 +02:00