Re: [PATCH] Add missing attributes to EFI variable attribute printout from sysfs

From: Matthew Garrett
Date: Fri Jul 13 2012 - 13:54:24 EST


On Fri, Jul 13, 2012 at 11:52:15AM -0600, Khalid Aziz wrote:
> EFI_VARIABLE_NON_VOLATILE -> EFI_VAR_NV
> EFI_VARIABLE_BOOTSERVICE_ACCESS -> EFI_VAR_BOOT
> EFI_VARIABLE_RUNTIME_ACCESS -> EFI_VAR_RUNTIME
> EFI_VARIABLE_HARDWARE_ERROR_RECORD -> EFI_VAR_HW_ERROR
> EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS -> EFI_VAR_AUTH_WRITE
> EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS -> EFI_VAR_TIMED_AUTH_WRITE
> EFI_VARIABLE_APPEND_WRITE -> EFI_VAR_APPEND
>
> Sounds reasonable?

Sounds great, but sadly they're exposed to userspace so changing them
would be a problem. Adding aliases would be ugly but workable?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/