Bug #39951 ยป 0001-common-secret.c-fix-key-parsing-when-doing-a-remount.patch
src/common/secret.c | ||
---|---|---|
option[olen] = '\0';
|
||
if (secret) {
|
||
/* when parsing kernel options (-o remount) we get '<hidden>' as the secret */
|
||
if (secret && strncmp(secret, "<hidden>", 8)) {
|
||
ret = set_kernel_secret(secret, key_name);
|
||
if (ret < 0) {
|
||
if (ret == -ENODEV || ret == -ENOSYS) {
|