Yu Watanabe
d6131be94d
NEWS: mention DynamicTransmitLoadBalancing=
...
Which was added by #11142 .
2018-12-17 07:25:48 +01:00
Yu Watanabe
1f7951241f
bash-completion: also suggests device units
...
Follow-up for b6854081ff .
2018-12-17 14:44:58 +09:00
Yu Watanabe
19582502c0
bash-completion: udevadm: suggest argument for several options
2018-12-17 14:44:00 +09:00
Yu Watanabe
d5acf7da91
bash-completion: fix __get_interfaces()
2018-12-17 11:13:15 +09:00
Yu Watanabe
45cb8247d9
Merge pull request #11142 from ssahani/bond-dynamic-tlb
...
netdev bond: add support to configure tlb_dynamic_lb
2018-12-17 02:06:05 +01:00
Yu Watanabe
7082bb05ad
timesync: use typesafe resolve_getaddrinfo()
2018-12-17 10:02:36 +09:00
Yu Watanabe
f2935c77c6
socket-proxyd: use typesafe resolve_getaddrinfo()
2018-12-17 10:02:36 +09:00
Yu Watanabe
1061dab129
netdev: use typesafe resolve_getaddrinfo() in wireguard.c
2018-12-17 10:02:36 +09:00
Yu Watanabe
a4c9ae400f
netdev: sort headers
2018-12-17 10:02:36 +09:00
Yu Watanabe
ceb26cdbc2
sd-resolve: add sd_resolve_get{addr,info}_with_destroy_callback() and typesafe macros
2018-12-17 10:02:36 +09:00
Yu Watanabe
f675a1f005
bash-completion: busctl: support --json and -j option
2018-12-14 08:55:38 +01:00
Yu Watanabe
5cd6711621
sd-netlink: set destroy_callback only if asynchronous call succeeds
2018-12-14 08:50:51 +01:00
Yu Watanabe
903893237a
sd-device: do not change buffer size if the socket is already bound
...
From the results of CIs in #11076 , changing buffer size may cause
issue #10754 . So, let's prohibit to change the size if it is already
bound.
This also reverts commit 986ab0d2dc .
2018-12-14 09:33:06 +09:00
Yu Watanabe
c821e84ac7
sd-device: do not modify socket option(s) if socket is passed by PID1
...
If the socket fd is passed by PID1, then it is created by .socket unit
and we have already set sufficient option(s) for the socket.
So, let's not touch the passed socket.
2018-12-14 09:28:33 +09:00
Yu Watanabe
a153a1de75
Revert "sd-device: do not call device_monitor_enable_receiving() for passed fd from pid1"
...
This reverts commit 916707cca5 .
As the CI results on #11076 , #10754 is not fixed by the commit,
but by 986ab0d2dc . So, let's revert the
commit.
2018-12-14 09:24:31 +09:00
Yu Watanabe
ff1cf894d2
bash-completion: nspawn: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
223f58ba8d
bash-completion: run: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
2e68a49dc8
bash-completion: systemctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
fdc33681ae
bash-completion: journalctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
d104486ab6
bash-completion: journalctl: drop deprecated --new-id128 option
2018-12-14 02:33:21 +09:00
Yu Watanabe
3b59e2cbed
bash-completion: loginctl: suggest argument for --machine option
2018-12-14 02:22:40 +09:00
Yu Watanabe
dfeebf55d9
bash-completion: loginctl: suggest argument for --output option
2018-12-14 02:18:35 +09:00
Yu Watanabe
fad73e9deb
bash-completion: machinectl: suggest arguments for --verify and --format
...
This also changes to use '--output=help' for suggesting arguments of
--output option.
2018-12-14 02:18:24 +09:00
Yu Watanabe
0e5bea97e9
bash-completion: machinectl: support import-fs
2018-12-14 01:52:48 +09:00
Yu Watanabe
a73b2f4ab3
bash-completion: bootctl: support set-default and set-oneshot
2018-12-14 01:26:52 +09:00
Yu Watanabe
ed0c5a6f89
bash-completion: bootctl: suggest argument for --path option
2018-12-14 01:26:25 +09:00
Yu Watanabe
8ed22786aa
bash-completion: bootctl: add one missing option
2018-12-14 01:25:31 +09:00
Yu Watanabe
416b88013c
systemctl: check triggering units only for stopped units
...
Fixes #11088 .
2018-12-10 11:06:28 +01:00
Yu Watanabe
d8a0bcfd77
tree-wide: drop header for emacs from python scripts
2018-12-10 03:17:33 +09:00
Yu Watanabe
87421ff560
tools: add one more SPDX license header
2018-12-10 03:08:52 +09:00
Yu Watanabe
fc1c09e1df
lgtm: use python3
2018-12-10 03:07:17 +09:00
Yu Watanabe
2f6c9b6f3f
tools: drop unused variable
2018-12-10 03:07:08 +09:00
Yu Watanabe
af182e786c
hwdb: drop unused imported object
2018-12-10 03:06:58 +09:00
Yu Watanabe
a9f2655dbe
hwdb: drop comment
2018-12-10 03:06:44 +09:00
Yu Watanabe
d8dd35fd31
journal-remote: define main through macro
...
Also, this fixes memleaks on failure.
2018-12-08 18:09:40 +09:00
Yu Watanabe
94952201e1
journal-remote: destroy RemoteServer object by using _cleanup_ attribute
2018-12-08 18:09:40 +09:00
Yu Watanabe
f36bb1e182
journal-upload: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
c9ed608679
journal-upload: use _cleanup_ attribute to clear uploader
2018-12-08 18:09:40 +09:00
Yu Watanabe
29cd4c8ffb
journal-gateway: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
0d2a1a2085
journal-gateway: use _cleanup_ attribute to stop microhttpd daemon
2018-12-08 18:09:40 +09:00
Yu Watanabe
c03a80c419
wait-online: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
82310c7981
timesync: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
2362a8f547
network: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
1e88b8199b
resolve: define main through macro
2018-12-08 18:09:40 +09:00
Yu Watanabe
c157884f09
sd-daemon: add notify_start() and notify_on_cleanup() helper function
2018-12-08 18:09:25 +09:00
Yu Watanabe
1437822638
meson: rename sd_event_c to sd_event_sources
2018-12-08 18:06:45 +09:00
Yu Watanabe
5b139f86a6
missing: re-add drm related entries
...
This effectively reverts dab28f0905 .
Fixes #11075 .
2018-12-07 12:46:55 +01:00
Yu Watanabe
83da42c3bf
bash-completion: analyze: support 'security'
2018-12-07 08:05:18 +01:00
Yu Watanabe
925fb1e1ec
missing: add ARPHRD_IP6GRE
...
This fixes TYPE field of networkctl's output for ip6gre devices.
2018-12-07 11:48:41 +09:00
Yu Watanabe
0b7d48f5f4
af-list,arphrd-list: also include relevant missing_*.h headers
2018-12-07 11:48:41 +09:00
Yu Watanabe
18bf324ab5
journal: use missing_audit.h to generate audit_type-list.txt
2018-12-07 11:48:37 +09:00
Yu Watanabe
54480d649f
cap-list: use missing_capabilty.h to generate list of capabilities
2018-12-07 11:31:22 +09:00
Yu Watanabe
eeef672f0c
Merge pull request #11038 from keszybz/man-timeouts
...
Small improvements for documentation of timeout options
2018-12-07 02:53:40 +01:00
Yu Watanabe
a81921e47e
Revert "pager: close all fds when forking off pager"
...
This reverts commit 55844aebb6 .
As `exe_name_pipe` are closed by safe_fork().
2018-12-06 21:15:55 +01:00
Yu Watanabe
e1eb35db1e
Merge pull request #11056 from poettering/resolved-ifindex
...
resolved: request incoming ifindex for DNS UDP packets, too
2018-12-06 19:29:42 +01:00
Yu Watanabe
1df69c94b1
Merge pull request #11066 from yuwata/test-network-tiny-cleanups
...
test-network: several cleanups
2018-12-06 19:16:53 +01:00
Yu Watanabe
f0a43eb821
Merge pull request #11063 from yuwata/update-missing-v3
...
missing: split missing.h into small pieces
2018-12-06 16:54:27 +01:00
Yu Watanabe
131717cbb4
test-network: make search_words_in_file() hit multi words
2018-12-06 16:48:42 +01:00
Yu Watanabe
e4eacdb09f
test-network: delete rules before running next test
2018-12-06 16:48:42 +01:00
Yu Watanabe
fa7cd60281
test-network: add a line break after starting networkd
...
This may be ugly. But otherwise, outputs of several check commands
are shown without new line...
2018-12-06 16:48:42 +01:00
Yu Watanabe
e40a58b5bc
test-network: check link before starting dnsmasq
2018-12-06 16:48:42 +01:00
Yu Watanabe
14ecd604a4
test-network: show command outputs
2018-12-06 16:48:41 +01:00
Yu Watanabe
a9bc5e370e
test-network: sort imported modules
2018-12-06 16:48:41 +01:00
Yu Watanabe
09ea6724e7
test-network: sort links and units
2018-12-06 16:48:41 +01:00
Yu Watanabe
14dc033574
test-network: fix typo in class name
2018-12-06 16:48:41 +01:00
Yu Watanabe
801503d22b
Merge pull request #10988 from ssahani/IFLA_BRPORT_MCAST_TO_UCAST
...
networkd: bridge add support to configure multicast_to_unicast
2018-12-06 14:32:52 +01:00
Yu Watanabe
fda96700e4
Merge pull request #11032 from ssahani/invert-rule
...
networkd: RPDB rule - add support to configure inverted rule.
2018-12-06 14:27:36 +01:00
Yu Watanabe
e93672eeac
tree-wide: drop missing.h from headers and use relevant missing_*.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
204f52e32d
lockfile: drop unnecessary headers from lockfile-util.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
893829359a
nsflsgs: drop missing.h and use missing_sched.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
ef118d00eb
util: drop missing.h from socket-util.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
3c94e50486
util: drop missing.h from time-util.c
2018-12-06 13:31:16 +01:00
Yu Watanabe
503f480f8e
missing: move fs or mount related definitions to missing_fs.h
...
This also fixes errnous definition MS_REC -> MS_SLAVE.
2018-12-06 13:30:43 +01:00
Yu Watanabe
311c1a5d0a
missing: drop falloc related definitions
...
All these values are exposed earlier than linux-3.11.
Let's drop them.
2018-12-06 13:28:34 +01:00
Yu Watanabe
22332e339b
missing: move sched.h related definitions to missing_sched.h
2018-12-06 13:28:28 +01:00
Yu Watanabe
dab28f0905
missing: drop old drm related definitions
...
These values are exposed earlier than linux-3.11.
Let's use drm/drm.h.
2018-12-06 13:27:47 +01:00
Yu Watanabe
957c622b86
missing: drop BPF_XOR as we have linux/bpf_common.h
2018-12-06 13:27:23 +01:00
Yu Watanabe
fec6661efd
missing: drop DM_DEFERRED_REMOVE as we have dm-ioctl.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
470f348b97
missing: move definition of secure_getenv() to missing_stdlib.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
b19bb11142
missing: move rand related definitions to missing_random.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
5ee668d2d1
missing: drop TIOCVHANGUP
...
This is defined before linux-3.11. Also, its value depnends on
architecture. So, it is not good to define in this form.
2018-12-06 13:26:48 +01:00
Yu Watanabe
c8a363eb15
missing: add memfd related definitions to missing_mman.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
d7330b60a9
missing: move timer related definition to missing_timerfd.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
66ffbdf933
missing: move socket related definitions to missing_socket.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
dea72eda9c
missing: move fcntl related definitions to missing_fcntl.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
6c76de27ee
missing: move resource related definitions to missing_resource.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
0e7117d001
missing: move audit related definitions to missing_audit.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
851d66fac2
missing: move syscall related definitions to missing_syscall.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
bd0937ddb3
random-util: drop duplicated linux/random.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
49f6103375
missing: drop old OOM related definitions
...
These are exposed earlier than linux-3.11. Let's just include linux/oom.h.
2018-12-06 13:24:37 +01:00
Yu Watanabe
8f8495702e
missing: move one more network related definition to missing_network.h
2018-12-06 13:24:32 +01:00
Yu Watanabe
9cb6c6ecb0
missing: use integer types used by kernel
...
By using them, we can decrease included headers except linux/types.h.
2018-12-06 13:24:00 +01:00
Yu Watanabe
666a84eaca
macro: include errno.h
...
As several macros touch errno.
2018-12-06 07:01:29 +01:00
Yu Watanabe
ec3f6df9cf
missing: move several network related entries to missing_network.h
2018-12-06 02:38:59 +01:00
Yu Watanabe
253de60634
Merge pull request #11021 from ssahani/isatap
...
networkd: Add support to configure ISATAP tunnel
2018-12-05 23:13:17 +01:00
Yu Watanabe
36dd5ffd5d
util: drop missing.h from util.h
2018-12-04 10:00:34 +01:00
Yu Watanabe
f2a3de0116
tree-wide: add whitespace between type and variable name
2018-12-04 09:29:54 +01:00
Yu Watanabe
b403758ce0
ip-protocol-list: sort headers
2018-12-04 09:18:21 +01:00
Yu Watanabe
38e0c63d72
missing: move char{16,32}_t definitions to missing_type.h
2018-12-04 08:38:18 +01:00
Yu Watanabe
8ca2702f00
missing: move capabilities to missing_capability.h
2018-12-04 08:38:14 +01:00