Merge pull request #27942 from DaanDeMeyer/root-ephemeral

core: Add RootEphemeral= setting
This commit is contained in:
Daan De Meyer
2023-06-21 17:24:39 +02:00
committed by GitHub
21 changed files with 313 additions and 144 deletions
+2 -1
View File
@@ -992,7 +992,8 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con
"LockPersonality",
"ProtectHostname",
"MemoryKSM",
"RestrictSUIDSGID"))
"RestrictSUIDSGID",
"RootEphemeral"))
return bus_append_parse_boolean(m, field, eq);
if (STR_IN_SET(field, "ReadWriteDirectories",
+1 -1
View File
@@ -3196,7 +3196,7 @@ int dissected_image_load_verity_sig_partition(
return -EINVAL;
if (p->size > 4*1024*1024) /* Signature data cannot possible be larger than 4M, refuse that */
return -EFBIG;
return log_debug_errno(SYNTHETIC_ERRNO(EFBIG), "Verity signature partition is larger than 4M, refusing.");
buf = new(char, p->size+1);
if (!buf)