summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18294 from ssahani/net-2Yu Watanabe2021-01-196-55/+30
|\ | | | | tree wide use ensure_put
| * udev: Use TAKE_PTRSusant Sahani2021-01-191-1/+3
| |
| * udev-rules: Use ordered_hashmap_ensure_putSusant Sahani2021-01-191-5/+4
| |
| * sysusers: use ordered_hashmap_ensure_putSusant Sahani2021-01-191-10/+12
| |
| * install: use ordered_hashmap_ensure_putSusant Sahani2021-01-181-5/+1
| |
| * network: Use TAKE_PTRSusant Sahani2021-01-181-1/+1
| |
| * network: network -- use ordered_hashmap_ensure_putSusant Sahani2021-01-181-5/+1
| |
| * network: address - use ordered_hashmap_ensure_putSusant Sahani2021-01-181-5/+1
| |
| * network: macsec - use ordered_hashmap_ensure_putSusant Sahani2021-01-181-23/+7
| |
* | Merge pull request #18300 from yuwata/analyze-verify-18252Zbigniew Jędrzejewski-Szmek2021-01-192-31/+33
|\ \ | | | | | | analyze: resolve executable path if it is relative
| * | analyze: resolve executable path if it is relativeYu Watanabe2021-01-191-2/+5
| | | | | | | | | | | | Fixes #18252.
| * | path-util: also check absolute path is a directory or not in find_executable()Yu Watanabe2021-01-191-29/+28
| | |
* | | Merge pull request #18303 from yuwata/verity-cleanupYu Watanabe2021-01-191-18/+2
|\ \ \ | | | | | | | | veritysetup-generator: drop unused struct and variable
| * | | veritysetup-generator: drop unused struct and variableYu Watanabe2021-01-191-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-ups for 08b04ec7e72b7327b4803809732b1b8fce8dd069. This also drops unnecessary inclusion. Fixes CID#1443889.
* | | | Merge pull request #18038 from yuwata/meson-splitYu Watanabe2021-01-19155-1602/+1172
|\ \ \ \ | | | | | | | | | | meson: various cleanups
| * | | | meson: move several definitions related libsystemd to src/libsystemd/meson.buildYu Watanabe2021-01-191-1/+5
| | | | |
| * | | | meson: add missing license headerYu Watanabe2021-01-191-0/+2
| | | | |
| * | | | meson: move test or fuzzer definitions to relevant meson.build in subdirectoriesYu Watanabe2021-01-1913-307/+342
| | | | |
| * | | | meson: drop unused variableYu Watanabe2021-01-191-4/+5
| | | | |
| * | | | meson: drop unnecessary files from test definitionsYu Watanabe2021-01-191-30/+9
| | | | |
| * | | | meson: drop unnecessary libraries from journal related testsYu Watanabe2021-01-192-78/+15
| | | | |
| * | | | meson: slightly disentangle code dependenciesYu Watanabe2021-01-1911-54/+74
| | | | | | | | | | | | | | | | | | | | But, still sd-id128 is used in src/basic.
| * | | | meson: move libjournal_core definition to src/journal/meson.buildYu Watanabe2021-01-191-7/+13
| | | | |
| * | | | meson: move libudev related definitions to src/libudev/meson.buildYu Watanabe2021-01-192-61/+32
| | | | | | | | | | | | | | | | | | | | Also, this makes libudev.so built in build directory.
| * | | | meson: move source file list for systemd-xdg-autostart-generator and its testsYu Watanabe2021-01-193-12/+18
| | | | |
| * | | | meson: move source file list for busctlYu Watanabe2021-01-191-0/+6
| | | | |
| * | | | meson: move source file list for systemd-cryptenrollYu Watanabe2021-01-191-0/+28
| | | | |
| * | | | meson: move source file list for systemd-cryptsetupYu Watanabe2021-01-191-0/+21
| | | | |
| * | | | meson: use condition argument in test definitionYu Watanabe2021-01-191-14/+11
| | | | |
| * | | | meson: move definition of systemctl source filesYu Watanabe2021-01-191-0/+83
| | | | |
| * | | | meson: introduce libtimesyncd_core libraryYu Watanabe2021-01-191-24/+31
| | | | |
| * | | | meson: enable several tests even if the relevant features are disabledYu Watanabe2021-01-196-96/+80
| | | | |
| * | | | meson: fix indentationYu Watanabe2021-01-191-4/+6
| | | | |
| * | | | meson: drop unnecessary variable declarationsYu Watanabe2021-01-191-4/+2
| | | | |
| * | | | meson: drop unnecessary loopYu Watanabe2021-01-192-55/+37
| | | | |
| * | | | test: drop bus-util.h from sd-busYu Watanabe2021-01-1918-18/+5
| | | | | | | | | | | | | | | | | | | | To drop src/shared from include directories to build libsystemd.so later.
| * | | | efi: create symbolic link to efi/loader-feature.hYu Watanabe2021-01-194-3/+5
| | | | | | | | | | | | | | | | | | | | To drop src/boot/efi from include directories for binaries later.
| * | | | util: move several DNS related definitions to src/basic/dns-def.hYu Watanabe2021-01-194-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DNS_HOSTNAME_MAX is used by sd-resolve, but it was defined in src/shared/dns-domain.h. The library libsystemd should be independent of source files under src/shared.
| * | | | util: move unit-file.[ch] to src/basicYu Watanabe2021-01-194-2/+2
| | | | | | | | | | | | | | | | | | | | As basic/path-lookup.[ch] depend on them.
| * | | | util: move parse_syscall_and_errno() to seccomp-util.cYu Watanabe2021-01-194-46/+40
| | | | | | | | | | | | | | | | | | | | | | | | | This makes parse-util.c independent of seccomp-util.c, which is located in src/shared.
| * | | | fuzzers: move several fuzzersYu Watanabe2021-01-1931-32/+23
| | | | |
| * | | | meson: fix indentationYu Watanabe2021-01-194-11/+9
| | | | |
| * | | | meson: make the second and third elements of tests or fuzzers optionalYu Watanabe2021-01-1914-549/+214
| | | | | | | | | | | | | | | | | | | | Then, we can shorten many test definitions.
| * | | | test: move test-umount.c to src/shutdownYu Watanabe2021-01-193-6/+8
| | | | | | | | | | | | | | | | | | | | Then, we can drop src/shutdown from include directories later.
| * | | | core: move several source files to src/sharedYu Watanabe2021-01-1911-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As, the files are used by many executables, fstab-generator, remount-fs, machine-id-setup, and etc. With this change, the total size of the relevant executables and libshared slightly decreases. Before: ``` $ ll systemd-fstab-generator systemd-remount-fs systemd-machine-id-setup systemd-shutdown systemd-nspawn systemd src/shared/libsystemd-shared-247.so -rwxrwxr-x 1 watanabe watanabe 7577800 Jan 5 13:35 src/shared/libsystemd-shared-247.so -rwxrwxr-x 1 watanabe watanabe 4608360 Jan 5 13:35 systemd -rwxrwxr-x 1 watanabe watanabe 117240 Jan 5 13:35 systemd-fstab-generator -rwxrwxr-x 1 watanabe watanabe 61576 Jan 5 13:35 systemd-machine-id-setup -rwxrwxr-x 1 watanabe watanabe 853080 Jan 5 13:35 systemd-nspawn -rwxrwxr-x 1 watanabe watanabe 70600 Jan 5 13:35 systemd-remount-fs -rwxrwxr-x 1 watanabe watanabe 172624 Jan 5 13:35 systemd-shutdown ``` Total: 13461280 After: ``` $ ll systemd-fstab-generator systemd-remount-fs systemd-machine-id-setup systemd-shutdown systemd-nspawn systemd src/shared/libsystemd-shared-247.so -rwxrwxr-x 1 watanabe watanabe 7658336 Jan 5 13:32 src/shared/libsystemd-shared-247.so -rwxrwxr-x 1 watanabe watanabe 4523560 Jan 5 13:32 systemd -rwxrwxr-x 1 watanabe watanabe 78288 Jan 5 13:32 systemd-fstab-generator -rwxrwxr-x 1 watanabe watanabe 30984 Jan 5 13:32 systemd-machine-id-setup -rwxrwxr-x 1 watanabe watanabe 840384 Jan 5 13:32 systemd-nspawn -rwxrwxr-x 1 watanabe watanabe 39104 Jan 5 13:32 systemd-remount-fs -rwxrwxr-x 1 watanabe watanabe 117160 Jan 5 13:32 systemd-shutdown ``` Total: 13287816
| * | | | test: rewrite test-sd-device-thread.c to depend only on libsystemdYu Watanabe2021-01-193-23/+51
| | | | | | | | | | | | | | | | | | | | Similarly, this makes test-udev-device-thread.c depend only on libudev.
| * | | | test: move tests for libudev into src/libudevYu Watanabe2021-01-193-6/+4
| | | | |
| * | | | time-wait-sync: move time-wait-sync.c -> src/timesync/wait-sync.cYu Watanabe2021-01-191-0/+0
| | | | | | | | | | | | | | | | | | | | As wait-online is located under src/network.
| * | | | xdg: move tests for xdg-autostart-generatorYu Watanabe2021-01-194-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Then, we can drop src/xdg-autostart-generator from include directories later.
| * | | | test: move test-systemd-tmpfiles.py from src/test to testYu Watanabe2021-01-192-147/+0
| | | | | | | | | | | | | | | | | | | | | | | | | As the other test scripts, e.g. test-sysusers.sh, are located under test rather than src/test.