pid1: parse CPUAffinity= in incremental fashion
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 24 May 2019 06:35:51 +0000 (08:35 +0200)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Thu, 5 Dec 2019 14:17:20 +0000 (15:17 +0100)
commit8bf8409c6e08f5aef35d1976e172b3f61b651c8d
tree639dc403eab3c5966f03478d1cbc3e7dedf07f08
parent69541e93c45efb7ee15d7584c3aa70c3ff0b2200
pid1: parse CPUAffinity= in incremental fashion

This makes the handling of this option match what we do in unit files. I think
consistency is important here. (As it happens, it is the only option in
system.conf that is "non-atomic", i.e. where there's a list of things which can
be split over multiple assignments. All other options are single-valued, so
there's no issue of how to handle multiple assignments.)

(cherry picked from commit 61fbbac1d517a0b3498a689c736c6ca918497904)

Related: #1734787
man/systemd-system.conf.xml
man/systemd.exec.xml
src/core/main.c