]> www.infradead.org Git - users/jedix/linux-maple.git/commit
binfmt_elf_fdpic: fix execfd build regression
authorArnd Bergmann <arnd@arndb.de>
Wed, 27 May 2020 13:49:01 +0000 (15:49 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 27 May 2020 21:59:53 +0000 (16:59 -0500)
commit011593480d2931392bc167f7a20c82a6c34114fd
tree87104b416f310a3de4339e4b3bd93bd30136daf8
parentb081320f0693cce0394f7c8bad9fba0b25982186
binfmt_elf_fdpic: fix execfd build regression

The change to bprm->have_execfd was incomplete, leading
to a build failure:

fs/binfmt_elf_fdpic.c: In function 'create_elf_fdpic_tables':
fs/binfmt_elf_fdpic.c:591:27: error: 'BINPRM_FLAGS_EXECFD' undeclared

Change the last user of BINPRM_FLAGS_EXECFD in a corresponding
way.

Reported-by: Valdis Klētnieks <valdis.kletnieks@vt.edu>
Fixes: b8a61c9e7b4a ("exec: Generic execfd support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/binfmt_elf_fdpic.c