summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-26Merge branch 'notsystemd/postmove' into tmp/postmoveLuke Shumaker
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26libmachine-core/src MakefileLuke Shumaker
2016-10-26Merge branch 'notsystemd/postmove' into tmp/postmoveLuke Shumaker
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26tools/notsd-move: oops: don't invoke the editor, for real this timeLuke Shumaker
2016-10-26have libbasic gperf headers be privateLuke Shumaker
2016-10-26Merge branch 'notsystemd/postmove' into tmp/postmoveLuke Shumaker
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26add missing stub MakefilesLuke Shumaker
2016-10-26pre-mergeLuke Shumaker
2016-10-26Merge branch 'notsystemd/postmove' into tmp/postmoveLuke Shumaker
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26tools/notsd-move: avoid dangling empty directoriesLuke Shumaker
2016-10-26tools/notsd-move: bus-util locationLuke Shumaker
2016-10-26tidy some file locationsLuke Shumaker
2016-10-26Merge branch 'notsystemd/postmove' into tmp/postmoveLuke Shumaker
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26tools/notsd-fixup--includes: fix mucking with typedefsLuke Shumaker
2016-10-26tools/notsd-fixup--includes: Fix a variable reuse bug.Luke Shumaker
2016-10-26tidyLuke Shumaker
2016-10-26tools/notsd-fixup: Split the makefile pass into a separate executable.Luke Shumaker
This avoids using bash read(1) to loop over the files, as we've already gotten decent speedups from avoiding bash read(1). This means we've got at least two more fork/exec's because of xargs, but it's probably worth it. But that's kind of premature-optimization; the time improvement here is probably just random noise. But, I think this makes the code more maintainable/manageable too, so I'm committing it.
2016-10-26tools/notsd-fixup: Merge the pre-includes pass the includes pass.Luke Shumaker
This shaves off a decent chunk of time, and simplifies the code.
2016-10-26hwdb: fix error check of wrong variable (#4499)Thomas H. P. Andersen
We updated 'fn' but checked 'v' instead. From 698c5a17 Spotted with PVS
2016-10-26tools/notsd-fixup--includes: Allow passing multiple arguments.Luke Shumaker
This substantially speeds things up because it doesn't have to set up and tear down the Python runtime for every single C file now.
2016-10-26tools/notsd-fixup--includes: port from bash to python for speedLuke Shumaker
This shaves off a decent chunk of time because Bash read(1) is slow because it can't buffer and has to read(2) one byte at a time.
2016-10-26tools/notsd-move: avoid invoking the editor for the merge commitLuke Shumaker
2016-10-26tools/notsd-fixup--includes: clean up, add cachingLuke Shumaker
So now it should cache calls to `cpp` or filesystem checks, which are comparatively expensive.
2016-10-26Merge pull request #4448 from msoltyspl/vcfixZbigniew Jędrzejewski-Szmek
Fix some formatting details in the merge.
2016-10-26units: disable /dev/hugepages in private user namespacesZbigniew Jędrzejewski-Szmek
The mount fails, even though CAP_SYS_ADMIN is granted.
2016-10-26condition: simplify condition_test_virtualizationZbigniew Jędrzejewski-Szmek
Rewrite the function to be slightly simpler. In particular, if a specific match is found (like ConditionVirtualization=yes), simply return an answer immediately, instead of relying that "yes" will not be matched by any of the virtualization names below. No functional change.
2016-10-26test-tables: test ConditionVirtualizationZbigniew Jędrzejewski-Szmek
2016-10-26shared/condition: add ConditionVirtualization=[!]private-usersZbigniew Jędrzejewski-Szmek
This can be useful to silence warnings about units which fail in userns container.
2016-10-26detect-virt: add --private-users switch to check if a userns is activeZbigniew Jędrzejewski-Szmek
Various things don't work when we're running in a user namespace, but it's pretty hard to reliably detect if that is true. A function is added which looks at /proc/self/uid_map and returns false if the default "0 0 UINT32_MAX" is found, and true if it finds anything else. This misses the case where an 1:1 mapping with the full range was used, but I don't know how to distinguish this case. 'systemd-detect-virt --private-users' is very similar to 'systemd-detect-virt --chroot', but we check for a user namespace instead.
2016-10-26gitignore: add test-seccomp (#4498)Thomas H. P. Andersen
2016-10-26networkd : verify dns ip address when parsing configuration (#4492)Susant Sahani
Invalid IP addresses would be passed through as-is: $ networkctl status wlp3s0: ● 2: wlp3s0 Link File: /usr/lib/systemd/network/99-default.link Network File: /etc/systemd/network/wlp3s0.network Type: wlan State: routable (configured) Path: pci-0000:03:00.0 Driver: iwlwifi Vendor: Intel Corporation Model: Centrino Advanced-N 6205 [Taylor Peak] (Centrino Advanced-N 6205 AGN) HW Address: XXXXXXXXXX (Intel Corporate) Address: 192.168.2.103 XXXXXXXXXXX Gateway: 192.168.2.1 (Arcadyan Technology Corporation) DNS: 127.0.0.5553 Instead verify that DNS= has a valid list of addresses when parsing configuration. Fixes #4462.
2016-10-26vconsole: manual update (#4021)Michal Soltys
To more correctly reflect current behaviour as well as to provide a few more details.
2016-10-26seccomp: also block shmat(..., SHM_EXEC) for MemoryDenyWriteExecuteTopi Miettinen
shmat(..., SHM_EXEC) can be used to create writable and executable memory, so let's block it when MemoryDenyWriteExecute is set.
2016-10-26vconsole: setup_remaining_vcs() - more sanity checksMichal Soltys
Check if values filled up by KD_FONT_OP_GET ioctl make sense - dummy driver for example doesn't implement required functionality at all.
2016-10-25man: document that systemctl cat shows file content (#4488)Lucas Werkmeister
... and that that content might be outdated.
2016-10-25build-sys/autogen: don't use bashisms (#4489)Evgeny Vereshchagin
Fixes: $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Feb 17 2016 /bin/sh -> dash $ ./autogen.sh c ./autogen.sh: 22: ./autogen.sh: [[: not found ... checking whether make supports nested variables... (cached) yes checking build system type... Invalid configuration `c': machine `c' not recognized configure: error: /bin/bash build-aux/config.sub c failed this is a follow-up for a5e739a570081231
2016-10-25Merge pull request #4476 from poettering/systemctl-freeMartin Pitt
two minor systemctl memleak fixes
2016-10-25test: skip exec tests when inaccessible dir is unavailableDongsu Park
In case of running test-execute on systems with systemd < v232, several tests like privatedevices or protectkernelmodules fail because /run/systemd/inaccessible/ doesn't exist. In these cases, we should skip tests to avoid unnecessary errors. See also https://github.com/systemd/systemd/pull/4243#issuecomment-253665566
2016-10-25systemctl: fix two minor memory leaks in --wait handlingLennart Poettering
(Also, let's not use the binary |= operator on "bool" variables). Fix-up for 93a0884126146361ca078ec627da2cf766205a1c.
2016-10-25update NEWS file a bit moreLennart Poettering
2016-10-25Merge pull request #4474 from poettering/nsswitchMartin Pitt
various nss module/resolved fixes
2016-10-24man: document the default value of NoNewPrivileges=Zbigniew Jędrzejewski-Szmek
Fixes #4329.
2016-10-24Merge pull request #4450 from poettering/seccompfixesZbigniew Jędrzejewski-Szmek
Various seccomp fixes and NEWS update.
2016-10-25man: Fix event source priority enum names in synopsis (#4478)Martin Ejdestig
2016-10-24Merge pull request #4477 from poettering/enumerate-load-fixLennart Poettering
Properly synthesize -.slice and init.scope