about summary refs log tree commit diff
path: root/sysdeps/unix/common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-30 07:43:11 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-30 07:43:11 +0000
commitf5164429135806c41da679afb662d8482eec0a41 (patch)
tree3cd260d001c1fdb72635223a258d066e989337dd /sysdeps/unix/common
parent606135cf62624432a4b6fac724cad0e23b01202a (diff)
downloadglibc-f5164429135806c41da679afb662d8482eec0a41.tar.gz
glibc-f5164429135806c41da679afb662d8482eec0a41.tar.xz
glibc-f5164429135806c41da679afb662d8482eec0a41.zip
Update.
2004-06-30  Ulrich Drepper  <drepper@redhat.com>

	* include/net/if.h: Handle if_nameindex and if_freenameindex with
	libc_proto_hidden.
	* sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
	* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
	netlink if possible.  Fall back on ioctl method if necessary.

	* include/unistd.h: Declare __truncate.
	* sysdeps/generic/truncate.c: Also define __truncate.
	* sysdeps/mach/hurd/truncate.c: Likewise.
	* sysdeps/unix/common/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
Diffstat (limited to 'sysdeps/unix/common')
-rw-r--r--sysdeps/unix/common/syscalls.list2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/common/syscalls.list b/sysdeps/unix/common/syscalls.list
index bb475df25d..baec92f783 100644
--- a/sysdeps/unix/common/syscalls.list
+++ b/sysdeps/unix/common/syscalls.list
@@ -12,5 +12,5 @@ setregid	-	setregid	i:ii	__setregid	setregid
 setreuid	-	setreuid	i:ii	__setreuid	setreuid
 sigaction	-	sigaction	i:ipp	__sigaction	sigaction
 sys_lstat	lxstat	lstat		i:sp	__syscall_lstat
-truncate	-	truncate	i:si	truncate
+truncate	-	truncate	i:si	__truncate	truncate
 vhangup		-	vhangup		i:i	vhangup