summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-05socket-util: add parse_ip_prefix (#5867)systemd/masterSusant Sahani
networkd: replace parse prefix with generic in_addr_prefix_from_string
2017-05-05man: document that OnCalendar may be specified more than once. (#5885)Mark Stosberg
It's helpful to know you can provide this more than once, rather than try to make a more complicated / less clear single expression.
2017-05-03seccomp: add clone syscall definitions for mips (#5880)James Cowgill
Also updates the documentation and adds a mention of ppc64 support which was enabled by #5325. Tested on Debian mipsel and mips64el. The other 4 mips architectures should have an identical user <-> kernel ABI to one of the 2 tested systems.
2017-05-03Merge pull request #5842 from keszybz/meson-status-and-conditionalsMichael Biebl
Meson status and conditional simplification
2017-05-02meson: use booleans for conf.set and drop unecessary conditionalsZbigniew Jędrzejewski-Szmek
Using conf.set() with a boolean argument does the right thing: either #ifdef or #undef. This means that conf.set can be used unconditionally. Previously I used '1' as the placeholder value, and that needs to be changed to 'true' for consistency (under meson 1 cannot be used in boolean context). All checks need to be adjusted.
2017-05-02meson: add status reportZbigniew Jędrzejewski-Szmek
This is similar to what ./configure prints. Instead of a long list of yes/no lines, I added two lines at the end with "enabled features" and "disabled features". This is what the mplayer/mencoder ./configure script did back in the day. The advantage is that it's easy to look at the list of disabled features and check for any unexpected entries.
2017-05-02meson: add forgotten debug optionsZbigniew Jędrzejewski-Szmek
v2: -rename -Dextra-debug to -Ddebug to match ./configure --debug
2017-05-02sd-ndisc: Reset counter for sent Router Solicitations (#5874)Patrik Flykt
Reset also the counter for number of Router Solicitations sent when the associated file descriptor is closed and the event source unreferenced. With this change the router discovery can now be stopped and restarted arbitrary many times.
2017-05-02network: reject bridge port priorities above kernel's max value. (#5877)Dimitri John Ledkov
Bridge port priority in the kernel can only be between 0 and 63. Therefore reject values above maximum. Fixes: #5729
2017-05-02build-sys: re-add systemd.directives and systemd.index to MANPAGES (#5876)Michael Biebl
Those were dropped accidentally in commit 19fe49f62cc916f1237ea92a04fc80ee75285dde, most likely by running make update-man-list. This is a known limitation of the autotools build: the man pages must be built before update-man-list is called.
2017-05-02hwdb: update axis ranges for the Asus UX301LAA touchpad (#5872)Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=100873
2017-05-01Merge pull request #5871 from keszybz/meson-html-2Michael Biebl
meson: make sure html symlinks are also created in build directory
2017-05-01meson: make sure html symlinks are also created in build directoryZbigniew Jędrzejewski-Szmek
The symlinks should be created in the build directory in two cases: when configuration specifies -Dhtml=true, or when ninja html target is built. Normally install : {true,false} is used to decide if a target should be built, but in this case, we cannot use install : true, because, as described in 488477d101, that results in the target file being copied into the installation directory instead of a symlink. So we need a work-around. To achieve the first end, the commands to create the symlinks are added as dependencies of the command to create the html page. To the second end, they are added as dependencies of the html target. Follow-up for 488477d101 and 064d9ef0d7.
2017-05-01meson: create index.html symlink pointing at systemd.index.html (#5870)Michael Biebl
Re-use bits from 488477d1011559078dbebfea18e22dcc1c9ca7ea to create the index.html symlink. Fixes #5862
2017-05-01Merge pull request #5869 from keszybz/meson-htmlMichael Biebl
meson: fix creation of html symlinks
2017-05-01meson: fix creation of html symlinksZbigniew Jędrzejewski-Szmek
This adds two somewhat independent rules: 1. to create symlinks to html pages in the build directory 2. to create symlinks in the installation directory The second part needs to be coded separately, because telling meson to install the symlinks created in step 1. results in a copy of the target, instead of a symlink. So step 2. needs to ignore the result of 1. and create the symlink again. Fixes #5863.
2017-04-30more portable python shebangs (#5816)Jörg Thalheim
This is useful on systems like NixOS, where python3 is not in /usr/bin/python3 as well as for people using alternative ways to install python such as virtualenv/pyenv.
2017-04-30build-sys: don't generate index.html with --disable-manpages (#5865)Michael Biebl
Don't generate man/index.html and the dependent man/systemd.index.html if man pages have been disabled. Closes #5854
2017-04-30networkd: Add check to ensure link is down before attempting to enslave (#5853)Roelf Wichertjes
netdev to bond. There are situations where a link can be in an "UP" state when systemd-networkd attempts to add the link to a bond device. This is a problem because the bonding driver will refuse to enslave a link if it is in the "UP" state. This check ensures systemd-networkd sets the link to "DOWN" before attempting to add the link to the bond. Fixes #5838.
2017-04-30Merge pull request #5808 from ssahani/utilLennart Poettering
conf parser: add config_parse_ip_port
2017-04-29sd-boot: remove compiler warning (#5860)Max Resch
This small fixup removes a compiler warning when passing tcg (a const arg type) to the uefi call wapper, which does not define it as const. All other source files in sd-boot do this cast except measure.c, so let's fix that.
2017-04-29Merge pull request #5809 from keszybz/glob-safeMartin Pitt
Implement `safe_glob` that ignores "." and ".."
2017-04-29conf parser: add config_parse_ip_portSusant Sahani
2017-04-29journald: fix assertion failure on journal_file_link_data. (#5843)Yusuke Nojima
When some error occurs during the initialization of JournalFile, the JournalFile can be left without hash tables created. When later trying to append an entry to that file, the assertion in journal_file_link_data() fails, and journald crashes. This patch fix this issue by checking *_hash_table_size in journal_file_verify_header().
2017-04-29networkd: replace geneve/vxlan port parsing with generic config_parse_ip_portSusant Sahani
2017-04-29config parser: Introduce config_parse_ip_portSusant Sahani
2017-04-29Merge pull request #5164 from Werkov/ordering-for-_netdev-devicesLennart Poettering
Ordering for _netdev devices
2017-04-29Merge pull request #5783 from keszybz/compiler-warning-fixesLennart Poettering
shared/extract-word: replace enum with int to avoid undefined behaviour
2017-04-29Merge pull request #5529 from ssahani/labelLennart Poettering
networkd / sd-netlink: add support for address label
2017-04-29Merge pull request #5852 from phomes/trivialMartin Pitt
Trivial cleanups
2017-04-29Merge pull request #5801 from keszybz/help-errorLennart Poettering
nspawn,cgtop: make sure --version, --help always work
2017-04-29sd-boot: remove unnecessary defines (#5848)Max Resch
As discussed in #5829 `#define` is not necessary, meson and autotools set the correct compiler flags and the default value is provided by them.
2017-04-29test: explain why we explicitly make all despite test/Makefile's check ↵Chris Lamb
target calling it (#5830)
2017-04-29meson: do not link libshared dynamically against libudev (#5850)Michael Biebl
Linking dynamically against libudev will fail once https://github.com/mesonbuild/meson/pull/1545 is merged and apparently already triggers a link failure on s390x. Make libshared provide the udev symbols by including libudev_sources into libshared. This will cause those files to be compiled twice, but it actually reduces the installed size and is closer to what the autotools build system is doing. Closes #5828
2017-04-28tree-wide: remove unused variablesThomas Hindoe Paaboel Andersen
2017-04-28networkd: remove duplicated includeThomas Hindoe Paaboel Andersen
2017-04-28shared: assert the source for memcpyThomas Hindoe Paaboel Andersen
2017-04-28build-sys: do not install manpages from disabled features (#5844)userwithuid
A few of the manpages where missing the "conditional" attribute.
2017-04-28hwdb: add Samsung 880Z5E series touchpad overrides (#5825)Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=100631
2017-04-27meson: add compiler flags for "--tpm" in EFI apps (#5829)Max Resch
Readds boot log tpm feature that was missing in meson by readding a defines in efi_conf.h
2017-04-27Merge pull request #5827 from keszybz/meson-libcapMartin Pitt
meson: fixes to allow meson builds on Ubuntu Trusty
2017-04-27meson: do not install files from disabled features (#5811)userwithuid
Mirror conditions from Makefile.am.
2017-04-27Merge pull request #5818 from mbiebl/meson-no-libudevZbigniew Jędrzejewski-Szmek
meson: drop implicit libudev link dependencies
2017-04-27Merge branch 'master' into meson-no-libudevZbigniew Jędrzejewski-Szmek
2017-04-27Merge pull request #5821 from mbiebl/meson-no-libiptcZbigniew Jędrzejewski-Szmek
Merge libfirewall into libshared, and link libshared to libip[46]tc directly.
2017-04-27build-sys: only install libexecdir/resolv.conf if resolved is enabled (#5826)userwithuid
as mentioned in https://github.com/systemd/systemd/pull/5811
2017-04-27execute: filter out "." for ".." in EnvironmentFile= globs tooZbigniew Jędrzejewski-Szmek
This doesn't really matter much, only in case somebody would use something strange like EnvironmentFile=/etc/something/.* Make sure that "." and ".." is not returned by that glob. This makes all our globbing patterns behave the same.
2017-04-27tmpfiles: use safe_glob()Zbigniew Jędrzejewski-Szmek
This filters out "." and ".." from glob results. Fixes #5655 and #5644. Any judgements on whether the path is "safe" are removed. We will not remove "/" under any name (including "/../" and such), but we will remove stuff that is specified using paths that include "//", "/./" and "/../". Such paths can be created when joining strings automatically, or for other reasons, and people generally know what ".." and "." is. Tests are added to make sure that the helper functions behave as expected.
2017-04-27basic: add readdir_no_dot and safe_glob functionsZbigniew Jędrzejewski-Szmek
safe_glob filters out "." and "..". This converts all users of glob_extend() and glob_exists() to safe_glob.
2017-04-27meson: fix detection of "-Wno-" optionsZbigniew Jędrzejewski-Szmek