about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-03-31 16:18:10 +0000
committerUlrich Drepper <drepper@redhat.com>2006-03-31 16:18:10 +0000
commit92d12cd75e8a09e0ab9092d0f212c4cf86118bb3 (patch)
tree240c1529bb4ce62c90dcfe71b18925a119bdbddc /sysdeps/unix
parent5b353be3b69fcea9b911fc1ef3980ed3f1a87d45 (diff)
downloadglibc-92d12cd75e8a09e0ab9092d0f212c4cf86118bb3.tar.gz
glibc-92d12cd75e8a09e0ab9092d0f212c4cf86118bb3.tar.xz
glibc-92d12cd75e8a09e0ab9092d0f212c4cf86118bb3.zip
* sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall.
	* sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5
	version.
	* Versions.def: Define GLIBC_2.5 for libc.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/Versions3
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list1
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index fed28f2db0..d7f71155dc 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -123,6 +123,9 @@ libc {
     #errlist-compat	132
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.5 {
+    splice;
+  }
   GLIBC_PRIVATE {
     # functions used in other libraries
     __syscall_rt_sigqueueinfo;
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 053d7e0ccf..ab4ba754a7 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -70,6 +70,7 @@ setfsgid	EXTRA	setfsgid	i:i	setfsgid
 setfsuid	EXTRA	setfsuid	i:i	setfsuid
 setpgid		-	setpgid		i:ii	__setpgid	setpgid
 sigaltstack	-	sigaltstack	i:PP	__sigaltstack	sigaltstack
+splice		EXTRA	splice		i:iiii	splice
 sysinfo		EXTRA	sysinfo		i:p	sysinfo
 swapon		-	swapon		i:si	__swapon	swapon
 swapoff		-	swapoff		i:s	__swapoff	swapoff