binfmt_elf: add ELF_HWCAP2 to compat auxv entries
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 3 Mar 2014 07:34:44 +0000 (07:34 +0000)
committerGreg Hackmann <ghackmann@google.com>
Thu, 11 Sep 2014 17:21:24 +0000 (17:21 +0000)
commit1ffb7f631abe362e99dd64e566cc62255f4423c3
treef56f6e1a858472d78b81eb025374bb759c6138e7
parent500cee98c8e2b2abdedbbe81bc1f9871c5ec8a97
binfmt_elf: add ELF_HWCAP2 to compat auxv entries

Add ELF_HWCAP2 to the set of auxv entries that is passed to
a 32-bit ELF program running in 32-bit compat mode under a
64-bit kernel.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
fs/compat_binfmt_elf.c