about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Versions
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-08 18:25:19 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-08 18:25:19 +0000
commite32f487e1cb6e7ed6eb494afde072e1405d5a5fb (patch)
tree7c87768f0f8941e0335f0c2f207fd2db7ff0ff9e /sysdeps/unix/sysv/linux/Versions
parentb576fca12abea4bb0b5af097ce4dd3ff7717d821 (diff)
downloadglibc-e32f487e1cb6e7ed6eb494afde072e1405d5a5fb.tar.gz
glibc-e32f487e1cb6e7ed6eb494afde072e1405d5a5fb.tar.xz
glibc-e32f487e1cb6e7ed6eb494afde072e1405d5a5fb.zip
* sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
	* sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
	unshare.
	* sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.

	* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
	preprocessor magic so that the compiler won't see the prototypes
	for the functions we are defining as stubs.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/Versions2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 436573a428..fed28f2db0 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -118,6 +118,8 @@ libc {
   GLIBC_2.4 {
     inotify_init; inotify_add_watch; inotify_rm_watch;
 
+    unshare;
+
     #errlist-compat	132
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }