This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
sync_file_range syscall
- From: Atsushi Nemoto <anemo at mba dot ocn dot ne dot jp>
- To: libc-alpha at sourceware dot org
- Cc: libc-ports at sourceware dot org
- Date: Fri, 23 Mar 2007 00:30:53 +0900 (JST)
- Subject: sync_file_range syscall
- References: <20070316.013334.128618583.anemo@mba.ocn.ne.jp>
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