about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-04-30 10:42:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-04-30 10:42:43 -0700
commitff026950e280bc3e9487b41b460fb31bc5b57721 (patch)
tree007d0b1ae8fb47ffc62972820c762f1810612899 /sysdeps/unix/sysv/linux/Makefile
parent051be01f6b41a1466b07ae4bd7f5894a8ec5fe67 (diff)
downloadglibc-ff026950e280bc3e9487b41b460fb31bc5b57721.tar.gz
glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.tar.xz
glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.zip
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);
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index db78eeadd1..0326f92c40 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -59,7 +59,7 @@ sysdep_routines += adjtimex clone umount umount2 readahead sysctl \
 		   eventfd eventfd_read eventfd_write prlimit \
 		   personality epoll_wait tee vmsplice splice \
 		   open_by_handle_at mlock2 pkey_mprotect pkey_set pkey_get \
-		   timerfd_gettime timerfd_settime \
+		   timerfd_gettime timerfd_settime prctl \
 		   process_vm_readv process_vm_writev
 
 CFLAGS-gethostid.c = -fexceptions