Re: [PATCH v2 07/29] ARM: add kexec_file_load system call number

From: Russell King - ARM Linux admin
Date: Fri Jan 25 2019 - 11:21:35 EST


On Fri, Jan 25, 2019 at 03:43:59PM +0000, Catalin Marinas wrote:
> On Fri, Jan 18, 2019 at 05:18:13PM +0100, Arnd Bergmann wrote:
> > diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl
> > index 86de9eb34296..20ed7e026723 100644
> > --- a/arch/arm/tools/syscall.tbl
> > +++ b/arch/arm/tools/syscall.tbl
> > @@ -415,3 +415,4 @@
> > 398 common rseq sys_rseq
> > 399 common io_pgetevents sys_io_pgetevents
> > 400 common migrate_pages sys_migrate_pages
> > +401 common kexec_file_load sys_kexec_file_load
>
> I presume on arm32 this would still return -ENOSYS.

Yes, I already checked. If CONFIG_KEXEC_FILE is not set, then
kernel/kexec_file.c is not built, and we fall back to the stub
in kernel/sys_ni.c.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up