Add a C wrapper for prctl [BZ #25896]
commitff026950e280bc3e9487b41b460fb31bc5b57721
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 30 Apr 2020 17:42:43 +0000 (30 10:42 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 30 Apr 2020 17:42:43 +0000 (30 10:42 -0700)
tree007d0b1ae8fb47ffc62972820c762f1810612899
parent051be01f6b41a1466b07ae4bd7f5894a8ec5fe67
Add a C wrapper for prctl [BZ #25896]

Add a C wrapper to pass arguments in

/* Control process execution.  */
extern int prctl (int __option, ...) __THROW;

to prctl syscall:

extern int prctl (int, unsigned long int, unsigned long int,
  unsigned long int, unsigned long int);
include/sys/prctl.h
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/prctl.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/syscalls.list