mescc: Support Bash: Add getppid.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 14 Dec 2018 17:48:03 +0000 (18:48 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 14 Dec 2018 17:48:03 +0000 (18:48 +0100)
commit47d9996079706f815966be826ec5d68cc2eb8586
treec9f2428e96b2ff3a275035b9b63cda636090ed2f
parent7f6ca031f9d13f1580ad55e84dddc7e45a775f80
mescc: Support Bash: Add getppid.

* lib/linux/gnu.c (getppid): New function.
* include/linux/x86/syscall.h (SYS_getppid): New macro.
* include/linux/x86_64/syscall.h (SYS_getppid): New macro.
include/linux/x86/syscall.h
include/linux/x86_64/syscall.h
lib/linux/gnu.c