Commit Graph
14209 Commits
Author SHA1 Message Date
Lennart Poettering ac45f971a1 core: add Personality= option for units to set the personality for spawned processes 2014-02-19 03:27:03 +01:00
Zbigniew Jędrzejewski-Szmek 49a356c258 build-sys: fixups for libsystemd-daemon merge 2014-02-18 20:32:40 -05:00
Kay Sievers be4b47cb52 build-sys: install headers with --enable-kdbus 2014-02-19 02:24:57 +01:00
Kay Sievers 0ebee88184 build-sys: merge libsystemd-daemon into libsystemd 2014-02-19 01:09:19 +01:00
Lennart Poettering 0e4061c4d5 test: add missing test units 2014-02-18 23:55:41 +01:00
Lennart Poettering 6afc95b736 nspawn: add new --personality= switch to make it easier to run 32bit containers on a 64bit host 2014-02-18 23:37:27 +01:00
Thomas Hindoe Paaboel Andersen 0bc8e31b35 delta: add bash completion 2014-02-18 22:34:59 +01:00
Tom Gundersen 9b1c2626ce net-match: fix Driver= match
It should match on the driver of the parent device.
2014-02-18 22:34:26 +01:00
Tom Gundersen 11a7f22939 networkd: refactor link_add() :(
Don't set set **ret when returning r < 0, as matching on the errno may easily
give false positives in the future leading to null pointer dereference.

Reported-by: David Herrmann <dh.herrmann@gmail.com>
2014-02-18 22:34:26 +01:00
Lennart Poettering 3302da4667 nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup 2014-02-18 22:27:46 +01:00
Lennart Poettering e9642be2cc seccomp: add helper call to add all secondary archs to a seccomp filter
And make use of it where appropriate for executing services and for
nspawn.
2014-02-18 22:14:00 +01:00
Dave Reisner f3d5485b80 nspawn: allow 32-bit chroots from 64-bit hosts
Arch Linux uses nspawn as a container for building packages and needs
to be able to start a 32bit chroot from a 64bit host. 24fb111207
disrupted this feature when seccomp handling was added.
2014-02-18 21:26:24 +01:00
Lennart Poettering 4b462d1a28 load-modules: properly return a failing error code if some module fails to load
This is the missing part of b857193b1d.
2014-02-18 21:23:16 +01:00
Thomas Hindoe Paaboel Andersen 6bebb0add4 machinectl: remove unused --no-ask-password 2014-02-18 21:14:40 +01:00
Thomas Hindoe Paaboel Andersen e56056e93d machinectl: add bash completion 2014-02-18 21:14:30 +01:00
Lennart Poettering 0f3e07b7cc update TODO 2014-02-18 21:07:20 +01:00
Thomas Hindoe Paaboel Andersen 773e264d13 man: machinectl: there is no command 'kill-machine' 2014-02-18 17:44:03 +01:00
Tom Gundersen 482e2ac193 man: minor fixes to networkd page
Also enforce that we don't allow setting the Broadcast for IPv6 addresses.
2014-02-18 15:50:45 +01:00
Patrik Flykt 7e95eda5b3 NEWS: Fix header file name 2014-02-18 15:39:25 +01:00
Cristian Rodríguez 0b7005eb0a fix SECCOMP_CFLAGS usage
SECCOMP_CFLAGS must be in the global CFLAGS as <seccomp.h> is
included in core/execute.h. when seccomp.h is not in the standard
path.(i.e openSUSE has it in /usr/include/pkg/libseccomp/, precisely to
catch this kind of bugs) compiling systemd fails.
2014-02-18 09:27:19 -05:00
Patrik Flykt 234ed3eb09 libsystemd-dhcp: Add a full DHCP address acquisition test case
Upon startup the DHCP library will immediately send a DHCP Discover.
Handle the additional DHCP Discover checking and DHCP Offer sending
in test_addr_acq_recv_discover(). Write a zero UDP checksum, the
received XID and the faked MAC address into place to create a DHCP
message the library can accept.

Follow exactly the same steps when receiving a DHCP Request in
test_addr_acq_recv_request() and send the Ack. Check that the proper
addresses have been found by the DHCP library before exiting the
main loop and finishing the test.
2014-02-18 15:23:19 +01:00
Patrik Flykt 6c8a0f07f2 libsystemd-dhcp: Factor out test code for DHCP message verification
Add a callback function that will handle the test case specific checking.
2014-02-18 15:23:19 +01:00
Patrik Flykt ede286f9d4 libsystemd-dhcp: Add capability to print out test steps 2014-02-18 15:23:19 +01:00
Jason St. John 8b7d0494a3 NEWS: fix typos and grammar errors 2014-02-18 08:47:28 -05:00
Lennart Poettering 8e420494bc NEWS: even more fixes 2014-02-18 13:38:31 +01:00
Tom Gundersen 4fb7242cbb sd-rtnl-message: store reference to the bus in the message
This mimics the sd-bus api, as we may need it in the future.
2014-02-18 11:21:22 +01:00
Daniel Buch c0c5af00be NEWS: sd-resolv.h is sd-resolve.h 2014-02-18 08:23:24 +01:00
Jan Engelhardt 4670e9d5f2 doc: fix newly-arisen inconsistencies in NEWS 2014-02-17 23:51:55 -05:00
Zbigniew Jędrzejewski-Szmek 06beed6dc6 Remove unused variable and two function stubs 2014-02-17 22:35:35 -05:00
Zbigniew Jędrzejewski-Szmek 1e190502e7 NEWS: fix a few typos and inconsistencies
- systemd-delta had support for .d for a long time.
- systemd-activate had --environment before --setenv.
2014-02-17 22:09:04 -05:00
Kay Sievers ad42cf7308 NEWS: more "scary" kdbus incompatibility warning 2014-02-18 03:21:31 +01:00
Jan Engelhardt 4c2413bffa doc: general refresh of orthography and grammar 2014-02-18 03:18:21 +01:00
Kay Sievers b97610038a NEWS: fix typos 2014-02-18 03:08:07 +01:00
Jan Engelhardt 38bf2b26bd doc: orthographic corrections 2014-02-18 03:05:19 +01:00
Lennart Poettering 270f162402 NEWS fix 2014-02-18 03:03:04 +01:00
Lennart Poettering e49b5aada0 prepare NEWS 2014-02-18 02:51:47 +01:00
Lennart Poettering 9f5650aecb util: generalize code that checks whether PIDs are alive or unwaited for 2014-02-18 02:51:47 +01:00
Jan Engelhardt ed7e5fe37d doc: utilize the DocBook markup for some literals 2014-02-17 19:03:07 -05:00
Jan Engelhardt deb480d1a7 doc: reword "shared per-thread" wording
Either it is shared across threads, or it is per-thread: decide.

Reading the source code, I see a thread_local identifier, so that's
that. But that does not yet preclude that a program may pass around
the pointer returned from the function among its own threads.

Do a best effort at saying so.
2014-02-17 19:03:07 -05:00
Jan Engelhardt 8dc385e770 doc: balance C indirections in function prototypes
Shift the asterisks in the documentation's prototypes such that they
are consistent among each other. Use the right side to match source code.
2014-02-17 19:03:07 -05:00
Jan Engelhardt 3c8fa0fd0f doc: properly use XML entities 2014-02-17 19:03:07 -05:00
Jan Engelhardt dc968941bf doc: choose different words to improve clarity
I suggest the following changes to improve the way the text reads
("flows").
2014-02-17 19:03:07 -05:00
Jan Engelhardt 66f756d437 doc: resolve missing/extraneous words or inappropriate forms
Issues fixed:
* missing words required by grammar
* duplicated or extraneous words
* inappropriate forms (e.g. singular/plural), and declinations
* orthographic misspellings
2014-02-17 19:03:07 -05:00
Jan Engelhardt 73e231abde doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes.
2014-02-17 19:03:07 -05:00
Jan Engelhardt 48b5804a48 doc: detail what "UID" is 2014-02-17 19:03:07 -05:00
Jan Engelhardt fc9acf252f doc: quote consistently in autoconf code
AS_HELP_STRING has been observed to expand such that the surround
function complains; play it safe and consistenly quote the example
code throughout.
2014-02-17 19:03:07 -05:00
Jan Engelhardt a87f0f726c core: more exact test on the procfs special string "(deleted)"
In other parts of systemd, the code checks for " (deleted)",
but in one instance, it did not (yet). Make it do the same.
2014-02-17 19:03:07 -05:00
Ansgar Burchardt c305c32580 man: fix a typo 2014-02-17 23:59:35 +01:00
Umut Tezduyar Lindskog 17256461f5 networkd: act on lease only if there is one
Interface could go down before acquiring a dhcp lease
2014-02-17 23:30:08 +01:00
Jasper St. Pierre acfbbf5c56 Fix gperf syntax
If we put a closing bracket on its own line, gperf will complain about
empty lines. Only occurs if the option in question is disabled. So fix the
m4 macros to work properly in both cases.
2014-02-17 22:07:02 +01:00