sync_file_range syscall

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sync_file_range syscall

Atsushi Nemoto
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
Reply | Threaded
Open this post in threaded view
|

Re: sync_file_range syscall

Ulrich Drepper
I checked in appropriate changes.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖


signature.asc (259 bytes) Download Attachment