於 二,2012-09-11 於 15:23 +0800,lee joey 提到: > From: Matthew Garrett <m...@redhat.com> > > The existing EFI variables code only supports variables of up to 1024 > bytes. This limitation existed in version 0.99 of the EFI > specification, > but was removed before any full releases. Since variables can now be > larger than a single page, sysfs isn't the best interface for this. > So, > instead, let's add a filesystem. Variables can be read, written and > created, with the first 4 bytes of each variable representing its UEFI > attributes. The create() method doesn't actually commit to flash since > zero-length variables can't exist per-spec. > > Updates from Jeremy Kerr <jeremy.k...@canonical.com>. > > Signed-off-by: Matthew Garrett <m...@redhat.com> > Signed-off-by: Jeremy Kerr <jeremy.k...@canonical.com>
I and Gary tested create, update, delete unauthenticated variable, works fine. Tested-by: Lee, Chun-Yi <j...@suse.com> Thanks a lot! Joey Lee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/