[PATCH 2/2] asm-generic: add memfd_create system call to unistd.h

Geert Uytterhoeven geert at linux-m68k.org
Mon Aug 11 12:37:41 PDT 2014


On Mon, Aug 11, 2014 at 8:57 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Monday 11 August 2014, Will Deacon wrote:
>> On Mon, Aug 11, 2014 at 05:54:08PM +0100, David Herrmann wrote:
>> > On Mon, Aug 11, 2014 at 3:37 PM, Will Deacon <will.deacon at arm.com> wrote:
>> > > Commit 9183df25fe7b ("shm: add memfd_create() syscall") added a new
>> > > system call (memfd_create) but didn't update the asm-generic unistd
>> > > header.
>> > >
>> > > This patch adds the new system call to the asm-generic version of
>> > > unistd.h so that it can be used by architectures such as arm64.
>> > >
>> > > Cc: Arnd Bergmann <arnd at arndb.de>
>> > > Cc: David Herrmann <dh.herrmann at gmail.com>
>> > > Signed-off-by: Will Deacon <will.deacon at arm.com>
>> >
>> > Reviewed-by: David Herrmann <dh.herrmann at gmail.com>
>>
>> Thanks, David.
>>
>> Arnd: shall I take this via the arm64 tree, or do you already have some
>> asm-generic patches queued?
>
> Please take it for arm64, I don't have any other patches queued at the moment
> and am currently on vacation.

Thanks, I was just going to look into adding it...

BTW, another one sneaked in: kexec_file_load. I say "sneaked", as
scripts/checksyscalls.sh doesn't catch it, due to it being wired up on
amd64 only.

Will, you can please add that one, too, while you're at it?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-arm-kernel mailing list