1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-05 09:17:44 +03:00
Commit Graph

48790 Commits

Author SHA1 Message Date
Luca Boccassi
f7c18d3de8 machine: use file descriptor when chasing bind mount sources
Allows to always operate on pinned inodes, rather than paths, so that
races are less likely
2021-01-18 17:24:05 +00:00
Luca Boccassi
98f654fdea machine: enter target PID namespace when adding a live mount
machinectl fails since 21935150a0 as it's now
mounting onto a file descriptor in a target namespace, without joining the
target's PID namespace.
Note that it's not enough to setns CLONE_NEWPID, but a double-fork is required
as well, as implemented by namespace_fork().

Add a test case to TEST-13-NSPAWN to cover this use case.
2021-01-18 17:24:05 +00:00
Luca Boccassi
2338a175fd shared/mount-util: use namespace_fork utils 2021-01-18 17:23:46 +00:00
Luca Boccassi
724e689715 machine: adjust error message to use 'normalized' instead of ../ 2021-01-18 17:23:12 +00:00
Luca Boccassi
6af52c3a45 machine/basic: factor out helper function to add airlocked mount to namespace 2021-01-18 17:23:11 +00:00
moson-mo
2a613b34cc hwdb: Add Logitech MX 518 Legendary mouse
Add Logitech MX 518 Legendary model to hwdb.
2021-01-18 16:49:30 +01:00
Zbigniew Jędrzejewski-Szmek
9dffdb4e3c
Merge pull request #18289 from yuwata/core-load-fragment-cleanups
pid1: several cleanups for conf parsers
2021-01-18 16:48:44 +01:00
Yu Watanabe
aac6673f02 network: address-pool: also check conflicts with foreign addresses
Fixes CI issue found in
https://github.com/systemd/systemd-centos-ci/pull/334.
2021-01-17 23:23:08 +00:00
Jonathan McDowell
0da7f9e589
hwdb: Add NEWYES 10" LCD writing tablet (#18274) 2021-01-18 08:39:07 +10:00
Yu Watanabe
2400743e1f core: add logs when credential value is duplicated 2021-01-18 01:32:49 +09:00
Yu Watanabe
8c6493e59e core: make config_parse_documentation() explicitly return 0 on success 2021-01-18 01:27:14 +09:00
Yu Watanabe
16eb0c4ad0 core: add missing log_oom() 2021-01-18 01:25:05 +09:00
Yu Watanabe
ca9169f47f core: do not fail when an invalid cpu affinity is specified 2021-01-18 01:22:48 +09:00
Yu Watanabe
22ede2c1dc
Merge pull request #18286 from ssahani/net-1
tree-wide: more use of hashmap_ensure_put() and TAKE_PTR()
2021-01-18 01:18:17 +09:00
Lennart Poettering
7ed7d3e6fd systemctl: use right type 'size_t' for counting memory
Follow-up for e363b0e4fc

