asm-generic: add memfd_create system call to unistd.h lineage-17.0
authorWill Deacon <will.deacon@arm.com>
Mon, 11 Aug 2014 13:24:47 +0000 (14:24 +0100)
committerDanny Wood <danwood76@gmail.com>
Fri, 8 Nov 2019 12:04:32 +0000 (12:04 +0000)
commit3dab47f52df18ff1770b9476d6af669210859b4e
tree10bb235be9a5ba7f5482e91332203923ff351d9f
parent8a09920f361da83755919cbcda1edbd15a50fcb8
asm-generic: add memfd_create system call to unistd.h

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.

Change-Id: I173b1e5b6087fcea7d226a9f55f792432515897d
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h
include/uapi/asm-generic/unistd.h