]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: turn various execution flags into a proper flags parameter
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jul 2016 15:40:35 +0000 (17:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Aug 2016 14:27:07 +0000 (16:27 +0200)
commitc39f1ce24ddb1aa683991c5099dcc2afbfcbc57c
tree538eaf7898a78ea07ba33246826e620f322a2812
parent992e8f224b91cacc3d6589bea7882c7ab9c0911b
core: turn various execution flags into a proper flags parameter

The ExecParameters structure contains a number of bit-flags, that were so far
exposed as bool:1, change this to a proper, single binary bit flag field. This
makes things a bit more expressive, and is helpful as we add more flags, since
these booleans are passed around in various callers, for example
service_spawn(), whose signature can be made much shorter now.

Not all bit booleans from ExecParameters are moved into the flags field for
now, but this can be added later.
src/core/execute.c
src/core/execute.h
src/core/mount.c
src/core/service.c
src/core/socket.c
src/core/swap.c