summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs: rename file to appease githubZbigniew Jędrzejewski-Szmek2018-10-021-0/+0
| | | | | | Hopefully this will be enough to let github notice that we have a coc now and display the green checkmark: https://github.com/systemd/systemd/pull/10233#issuecomment-425918447
* po: update Turkish translationMuhammet Kara2018-10-011-23/+64
|
* Merge pull request #10218 from keszybz/export-sd-device-hwdbYu Watanabe2018-10-015-2/+154
|\ | | | | Export functions in sd-device and sd-hwdb
| * test-sd-hwdb: skip tests if hwdb cannot be openedZbigniew Jędrzejewski-Szmek2018-10-011-3/+14
| |
| * libsystemd: export all functions in sd-hwdb.hZbigniew Jędrzejewski-Szmek2018-09-302-1/+13
| | | | | | | | sd-hwdb.h is now also installed in /usr/include/systemd.
| * test-sd-hwdb: add a simple test for export sd-hwdb functionsZbigniew Jędrzejewski-Szmek2018-09-303-0/+69
| |
| * libsystemd: export all functions in sd-device.hZbigniew Jędrzejewski-Szmek2018-09-302-1/+61
| | | | | | | | sd-device.h is now also installed in /usr/include/systemd.
* | Add a simple code of conduct based on ruby community guidelinesZbigniew Jędrzejewski-Szmek2018-10-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | This was discussed at the systemd hackfest during ASG2018, and we agreed to use the Ruby text [1] with the enforcement clause based on the "contributor covenant". I obviously modified the text where applicable to refer to systemd. [1] https://www.ruby-lang.org/en/conduct/ Fixes 10148.
* | test: try system bus if user bus cannot be openedYu Watanabe2018-10-015-7/+27
| |
* | Merge pull request #10138 from yuwata/test-check-containerZbigniew Jędrzejewski-Szmek2018-10-013-6/+45
|\ \ | | | | | | test: skip several tests when running in container
| * | test-execute: skip several tests when running in containerYu Watanabe2018-09-211-1/+11
| | |
| * | test-execute: also check python3 is installed or notYu Watanabe2018-09-211-0/+17
| | |
| * | test-process-util: skip several verifications when running in unprivileged ↵Yu Watanabe2018-09-211-4/+9
| | | | | | | | | | | | container
| * | test-fs-util: skip some tests when running in unprivileged containerYu Watanabe2018-09-211-1/+8
| | |
* | | Merge pull request #10220 from floppym/efi-ccZbigniew Jędrzejewski-Szmek2018-10-012-8/+11
|\ \ \ | | | | | | | | meson: use an array option for efi-cc
| * | | meson: avoid calling the shell to resolve efi_libdirMike Gilbert2018-09-301-3/+6
| | | |
| * | | meson: use an array option for efi-ccMike Gilbert2018-09-302-6/+6
| | | | | | | | | | | | | | | | Fixes: https://github.com/systemd/systemd/issues/10211
* | | | import: sparse_write() returns negative errnoYu Watanabe2018-10-012-3/+6
|/ / /
* | | trivial: fix spelling in code commentsThomas Haller2018-09-3011-15/+15
| |/ |/| | | | | Based-on-patch-by: Rafael Fontenelle <rafaelff@gnome.org>
* | dhcp6: fix memleak about sd_eventYu Watanabe2018-09-301-0/+3
| |
* | test: Add tests for networkd (#10147)Susant Sahani2018-09-2980-0/+1429
| |
* | Merge pull request #10200 from evverx/fuzz-dhcp6-clientYu Watanabe2018-09-299-2/+87
|\ \ | | | | | | Add a fuzzer for dhcp6-client
| * | tests: add a reproducer for the heap-buffer-overflow fixed in ↵Evgeny Vereshchagin2018-09-292-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb1bdeaf56852275e6b ==14==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020001c761a at pc 0x000000540abc bp 0x7ffd0caf2c50 sp 0x7ffd0caf2c48 READ of size 2 at 0x6020001c761a thread T0 #0 0x540abb in client_parse_message /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:849:73 #1 0x53f3bc in client_receive_advertise /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:1083:13 #2 0x53d57f in client_receive_message /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:1182:21 #3 0x7f71d8c3eeee in source_dispatch /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3042:21 #4 0x7f71d8c3e431 in sd_event_dispatch /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3455:21 #5 0x7f71d8c3fa8d in sd_event_run /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3512:21 #6 0x531f2b in fuzz_client /work/build/../../src/systemd/src/fuzz/fuzz-dhcp6-client.c:44:9 #7 0x531bc1 in LLVMFuzzerTestOneInput /work/build/../../src/systemd/src/fuzz/fuzz-dhcp6-client.c:53:9 #8 0x57bef8 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/libfuzzer/FuzzerLoop.cpp:570:15 #9 0x579d97 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool*) /src/libfuzzer/FuzzerLoop.cpp:479:3 #10 0x57dcc2 in fuzzer::Fuzzer::MutateAndTestOne() /src/libfuzzer/FuzzerLoop.cpp:707:19 #11 0x580cd6 in fuzzer::Fuzzer::Loop(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, fuzzer::fuzzer_allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) /src/libfuzzer/FuzzerLoop.cpp:838:5 #12 0x55e998 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/libfuzzer/FuzzerDriver.cpp:764:6 #13 0x551a4c in main /src/libfuzzer/FuzzerMain.cpp:20:10 #14 0x7f71d784182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #15 0x41e928 in _start (/out/fuzz-dhcp6-client+0x41e928)
| * | tests: add a reproducer for the heap-buffer-overflow fixed in b387d3c1327a3ad2Evgeny Vereshchagin2018-09-292-0/+1
| | |
| * | dhcp6: fix an off-by-one error in dhcp6_option_parse_domainnameEvgeny Vereshchagin2018-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ==14==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200055fa9c at pc 0x0000005458f1 bp 0x7ffc78940d90 sp 0x7ffc78940d88 READ of size 1 at 0x60200055fa9c thread T0 #0 0x5458f0 in dhcp6_option_parse_domainname /work/build/../../src/systemd/src/libsystemd-network/dhcp6-option.c:555:29 #1 0x54706e in dhcp6_lease_set_domains /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-lease.c:242:13 #2 0x53fce0 in client_parse_message /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:984:29 #3 0x53f3bc in client_receive_advertise /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:1083:13 #4 0x53d57f in client_receive_message /work/build/../../src/systemd/src/libsystemd-network/sd-dhcp6-client.c:1182:21 #5 0x7f0f7159deee in source_dispatch /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3042:21 #6 0x7f0f7159d431 in sd_event_dispatch /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3455:21 #7 0x7f0f7159ea8d in sd_event_run /work/build/../../src/systemd/src/libsystemd/sd-event/sd-event.c:3512:21 #8 0x531f2b in fuzz_client /work/build/../../src/systemd/src/fuzz/fuzz-dhcp6-client.c:44:9 #9 0x531bc1 in LLVMFuzzerTestOneInput /work/build/../../src/systemd/src/fuzz/fuzz-dhcp6-client.c:53:9 #10 0x57bec8 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/libfuzzer/FuzzerLoop.cpp:570:15 #11 0x579d67 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool*) /src/libfuzzer/FuzzerLoop.cpp:479:3 #12 0x57dc92 in fuzzer::Fuzzer::MutateAndTestOne() /src/libfuzzer/FuzzerLoop.cpp:707:19 #13 0x580ca6 in fuzzer::Fuzzer::Loop(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, fuzzer::fuzzer_allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) /src/libfuzzer/FuzzerLoop.cpp:838:5 #14 0x55e968 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/libfuzzer/FuzzerDriver.cpp:764:6 #15 0x551a1c in main /src/libfuzzer/FuzzerMain.cpp:20:10 #16 0x7f0f701a082f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #17 0x41e928 in _start (/out/fuzz-dhcp6-client+0x41e928)
| * | tests: make fuzz-dhcp6-client work in containers provided by the OSS-Fuzz ↵Evgeny Vereshchagin2018-09-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | project The containers come with an empty machine-id, which causes the fuzzer to fail as soon as it starts. See https://github.com/systemd/systemd/pull/9014#discussion_r189594104
| * | fuzz: add a fuzzer for dhcp6_clientEvgeny Vereshchagin2018-09-294-0/+78
|/ /
* | man: add systemctl suspend-then-hibernate (#10194)Jonas DOREL2018-09-281-2/+13
| | | | | | | | | | This commit tries to document the systemctl suspend-then-hibernate documentation in the systemctl(1) manpage. Fixes #10192.
* | Merge pull request #10190 from evverx/fuzz-ndisc-rsZbigniew Jędrzejewski-Szmek2018-09-286-2/+71
|\ \ | | | | | | Add a fuzzer for sd-ndisc and a reproducer for an infinite loop in ndisc_handle_datagram
| * | tests: add a reproducer for another infinite loop in ndisc_handle_datagramEvgeny Vereshchagin2018-09-262-0/+1
| | |
| * | tests: add a reproducer for an infinite loop in ndisc_handle_datagramEvgeny Vereshchagin2018-09-262-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =0 ndisc_router_parse (rt=0x60d000000110) at ../src/libsystemd-network/ndisc-router.c:126 =1 0x000055555558dc67 in ndisc_handle_datagram (nd=0x608000000020, rt=0x60d000000110) at ../src/libsystemd-network/sd-ndisc.c:170 =2 0x000055555558e65d in ndisc_recv (s=0x611000000040, fd=4, revents=1, userdata=0x608000000020) at ../src/libsystemd-network/sd-ndisc.c:233 =3 0x00007ffff63913a8 in source_dispatch (s=0x611000000040) at ../src/libsystemd/sd-event/sd-event.c:3042 =4 0x00007ffff6395eab in sd_event_dispatch (e=0x617000000080) at ../src/libsystemd/sd-event/sd-event.c:3455 =5 0x00007ffff6396b12 in sd_event_run (e=0x617000000080, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3512 =6 0x0000555555583f5c in LLVMFuzzerTestOneInput (data=0x6060000000e0 "\206", size=53) at ../src/fuzz/fuzz-ndisc-rs.c:422 =7 0x0000555555586356 in main (argc=2, argv=0x7fffffffe3d8) at ../src/fuzz/fuzz-main.c:33
| * | ndisc: fix two infinite loopsYu Watanabe2018-09-261-2/+2
| | |
| * | tests: add a fuzzer for sd-ndiscEvgeny Vereshchagin2018-09-262-0/+67
| | |
* | | meson: use the host architecture compiler/linker for src/boot/efiHelmut Grohne2018-09-282-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cross building systemd to arm64 presently fails, because the build system uses plain gcc and plain ld (build architecture compiler and linker respectively) for building src/boot/efi. These values come from the efi-cc and efi-ld options respectively. It rather should be using host tools here. Fixes: b710072da441 ("add support for building efi modules")
* | | Merge pull request #10186 from yuwata/fix-10149Zbigniew Jędrzejewski-Szmek2018-09-287-64/+62
|\ \ \ | |/ / |/| | network: Fix memleaks found by test
| * | networkd-routing-policy-rule.c: drop unnecessary checkZbigniew Jędrzejewski-Szmek2018-09-271-14/+10
| | | | | | | | | | | | set_get() already does that.
| * | dhcp6: fix memleakYu Watanabe2018-09-271-12/+5
| | | | | | | | | | | | | | | | | | | | | Let's drop client_set_lease() because just writing what it does in both places is simpler. Fixes #10157.
| * | dhcp6: fix buffer size checkingYu Watanabe2018-09-271-2/+2
| | |
| * | dhcp6: use offsetof instead of sizeofYu Watanabe2018-09-271-1/+1
| | |
| * | sd-dhcp-lease: fix memleaksYu Watanabe2018-09-271-0/+2
| | |
| * | sd-dhecp-lease: use free_and_replace() at one moreYu Watanabe2018-09-271-2/+1
| | |
| * | network: fix memleak around Network.dhcp_vendor_class_identifierYu Watanabe2018-09-271-6/+1
| | |
| * | network: fix alignmentYu Watanabe2018-09-271-1/+1
| | |
| * | network: strdup iif and oif when creating RoutingPolicyRule objectYu Watanabe2018-09-273-18/+31
| | |
| * | network: use TAKE_PTR() at one more placeYu Watanabe2018-09-271-2/+1
| | |
| * | network: fix memleak about routing policyYu Watanabe2018-09-271-3/+2
| | |
| * | network: use structured initializer at one more placeYu Watanabe2018-09-271-3/+5
| | |
* | | uft8: add comment, requested by @keszybzLennart Poettering2018-09-271-1/+1
| | |
* | | update TODOLennart Poettering2018-09-271-0/+9
|/ /
* | Merge pull request #10173 from poettering/sd-boot-utfZbigniew Jędrzejewski-Szmek2018-09-273-30/+152
|\ \ | | | | | | the utf8.c changes from PR #9437 (i.e. the boot counting PR)