]> git.karo-electronics.de Git - karo-tx-linux.git/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:27:25 +0000 (08:27 -0700)
commitc19d52aa9a9090ab378e873d4cf9e86a9c0c808e
tree02195ed22578aec79922f639512d03dfeb72043d
parentf39a3e8d1462627890731d0d077509546cc113e4
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