This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sync_file_range syscall


Hi.  When I was looking for how to fix some system calls in
Linux/MIPS, I just found that the sync_file_range system call is
implemented in sysdeps/unix/sysv/linux/ but not compiled into final
library.

The original posting is:
http://sources.redhat.com/ml/libc-ports/2007-03/msg00002.html

I suppose there should be "trigger" somewhere to actually build
sync_file_range.o file.  Is this a right fix?

--- glibc-2.5.org/sysdeps/unix/sysv/linux/Makefile	2006-04-26 04:12:04.000000000 +0900
+++ glibc-2.5/sysdeps/unix/sysv/linux/Makefile	2007-03-16 01:25:28.654940581 +0900
@@ -13,7 +13,7 @@
 
 ifeq ($(subdir),misc)
 sysdep_routines += sysctl clone llseek umount umount2 readahead \
-		   setfsuid setfsgid makedev
+		   setfsuid setfsgid makedev sync_file_range
 
 CFLAGS-gethostid.c = -fexceptions


---
Atsushi Nemoto


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]