(Mostly a theoretical fix. On 64bit systems unsigned is 32bit, and we
had more than 2^32 units thing would fall apart here.)
2021-01-18 01:17:27 +09:00
Susant Sahani
5a3e1cb918 network: tc use TAKE_PTR 2021-01-17 23:26:14 +09:00
Susant Sahani
a4aba097ad udevadm-monitor: use TAKE_PTR 2021-01-17 14:25:21 +01:00
Susant Sahani
39f930c215 udevadm-monitor: Use hashmap_ensure_put 2021-01-17 14:25:18 +01:00
Susant Sahani
a3b42af5b6 udev-rules: Use hashmap_ensure_put 2021-01-17 14:25:15 +01:00
Susant Sahani
15c69d0700 resolved-dnssd: Use TAKE_PTR 2021-01-17 14:25:10 +01:00
Susant Sahani
276abbeebc resolved-dnssd: Use hashmap_ensure_put 2021-01-17 14:25:07 +01:00
Susant Sahani
daced7483b resolved-dns-packet: Use TAKE_PTR 2021-01-17 14:25:05 +01:00
Susant Sahani
3004fcd0b8 resolved-dns-packet: Use hashmap_ensure_put 2021-01-17 14:24:59 +01:00
Susant Sahani
71fb97c7c4 resolved-bus: Use hashmap_ensure_put 2021-01-17 14:24:50 +01:00
Susant Sahani
4bc2516856 journal-remote: use hashmap_ensure_put 2021-01-17 14:24:44 +01:00
Susant Sahani
f85f5f0dc8 core: load fragment - use hashmap_ensure_put 2021-01-17 14:24:41 +01:00
Susant Sahani
53dba3ef07 core: job - use hashmap_ensure_put 2021-01-17 14:24:36 +01:00
Yu Watanabe
25351bc557 basic: drop unused module
Follow-up for 35b42e5600.
2021-01-17 11:48:05 +00:00
Yu Watanabe
6e75df0866
Merge pull request #18284 from ssahani/net-7
Tree wide tighten variable scope used in loop
2021-01-17 20:08:59 +09:00
Susant Sahani
ebffea2a25
network: Use ordered_hashmap_ensure_put (#18233) 2021-01-17 20:07:02 +09:00
Yu Watanabe
f9ead1a2f4
Merge pull request #18230 from ssahani/macvlan-bcqueuelen
network: macvlan - add support to configure rx queue for broadcast / multicast
2021-01-17 20:05:22 +09:00
Lennart Poettering
3dc536e0c5
Merge pull request #17576 from gportay/veritysetup-add-support-for-dm-verity-flags
veritysetup: add support for veritytab
2021-01-17 11:18:25 +01:00
Susant Sahani
cf55fe4a4c core: dbus - use hashmap_ensure_put 2021-01-17 09:49:14 +01:00
Susant Sahani
dca0a4e131 network: macvlan - add support to configure rx queue for broadcast/multicast 2021-01-17 08:39:28 +01:00
Susant Sahani
f6a0cfa5a5 journal: journal-file - tighten variable scope used in loop 2021-01-17 08:24:12 +01:00
Susant Sahani
d007c58317 machine: machined-dbus - tighten variable scope used in loop 2021-01-17 08:24:12 +01:00
Yu Watanabe
38f3e0a58d tree-wide: fix typo 2021-01-17 16:20:27 +09:00
Yu Watanabe
16ed53658a
Merge pull request #18243 from ssahani/ensure-put-use
tree-wide: introduce hashmap_ensure_put() and use it
2021-01-17 15:39:41 +09:00
Yu Watanabe
95dd454edc
Merge pull request #18261 from ssahani/net2
network: modernize routing policy rule and add 0 validation where needed
2021-01-17 15:39:01 +09:00
Susant Sahani
cda7fc8db3
network: tighten variable scope used in loop (#18277) 2021-01-17 15:38:33 +09:00
Adam Nielsen
e64652f70c man: clarify what network scopes are 2021-01-17 12:47:08 +09:00
Susant Sahani
a307a7dd38 network: nexthop - use hashmap_ensure_put 2021-01-16 23:10:32 +01:00
Susant Sahani
dcd46cc42d network: use hashmap_ensure_put 2021-01-16 23:10:18 +01:00
Susant Sahani
8eeffefbf0 network: routing-policy-rule - TAKE_PTR 2021-01-16 23:04:07 +01:00
Susant Sahani
fd9d7de176 network: route - add a zero verification for tcp window 2021-01-16 23:04:07 +01:00
Susant Sahani
0132453c40
network: tc - use TAKE_PTR (#18266)
* network: tc cake - use TAKE_PTR

* network: tc htb - use TAKE_PTR

* network: tc pie - use TAKE_PTR

* network: tc netem - use TAKE_PTR

* network: tc hhf - use TAKE_PTR

* network: tc gred - use TAKE_PTR

* network: tc fq codel - use TAKE_PTR

* network: tc fifo - use TAKE_PTR

* network: tc drr - use TAKE_PTR

* network: tc qdisc - use TAKE_PTR
2021-01-17 06:08:36 +09:00
Zbigniew Jędrzejewski-Szmek
2b5a1402f6
Merge pull request #18263 from keszybz/syscalls-auto
Generate missing syscalls headers programatically
2021-01-16 17:21:34 +01:00
Luca Boccassi
55eeb47631
Merge pull request #18264 from ssahani/net3
network: Use TAKE_PTR
2021-01-16 12:16:43 +00:00
Luca Boccassi
66e27e698e
Merge pull request #18268 from ssahani/net5
network: tighten variable scope used in loop
2021-01-16 12:13:14 +00:00
Susant Sahani
995606ad5b network: manager tighten variable scope used in loop 2021-01-16 12:07:33 +00:00