about summary refs log tree commit diff
path: root/include
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 /include
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 'include')
-rw-r--r--include/sys/prctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h
index 0920ed642b..d33f3a290e 100644
--- a/include/sys/prctl.h
+++ b/include/sys/prctl.h
@@ -4,6 +4,7 @@
 # ifndef _ISOMAC
 
 extern int __prctl (int __option, ...);
+libc_hidden_proto (__prctl)
 
 # endif /* !_ISOMAC */
 #endif