firmware: Add missing attributes to EFI variable attribute print out from sysfs
authorKhalid Aziz <khalid.aziz@hp.com>
Mon, 10 Sep 2012 18:52:42 +0000 (12:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:40:30 +0000 (16:40 -0700)
commit7083909023bbe29b3176e92d2d089def1aa7aa1e
tree59353913f020a0318ad1f5c8a099ecdccd132de8
parentcfe016b14e1ee106e906ddfe77d598a2b288d7d6
firmware: Add missing attributes to EFI variable attribute print out from sysfs

Some of the EFI variable attributes are missing from print out from
/sys/firmware/efi/vars/*/attributes. This patch adds those in. It also
updates code to use pre-defined constants for masking current value
of attributes.

Signed-off-by: Khalid Aziz <khalid.aziz@hp.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Matthew Garrett <mjg@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efivars.c