Merge pull request #27942 from DaanDeMeyer/root-ephemeral
core: Add RootEphemeral= setting
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user