chiark / gitweb /
core: make sure we properly parse ProtectHome= and ProtectSystem=
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2014 21:03:37 +0000 (23:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2014 21:04:34 +0000 (23:04 +0200)
src/core/load-fragment-gperf.gperf.m4

index 089c32a81e73e63ba567af0194d939b0358297aa..350a1fb8c2aaff84d75e9d91f93217b5824cf4b3 100644 (file)
@@ -80,8 +80,8 @@ $1.InaccessibleDirectories,      config_parse_namespace_path_strv,   0,
 $1.PrivateTmp,                   config_parse_bool,                  0,                             offsetof($1, exec_context.private_tmp)
 $1.PrivateNetwork,               config_parse_bool,                  0,                             offsetof($1, exec_context.private_network)
 $1.PrivateDevices,               config_parse_bool,                  0,                             offsetof($1, exec_context.private_devices)
-$1.ProtectSystem,                config_parse_protect_system,        0,                             offsetof($1, exec_context.protect_system)
-$1.ProtectHome,                  config_parse_protect_home,          0,                             offsetof($1, exec_context.protect_home)
+$1.ProtectSystem,                config_parse_protect_system,        0,                             offsetof($1, exec_context)
+$1.ProtectHome,                  config_parse_protect_home,          0,                             offsetof($1, exec_context)
 $1.MountFlags,                   config_parse_exec_mount_flags,      0,                             offsetof($1, exec_context)
 $1.Personality,                  config_parse_personality,           0,                             offsetof($1, exec_context.personality)
 $1.RuntimeDirectoryMode,         config_parse_mode,                  0,                             offsetof($1, exec_context.runtime_directory_mode)