summaryrefslogtreecommitdiffstats
path: root/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add check that our headers are ANSI compatibleZbigniew Jędrzejewski-Szmek2016-03-111-1/+12
|
* Merge pull request #2818 from vinaykul/masterTom Gundersen2016-03-101-0/+4
|\ | | | | DHCP DUID and IAID configurability
| * DHCP DUID and IAID configurabilityVinay Kulkarni2016-03-101-0/+4
| |
* | Merge pull request #2792 from ronnychevalier/rc/tests_movev2Zbigniew Jędrzejewski-Szmek2016-03-101-0/+84
|\ \ | |/ |/| tests: move out unrelated tests from test-util to their own file
| * tests: move xattr-util related tests to test-xattr-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move glob-util related tests to test-glob-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move io-util related tests to test-io-utilRonny Chevalier2016-03-031-0/+7
| |
| * tests: move proc-cmdline related tests to test-proc-cmdline.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move fs-util related tests to test-fs-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move fd-util related tests to test-fd-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move stat-util related tests to test-stat-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move cpu-set-util related tests to test-cpu-set-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move web-util related tests to test-web-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move alloc related tests to test-alloc-util.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move escape related tests to test-escape.cRonny Chevalier2016-03-031-0/+7
| |
| * tests: move hexdecoct tests to test-hexdecoct.cRonny Chevalier2016-03-031-0/+7
| |
* | test-journal-enum: enable by defaultZbigniew Jędrzejewski-Szmek2016-03-051-3/+1
| | | | | | | | | | It will get at most ten values, I don't know why we wouldn't always run this test.
* | test-libudev: disable monitor mode by default and add to automatic testsZbigniew Jędrzejewski-Szmek2016-03-051-1/+3
| |
* | Enable test-ipcrm, test-hostname in unsafe testsZbigniew Jędrzejewski-Szmek2016-03-051-3/+9
| |
* | Enable test-daemon, test-log, test-watchdog by defaultZbigniew Jędrzejewski-Szmek2016-03-051-3/+3
| | | | | | | | Those should be safe to run, resulting in some messages in logs.
* | Rename test-boot-timestamp to test-boot-timestamps and enable by defaultZbigniew Jędrzejewski-Szmek2016-03-051-4/+4
| | | | | | | | | | | | | | | | | | The source file name and the binary name were mismatched. Rename binary to match. Make the test exit with TEST_SKIP if the data is missing or we have no permissions. Otherwise, the data will be printed, which should be safe to enable by default.
* | Move test-loopback to normal testsZbigniew Jędrzejewski-Szmek2016-03-051-1/+1
|/ | | | | In the normal case lo should be already configured and this should be a noop, even when run under root.
* test-sizeof: add a helper which prints variable sizes and signednessZbigniew Jędrzejewski-Szmek2016-03-021-1/+8
| | | | This helps to understand misleading gcc warnings about type mismatches.
* test-selinux: add some simple tests which call functions and print the ↵Zbigniew Jędrzejewski-Szmek2016-03-021-1/+8
| | | | results and timings
* clock-util: make clock_is_localtime() testable and add initial testsMartin Pitt2016-02-261-0/+7
| | | | | | | | | Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's NULL. This makes the function testable. Add test-clock: initial test cases for some scenarios, using a temporary file. This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime) file.
* Merge pull request #2719 from evverx/add-test-to-makefileMartin Pitt2016-02-241-0/+6
|\ | | | | tests: various fixes
| * tests: add exec-capabilityambientset* to Makefile.amEvgeny Vereshchagin2016-02-231-0/+2
| | | | | | | | This is a follow-up to 70d7aea5c
| * tests: add exec-runtimedirectory* to Makefile.amEvgeny Vereshchagin2016-02-231-0/+3
| | | | | | | | This is a follow-up to cc3ddc851
| * tests: add exec-spec-interpolation.service to Makefile.amEvgeny Vereshchagin2016-02-231-0/+1
| | | | | | | | This is a follow-up to 2525499
* | Remove systemd-bootchartDaniel Mack2016-02-231-26/+0
|/ | | | | | | This commit rips out systemd-bootchart. It will be given a new home, outside of the systemd repository. The code itself isn't actually specific to systemd and can be used without systemd even, so let's put it somewhere else.
* build-sys: move shared/architecture.[ch] into basic/Lennart Poettering2016-02-221-2/+2
| | | | | After all, it is pretty generic, has no external deps besides libc, and is very similar to virt.[ch] which is also in basic/
* build-sys: add missing header file to Makefile.amLennart Poettering2016-02-221-0/+1
| | | | Fixes: #2700
* networkd: add basic LLDP transmission supportLennart Poettering2016-02-211-1/+3
| | | | | | Let's add some minimalistic LLDP sender support. The idea is that this is either on or off, and all fields determined automatically rather than configured explicitly.
* sd-lldp: rework sd-lldp APILennart Poettering2016-02-211-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reworks the sd-lldp substantially, simplifying things on one hand, and extending the logic a bit on the other. Specifically: - Besides the sd_lldp object only one other object is maintained now, sd_lldp_neighbor. It's used both as storage for literal LLDP packets, and for maintainging info about peers in the database. Separation between packet, TLV and chassis data is not maintained anymore. This should be a major simplification. - The sd-lldp API has been extended so that a couple of per-neighbor fields may be queried directly, without iterating through the object. Other fields that may appear multiple times, OTOH have to be iterated through. - The maximum number of entries in the neighbor database is now configurable during runtime. - The generation of callbacks from sd_lldp objects is more restricted: callbacks are only invoked when actual data changed. - The TTL information is now hooked with a timer event, so that removals from the neighbor database due to TTLs now result in a callback event. - Querying LLDP neighbor database will now return a strictly ordered array, to guarantee stability. - A "capabilities" mask may now be configured, that selects what type of LLDP neighbor data is collected. This may be used to restrict collection of LLDP info about routers instead of all neighbors. This is now exposed via networkd's LLDP= setting. - sd-lldp's API to serialize the collected data to text files has been removed. Instead, there's now an API to extract the raw binary data from LLDP neighbor objects, as well as one to convert this raw binary data back to an LLDP neighbor object. networkd will save this raw binary data to /run now, and the client side can simply parse the information. - support for parsing the more exotic TLVs has been removed, since we are not using that. Instead there are now APIs to extract the raw data from TLVs. Given how easy it is to parse the TLVs clients should do so now directly instead of relying on our APIs for that. - A lot of the APIs that parse out LLDP strings have been simplified so that they actually return strings, instead of char arrays with a length. To deal with possibly dangerous characters the strings are escaped if needed. - APIs to extract and format the chassis and port IDs as strings has been added. - lldp.h has been simplified a lot. The enums are anonymous now, since they were never used as enums, but simply as constants. Most definitions we don't actually use ourselves have eben removed.
* sd-lldp: drop "port" objectLennart Poettering2016-02-201-2/+0
| | | | | | | | Let's just keep the few parts we actually need of it in the main sd_lldp object, so that we can simplify things quite a bit. While we are at it, remove ifname and mac fields which we make no use of whatsoever.
* Merge pull request #2648 from keszybz/dnssec-workMartin Pitt2016-02-191-0/+6
|\ | | | | Better support for DANE, shell completion
| * systemd-resolve: initial shell completionZbigniew Jędrzejewski-Szmek2016-02-181-0/+6
| | | | | | | | | | | | | | | | v2: - use /sys/class/net to list interfaces, also copy the same code to systemd-nspawn v3: - do not propose "any" twice for --type
* | build-sys: remove duplicated entry in testsZbigniew Jędrzejewski-Szmek2016-02-181-1/+0
| | | | | | | | test-dns-domain should be built and run even without ENABLE_RESOLVED.
* | build-sys: Do not build tests that depend on resolved when it has been disabledFilipe Brandenburger2016-02-181-2/+2
|/ | | | | | | | | | | | | | If ./configure --disable-resolved has been used, do not try to build test-dns-packet and test-resolve-tables which depend on it. Previously, the SOURCES, LIBS and LDADDs for these tests were made conditional while the main rules for them weren't, causing build failures trying to build a binary with no sources. This was uncovered when trying to build udeb for systemd in CI, which uses --disable-resolved for a minimal build, which uncovered the issue. Fixes #2651.
* resolved: turn on DNSSEC by default, unless configured otherwiseLennart Poettering2016-02-161-0/+1
| | | | | | | | | | | | | | | | Let's make sure DNSSEC gets more testing, by defaulting DNSSEC to "allow-downgrade" mode. Since distros should probably not ship DNSSEC enabled by default add a configure switch to disable this again. DNSSEC in "allow-downgrade" mode should mostly work without affecting user experience. There's one exception: some captive portal systems rewrite DNS in order to redirect HTTP traffic to the captive portal. If these systems implement DNS servers that are otherwise DNSSEC-capable (which in fact is pretty unlikely, but still...), then this will result in the captive portal being inaccessible. To fix this support in NetworkManager (or any other network management solution that does captive portal detection) is required, which simply turns off DNSSEC during the captive portal detection, and resets it back to the default (i.e. on) after captive portal authentication is complete.
* Merge pull request #2618 from zonque/busproxy-removalLennart Poettering2016-02-151-68/+2
|\ | | | | remove bus-proxyd
| * remove bus-proxydDaniel Mack2016-02-121-68/+2
| | | | | | | | | | | | | | | | | | | | As kdbus won't land in the anticipated way, the bus-proxy is not needed in its current form. It can be resurrected at any time thanks to the history, but for now, let's remove it from the sources. If we'll have a similar tool in the future, it will look quite differently anyway. Note that stdio-bridge is still available. It was restored from a version prior to f252ff17, and refactored to make use of the current APIs.
* | Promote systemd-activate to /usr/bin/systemd-socket-activateZbigniew Jędrzejewski-Szmek2016-02-151-4/+4
| | | | | | | | | | | | | | It has fairly wide functionality now and the interface has been stable for a while. It it a useful testing tool. The name is changed to better indicate what it does.
* | Merge pull request #2603 from poettering/drop-compat-libsZbigniew Jędrzejewski-Szmek2016-02-131-150/+0
|\ \ | | | | | | Some spring cleaning
| * | build-sys: drop aufs-util.[ch]Lennart Poettering2016-02-131-2/+0
| | | | | | | | | | | | Left over cruft from the dkr excercise.
| * | util-lib: drop json parserLennart Poettering2016-02-131-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was used by the dkr logic, which is gone now, hence remove this too. Should we need it one day again the git history never forgets... Note that this only covers the JSON parser. The JSON generator used by "journalctl -o json" remains, as its much much simpler and requires no infrastructure except printf() and the most basic escaping.
| * | build-sys: drop libsystemd-{id128,daemon,login,journal}.so compat libsLennart Poettering2016-02-131-139/+0
| |/ | | | | | | | | They have long been obsolete, and upstream distros and packages have mostly switched over, let's get rid of it for good.
* | Merge pull request #2589 from keszybz/resolve-tool-2Lennart Poettering2016-02-131-47/+59
|\ \ | |/ |/| Better support of OPENPGPKEY, CAA, TLSA packets and tests
| * resolve: always align flags to 8th column and print CAA flagsZbigniew Jędrzejewski-Szmek2016-02-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Left-over unknown flags are printed numerically. Otherwise, it wouldn't be known what bits are remaining without knowning what the known bits are. A test case is added to verify the flag printing code: ============== src/resolve/test-data/fake-caa.pkts ============== google.com. IN CAA 0 issue "symantec.com" google.com. IN CAA 128 issue "symantec.com" -- Flags: critical google.com. IN CAA 129 issue "symantec.com" -- Flags: critical 1 google.com. IN CAA 22 issue "symantec.com" -- Flags: 22
| * Fix hashing of TLSA packetsZbigniew Jędrzejewski-Szmek2016-02-131-1/+3
| | | | | | | | Also add example files with TLSA and SSHFP records.