[git commit ldso-future] stubs.c: add stubs for readahead, splice and tee
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=d4e540d94058cba51d0b1c5da64c4c5cc39bdc07
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/sysdeps/linux/common/stubs.c | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 0e740b1..3899f35 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -28,7 +28,9 @@ static int enosys_stub(void)
#ifndef __UCLIBC_HAS_LFS__
# undef __NR_fadvise64
# undef __NR_fadvise64_64
+# undef __NR_readahead
# undef __NR_sync_file_range
+# undef __NR_splice
#endif
#ifndef __NR_bdflush
@@ -160,14 +162,26 @@ make_stub(sigtimedwait)
make_stub(sigwaitinfo)
#endif
-#ifndef __NR_splice
-make_stub(splice)
+#ifndef __NR_readahead
+make_stub(readahead)
#endif
#ifndef __NR_sync_file_range
make_stub(sync_file_range)
#endif
+#ifndef __NR_splice
+make_stub(splice)
+#endif
+
+#ifndef __NR_vmsplice
+make_stub(vmsplice)
+#endif
+
+#ifndef __NR_tee
+make_stub(tee)
+#endif
+
#if !defined(__NR_umount) && !defined(__NR_umount2)
make_stub(umount)
#endif
@@ -184,8 +198,4 @@ make_stub(lutimes)
# endif
#endif
-#ifndef __NR_vmsplice
-make_stub(vmsplice)
-#endif
-
#endif
--
1.7.3.4
More information about the uClibc-cvs
mailing list