Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5be65ad authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: arch: add missing pidfd_open definitions for arm32



While backporting commit 7615d9e1780e26e0178c93c55b73309a5dc093d7 to 4.9
arm32 definitions for pidfd_open syscall were not added correctly. Fix
by adding missing definitions.

Fixes aosp/986706 "BACKPORT: arch: wire-up pidfd_open()"

Bug: 135608568
Test: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
Change-Id: I68b8454971f296453d598de281ebe9225067f0b8
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 9e50cb05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -423,6 +423,7 @@
#define __NR_pkey_mprotect		(__NR_SYSCALL_BASE+394)
#define __NR_pkey_alloc			(__NR_SYSCALL_BASE+395)
#define __NR_pkey_free			(__NR_SYSCALL_BASE+396)
#define __NR_pidfd_open		(__NR_SYSCALL_BASE+434)

/*
 * The following SWIs are ARM private.
+1 −0
Original line number Diff line number Diff line
@@ -406,6 +406,7 @@
		CALL(sys_pkey_mprotect)
/* 395 */	CALL(sys_pkey_alloc)
		CALL(sys_pkey_free)
		CALL(sys_pidfd_open)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted