]> git.hungrycats.org Git - linux/commit
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>
Sun, 7 Oct 2012 15:35:53 +0000 (08:35 -0700)
commit18845040358cf023f5b0ef862f8782d2a3d8b989
tree98d3099ef1a09bfa077f614044349bb30f5e5e2d
parent163449e1dfc3973020d91e61d958da4714c3f23a
firmware: Add missing attributes to EFI variable attribute print out from sysfs

commit 7083909023bbe29b3176e92d2d089def1aa7aa1e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efivars.c