diff options
author | Kay Sievers <kay@vrfy.org> | 2013-07-26 05:22:22 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-07-26 18:40:40 +0200 |
commit | e21fea24ae2a7a04f6d5c9d2bbbaf5833d248952 (patch) | |
tree | e73759c9e6d0f38074436f0a22745c9131dd5ef8 /src/core/locale-setup.h | |
parent | 68fee104e630eb19f04b8196a83c14c2c9c469e7 (diff) |
rework systemd's own process environment handling/passing
Stop importing non-sensical kernel-exported variables. All
parameters in the kernel command line are exported to the
initial environment of PID1, but suppressed if they are
recognized by kernel built-in code. The EFI booted kernel
will add further kernel-internal things which do not belong
into userspace.
The passed original environ data of the process is not touched
and preserved across re-execution, to allow external reading of
/proc/self/environ for process properties like container*=.
Diffstat (limited to 'src/core/locale-setup.h')
-rw-r--r-- | src/core/locale-setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/locale-setup.h b/src/core/locale-setup.h index 5a0f2f7888..62c654c37c 100644 --- a/src/core/locale-setup.h +++ b/src/core/locale-setup.h @@ -21,4 +21,4 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -int locale_setup(void); +int locale_setup(char ***environment); |